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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ff3ef
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
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 [0x55a320]
xor esi, esi
mov ecx, 0x55a320
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.00402a8d
push dword [esp + 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402d02
push 0x2e
lea esi, [esp + 0x14]
call fcn.00407742
cmp eax, 0xffffffff
je 0x4460c2
mov ecx, eax
lea edx, [esp + 0x1c]
mov eax, esi
call fcn.004067fb
mov edi, esi
mov byte [esp + 0x248], 1
call fcn.00402a4c
xor ebx, ebx
mov byte [esp + 0x248], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
jmp 0x4460c4
xor ebx, ebx
call fcn.00407e5d
lea eax, [esp + 0x24]
call fcn.00446235
mov byte [esp + 0x248], 2
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], ebx
je 0x44622f
call fcn.00407e5d
mov ecx, eax
call fcn.00407321
fstp dword [esp + 0x14]
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
fld dword [esp + 0x14]
push 0x514a48
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.00401a17
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 0x446223
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x446219
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.00405519
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x446210
cmp dword [esp + 0x1c], edi
jne 0x446210
mov eax, edi
call fcn.00426d7e
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.004d6e66
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov edx, esi
call fcn.004054f9
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 0x4461d0