Function at 0x457c60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470058
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x4b0408]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x30], 0
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
push 0xffffffffffffffff
push str.LoadINISections
push dword [edi + 0x130]
lea ecx, [ebp - 0x44]
call fcn.0041bed0
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
inc dword [edi + 0x12c]
cmp dword [edi + 0x124], ebx
jne 0x457f74
lea ebx, [edi + 4]
push ebx
call fcn.0041c0c0
add esp, 4
test eax, eax
jne 0x457d01
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0041bfd0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x1c]
nop dword [eax]
cmp esi, 0x32
jge 0x457d44
cmp eax, 0xffffffff
jne 0x457d49
test esi, esi
jle 0x457d26
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov dword [ebp - 0x34], esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push ebx
call fcn.004566f0
mov dword [ebp - 0x1c], eax
jmp 0x457d10
cmp eax, 0xffffffff
je 0x457cde
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
je 0x457cde
lea esi, [eax + 1]
push esi
call fcn.0042c0b7
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push esi
push 0
push ebx
call fcn.00431580
add esp, 0x10
test ebx, ebx
je 0x457cde
push 0
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x20]
push ebx
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457cde
mov eax, dword [ebp - 0x20]
mov byte [ebx + eax], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0xffffffff
push 0x49fb50
push ebx
call fcn.00432630
mov edx, eax
mov dword [ebp - 0x14], edx
add esp, 8
test edx, edx
je 0x457dea
inc dword [edi + 0x128]
inc edx
mov dword [ebp - 0x14], edx
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457dd3
sub eax, esi
add eax, ebx
cmp edx, eax
jae 0x457dc0
push 0x49e6dc
push edx
jmp 0x457db3
xor ecx, ecx
mov eax, dword [edi + 0x128]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042c0b7
mov dword [edi + 0x124], eax
push 0x49fb50
push ebx
call fcn.00432630
add esp, 0xc
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor esi, esi
mov dword [ebp - 0x28], esi
cmp esi, dword [edi + 0x128]
jae 0x457f67
push 0x49fb54
push eax
call fcn.00432630
add esp, 8
mov dword [ebp - 0x24], eax
test eax, eax
je 0x457f58
push 0xc
call fcn.0042c084
mov ecx, dword [ebp - 0x18]
lea edx, [ecx*4]
mov dword [ebp - 0x20], edx
mov ecx, dword [edi + 0x124]
mov dword [edx + ecx], eax
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x14]
push esi
call fcn.0042c0b7
mov ecx, dword [edi + 0x124]
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + ecx]
mov dword [ecx], eax
lea eax, [esi - 1]
push eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [edi + 0x124]
mov eax, dword [edx + eax]
push dword [eax]
call fcn.0043f7d0
mov eax, dword [edi + 0x124]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax]
mov eax, dword [eax]
mov byte [eax + esi - 1], 0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
push 0x49e6dc
push eax
call fcn.00432630
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x457edf
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457ed0
sub ecx, edx
lea eax, [ecx + ebx]
mov dword [ebp - 0x24], eax
mov esi, eax
sub esi, dword [ebp - 0x14]
lea eax, [esi + 1]
push eax
call fcn.0042c0b7
mov ecx, dword [edi + 0x124]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ecx + edx]
mov dword [ecx + 4], eax
push esi
push dword [ebp - 0x14]
mov eax, dword [edi + 0x124]
mov esi, edx
mov eax, dword [eax + esi]
push dword [eax + 4]
call fcn.0043f7d0
add esp, 0x10
mov eax, dword [edi + 0x124]
mov eax, dword [eax + esi]
mov eax, dword [eax + 4]
sub eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov byte [eax + edx], 0
mov eax, dword [edi + 0x124]
mov ecx, dword [esi + eax]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov dword [ebp - 0x14], edx
test edx, edx
je 0x457f64
lea eax, [edx + 1]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x28]
inc esi
jmp 0x457e24
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
inc esi
jmp 0x457e24
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x128], ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 4], 0
jmp 0x457f9e
mov byte [ebp - 4], 3
test ebx, ebx
je 0x457faf
push ebx
call fcn.0042c0c0
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
cmp esi, 0xffffffff
je 0x457fc5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0041bfd0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret