Function at 0x401a39
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0
push 0
push 0xe
push dword [ebp + 8]
call dword [sym.imp.user32_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401a88
push 6
call fcn.004055f5
add esp, 4
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x40a1f9]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.0040134e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc350
jle 0x401cf1
mov dword [ebp - 8], 0xc350
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x184
call fcn.004055ef
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401aef
push ebx
call fcn.004055e3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x40a1f9]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
push 0
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.kernel32_lstrcpynA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x401b2f
push 6
call fcn.004055f5
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
push dword [ebp - 0x24]
fld qword [ebp - 0x1c]
call fcn.0040134e
push eax
push 0xd
push dword [ebp + 8]
call dword [sym.imp.user32_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x401b65
push 6
call fcn.004055f5
add esp, 4
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401b84
mov eax, 0x40a1b3
push eax
push 2
mov ebx, 0x138
call fcn.004055ef
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000004
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401bb3
mov eax, 0x40a1b3
push eax
push 2
mov ebx, 0x144
call fcn.004055ef
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401bd9
push ebx
call fcn.004055e3
add esp, 4
cmp dword [ebp - 0x14], 0
jge 0x401c6f
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401bf6
mov eax, 0x40a1b3
push eax
push 1
mov ebx, 0x130
call fcn.004055ef
add esp, 0x10
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fsub qword [0x40a1f9]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.0040134e
push 0x80000301
push 0
push eax
push 0x80000004
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401c41
mov eax, 0x40a1b3
push eax
push 2
mov ebx, 0x134
call fcn.004055ef
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401c6b
push ebx
call fcn.004055e3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fild dword [ebp - 8]
fstp qword [ebp - 0x1c]
fsub qword [ebp - 0x1c]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x168
call fcn.004055ef
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x40a201
push dword [ebp - 0x28]
push 0x40a20b
push dword [ebp - 0xc]
mov ecx, 4
call fcn.00401760
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401cd4
push ebx
call fcn.004055e3
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401ce8
push ebx
call fcn.004055e3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
jmp 0x401d82
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.004055ef
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401d24
push ebx
call fcn.004055e3
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.kernel32_lstrcpynA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x401d52
push 6
call fcn.004055f5
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
push dword [ebp - 4]
push 0xd
push dword [ebp + 8]
call dword [sym.imp.user32_SendMessageA]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x401d82
push 6
call fcn.004055f5
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x401d9e
push eax
mov ebx, eax
call fcn.004016f5
inc eax
push eax
call fcn.004055e9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x401da3
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401db4
push ebx
call fcn.004055e3
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4