Function at 0x41ebf0
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49db08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x44]
mov eax, dword [eax - 0xc]
test eax, eax
lea edi, [esi + 0x44]
je 0x41ecb7
call fcn.00421b80
mov ecx, eax
call fcn.0043f4c0
test eax, eax
je 0x41ecb7
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x41ecb7
push str.192.168.1.
push eax
call fcn.00475e58
add esp, 8
test eax, eax
je 0x41ecb7
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x41ecb7
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.0041e880
lea ebp, [esi + 4]
mov ecx, ebp
call fcn.0041e2e0
push edi
mov ecx, ebx
call fcn.0041d6a0
mov eax, dword [edi]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.0041e8c0
mov edx, dword [edi]
xor eax, eax
push edx
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x64]
push str.ForcedLogin_:__s
push eax
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
jmp 0x41f316
mov ecx, dword [0x55865c]
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
test eax, eax
je 0x41ed41
mov ecx, esi
call fcn.0041e1e0
cmp eax, 1
jne 0x41ed41
push edi
lea ecx, [esi + 0x24]
call fcn.0041d6a0
mov eax, dword [edi]
mov ebp, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 4]
mov dword [esp + 0x24], eax
call fcn.0041e8c0
lea ebx, [esi + 0x48]
push ebx
lea ecx, [esi + 0x34]
call fcn.0041d6a0
mov eax, dword [ebx]
push eax
call ebp
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x14]
mov dword [esp + 0x24], eax
call fcn.0041e8c0
mov eax, dword [ebx]
mov ecx, dword [edi]
mov edx, dword [esi + 0x64]
push eax
push ecx
push str.Forced_Internal_Server_Ip_True_Login_:__s_Patch_:__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x14
mov eax, dword [str.serverConfig.dat]
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00401d30
lea ecx, [esp + 0x24]
push ecx
call fcn.004051d0
mov ebx, dword [eax]
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ed9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0045f338
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41edb5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], 0
call fcn.0045f338
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41ede7
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 1
call fcn.00421b80
mov ecx, eax
call fcn.00435df0
push eax
call fcn.00421180
lea ecx, [esp + 0x1c]
mov ebx, eax
push 0x4fdebc
push ecx
mov dword [esp + 0x34], ebx
call fcn.00401990
mov ecx, dword [0x55865c]
add esp, 0xc
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x41ee52
lea ecx, [esp + 0x18]
push 0x4fdeb8
push ecx
call fcn.00401990
add esp, 8
mov edx, dword [esi + 0x48]
cmp dword [edx - 0xc], 0
jne 0x41ee6d
mov eax, dword [esp + 0x18]
push eax
push ebx
push str.http:___s:_s_datasv.php_0
lea ecx, [esp + 0x20]
push ecx
jmp 0x41eecf
mov ecx, esi
call fcn.0041e1e0
cmp eax, 1
jne 0x41ee8e
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x48]
push edx
push eax
push str.http:___s:_s_datasv.php_0
lea ecx, [esp + 0x20]
push ecx
jmp 0x41eecf
mov ecx, dword [0x55865c]
push 0
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x90]
call eax
test eax, eax
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x14]
je 0x41eec3
push ecx
push str.http:___s_datasv.php_0
push edx
call fcn.00401990
add esp, 0xc
jmp 0x41eed7
mov eax, dword [esp + 0x18]
push eax
push ecx
push str.http:___s:_s_datasv.php_0
push edx
call fcn.00401990
add esp, 0x10
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + 0x64]
push ebx
push str.Config_data_URL_:__s
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov edx, dword [str.serverConfig.dat]
add esp, 0x10
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x28]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
push ebx
call fcn.00408a60
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 0xc
test ebp, ebp
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41ef65
mov ecx, dword [esi + 0x64]
push str.Config_data_Download_Faile
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0xc
jmp 0x41ef83
mov edx, dword [str.serverConfig.dat]
mov eax, dword [esi + 0x64]
push edx
push str.Success_download_file_:__s
push eax
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
je 0x41f014
call fcn.00421b80
mov ecx, eax
call fcn.0043f4c0
test eax, eax
je 0x41f014
lea ebp, [esi + 0x24]
mov ecx, ebp
call fcn.0041e880
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.0041e2e0
push edi
mov ecx, ebp
call fcn.0041d6a0
mov eax, dword [edi]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.0041e8c0
mov ecx, dword [esi + 0x64]
xor eax, eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
mov eax, dword [edi]
push eax
push str.ForcedLogin_:__s
push ecx
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x38], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41f2e6
test ebp, ebp
jne 0x41f07b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x38], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f03d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov edx, dword [str.serverConfig.dat]
push str.NULL
push str.UpdateFile1
push str.Update
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x34]
push eax
call fcn.004051d0
add esp, 8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x4c], 2
call fcn.004053e0
add esp, 0x14
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x38], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f0e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x64]
push ecx
push str.Config_data_file_name_:__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
call fcn.0045f338
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41f11a
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push ecx
push ebp
push edx
lea eax, [esp + 0x2c]
push str.http:___s:_s__s
push eax
mov byte [esp + 0x4c], 5
call fcn.00401990
mov edi, dword [esp + 0x34]
mov ecx, dword [esi + 0x64]
add esp, 0x14
push edi
push str._Not_Use_updatecfg.dat_Config_data_file_URL_:__s
push ecx
call fcn.00427200
push eax
call fcn.00426f60
mov edx, dword [str.serverConfig.dat]
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x2c]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [str.serverConfig.dat]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00401d30
lea eax, [esp + 0x34]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
push edi
call fcn.00408a60
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f207
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
mov ecx, dword [str.serverConfig.dat]
mov edx, dword [esi + 0x64]
push ecx
je 0x41f277
push str.Faile_download_file_:__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add edi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x38], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f24a
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f26f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
jmp 0x41f01f
push str.Success_download_file_:__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add edi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x38], 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f2ac
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f2f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f316
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret