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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6740bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], edi
call fcn.004788e0
lea ecx, [esp + 0x10]
mov ebx, eax
call sub.MFC42u.DLL_CString::CString_5
mov eax, dword [ebx + 0x1078]
mov dword [esp + 0x90], 0
test eax, eax
je 0x461998
lea eax, [esp + 0x10]
lea ecx, [ebx + 0x9bc]
push eax
call fcn.0051fee0
test eax, eax
je 0x461998
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
call dword [edx + 0x190]
test eax, eax
je 0x461998
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::BeginWaitCursor
push 0
push 0xc86a
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], 1
call fcn.00411680
push eax
lea eax, [edi + 0x6a8]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 2
call fcn.004d1c30
lea ecx, [esp + 0x3c]
mov byte [esp + 0x90], 4
call fcn.004116d0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.00470500
lea edx, [esp + 0x1c]
mov ecx, eax
push edx
mov dword [esp + 0x18], eax
call fcn.00461340
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
mov byte [esp + 0x94], 5
call fcn.00461a30
mov eax, dword [eax]
lea ecx, [edi + 0x19578]
push eax
mov byte [esp + 0x94], 6
mov dword [esp + 0x34], ecx
call fcn.006685b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov byte [esp + 0x90], 5
call sub.MFC42u.DLL_CString::CString
push 0x3110
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x90], 7
je 0x461542
test edi, edi
je 0x4614ce
mov edi, dword [edi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call sub.MFC42u.DLL_CString::CString_4
lea ecx, [esi + 4]
mov byte [esp + 0x90], 8
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esi + 8]
mov byte [esp + 0x90], 9
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esi + 0xc]
mov byte [esp + 0x90], 0xa
call sub.MFC42u.DLL_CString::CString_5
push 0
lea ecx, [esi + 0x10]
mov byte [esp + 0x94], 0xb
call fcn.0048e9b0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x3104], edi
mov dword [esi + 0x3100], edx
mov dword [esi + 0x3108], 0
mov dword [esi + 0x310c], 0xffffffff
jmp 0x461544
xor esi, esi
mov eax, dword [esp + 0x30]
mov edi, 1
mov byte [esp + 0x90], 5
mov dword [esi + 0x310c], edi
mov dword [esi + 0x3108], eax
call fcn.0040d630
test eax, eax
je 0x46159e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00476ef0
add esp, 8
push eax
lea ecx, [esi + 0xc]
mov byte [esp + 0x94], 0xc
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 5
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.00461a60
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0xd
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0xe
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0xf
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push ecx
mov byte [esp + 0xa4], 0x10
call fcn.0040fb50
mov eax, dword [esp + 0x40]
add esp, 0x14
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x461631
push eax
call fcn.0040cf90
add esp, 4
test eax, eax
je 0x461631
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x30]
push ecx
push edx
lea eax, [esi + 4]
push 0
jmp 0x461648
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push ecx
lea eax, [esi + 4]
push edx
push eax
call fcn.0040fc40
mov eax, dword [ebx + 0x1078]
add esp, 0x14
test eax, eax
je 0x46167c
mov eax, dword [ebx + 0xcc4]
test eax, eax
je 0x46167c
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x3900]
call fcn.0051af50
test eax, eax
mov dword [esp + 0x30], edi
jne 0x461684
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call fcn.00461a90
lea edi, [esi + 8]
push eax
mov ecx, edi
mov byte [esp + 0x94], 0x11
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x10
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x14]
push edi
push edx
call fcn.00476fe0
xor edi, edi
add esp, 8
cmp eax, edi
mov dword [esp + 0x48], eax
jne 0x4616e8
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
push eax
add ecx, 0x19578
call fcn.00668090
test eax, eax
mov dword [esp + 0x20], edi
je 0x4616f0
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x461717
cmp dword [esp + 0x20], edi
jne 0x461717
cmp dword [ebx + 0x12a4], edi
jne 0x461717
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x10]
push edx
call fcn.0048fa60
jmp 0x4618f0
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call sub.MFC42u.DLL_CString::CString_5
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 0x12
call fcn.004858d0
mov edx, dword [esp + 0x54]
mov byte [esp + 0x90], 0x13
lea eax, [edx - 2]
cmp eax, 5
ja case.default.0x461770
jmp dword [eax*4 + 0x4619c8]
push 1
jmp 0x46178d
push 2
jmp 0x46178d
push 3
jmp 0x46178d
push 4
jmp 0x46178d
push 5
jmp 0x46178d
push 6
call fcn.004221f0
push ecx
lea ecx, [esp + 0x60]
fstp qword [esp]
call fcn.00608cd8
jmp 0x4617ae
lea eax, [esp + 0x58]
push eax
call fcn.004229b0
add esp, 4
mov eax, dword [ebx + 0x12a4]
mov byte [esp + 0x90], 0x14
cmp eax, edi
jne 0x4617c7
push 0xfffffffffffffff0
jmp 0x46186f
mov ecx, dword [esp + 0x14]
call fcn.00517940
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], eax
cmp ebx, edi
je 0x4617fa
mov eax, dword [esp + 0x74]
cmp eax, edi
jbe 0x4617fa
mov ecx, ebx
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x4617f4
mov eax, dword [eax]
cmp eax, edi
jne 0x4617ee
add ecx, 4
dec edx
jne 0x4617e8
push ebx
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x84]
add esp, 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call sub.MFC42u.DLL_CPlex::FreeDataChain
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x80], edi
mov eax, dword [ebx + 0xc]
cmp eax, edi
je 0x46186d
neg eax
sbb eax, eax
cmp eax, edi
mov dword [esp + 0x30], eax
je 0x46186d
lea ecx, [esp + 0xf]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x1b], 0
call fcn.00406e83
mov ecx, dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x70]
call fcn.004fda10
mov byte [eax], 0
mov eax, dword [esp + 0x30]
cmp eax, edi
jne 0x461839
push 0xe
lea ecx, [esp + 0x70]
call fcn.00485b80
mov edi, dword [esp + 0x20]
lea eax, [esi + 4]
push eax
lea edx, [esp + 0x3c]
push edi
push edx
call fcn.00476d70
add esp, 0xc
mov edx, dword [esp + 0x44]
lea eax, [esi + 0x10]
lea ecx, [esp + 0x54]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x48]
push edi
push edx
mov byte [esp + 0xac], 0x15
call fcn.00476260
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0x14
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 0x16
call fcn.00485af0
lea ecx, [esp + 0x68]
mov byte [esp + 0x90], 0x10
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 0xf
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0xe
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x90], 0xd
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x90], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x90], 1
call fcn.004d1c90
mov byte [esp + 0x90], 0
call sub.MFC42u.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.DLL_CCmdTarget::EndWaitCursor
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x88]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8