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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x461345
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x487010]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, ecx
call sub.MFC42u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42u.dll_CCmdTarget::BeginWaitCursor
xor ebx, ebx
mov eax, edi
mov dword [esp + 0x78], ebx
call fcn.00442906
test eax, eax
je 0x4424c0
mov eax, dword [edi + 0xb0]
cmp eax, 0xffffffff
je 0x442367
cmp eax, dword [ebp + 8]
je 0x44239d
cmp dword [edi + 0xb8], ebx
jne 0x4424c0
cmp eax, dword [ebp + 8]
je 0x44239d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xb
push dword [edi + 0x20]
call esi
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2b8]
push ebx
push 1
push 0xb
push dword [edi + 0x20]
call esi
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 1
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x2b4]
test eax, eax
jne 0x4423db
lea esi, [esp + 0x34]
call fcn.00447259
or dword [esp + 0x78], 0xffffffff
call fcn.0041c499
xor al, al
jmp 0x44289c
mov esi, dword [ebp + 8]
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x104]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x50], ecx
mov cl, byte [ebp + 0xc]
mov dword [esp + 0x54], esi
mov byte [esp + 0x58], cl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x78], 2
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
jle 0x442470
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.0040875f
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call dword [edx + 0x2a0]
push eax
lea eax, [esp + 0x2c]
push eax
lea esi, [esp + 0x68]
mov byte [esp + 0x80], 3
call fcn.00442a4c
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 2
call sub.MFC42u.dll_CString::CString
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x38]
jl 0x44241a
lea eax, [esp + 0x50]
push eax
push 0x442203
push 0x109e
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x78], 1
lea esi, [esp + 0x60]
test eax, eax
jne 0x44249f
call fcn.00442a09
jmp 0x4423c1
xor eax, eax
cmp byte [ebp + 0xc], bl
setne al
mov dword [edi + 0xb4], eax
call fcn.00442a09
lea esi, [esp + 0x34]
call fcn.00447259
jmp 0x442890
mov eax, edi
call fcn.00442906
test eax, eax
je 0x44287b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2c4]
test eax, eax
jne 0x44287b
cmp dword [edi + 0xb8], 2
je 0x4424fb
or dword [esp + 0x78], 0xffffffff
call fcn.0041c499
mov al, bl
jmp 0x44289c
mov eax, edi
call fcn.00408bdc
test eax, eax
jg 0x44250a
mov bl, 1
jmp 0x4424ea
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ebx
push ebx
push 0xb
push dword [edi + 0x20]
call esi
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00446324
test al, al
jne 0x442541
push ebx
push 1
push 0xb
push dword [edi + 0x20]
call esi
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4424ea
push 1
mov ecx, edi
call sub.MFC42u.dll_CWnd::GetScrollPos
mov dword [esp + 0x30], eax
mov eax, edi
call fcn.00408bdc
xor ecx, ecx
push 4
pop edx
mov dword [esp + 0x1c], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045a52c
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0xb0]
pop ecx
cmp eax, 0xffffffff
je 0x44258e
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x104]
mov dword [esp + 0x24], eax
jmp 0x442592
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x78], 4
mov dword [esp + 0x14], ebx
jle 0x4426aa
push dword [esp + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2a4]
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
call sub.MFC42u.dll_CString::CString_5
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x18], 0xffffffff
mov byte [esp + 0x78], 5
je 0x442675
xor ecx, ecx
cmp dword [esp + 0x38], ebx
jle 0x442606
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
cmp edx, dword [esp + 0x40]
je 0x442609
inc ecx
add eax, 0x10
cmp ecx, dword [esp + 0x38]
jl 0x4425f4
or ecx, 0xffffffff
cmp ecx, 0xffffffff
jne 0x442675
push dword [esp + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call dword [eax + 0x2a0]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 6
call sub.MFC42u.dll_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 5
call sub.MFC42u.dll_CString::CString
cmp dword [edi + 0xb0], 0xffffffff
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
je 0x44265b
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x48], eax
jmp 0x442660
or dword [esp + 0x48], 0xffffffff
lea ebx, [esp + 0x40]
lea esi, [esp + 0x34]
call fcn.00442aea
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 4
call sub.MFC42u.dll_CString::CString
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jl 0x4425b1
cmp dword [esp + 0x38], ebx
jg 0x4426f6
push ebx
push 1
push 0xb
push dword [edi + 0x20]
call esi
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esp + 0x78], bl
mov edi, dword [esp + 0x34]
cmp edi, ebx
je 0x442506
cmp dword [esp + 0x38], ebx
jle 0x4426e9
mov ebx, dword [esp + 0x38]
lea esi, [edi + 4]
mov ecx, esi
call sub.MFC42u.dll_CString::CString
add esi, 0x10
dec ebx
jne 0x4426dc
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x442506
push 0x442282
push 0x10
push dword [esp + 0x40]
push dword [esp + 0x40]
call dword [sym.imp.msvcrt.dll_qsort]
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x28], eax
add esp, 0x10
lea eax, [edi + 0xbc]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42u.dll_CString::CString_4
push ebx
push ebx
push 0x10a0
mov byte [esp + 0x84], 7
push dword [edi + 0x20]
call esi
push ebx
push ebx
push 0x109d
push dword [edi + 0x20]
call esi
push ebx
push 1
push 0x109d
push dword [edi + 0x20]
call esi
mov eax, dword [esp + 0x24]
mov dword [edi + 0xb0], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0xb4], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + 0xbc]
call sub.MFC42u.dll_CString::operator_1
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x14], ebx
jle 0x4427db
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
jmp 0x44279b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jl 0x44286c
cmp ecx, dword [esp + 0x38]
jge 0x44286c
mov ecx, dword [eax]
mov edx, dword [edi]
push ebx
push ebx
add eax, 4
push eax
push ecx
push dword [esp + 0x24]
mov ecx, edi
call dword [edx + 0x29c]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 0x10
cmp eax, dword [esp + 0x38]
jl 0x442797
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push dword [ecx + eax*4]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x2a8]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x1c]
jl 0x4427df
push dword [esp + 0x20]
call fcn.0045a520
pop ecx
push dword [esp + 0x30]
mov eax, edi
push ebx
call fcn.0041c480
push ebx
push 1
push 0xb
push dword [edi + 0x20]
call esi
push ebx
push ebx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 4
call sub.MFC42u.dll_CString::CString
mov byte [esp + 0x78], bl
mov edi, dword [esp + 0x34]
cmp edi, ebx
je 0x442890
cmp dword [esp + 0x38], ebx
jle 0x442862
mov ebx, dword [esp + 0x38]
lea esi, [edi + 4]
mov ecx, esi
call sub.MFC42u.dll_CString::CString
add esi, 0x10
dec ebx
jne 0x442855
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x442890
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.00446324
test al, al
je 0x4423ca
or dword [esp + 0x78], 0xffffffff
call fcn.0041c499
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8