Function at 0x4252f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x80
mov eax, dword [esp + 0xa0]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, dword [esp + 0x90]
push edi
xor edi, edi
test eax, eax
mov dword [esp + 0x10], edi
je 0x42556b
push edi
push esi
call fcn.00425970
fild dword [esp + 0xac]
add esp, 8
mov dword [esi + 0x240], edi
push 0x40000000
push edi
sub esp, 8
fstp qword [esp]
call fcn.00402340
fstp qword [esp + 0x30]
fild dword [esp + 0xb0]
add esp, 0x10
push 0x40000000
push edi
sub esp, 8
fstp qword [esp]
call fcn.00402340
fadd qword [esp + 0x30]
add esp, 8
fstp qword [esp]
call fcn.00402350
mov ax, word [esi + 0xc]
fstp qword [esp + 0x28]
push eax
push 0x3e80
call fcn.004017f0
mov dword [esp + 0x24], eax
add esp, 0x10
fild dword [esp + 0x14]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
je 0x425408
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4253e9
fild dword [esp + 0xa0]
sub esp, 8
fstp qword [esp]
fild dword [esp + 0xac]
sub esp, 8
fstp qword [esp]
call fcn.00402310
fchs
fmul qword [0x4dcaf8]
add esp, 0x10
fmul qword [0x4dcaf0]
call fcn.004d7580
mov dword [esp + 0x10], eax
jmp 0x425408
mov eax, dword [esp + 0xa4]
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and ecx, 0xfffd40e0
add ecx, 0x41eb0
mov dword [esp + 0x10], ecx
mov edx, dword [esi + 0x10]
push 0xa
push edx
call dword [sym.imp.GDI32.dll_SetROP2]
push 7
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov cx, word [esi + 0xc]
mov dword [esp + 0x1c], eax
push ecx
push 0x3e80
call fcn.004017f0
mov edi, eax
mov ecx, ebp
add esp, 8
mov eax, ebx
sub ecx, edi
sub eax, edi
push ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x1c], ecx
push eax
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0041b9b0
lea eax, [edi + ebp]
mov ecx, esi
push eax
lea eax, [ebx + edi]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0041b9b0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Ellipse]
mov ax, word [esi + 0xc]
push ebp
push eax
push 0x1f40
call fcn.004017f0
mov ecx, dword [esp + 0x20]
add esp, 8
sub ecx, eax
push ecx
mov ecx, esi
call fcn.004ce760
mov cx, word [esi + 0xc]
push ebp
push ecx
push 0x1f40
call fcn.004017f0
add eax, ebx
add esp, 8
add eax, edi
mov ecx, esi
push eax
call fcn.004ce690
mov dx, word [esi + 0xc]
push edx
push 0x1f40
call fcn.004017f0
mov ecx, dword [esp + 0x20]
add esp, 8
sub ecx, eax
push ecx
push ebx
mov ecx, esi
call fcn.004ce760
mov ax, word [esi + 0xc]
push eax
push 0x1f40
call fcn.004017f0
add eax, ebp
add esp, 8
add eax, edi
mov ecx, esi
push eax
push ebx
call fcn.004ce690
push ebp
push ebx
mov ecx, esi
call fcn.004ce760
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
lea edx, [ecx + ebp]
lea ecx, [ebx + eax]
push edx
push ecx
mov ecx, esi
call fcn.004ce690
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x10]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetROP2]
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x4257d1
mov ax, word [esp + 0xb4]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov word [esp + 0x70], ax
mov ax, word [esp + 0xb8]
mov dword [esp + 0x76], ecx
xor ecx, ecx
mov dword [esp + 0x72], 0
test ax, ax
sete cl
test ax, ax
mov dword [esp + 0x7a], edx
mov dword [esp + 0x7e], ecx
mov word [esp + 0x82], ax
jne 0x4255d0
mov word [esp + 0x82], 0x7fff
lea edx, [esp + 0x70]
mov dword [esp + 0x88], ebx
push edx
push 0x4251f0
push esi
mov dword [esp + 0x98], ebp
mov dword [esp + 0x90], edi
call fcn.004299d0
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [0x655ab0]
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ecx, dword [0x651b54]
cmp eax, ecx
jne 0x4256ac
lea edx, [esp + 0xa0]
push edx
push 0xffff
push 0x403
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x651b54]
push 0x162e
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x48]
mov ebp, eax
push ecx
push edi
call fcn.004258d0
add esp, 4
push eax
call fcn.004c9460
add esp, 8
lea edx, [esp + 0x5c]
push 0x14
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edi, [esp + 0x5c]
lea eax, [esp + 0x48]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x425697
test cl, cl
je 0x425693
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x425697
add eax, 2
add edi, 2
test cl, cl
jne 0x42566f
xor eax, eax
jmp 0x42569c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4256ac
lea eax, [esp + 0x48]
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov edi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x456]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa0]
mov ebp, eax
sub eax, ecx
sub ebp, ecx
mov ecx, dword [esi + 0x45a]
add edx, ebp
add ebx, eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], edx
mov edx, eax
sub eax, ecx
sub edx, ecx
mov ecx, dword [esp + 0x44]
add ecx, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x28]
push eax
add edi, edx
push ecx
mov ecx, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], edi
call fcn.004258f0
mov edx, dword [esi + 0x4c]
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push edx
call ebx
mov edi, eax
mov eax, dword [0x655bb8]
and eax, 0xffff
push 0xa50065
dec eax
push eax
mov eax, dword [esp + 0x30]
push eax
push 0
push eax
push edi
call fcn.004cf150
mov ecx, dword [0x655bb8]
mov eax, dword [esp + 0x48]
and ecx, 0xffff
push 0xa50065
dec ecx
push ecx
push eax
push 0
push eax
push edi
call fcn.004cf150
mov edx, dword [esi + 0x4c]
mov ebp, dword [sym.imp.USER32.dll_ReleaseDC]
add esp, 0x30
push edi
push edx
call ebp
mov eax, dword [esi + 0x48]
push eax
call ebx
xor ecx, ecx
mov edi, eax
mov cx, word [0x655bba]
mov eax, dword [esp + 0x2c]
push 0xa50065
dec ecx
push eax
push ecx
push eax
push 0
push edi
call fcn.004cf150
mov eax, dword [esp + 0x4c]
push 0xa50065
xor edx, edx
push eax
mov dx, word [0x655bba]
dec edx
push edx
push eax
push 0
push edi
call fcn.004cf150
mov eax, dword [esi + 0x48]
add esp, 0x30
push edi
push eax
call ebp
mov ax, word [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
mov edi, dword [esp + 0x98]
push edi
call fcn.004252c0
add esp, 4
test eax, eax
jne 0x4258bc
mov ax, word [esi + 0x26c]
cmp ax, 0x11
je 0x425832
cmp ax, 0x10
je 0x425832
mov ax, word [esi + 0x2ba]
cmp ax, 1
je 0x425832
and eax, 0xffff
push edi
push 0
push 0x44
lea ecx, [eax*8]
push esi
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
call dword [eax + edx*2 + 0x16]
add esp, 0x10
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ebp
push ebx
push eax
push ecx
push edx
push edi
push esi
call fcn.00456dc0
mov ax, word [esi + 0x26c]
add esp, 0x24
cmp ax, 0x11
je 0x4258ac
cmp ax, 0x10
je 0x4258ac
mov ax, word [esi + 0x2ba]
cmp ax, 1
je 0x4258ac
and eax, 0xffff
push edi
push 0
push 0x45
lea ecx, [eax*8]
push esi
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
call dword [eax + edx*2 + 0x16]
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret