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

Disassembly:
push 0xffffffffffffffff
push 0x5bf169
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 0xa
lea ecx, [esp + 0x20]
call fcn.00401be5
mov dword [esp + 0x1c], 0x5cfd90
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
mov dword [esp + 0xa8], esi
je 0x4a6962
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x20], esi
push 0x400c
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ecx, 0x1003
xor eax, eax
mov dword [esp + 0x24], edi
rep stosd dword es:[edi], eax
mov ebp, dword [ebx + 0x164]
add esp, 4
cmp ebp, esi
mov dword [esp + 0x24], 0x1003
je 0x4a6b41
mov edi, ebp
mov ebp, dword [ebp]
lea ecx, [esp + 0x3c]
mov esi, dword [edi + 8]
call fcn.004b5fd0
mov dword [esp + 0x3c], 0x5e4d1c
mov eax, dword [esi + 0x190]
lea ecx, [esi + 0x190]
lea edx, [esp + 0x3c]
mov byte [esp + 0xa8], 1
push edx
call dword [eax]
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
jle 0x4a6b28
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + eax + 0xc]
test ecx, ecx
je 0x4a6b10
mov ecx, dword [edi + 0x18]
mov edx, dword [esi + eax + 0xc]
add edx, ecx
lea ecx, [esp + 0x10]
mov dword [esi + eax + 0xc], edx
mov edx, dword [esp + 0x40]
lea eax, [esi + edx + 4]
push eax
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x78], 0x5cd400
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 4
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa8], 5
call sub.MFC42.DLL_CStringArray::CStringArray
xor eax, eax
mov dword [esp + 0x78], 0x5cfe24
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push edx
lea ecx, [ebx + 0x78]
mov byte [esp + 0xb0], 6
call sub.MFC42.DLL_CMapStringToPtr::Lookup
test eax, eax
jne 0x4a6aa8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0047c680
test eax, eax
je 0x4a6bac
add eax, 0xc
lea ecx, [esp + 0x78]
push eax
call fcn.00480d30
push 0
push 0x222
push 3
push 0
mov ecx, ebx
call fcn.004a56f0
lea ecx, [esp + 0x8c]
mov byte [esp + 0xa8], 9
call fcn.004cee1e
lea ecx, [esp + 0x80]
mov byte [esp + 0xa8], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa8], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0x5cd400
mov byte [esp + 0xa8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
inc ecx
add esi, 0x28
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x4a69de
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 0
call fcn.004a4fa0
test ebp, ebp
jne 0x4a6994
mov dword [esp + 0x50], 0x5cd400
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0xa
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 0xb
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 0xc
call sub.MFC42.DLL_CStringArray::CStringArray
mov dword [esp + 0x50], 0x5cfe24
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [ebx + 0x164]
mov byte [esp + 0xa8], 0xd
test eax, eax
je 0x4a6ca2
jmp 0x4a6bd2
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
lea eax, [esi + edx]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00484f00
mov ecx, eax
call fcn.00480d30
jmp 0x4a6aba
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x1cc]
mov dword [esp + 0x14], 0
test ecx, ecx
jle 0x4a6c96
xor ebp, ebp
jmp 0x4a6bfd
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x1c8]
mov edx, dword [eax + 0x18]
mov esi, ebp
add esi, ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x20]
mov eax, dword [esi + 4]
add eax, edx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
push eax
call fcn.0047c680
test eax, eax
je 0x4a6c5d
add eax, 0xc
lea ecx, [esp + 0x50]
push eax
call fcn.00480d30
mov esi, dword [esi + 4]
mov eax, dword [ebx + 0x1b8]
cmp esi, eax
jge 0x4a6c73
test esi, esi
jl 0x4a6c73
mov eax, dword [ebx + 0x1b0]
mov ecx, esi
dec esi
test ecx, ecx
je 0x4a6c75
lea ecx, [esi + 1]
mov eax, dword [eax]
dec ecx
jne 0x4a6c56
jmp 0x4a6c75
mov edx, dword [esi + 8]
push 0
push 0x23d
push 4
push edx
mov ecx, ebx
call fcn.004a56f0
jmp 0x4a6c7c
xor eax, eax
mov edx, dword [esp + 0x5c]
mov dword [eax + 0xd], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x1cc]
inc eax
add ebp, 0x18
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4a6bf9
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a6bce
mov edi, dword [ebx + 4]
test edi, edi
je 0x4a6d44
jmp 0x4a6cb3
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4a6d22
mov ebp, dword [edi + 0x18]
push ebp
call sub.MFC42.DLL_HashKey
xor edx, edx
div dword [esp + 0x24]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a6cf6
mov esi, dword [eax + edx*4]
test esi, esi
je 0x4a6cf6
mov eax, dword [esi + 8]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4a6d05
mov esi, dword [esi]
test esi, esi
jne 0x4a6cde
mov ecx, dword [edi + 0x10]
push 0
push 0x247
push 4
push ecx
jmp 0x4a6d31
test esi, esi
je 0x4a6cf6
add esi, 0xc
lea ecx, [esp + 0x50]
push esi
call fcn.00480d30
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x5c]
mov dword [edx + 5], eax
jmp 0x4a6d38
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
push ecx
push 0x24a
push 1
push edx
mov ecx, ebx
call fcn.004a56f0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4a6caf
lea ecx, [esp + 0x64]
mov byte [esp + 0xa8], 0x10
call fcn.004cee1e
lea ecx, [esp + 0x58]
mov byte [esp + 0xa8], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xa8], 0xe
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x50], 0x5cd400
mov dword [esp + 0x1c], 0x5cfe0c
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa8], 0x11
test eax, eax
je 0x4a6dd4
mov ecx, dword [esp + 0x24]
xor edi, edi
test ecx, ecx
jbe 0x4a6dd4
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4a6dcb
lea eax, [esi + 0xc]
push 1
push eax
call fcn.004026d0
lea ecx, [esi + 8]
push 1
push ecx
call sub.MFC42.DLL_DestructElements
mov esi, dword [esi]
test esi, esi
jne 0x4a6dab
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc edi
cmp edi, ecx
jb 0x4a6da4
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x34]
xor eax, eax
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret