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

Disassembly:
push 0xffffffffffffffff
push 0x4404f3
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x459310]
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.004065a0
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 0x424e9f
jmp 0x424ca8
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
je 0x424cb7
cmp ebp, esi
je 0x424cbd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x30]
je 0x424e9f
test ebp, ebp
jne 0x424cd1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebp + 4]
jne 0x424cdc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [edi + 0x24], 8
jb 0x424ce7
mov eax, dword [edi + 0x10]
jmp 0x424cea
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00419cb0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 1
call fcn.00419d00
mov ecx, dword [esp + 0x80]
test ecx, ecx
mov byte [esp + 0x70], 2
je 0x424d3f
cmp edi, dword [ebp + 4]
jne 0x424d29
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x80]
cmp dword [edi + 0x24], 8
jb 0x424d34
mov edi, dword [edi + 0x10]
jmp 0x424d37
add edi, 0x10
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
lea ecx, [esp + 0x78]
call fcn.00419550
test eax, eax
jne 0x424e25
cmp dword [esp + 0x3c], 0
jbe 0x424e25
mov eax, dword [esp + 0x7c]
cmp dword [eax], 0
je 0x424e25
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x7c]
call fcn.004195a0
push eax
call fcn.00421670
add esp, 8
test eax, eax
jne 0x424e6d
push 0x5c
lea ecx, [esp + 0x7c]
call fcn.004198b0
cmp eax, 0xffffffff
je 0x424db3
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x80]
call fcn.0041a040
mov byte [esp + 0x70], 3
or ebx, 1
jmp 0x424dcc
push 0x443cfc
lea ecx, [esp + 0x20]
call fcn.00419cb0
mov dword [esp + 0x70], 4
or ebx, 2
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x18], ebx
call fcn.00419db0
test bl, 2
mov dword [esp + 0x70], 3
je 0x424df7
and ebx, 0xfffffffd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
call fcn.00419480
test bl, 1
mov dword [esp + 0x70], 2
je 0x424e14
and ebx, 0xfffffffe
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00419480
lea ecx, [esp + 0x78]
call fcn.00419550
test eax, eax
je 0x424d50
lea ecx, [esp + 0x18]
call fcn.00419550
test eax, eax
jne 0x424e6d
lea ecx, [esp + 0x18]
call fcn.004195a0
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.00406df0
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.00406020
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 1
call fcn.00419480
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call fcn.00419480
mov edx, dword [esp + 0x7c]
cmp dword [edx], 0
jne 0x424ca0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00406ff0
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.004217b0
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.00407170
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
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