Function at 0x62701d
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x699433
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xa4]
mov dword [esp + 0xa0], ebp
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x70], ebp
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x74], ebp
push ecx
mov dword [esp + 0x58], ebp
call sub.MFC42u.DLL_CDC::FromHandle
mov edx, dword [esi + 0x20]
push ebp
push ebp
push 0x31
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [edi]
push eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
push eax
mov ecx, edi
call dword [ebx + 0x30]
push 0xd
mov ecx, edi
call sub.MFC42u.DLL_CDC::SetROP2
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0x44]
push ebp
push ecx
mov ebx, dword [eax + 8]
mov ecx, esi
push ebx
mov dword [esp + 0x3c], ebx
call sub.MFC42u.DLL_CListCtrl::GetItemRect
mov eax, dword [esi + 0x20]
lea edx, [esp + 0xc0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, esi
call fcn.00626d50
test eax, eax
je 0x62710d
mov ecx, esi
call fcn.00626d50
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xd8]
mov ecx, esi
push eax
call sub.MFC42u.DLL_CWnd::ScreenToClient
mov eax, dword [esp + 0xe4]
xor ecx, ecx
cmp eax, ebp
lea edx, [esp + 0xc0]
setl cl
dec ecx
push edx
and ecx, eax
mov dword [esp + 0xc8], ecx
mov ecx, edi
call sub.MFC42u.DLL_CDC::IntersectClipRect
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], ecx
mov ecx, esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call sub.MFC42u.DLL_CWnd::GetStyle
mov ecx, dword [esi + 0x20]
push 0xa
push ebx
push 0x102c
push ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
mov ecx, esi
and ebp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], ebp
call fcn.00626df0
xor edx, edx
cmp eax, ebx
sete dl
mov dword [esp + 0x6c], edx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42u.DLL_CWnd::FromHandle
xor ecx, ecx
cmp eax, esi
mov eax, dword [esp + 0x1c]
sete cl
and eax, 8
xor edx, edx
cmp al, 8
mov dword [esp + 0x40], ecx
sete dl
mov eax, edx
mov dl, byte [esp + 0x10]
test dl, 2
je 0x6271ab
test ecx, ecx
jne 0x6271a1
test eax, eax
je 0x6271ab
mov dword [esp + 0x38], 1
jmp 0x6271b3
mov dword [esp + 0x38], 0
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x38]
mov ecx, dword [esp + 0x40]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x84], eax
mov eax, dword [esi]
push ebp
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x2c], edx
call dword [eax + 0xe8]
mov edx, dword [esp + 0x1c]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x20]
push 0
push 1
push 0x1002
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.MFC42u.DLL_CImageList::FromHandle
mov ebx, eax
test ebx, ebx
je 0x627246
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x70]
push ecx
push eax
call fcn.00429560
mov edx, dword [esp + 0x38]
add esp, 8
mov ecx, esi
push edx
call fcn.00628cd0
imul eax, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
add edx, eax
add ecx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 0x20]
push 0
push 2
push 0x1002
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call sub.MFC42u.DLL_CImageList::FromHandle
test eax, eax
mov dword [esp + 0x14], eax
je 0x627278
mov eax, dword [eax + 4]
lea ecx, [esp + 0x58]
push ecx
push eax
call fcn.00429560
add esp, 8
mov edx, dword [esp + 0xf8]
test byte [edx + 0xc], 3
je 0x62769a
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push eax
push ebp
push ecx
mov ecx, esi
call fcn.00627780
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0xa0]
xor eax, eax
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esi + 0x20]
push 0x105f
push eax
mov dword [esp + 0xb0], 3
call ebp
test eax, eax
mov dword [esp + 0x34], eax
je 0x62734e
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x6272e2
test ebx, ebx
je 0x6273c4
push 0x738574
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_6
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], edx
mov edx, dword [ecx - 8]
push 0
push edx
mov edx, dword [edi + 4]
push ecx
lea ecx, [esp + 0x9c]
push ecx
push 6
push eax
push 0
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x6273c4
test eax, eax
je 0x6273c4
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x20]
push 0xf000
push eax
push 0x102c
push ecx
call ebp
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x58]
sar eax, 0xc
and eax, 0xf
cmp ebp, ecx
jle 0x6273b3
mov edx, dword [esp + 0x20]
inc edx
test edi, edi
jne 0x627391
xor ecx, ecx
jmp 0x627394
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x24]
push 1
push ebx
push edx
push ecx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x34]
add edx, 2
mov dword [esp + 0x3c], edx
jmp 0x6273cb
mov ebp, dword [esp + 0xa8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
add edx, ecx
test eax, eax
mov dword [esp + 0x20], edx
je 0x627616
jmp 0x6273ea
mov ebp, dword [esp + 0xa8]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x6273fe
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
sub ebp, ecx
sub ebp, eax
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa4]
lea ecx, [esp + 0xa0]
and ebx, 3
lea eax, [edx + 1]
mov edx, dword [esi + 0x20]
push ecx
push eax
push 0x105f
push edx
mov dword [esp + 0x8c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
test ebp, ebp
jge 0x627442
add eax, ebp
xor ebp, ebp
mov dword [esp + 0x20], eax
lea ecx, [eax + ebp]
mov dword [esp + 0x28], eax
cmp eax, ecx
jg 0x627451
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, esi
call sub.MFC42u.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xf4], 0
call fcn.00411630
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 2
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call fcn.006279b0
push eax
push ebp
lea ecx, [esp + 0x98]
push edi
push ecx
lea ecx, [esp + 0x20]
call fcn.00411a00
mov edx, dword [eax]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x88], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
sub eax, edx
sub eax, ecx
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
add ebp, ecx
dec ebx
je 0x6274f9
dec ebx
je 0x6274dd
mov eax, dword [esp + 0x20]
add eax, 2
jmp 0x627509
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x20]
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x627509
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x88]
sub eax, edx
sub eax, 2
mov ebx, dword [esp + 0x18]
mov edx, dword [esi]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xec]
test eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
je 0x62753d
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x6c]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x8c], edx
push ecx
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, esi
call dword [eax + 0xe4]
mov edx, dword [esp + 0x84]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 0
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
push 6
push ebp
push ecx
push edx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x6275a8
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov eax, dword [esi + 0x158]
test eax, eax
je 0x6275e6
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x6275e6
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
dec eax
push edx
lea ecx, [esp + 0xd4]
push eax
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CDC::MoveTo
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
dec eax
push edx
push eax
mov ecx, edi
call sub.MFC42u.DLL_CDC::LineTo
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0xf0], 0xffffffff
call fcn.004116d0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x6273e3
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x627652
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc0]
dec eax
lea edx, [esp + 0xd0]
push eax
push ecx
push edx
mov ecx, edi
call sub.MFC42u.DLL_CDC::MoveTo
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xc8]
dec eax
push eax
push ecx
mov ecx, edi
call sub.MFC42u.DLL_CDC::LineTo
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x62767f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x62767f
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
add esi, edx
lea eax, [esp + 0x44]
mov dword [esp + 0x44], esi
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x80]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov eax, dword [esp + 0x64]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x34]
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe4
ret 4