Function at 0x45c500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x477cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49fba8]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ebx
call fcn.00459db0
mov dword [esp + 0x38], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x38]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x38]
mov dword [eax], eax
mov eax, dword [esp + 0x38]
mov dword [eax + 8], eax
mov dword [esp + 0x3c], ebx
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov edi, eax
mov eax, dword [esp + 0x7c]
cmp dword [eax], ebx
mov ebp, esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edi
je 0x45c77f
jmp 0x45c588
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
je 0x45c597
cmp ebp, esi
je 0x45c59d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x30]
je 0x45c77f
test ebp, ebp
jne 0x45c5b1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebp + 4]
jne 0x45c5bc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi + 0x24], 8
jb 0x45c5c7
mov eax, dword [edi + 0x10]
jmp 0x45c5ca
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.0044f5d0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 1
call fcn.0044f620
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov byte [esp + 0x70], 2
je 0x45c61f
cmp edi, dword [ebp + 4]
jne 0x45c609
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x80]
cmp dword [edi + 0x24], 8
jb 0x45c614
mov edi, dword [edi + 0x10]
jmp 0x45c617
add edi, 0x10
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [esp + 0x78]
call fcn.0044ef00
test eax, eax
jne 0x45c705
cmp dword [esp + 0x3c], 0
jbe 0x45c705
mov eax, dword [esp + 0x7c]
cmp dword [eax], 0
je 0x45c705
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0044ef50
push eax
call fcn.0045a6a0
add esp, 8
test eax, eax
jne 0x45c74d
push 0x5c
lea ecx, [esp + 0x7c]
call fcn.0044f260
cmp eax, 0xffffffff
je 0x45c693
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
call fcn.0044f9d0
mov byte [esp + 0x70], 3
or ebx, 1
jmp 0x45c6ac
push 0x47bd74
lea ecx, [esp + 0x20]
call fcn.0044f5d0
mov dword [esp + 0x70], 4
or ebx, 2
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.0044f740
test bl, 2
mov dword [esp + 0x70], 3
je 0x45c6d7
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.0044ee30
test bl, 1
mov dword [esp + 0x70], 2
je 0x45c6f4
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.0044ee30
lea ecx, [esp + 0x78]
call fcn.0044ef00
test eax, eax
je 0x45c630
lea ecx, [esp + 0x18]
call fcn.0044ef00
test eax, eax
jne 0x45c74d
lea ecx, [esp + 0x18]
call fcn.0044ef50
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], 5
call fcn.0045a7b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
call fcn.004597e0
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 1
call fcn.0044ee30
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call fcn.0044ee30
mov edx, dword [esp + 0x7c]
cmp dword [edx], 0
jne 0x45c580
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.0045a910
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x38]
push ecx
mov edi, ecx
push edx
push edi
mov ecx, esi
call fcn.0045a950
mov eax, dword [esp + 0x38]
mov edx, dword [eax]
push eax
mov ecx, edi
push ecx
push edx
mov esi, edi
push esi
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x84], 0xffffffff
call fcn.0045aa90
mov eax, dword [esp + 0x38]
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret