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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4da2
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4dc0a8]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x4dc0a8]
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 [0x4e0530]
xor esi, esi
mov ecx, 0x4e0530
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.00404388
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00405140
push 0x2e
lea esi, [esp + 0x14]
call fcn.0040670a
cmp eax, 0xffffffff
je 0x444694
mov ecx, eax
lea edx, [esp + 0x1c]
mov eax, esi
call fcn.00405699
mov edi, esi
mov byte [esp + 0x248], 1
call fcn.00404347
xor ebx, ebx
mov byte [esp + 0x248], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x444696
xor ebx, ebx
call fcn.00406dd8
lea eax, [esp + 0x24]
call fcn.00444807
mov byte [esp + 0x248], 2
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x444801
call fcn.00406dd8
mov ecx, eax
call fcn.004062e9
fstp dword [esp + 0x14]
mov eax, dword [0x4e0530]
mov ecx, 0x4e0530
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
push 0x4b7170
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
call fcn.00401a22
add esp, 0x24
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4447f5
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x4447eb
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.0040413c
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x4447e2
cmp dword [esp + 0x1c], edi
jne 0x4447e2
mov eax, edi
call fcn.00425bc3
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
xor esi, esi
inc esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
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.00486d86
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov edx, esi
call fcn.0040411c
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov esi, dword [esp + 0x28]
jmp 0x4447a2