Function at 0x504ec2
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x114
mov eax, dword [0x5f2e68]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [esp + 0x1d]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x24], bl
call fcn.005306b0
add esp, 0xc
mov esi, str.UpdtGlbDef.dat
push esi
push ebx
call fcn.00493154
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x504f1e
push esi
push ebx
call fcn.00493154
pop ecx
pop ecx
call fcn.004314ff
push ebx
push ecx
push ebx
call fcn.004934c9
pop ecx
pop ecx
push eax
mov edi, str._PUT_SERVER_IP_HERE_
push edi
mov esi, 0x80
push esi
push str._PUT_SERVER_IP_HERE_PaulaUpLoad_
call fcn.004ce6a0
add esp, 0x14
push ebx
push ecx
push ebx
call fcn.004934c9
pop ecx
pop ecx
push eax
push edi
push esi
push str._PUT_SERVER_IP_HERE_PaulaDownLoad_
call fcn.004ce6a0
add esp, 0x14
push ebx
push ecx
push ebx
call fcn.004934c9
pop ecx
pop ecx
push eax
push edi
push esi
push str._PUT_SERVER_IP_HERE_COMMONUpload_Decompositions_
call fcn.004ce6a0
add esp, 0x14
mov esi, str.UpdtGlbDef2.dat
push esi
push ebx
call fcn.00493154
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x5055e3
push 0x23e
push str..UpdatePAULA.c
push esi
push ebx
mov dword [esp + 0x24], ebx
call fcn.00493154
pop ecx
pop ecx
mov ebp, 0x54f4b8
mov edx, ebp
mov ecx, eax
call fcn.00434df1
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
jne 0x505021
cmp dword [esp + 0x14], 4
jge 0x504ffa
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
push 0x23e
push str..UpdatePAULA.c
push esi
push ebx
call fcn.00493154
pop ecx
pop ecx
mov edx, ebp
mov ecx, eax
call fcn.00434df1
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x504fc0
cmp edi, ebx
jne 0x505021
push str._GetLastError_
push esi
push ebx
call fcn.00493154
pop ecx
pop ecx
push eax
push str.:3:GetUpdateRoutineGlobals___FAILED:_fopen___s____rb___FAILED:__s
call fcn.0042bd38
add esp, 0xc
xor eax, eax
jmp 0x5055e6
push edi
push 1
push 4
push 0x5f371c
call fcn.00530e93
push edi
mov ebp, eax
push 1
neg ebp
sbb ebp, ebp
push 4
push 0x5f3720
inc ebp
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3724
or ebp, eax
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3728
or ebp, eax
call fcn.00530e93
add esp, 0x40
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f372c
or ebp, eax
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3730
or ebp, eax
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3738
or ebp, eax
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f373c
or ebp, eax
call fcn.00530e93
add esp, 0x40
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3740
or ebp, eax
call fcn.00530e93
neg eax
sbb eax, eax
push edi
push 1
inc eax
push 4
push 0x5f3744
or ebp, eax
call fcn.00530e93
push edi
neg eax
sbb eax, eax
push 1
inc eax
push 4
push 0x5f3748
or ebp, eax
call fcn.00530e93
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x48]
push 4
push eax
call fcn.00530e93
add esp, 0x40
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00530e93
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x28]
push 4
push eax
call fcn.00530e93
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00530e93
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x48]
push 4
push eax
call fcn.00530e93
add esp, 0x40
neg eax
sbb eax, eax
push edi
inc eax
push 1
or ebp, eax
lea eax, [esp + 0x18]
push 4
push eax
call fcn.00530e93
neg eax
sbb eax, eax
inc eax
push edi
push 1
or ebp, eax
lea eax, [esp + 0x28]
push 4
push eax
call fcn.00530e93
add esp, 0x20
neg eax
sbb eax, eax
inc eax
or ebp, eax
je 0x5051e8
push str._GetLastError_
push str.:5:GetUpdateRoutineGlobals___Batch_1_FAILED:_fread___FAILED:_The_dat_file_will_be_deleted:__s
call fcn.0042b70b
mov ecx, edi
call fcn.00435239
push esi
push ebx
call fcn.00493154
add esp, 0x10
call fcn.004314ff
jmp 0x50501a
push ebx
push 0xa
push str.StoreId.dat
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505218
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.SSRF.sat
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505248
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.GatMem.sat
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505278
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.66.119.200.8
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5052a8
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.mail.hctc.com
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5052d8
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.71.39.191.225
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505308
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.mail.paula2.com
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505338
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.atlproxy.apgnapa.net:80
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505368
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.10.225.3.22
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505398
xor ebp, ebp
inc ebp
push ebx
push 0xa
push 0x5f5380
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5053c8
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.P2_DC001
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5053f8
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.24.113.218.233
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505428
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.ww3.paula2.com
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505458
xor ebp, ebp
inc ebp
push ebx
push 0xa
push 0x5f5680
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x505488
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.PAULAWAULA
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5054b8
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str._PAULA_LiveUpdate_UpLoad_
push edi
lea eax, [esp + 0x28]
push 0x80
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5054eb
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str._PAULA_LiveUpdate_DownLoad_
push edi
lea eax, [esp + 0x28]
push 0x80
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x50551e
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.Files.php
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x50554e
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.192.192.192.192
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x50557e
xor ebp, ebp
inc ebp
push ebx
push 0xa
push str.www.paula2.com
push edi
lea eax, [esp + 0x28]
push 0x40
push eax
call fcn.005335c6
add esp, 0xc
push eax
call fcn.004cf702
pop ecx
pop ecx
mov esi, eax
call fcn.004cd934
test eax, eax
pop ecx
pop ecx
jne 0x5055ae
xor ebp, ebp
inc ebp
call fcn.0041fef8
cmp ebp, ebx
je 0x5055d7
push str._GetLastError_
push str.:5:GetUpdateRoutineGlobals___Batch_2_FAILED:_fgets___FAILED:_The_dat_file_will_be_deleted:__s
call fcn.0042b70b
mov ecx, edi
call fcn.00435239
push str.UpdtGlbDef2.dat
jmp 0x5051d5
mov ecx, edi
call fcn.00435239
call fcn.0046c0d5
xor eax, eax
inc eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005317e7
add esp, 0x114
ret