Function at 0x50480d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xff
xor esi, esi
lea eax, [ebp - 0x107]
push esi
push eax
mov byte [ebp - 0x108], 0
call fcn.005306b0
add esp, 0xc
mov ebx, str.UpdtGlbDef.dat
push ebx
push esi
mov dword [ebp - 0x10c], esi
call fcn.00493154
pop ecx
pop ecx
mov edi, eax
call fcn.00432263
test eax, eax
je 0x50486e
push ebx
push esi
call fcn.00493154
pop ecx
pop ecx
call fcn.004314ff
push 0x1bb
push str..UpdatePAULA.c
mov edi, str.UpdtGlbDef2.dat
push edi
push esi
mov dword [ebp - 0x110], esi
call fcn.00493154
pop ecx
pop ecx
mov ebx, 0x54f4b4
mov edx, ebx
mov ecx, eax
call fcn.00434df1
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x504908
cmp dword [ebp - 0x110], 5
jge 0x5048e1
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x110]
push 0x1bb
push str..UpdatePAULA.c
push edi
push 0
call fcn.00493154
pop ecx
pop ecx
mov edx, ebx
mov ecx, eax
call fcn.00434df1
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x5048a2
test esi, esi
jne 0x504908
push str._GetLastError_
push edi
push esi
call fcn.00493154
pop ecx
pop ecx
push eax
push str.:3:SetUpdateRoutineGlobals___FAILED:_fopen___s____wb___FAILED:__s
call fcn.0042bd38
add esp, 0xc
xor eax, eax
jmp 0x504eb3
push esi
push 1
push 4
pop ebx
push ebx
push 0x5f371c
call fcn.00531aad
push esi
mov edi, eax
push 1
neg edi
sbb edi, edi
push ebx
push 0x5f3720
inc edi
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3724
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3728
or edi, eax
call fcn.00531aad
add esp, 0x40
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f372c
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3730
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3738
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f373c
or edi, eax
call fcn.00531aad
add esp, 0x40
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3740
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3744
or edi, eax
call fcn.00531aad
push esi
neg eax
sbb eax, eax
push 1
inc eax
push ebx
push 0x5f3748
or edi, eax
call fcn.00531aad
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
add esp, 0x40
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
add esp, 0x40
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
neg eax
sbb eax, eax
push esi
inc eax
push 1
or edi, eax
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00531aad
add esp, 0x20
neg eax
sbb eax, eax
inc eax
or edi, eax
je 0x504ad3
push str._GetLastError_
push str.:5:SetUpdateRoutineGlobals___Batch_1_FAILED:_fWrite___FAILED:_The_dat_file_will_be_deleted:__s
call fcn.0042b70b
mov ecx, esi
call fcn.00435239
push str.UpdtGlbDef2.dat
push 0
call fcn.00493154
add esp, 0x10
call fcn.004314ff
jmp 0x504901
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.StoreId.dat
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
pop ecx
or ebx, 0xffffffff
test eax, eax
pop ecx
jl 0x504b03
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504b06
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.SSRF.sat
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504b33
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504b36
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.GatMem.sat
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504b63
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504b66
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.66.119.200.8
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504b93
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504b96
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.mail.hctc.com
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504bc3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504bc6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.71.39.191.225
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504bf3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504bf6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.mail.paula2.com
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504c23
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504c26
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.atlproxy.apgnapa.net:80
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504c53
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504c56
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.10.225.3.22
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504c83
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504c86
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, 0x5f5380
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504cb3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504cb6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.P2_DC001
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504ce3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504ce6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.24.113.218.233
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504d13
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504d16
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.ww3.paula2.com
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504d43
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504d46
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, 0x5f5680
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504d73
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504d76
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.PAULAWAULA
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504da3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504da6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str._PAULA_LiveUpdate_UpLoad_
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504dd3
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504dd6
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str._PAULA_LiveUpdate_DownLoad_
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504e03
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504e06
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.Files.php
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504e33
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504e36
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.192.192.192.192
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504e63
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504e66
xor edi, edi
inc edi
lea eax, [ebp - 0x108]
push esi
push eax
mov eax, str.www.paula2.com
call fcn.004cf535
pop ecx
push eax
call fcn.0053393b
test eax, eax
pop ecx
pop ecx
jl 0x504e93
push esi
push 0xa
call fcn.00531f15
cmp eax, ebx
pop ecx
pop ecx
jne 0x504e96
xor edi, edi
inc edi
test edi, edi
je 0x504ea9
push str._GetLastError_
push str.:5:SetUpdateRoutineGlobals___Batch_2_FAILED:_fputs___FAILED:_The_dat_file_will_be_deleted:__s
jmp 0x504aae
mov ecx, esi
call fcn.00435239
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret