Function at 0x4d682d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x104]
push 0x100
push edi
push eax
mov dword [ebp - 0x108], edi
call fcn.004e4da0
mov esi, str.UpdtGlbDef.dat
push esi
push edi
call fcn.0047ced0
push eax
call fcn.0042916f
add esp, 0x18
test eax, eax
je 0x4d6886
push esi
push edi
call fcn.0047ced0
push eax
call fcn.00429e69
add esp, 0xc
push edi
push edi
call fcn.0047c976
pop ecx
push eax
mov esi, str._PUT_SERVER_IP_HERE_
mov ebx, 0x80
push esi
push ebx
push str._PUT_SERVER_IP_HERE_PaulaUpLoad_
call fcn.004a05e9
add esp, 0x14
push edi
push edi
call fcn.0047c976
pop ecx
push eax
push esi
push ebx
push str._PUT_SERVER_IP_HERE_PaulaDownLoad_
call fcn.004a05e9
add esp, 0x14
push edi
push edi
call fcn.0047c976
pop ecx
push eax
push esi
push ebx
push str._PUT_SERVER_IP_HERE_COMMONUpload_Decompositions_
call fcn.004a05e9
mov ebx, str.UpdtGlbDef2.dat
push ebx
push edi
call fcn.0047ced0
push eax
call fcn.0042916f
add esp, 0x20
test eax, eax
je 0x4d6f71
push 0x23e
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x50965c
mov esi, edi
push ebx
jmp 0x4d692f
cmp esi, 4
jge 0x4d6b10
push 0x15e
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x23e
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_UpdatePAULA.c
push 0x50965c
inc esi
push str.UpdtGlbDef2.dat
push edi
call fcn.0047ced0
pop ecx
pop ecx
push eax
call fcn.0042d2de
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4d6906
push ebx
xor edi, edi
inc edi
push edi
push 4
push 0x59a1f8
call fcn.004e8bc6
push ebx
neg eax
push edi
sbb esi, esi
push 4
push 0x59a1fc
inc esi
call fcn.004e8bc6
neg eax
push ebx
sbb edi, edi
inc edi
or edi, esi
xor esi, esi
inc esi
push esi
push 4
push 0x59a200
call fcn.004e8bc6
push ebx
push esi
test eax, eax
push 4
push 0x59a204
cmove edi, esi
call fcn.004e8bc6
add esp, 0x40
neg eax
sbb esi, esi
inc esi
or esi, edi
xor edi, edi
push ebx
inc edi
push edi
push 4
push 0x59a208
call fcn.004e8bc6
push ebx
push edi
test eax, eax
push 4
push 0x59a20c
cmove esi, edi
call fcn.004e8bc6
neg eax
push ebx
sbb edi, edi
inc edi
or edi, esi
xor esi, esi
inc esi
push esi
push 4
push 0x59a214
call fcn.004e8bc6
push ebx
push esi
test eax, eax
push 4
push 0x59a218
cmove edi, esi
call fcn.004e8bc6
add esp, 0x40
neg eax
sbb esi, esi
inc esi
or esi, edi
xor edi, edi
push ebx
inc edi
push edi
push 4
push 0x59a21c
call fcn.004e8bc6
push ebx
push edi
test eax, eax
push 4
push 0x59a220
cmove esi, edi
call fcn.004e8bc6
neg eax
push ebx
sbb eax, eax
push edi
inc eax
push 4
push 0x59a224
or esi, eax
call fcn.004e8bc6
neg eax
push ebx
sbb eax, eax
inc eax
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
add esp, 0x40
neg eax
sbb eax, eax
inc eax
push ebx
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
neg eax
push ebx
sbb eax, eax
inc eax
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
neg eax
push ebx
sbb eax, eax
inc eax
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
neg eax
push ebx
sbb eax, eax
inc eax
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
add esp, 0x40
neg eax
sbb eax, eax
inc eax
push ebx
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
neg eax
sbb eax, eax
push ebx
inc eax
push edi
or esi, eax
lea eax, [ebp - 0x108]
push 4
push eax
call fcn.004e8bc6
add esp, 0x20
neg eax
sbb eax, eax
inc eax
or esi, eax
je 0x4d6b37
push str._GetLastError_
push str.:5:GetUpdateRoutineGlobals___Batch_1_FAILED:_fread___FAILED:_The_dat_file_will_be_deleted:__s
call fcn.004255b9
push ebx
call fcn.0042d153
push str.UpdtGlbDef2.dat
push 0
call fcn.0047ced0
push eax
call fcn.00429e69
add esp, 0x18
jmp 0x4d6b30
push str._GetLastError_
push str.UpdtGlbDef2.dat
push edi
call fcn.0047ced0
pop ecx
pop ecx
push eax
push str.:3:GetUpdateRoutineGlobals___FAILED:_fopen___s____rb___FAILED:__s
call fcn.00425c08
add esp, 0xc
xor eax, eax
jmp 0x4d6f74
push 0
push 0xa
push str.StoreId.dat
push ebx
push 0x40
pop edi
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.SSRF.sat
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.GatMem.sat
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x6829d8
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682a18
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682a58
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682a98
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
mov edi, 0x682ad8
test eax, eax
push 1
pop eax
push 0
push 0xa
push edi
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682b18
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x598450
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.P2_DC001
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682b58
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
cmove esi, eax
push 0
push 0xa
push str.ww3.paula2.com
push ebx
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.PAULA
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.PAULAWAULA
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str._PAULA_LiveUpdate_UpLoad_
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
cmove esi, eax
push 0
push 0xa
push str._PAULA_LiveUpdate_DownLoad_
push ebx
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push str.Files.php
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682b98
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
add esp, 0xc
test eax, eax
push 1
pop eax
push 0
push 0xa
push 0x682bd8
push ebx
cmove esi, eax
lea eax, [ebp - 0x104]
push 0x40
push eax
call fcn.004efe0b
add esp, 0xc
push eax
call fcn.004a0bb6
pop ecx
pop ecx
push eax
call fcn.004a02ac
push 1
test eax, eax
pop eax
push 0
push edi
cmove esi, eax
call fcn.0041b6e8
add esp, 0x14
test esi, esi
je 0x4d6f65
push str._GetLastError_
push str.:5:GetUpdateRoutineGlobals___Batch_2_FAILED:_fgets___FAILED:_The_dat_file_will_be_deleted:__s
jmp 0x4d6aee
push ebx
call fcn.0042d153
pop ecx
call fcn.00460cb6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret