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

Disassembly:
push 0xffffffffffffffff
push 0x56ebce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x74]
push esi
lea esi, [ebp + 8]
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty_1]
lea edi, [ebp + 0xc]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty_1]
lea ebx, [ebp + 0x14]
call fcn.00452260
lea ebx, [ebp + 0x28]
call fcn.004ddbb0
mov ebx, dword [esp + 0x80]
mov eax, dword [ebx + 0x78]
mov dword [ebp + 4], eax
lea eax, [esp + 0x7c]
push eax
mov ecx, ebx
call fcn.0045bef0
push eax
mov ecx, esi
mov dword [esp + 0x78], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, ebx
call fcn.0045c110
push eax
mov ecx, edi
mov dword [esp + 0x78], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea edx, [esp + 0x7c]
push edx
call fcn.00470030
push eax
mov ecx, edi
mov dword [esp + 0x78], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x7c]
push eax
mov edi, esi
call fcn.00470030
push eax
mov ecx, esi
mov dword [esp + 0x78], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebp + 4]
cmp eax, 1
je 0x46fc3f
cmp eax, 2
jle 0x46fc4a
cmp eax, 4
jg 0x46fc4a
lea ecx, [ebp + 0x10]
push ecx
mov ecx, ebx
call fcn.0045bd10
mov eax, dword [ebp + 4]
cmp eax, 2
jl 0x46fed3
cmp eax, 4
jg 0x46fed3
mov ecx, ebx
call fcn.0045b780
movzx esi, ax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
mov byte [esp + 0x74], 6
mov eax, dword [ebp + 4]
mov ecx, 1
cmp eax, ecx
je 0x46fcae
cmp eax, 2
jle 0x46fcb8
cmp eax, 4
jg 0x46fcb8
cmp eax, 4
je 0x46fcb8
mov ecx, 2
movzx edx, cx
cmp edx, esi
mov dword [esp + 0x18], ecx
jg 0x46fead
jmp 0x46fcd0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x40]
call fcn.0045b830
test al, al
je 0x46fe8e
push 0
push 0x585c38
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov edi, eax
cmp edi, 0xffffffff
je 0x46fde5
lea ebx, [ebx]
mov eax, dword [esp + 0x7c]
mov eax, dword [eax - 0xc]
sub eax, edi
dec eax
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
mov ebx, eax
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x7c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push 0x585c34
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x80], 8
call fcn.00407a40
push ebx
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x8c], 9
call fcn.004079b0
add esp, 0x18
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 0xa
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0
push 0x585c38
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find]
mov edi, eax
cmp edi, 0xffffffff
jne 0x46fd20
lea edx, [esp + 0x2c]
push edx
lea edi, [esp + 0x18]
call fcn.00470030
push eax
mov ecx, edi
mov byte [esp + 0x78], 0xb
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov bl, 6
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea eax, [esp + 0x30]
push eax
lea edi, [esp + 0x14]
call fcn.00470030
push eax
mov ecx, edi
mov byte [esp + 0x78], 0xc
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x10
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x74], 0xd
je 0x46fe6c
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x7c]
push ecx
push edx
mov ecx, edi
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004dc190
jmp 0x46fe6e
xor eax, eax
lea edi, [ebp + 0x24]
mov byte [esp + 0x74], bl
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x46fe80
xor ebx, ebx
jmp 0x46fe88
mov ebx, dword [edi + 0xc]
sub ebx, ecx
sar ebx, 2
push eax
call fcn.004dc670
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
inc eax
mov dword [esp + 0x18], eax
movzx eax, ax
cmp eax, ecx
jle 0x46fcd0
mov ebx, dword [esp + 0x80]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], 0xffffffff
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
cmp dword [ebp + 4], 4
jne 0x47001a
mov ecx, ebx
call fcn.0045b780
movzx esi, ax
push 1
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x3c], esi
call fcn.004a61f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xe
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_9]
cmp esi, 1
mov byte [esp + 0x74], 0x10
mov dword [esp + 0x7c], 1
jl 0x46fff5
lea esp, [esp]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x20]
call fcn.0045b980
test al, al
je 0x46ffdf
push 0
push ecx
mov eax, ebx
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_10]
lea ecx, [esp + 0x48]
call fcn.0042bca0
test al, al
je 0x46ffdf
lea ecx, [esp + 0x38]
push ecx
lea edi, [esp + 0x1c]
mov byte [esp + 0x64], 1
mov dword [esp + 0x60], 2
call fcn.00470030
push eax
mov ecx, edi
mov byte [esp + 0x78], 0x11
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
mov bl, 0x10
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push 0x30
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x74], 0x12
je 0x46ffd0
lea edx, [esp + 0x40]
push edx
mov ecx, edi
push ecx
push eax
call fcn.00559720
jmp 0x46ffd2
xor eax, eax
push eax
lea eax, [ebp + 0x38]
mov byte [esp + 0x78], bl
call fcn.005593f0
mov eax, dword [esp + 0x7c]
inc eax
movzx edx, ax
mov dword [esp + 0x7c], eax
cmp edx, dword [esp + 0x34]
jle 0x46ff30
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x68]
mov dword [esp + 0x74], 0xffffffff
call fcn.0042bbc0
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x68
ret 8