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

Disassembly:
push 0xffffffffffffffff
push 0x5c859d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0xb20]
mov dword [esp + 0x10], ebp
cmp eax, edi
jne 0x43f8b8
xor al, al
jmp 0x4402fb
mov eax, dword [ebp + 0xb64]
mov esi, 0x5e2824
cmp eax, edi
je 0x43fb53
push 1
lea ecx, [ebp + 0xa48]
call fcn.004b4330
cmp eax, 1
jne 0x43fb53
lea ecx, [ebp + 0x2e0]
call fcn.004e3060
test al, al
je 0x43fb53
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::BeginWaitCursor
mov dword [esp + 0xd8], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov ebx, dword [ebp + 0x800]
mov byte [esp + 0xd8], 2
cmp ebx, edi
jle 0x43f970
mov eax, dword [ebp + 0x7fc]
mov esi, dword [eax + edi*4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x20]
test eax, eax
je 0x43f969
mov eax, dword [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0040c9d0
inc edi
cmp edi, ebx
jl 0x43f946
xor edi, edi
mov ebx, dword [ebp + 0xb20]
cmp ebx, edi
jle 0x43f9ad
mov ecx, dword [ebp + 0xb1c]
mov esi, dword [ecx + edi*4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x20]
test eax, eax
push esi
je 0x43f99a
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
jmp 0x43f9a3
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040c9d0
inc edi
cmp edi, ebx
jl 0x43f97a
lea edx, [esp + 0x28]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [ebp + 0x2e0]
call fcn.004d8dc0
push eax
call fcn.00514e60
add esp, 0xc
mov esi, 0x5e2824
test eax, eax
mov dword [esp + 0x28], esi
jle 0x43fa39
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
mov byte [esp + 0xd8], 5
je 0x43f9f3
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ebx, 0x5e262c
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x18]
mov byte [esp + 0xd8], 6
cmp eax, edi
je 0x43fa19
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov eax, dword [esp + 0x3c]
mov byte [esp + 0xd8], 0
inc eax
mov dword [esp + 0x14], ebx
cmp eax, 0x64
mov dword [esp + 0x3c], eax
jl 0x43f90c
jmp 0x43fa7f
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xd8], 3
test eax, eax
je 0x43fa52
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x28], 0x5e262c
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
mov byte [esp + 0xd8], 4
test eax, eax
je 0x43fa77
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov byte [esp + 0xd8], 0
mov esi, dword [ebp + 0xb20]
xor bl, bl
dec esi
js 0x43fb39
mov ecx, dword [ebp + 0xb1c]
mov edi, dword [ecx + esi*4]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x20]
test eax, eax
je 0x43faee
push edi
lea ecx, [ebp + 0x2e0]
mov dword [edi + 0xd0], 0
call fcn.004deba0
mov eax, dword [ebp + 0xb20]
sub eax, esi
dec eax
je 0x43fadf
mov ecx, dword [ebp + 0xb1c]
shl eax, 2
push eax
lea edx, [ecx + esi*4 + 4]
lea eax, [ecx + esi*4]
push edx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [ebp + 0xb20]
mov bl, 1
dec eax
mov dword [ebp + 0xb20], eax
dec esi
jns 0x43fa8e
test bl, bl
je 0x43fb39
mov ecx, ebp
call fcn.0043d980
mov ecx, ebp
call fcn.0043f300
push 0
push 0
push 0
mov ecx, ebp
call sub.mfc42u.dll_CDocument::UpdateAllViews
mov eax, dword [ebp + 0xb20]
test eax, eax
jne 0x43fb39
mov dword [esp + 0xd8], 0xffffffff
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::EndWaitCursor
xor al, al
jmp 0x4402fb
mov dword [esp + 0xd8], 0xffffffff
call sub.mfc42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc42u.dll_CCmdTarget::EndWaitCursor
xor edi, edi
mov eax, dword [ebp + 0xb20]
mov ecx, 1
cmp eax, ecx
jle 0x440280
lea ecx, [esp + 0x14]
call fcn.0040abe0
mov edi, 0x5e7800
push 0xa
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xe0], 7
mov dword [esp + 0x1c], edi
call fcn.0046d900
mov eax, dword [ebp + 0xb20]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xd8], 8
test eax, eax
mov dword [esp + 0x3c], ebx
jle 0x43fbe6
mov ecx, dword [ebp + 0xb1c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx + 0x148]
test eax, eax
jne 0x43fbd1
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0040c9d0
jmp 0x43fbd7
cmp ebx, eax
jg 0x43fbd7
mov ebx, eax
mov eax, dword [ebp + 0xb20]
inc esi
cmp esi, eax
jl 0x43fbad
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x9c]
call fcn.0040abe0
push 0xa
push 0
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe0], 9
mov dword [esp + 0xa4], edi
call fcn.0046d900
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0xe0], 0xa
call fcn.0046d900
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xa0]
test edx, edx
je 0x43fc4c
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x43fc3f
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x44000d
mov edi, 0x5e2824
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ecx
xor edx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x18]
dec ebp
cmp ebp, ebx
mov byte [esp + 0xd8], 0xe
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0x1c0]
mov dword [esp + 0x80], eax
jl 0x43fdc3
mov eax, dword [esp + 0x18]
mov esi, dword [eax + ebp*4]
mov eax, dword [esp + 0x80]
cmp dword [esi + 0x1c0], eax
jne 0x43fdbc
mov eax, dword [esi + 0x198]
cmp eax, 3
ja case.default.0x43fd0c
jmp dword [eax*4 + 0x440318]
mov edi, ecx
inc ecx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x90]
call fcn.0046d900
mov ecx, dword [esp + 0x8c]
mov dword [ecx + edi*4], esi
jmp 0x43fd7c
mov edi, dword [esp + 0x74]
push 0xffffffffffffffff
lea ecx, [esp + 0x70]
lea edx, [edi + 1]
push edx
call fcn.0046d900
mov eax, dword [esp + 0x70]
jmp 0x43fd79
mov edi, edx
inc edx
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x30]
call fcn.0046d900
mov ecx, dword [esp + 0x2c]
mov dword [ecx + edi*4], esi
jmp 0x43fd7c
mov edi, dword [esp + 0x60]
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
lea edx, [edi + 1]
push edx
call fcn.0046d900
mov eax, dword [esp + 0x5c]
mov dword [eax + edi*4], esi
mov edi, 0x5e2824
mov eax, dword [esp + 0x1c]
sub eax, ebp
dec eax
je 0x43fda8
lea ecx, [eax*4]
mov eax, dword [esp + 0x18]
push ecx
lea edx, [eax + ebp*4 + 4]
lea eax, [eax + ebp*4]
push edx
push eax
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
dec eax
mov dword [esp + 0x1c], eax
dec ebp
jns 0x43fce7
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe0], 0xf
call fcn.0046d900
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x48]
cmp edx, ebx
je 0x43fe0e
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x43fe01
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.0046d900
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x30]
cmp edx, ebx
je 0x43fe46
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x43fe39
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.0046d900
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x74]
cmp edx, ebx
je 0x43fe7e
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x43fe71
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x60]
mov esi, eax
add eax, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.0046d900
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
lea eax, [edx + esi*4]
mov edx, dword [esp + 0x60]
cmp edx, ebx
je 0x43feb6
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x43fea9
lea eax, [esp + 0x58]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
lea eax, [esp + 0x90]
push edx
push eax
add ecx, 0x2e0
call fcn.004d7b80
fmul qword [0x5e7930]
mov edx, dword [esp + 0x90]
sub esp, 8
fstp qword [esp]
push edx
call fcn.0050e040
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x68]
add esp, 0x1c
xor esi, esi
inc ebp
xor edx, edx
cmp eax, ebx
jle 0x43ff40
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x43ff1f
mov dword [eax + 0x148], ebx
jmp 0x43ff37
add ecx, ebp
mov dword [eax + 0x148], ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + edx*4]
mov eax, dword [eax + 0x1c]
cmp esi, eax
jg 0x43ff37
mov esi, eax
mov eax, dword [esp + 0x4c]
inc edx
cmp edx, eax
jl 0x43ff09
add ebp, esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x48]
mov byte [esp + 0xd8], 0x10
cmp eax, ebx
je 0x43ff63
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xd8], 0x11
cmp eax, ebx
je 0x43ff89
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x6c], edi
mov eax, dword [esp + 0x70]
mov byte [esp + 0xd8], 0x12
cmp eax, ebx
je 0x43ffaa
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xd8], 0x13
cmp eax, ebx
je 0x43ffcb
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x28], esi
mov dword [esp + 0x88], edi
mov eax, dword [esp + 0x8c]
mov byte [esp + 0xd8], 0x14
cmp eax, ebx
je 0x43fff2
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0xd8], 0xa
cmp ebp, ebx
mov dword [esp + 0x88], esi
jne 0x43fc58
lea ecx, [esp + 0xb0]
call fcn.004b6ca0
fld qword [esp + 0xe0]
fsub qword [0x5e3e08]
mov ecx, dword [esp + 0xe8]
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0xec]
mov dword [esp + 0xb8], ecx
lea ecx, [ebp + 0x2e0]
mov byte [esp + 0xd8], 0x15
fstp qword [esp + 0xb0]
fld qword [esp + 0xe0]
fadd qword [0x5e7928]
mov dword [esp + 0xbc], edx
fstp qword [esp + 0xc0]
call fcn.004d7b80
fmul qword [0x5e7930]
mov edx, dword [ebp + 0xb20]
xor ecx, ecx
test edx, edx
fstp qword [esp + 0xc8]
jle 0x4400c4
mov esi, dword [ebp + 0xb1c]
mov edi, dword [esi]
fld qword [edi + 0x78]
fadd qword [0x5e3e08]
fcomp qword [esp + 0xc8]
fnstsw ax
test ah, 0x41
jne 0x4400bc
fld qword [edi + 0x78]
fadd qword [0x5e3e08]
fstp qword [esp + 0xc8]
inc ecx
add esi, 4
cmp ecx, edx
jl 0x440093
fld qword [esp + 0xc8]
fadd qword [esp + 0xe8]
lea eax, [ebp + 0xb18]
lea ecx, [esp + 0xb0]
push eax
push ecx
push 0
fstp qword [esp + 0xd4]
call fcn.0043f490
fld qword [esp + 0xcc]
fadd qword [esp + 0xbc]
mov eax, dword [ebp + 0xb20]
add esp, 0xc
xor edi, edi
fmul qword [0x5e2790]
test eax, eax
fsubr qword [esp + 0xe0]
fstp qword [esp + 0x80]
fld qword [esp + 0xc8]
fadd qword [esp + 0xb8]
fmul qword [0x5e2790]
fsubr qword [esp + 0xe8]
fstp qword [esp + 0x3c]
jle 0x4401a6
mov ebp, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0xb1c]
mov esi, dword [eax + edi*4]
mov eax, dword [esp + 0x40]
push eax
push ecx
mov edx, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esi + 0xd0], 1
call dword [edx + 0x1c]
mov eax, dword [esp + 0x10]
push esi
mov dword [esi + 0x1c], 0x1ebada
lea ecx, [eax + 0x2e0]
call fcn.004deba0
mov ecx, dword [esp + 0x10]
inc edi
cmp edi, dword [ecx + 0xb20]
jl 0x44014d
mov ebp, ecx
mov ecx, dword [esp + 0xa4]
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
jle 0x4401d2
mov edx, dword [esp + 0xa0]
inc eax
mov ecx, dword [edx + eax*4 - 4]
mov dword [ecx + 0x148], ebx
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
jl 0x4401b5
mov ecx, ebp
call fcn.0043f300
cmp dword [0x619d18], ebx
je 0x440205
cmp dword [ebp + 0x178], ebx
je 0x4401f5
push 0x96
push 0x226
jmp 0x4401ff
push 0x12c
push 0x1f4
call dword [sym.imp.user32.dll_SetCursorPos]
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd8], 0xa
call fcn.0042bd50
mov esi, 0x5e2838
mov dword [esp + 0x9c], esi
mov eax, dword [esp + 0xa0]
mov byte [esp + 0xd8], 0x16
cmp eax, ebx
je 0x440241
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, 0x5e262c
mov dword [esp + 0x14], esi
mov dword [esp + 0x9c], edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0xd8], 0x17
cmp eax, ebx
je 0x44026d
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0xd8], 0xffffffff
xor edi, edi
jmp 0x4402d4
mov edx, dword [ebp + 0xb1c]
mov eax, dword [edx]
push eax
mov dword [eax + 0xd0], ecx
lea ecx, [ebp + 0x2e0]
mov dword [eax + 0x1c], 0x1ebada
call fcn.004deba0
mov ecx, ebp
call fcn.0043f300
cmp dword [0x619d18], edi
je 0x4402d4
cmp dword [ebp + 0x178], edi
je 0x4402c4
push 0xfa
push 0x226
jmp 0x4402ce
push 0x15e
push 0x190
call dword [sym.imp.user32.dll_SetCursorPos]
mov eax, dword [ebp + 0xb1c]
cmp eax, edi
je 0x4402ed
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebp + 0xb1c], edi
mov dword [ebp + 0xb24], edi
mov dword [ebp + 0xb20], edi
mov al, 1
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 0x10