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

Disassembly:
push 0xffffffffffffffff
push 0x49c47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
push ebp
mov ebp, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x4c]
test eax, eax
push esi
push edi
mov dword [esp + 0x10], ebp
ja 0x45b4b2
mov eax, dword [esp + 0x6c]
xor edi, edi
cmp eax, 0x16
jne 0x45b585
push 0xa
lea ecx, [esp + 0x40]
call fcn.00496750
mov eax, dword [esp + 0x18]
push 0x2c
push 0xffffffffffffffff
lea edx, [esp + 0x44]
push edx
push eax
mov dword [esp + 0x74], 0
call fcn.0048f630
mov eax, dword [esp + 0x58]
add esp, 0x10
cmp eax, 4
jl 0x45b56f
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 8]
mov esi, dword [sym.imp.MSVCR71.dll_atoi]
push edx
call esi
add esp, 4
push 1
lea ecx, [esp + 0x40]
mov ebp, eax
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
jne 0x45b541
call fcn.0049641a
mov ecx, dword [ebp + 0x48]
mov eax, dword [ecx]
cmp eax, ecx
je 0x45b440
jmp 0x45b4c0
mov esi, dword [eax + 8]
cmp dword [esi + 4], ebx
je 0x45b4d3
mov eax, dword [eax]
cmp eax, ecx
jne 0x45b4c0
jmp 0x45b440
mov ecx, esi
mov edi, esi
call fcn.0045c170
test al, al
jne 0x45b75a
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x45b446
mov ecx, dword [ebp + 0x4d0]
shr ecx, 6
and cl, al
mov byte [esp + 0x17], cl
je 0x45b511
mov ecx, esi
call fcn.0045c180
test al, al
jne 0x45b75a
push 0x90
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov ebp, 1
mov dword [esp + 0x64], ebp
je 0x45b5c1
mov ecx, eax
call fcn.00423db0
mov esi, eax
jmp 0x45b5c3
mov eax, dword [eax + 8]
push eax
call esi
mov ecx, dword [esp + 0x78]
add esp, 4
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push 2
mov edi, eax
call fcn.0045b320
mov esi, eax
push edi
push ebp
mov ecx, esi
call fcn.0045fad0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC71.DLL_CPtrList::CPtrList
jmp 0x45b75a
cmp eax, 0x64
jb 0x45b511
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
mov ecx, dword [0x4bd2bc]
push ebx
push eax
call fcn.004597e0
jmp 0x45b75a
xor esi, esi
mov eax, dword [esp + 0x74]
mov dx, word [esp + 0x6c]
mov dword [esi + 0xc], eax
mov al, byte [esp + 0x88]
test al, al
mov dword [esp + 0x64], 0xffffffff
mov word [esi + 4], dx
mov word [esi + 6], bp
je 0x45b5f0
mov word [esi + 6], 0x41
test edi, edi
je 0x45b60a
movzx ecx, byte [edi + 0x24]
add edi, 8
mov dword [esi + 0x14], ecx
push edi
lea ecx, [esi + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
jmp 0x45b628
push 0xa
lea edx, [esp + 0x40]
push edx
push ebx
mov dword [esi + 0x14], ebp
call dword [sym.imp.MSVCR71.dll__ultoa]
add esp, 0xc
push eax
lea ecx, [esi + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov al, byte [esp + 0x84]
test al, al
je 0x45b637
or byte [esi + 6], 2
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x18]
lea ebp, [esi + 0x50]
push edi
mov ecx, ebp
mov dword [esi + 8], ebx
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x45b663
cmp eax, 2
jne 0x45b74e
push 0xa
lea ecx, [esp + 0x20]
call fcn.00496750
push 0x2c
push 5
lea ecx, [esp + 0x24]
push ecx
push edi
mov dword [esp + 0x74], 2
call fcn.0048f630
mov eax, dword [esp + 0x38]
add esp, 0x10
cmp eax, 5
jne 0x45b727
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
push eax
lea ecx, [esi + 0x6c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 1
lea ecx, [esp + 0x20]
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
jne 0x45b6ba
call fcn.0049641a
mov ecx, dword [eax + 8]
mov edi, dword [sym.imp.MSVCR71.dll_atoi]
push ecx
call edi
add esp, 4
push 2
lea ecx, [esp + 0x20]
mov word [esi + 0x88], ax
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
jne 0x45b6e4
call fcn.0049641a
mov edx, dword [eax + 8]
push edx
call edi
add esp, 4
push 3
lea ecx, [esp + 0x20]
mov dword [esi + 0x8c], eax
call sub.MFC71.DLL_CPtrList::FindIndex
test eax, eax
jne 0x45b707
call fcn.0049641a
mov eax, dword [eax + 8]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov word [esi + 0x8a], ax
mov edx, dword [ecx + 8]
add esp, 4
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edi, dword [esp + 0x10]
lea eax, [edi + 0x2f0]
push eax
lea ecx, [esi + 0x34]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x64], 0xffffffff
call sub.MFC71.DLL_CPtrList::CPtrList
jmp 0x45b752
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0x20]
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x58
ret 0x20