Function at 0x455780
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d5b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
mov eax, dword [esp + 0xe8]
push ebx
push ebp
xor ebp, ebp
mov eax, dword [eax + 4]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x18], ecx
jne 0x4557b8
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0x4fde98
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x4557d5
or eax, 0xffffffff
jmp 0x455cd0
push fcn.004011f0
push 0x471f70
push 6
lea ecx, [esp + 0x94]
push 0x10
push ecx
call fcn.004ce784
push ebp
push 0x10
push edi
mov dword [esp + 0xfc], ebp
call dword [sym.imp.MSVCRT.dll_fseek]
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push edi
push 6
lea edx, [esp + 0x9c]
push 0x10
push edx
call ebx
fld dword [esp + 0xf4]
add esp, 0x1c
call sub.MSVCRT.dll__ftol
mov esi, eax
cmp esi, 0xa
jge 0x45585f
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp + 0x88]
mov dword [esp + 0xf0], 0xffffffff
push fcn.004011f0
push 6
push 0x10
push eax
call fcn.004ce690
or eax, 0xffffffff
jmp 0x455cd0
mov eax, esi
shl eax, 4
mov dword [esp + 0x10], eax
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, ebp
mov byte [esp + 0xf0], 1
je 0x45589c
push fcn.004011f0
push 0x471f70
lea ebp, [eax + 4]
push esi
push 0x10
push ebp
mov dword [eax], esi
call fcn.004ce784
push edi
push esi
mov ecx, ebp
push 0x10
push ecx
mov dword [esp + 0x24], ebp
mov byte [esp + 0x100], 0
call ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [esp + 0x2c]
xor edi, edi
add esp, 0x14
mov ecx, dword [edx + 0x8c]
lea ebp, [edx + 0x8c]
cmp ecx, edi
je 0x4558e1
push 3
call fcn.00427d40
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov byte [esp + 0x50], 0xa
mov bl, 2
cmp esi, 1
mov byte [esp + 0xf0], bl
jb 0x455979
mov ecx, ebp
call fcn.00471c00
mov eax, dword [esp + 0x10]
add eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x40], eax
cmp eax, edi
mov byte [esp + 0xf0], 3
je 0x45594f
push fcn.004011f0
push fcn.00427d20
lea edi, [eax + 4]
push esi
push 0x10
push edi
mov dword [eax], esi
call fcn.004ce784
mov eax, edi
jmp 0x455951
xor eax, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0xf0], bl
push ecx
push esi
push eax
mov dword [ebp], eax
call fcn.00474f10
mov eax, dword [ebp]
mov edx, dword [esp + 0x1c]
add esp, 0xc
add edx, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
mov dword [esp + 0x28], 0x49742400
mov dword [esp + 0x2c], 0x49742400
mov dword [esp + 0x30], 0x49742400
lea eax, [esp + 0x74]
lea ecx, [esp + 0x34]
push eax
mov byte [esp + 0xf4], 4
mov dword [esp + 0x78], 0xc9742400
call fcn.00417d40
lea ecx, [esp + 0x10]
mov bl, 5
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xf4], bl
mov dword [esp + 0x14], 0x49742400
call fcn.00417d40
lea edx, [esp + 0x64]
push eax
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0xf8], 6
call fcn.004051b0
fld dword [esp + 0x10]
fmul dword [0x4e1478]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0xf4], bl
fstp dword [esp + 0x44]
call fcn.00417d40
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0xf8], 7
call fcn.004051b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf0], bl
call fcn.00426a10
lea ecx, [esp + 0x64]
mov byte [esp + 0xf0], 8
call fcn.00426a10
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x78]
mov byte [esp + 0xf0], 9
lea edi, [eax + 0xc]
push edi
push eax
push edx
call fcn.004059c0
add esp, 0xc
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xf8], 0xa
call fcn.004051b0
mov ecx, dword [esp + 0x18]
push edi
lea edx, [esp + 0x48]
push ecx
push edx
mov byte [esp + 0xfc], 9
call fcn.0041a670
add esp, 0xc
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xf8], 0xb
call fcn.004051b0
fld dword [esp + 0x28]
fcomp dword [esp + 0x64]
fnstsw ax
test ah, 1
jne 0x455abe
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x2c]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 1
je 0x455ad3
fld dword [esp + 0x2c]
jmp 0x455ad7
fld dword [esp + 0x68]
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x455af0
fld dword [esp + 0x30]
jmp 0x455af4
fld dword [esp + 0x6c]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x455b0d
fld dword [esp + 0x34]
jmp 0x455b11
fld dword [esp + 0x1c]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x455b2a
fld dword [esp + 0x38]
jmp 0x455b2e
fld dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x455b47
fld dword [esp + 0x3c]
jmp 0x455b4b
fld dword [esp + 0x24]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0xf0], bl
call fcn.00426a10
mov byte [esp + 0x60], 0xa
mov bl, 0xc
test esi, esi
mov byte [esp + 0xf0], bl
jle 0x455c84
mov edx, dword [esp + 0x14]
lea edi, [edx + 8]
mov eax, dword [edi - 8]
mov ecx, dword [edi - 4]
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x78]
push eax
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 0xd
call fcn.00471f20
fld dword [edi + 4]
fsub qword [0x4e1438]
mov byte [esp + 0xf0], bl
mov byte [esp + 0x60], 0xa
fabs
fcomp qword [0x4e00d0]
fnstsw ax
test ah, 1
jne 0x455bd4
mov byte [esp + 0x60], 0
fld dword [esp + 0x54]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x455c0d
fld dword [esp + 0x58]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
je 0x455c0d
fld dword [esp + 0x5c]
fabs
fcomp qword [0x4e1e50]
fnstsw ax
test ah, 0x41
jne 0x455c55
lea ecx, [esp + 0x44]
call fcn.00426a10
mov byte [esp + 0x50], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x44]
lea eax, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf8], 0xe
call fcn.00429700
mov byte [esp + 0xf0], bl
cmp byte [esp + 0x60], 0xa
jne 0x455c7a
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00471b60
mov eax, dword [ebp + 4]
lea edx, [esp + 0x54]
push edx
push eax
mov ecx, ebp
call fcn.004728a0
add edi, 0x10
dec esi
jne 0x455b7c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x455c93
push 3
call fcn.00427d40
lea ecx, [esp + 0x28]
call fcn.00425d30
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.00455cf0
push fcn.004011f0
push 6
lea ecx, [esp + 0x90]
push 0x10
push ecx
mov dword [esp + 0x100], 0xffffffff
call fcn.004ce690
mov eax, 1
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 4