Function at 0x430bbf
Capabilities:
Access peb ldr_data
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x487b81
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4b2068]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [0x4b457c]
xor esi, esi
mov ecx, 0x4b457c
mov dword [esp + 0x28], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x206
lea eax, [esp + 0x32]
push esi
mov dword [esp + 0x250], esi
push eax
mov word [esp + 0x38], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [esp + 0x30]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea ecx, [esp + 0x2c]
mov ebx, eax
push ecx
lea eax, [esp + 0x14]
call fcn.004023bb
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402394
push 0x2e
lea esi, [esp + 0x14]
call fcn.0040f264
cmp eax, 0xffffffff
je 0x430cc8
mov ecx, eax
lea edx, [esp + 0x1c]
mov eax, esi
call fcn.00404dff
mov edi, esi
mov byte [esp + 0x248], 1
call fcn.004024a3
xor ebx, ebx
mov byte [esp + 0x248], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0040214e
jmp 0x430cca
xor ebx, ebx
call fcn.0042f760
lea eax, [esp + 0x24]
call fcn.0042faca
mov byte [esp + 0x248], 2
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x430e36
call fcn.0042f760
mov ecx, eax
call fcn.0042f79c
fstp dword [esp + 0x14]
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
push 0x49b478
push ecx
push ecx
mov byte [esp + 0x254], 3
fstp qword [esp]
push dword [ebp + 8]
fld dword [esp + 0x24]
lea eax, [esp + 0x28]
push dword [esp + 0x20]
push ecx
push ecx
fstp qword [esp]
push dword [esp + 0x40]
push str._s_.1f_s_d__.1f._s
push eax
call fcn.00404e7f
add esp, 0x28
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x430e2a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x430e20
mov esi, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x20]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [esp + 0x2c], ebx
call fcn.0040f7bf
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x430e17
cmp dword [esp + 0x1c], edi
jne 0x430e17
mov eax, edi
call fcn.00449868
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040214e
xor esi, esi
inc esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0047f7b2
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov edx, esi
call fcn.0040f0f1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040214e
mov esi, dword [esp + 0x28]
jmp 0x430dd7