Function at 0x418e00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x58a710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
test byte [edi + 0x2c], 0x60
je 0x419224
cmp byte [ebp + 8], 8
je 0x419224
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x418e55
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [edi + 4]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
add edi, 1
jns 0x418e83
push 0x80070057
call fcn.004049a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x418ea0
push edi
lea ecx, [ebp - 0x10]
call fcn.004053d0
mov esi, dword [ebp - 0x10]
push edi
mov edi, dword [ebp - 0x18]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi - 8]
push esi
call fcn.0052644e
add esp, 8
test eax, eax
js 0x418e79
cmp eax, dword [esi - 8]
jg 0x418e79
push 0
push 0
mov dword [esi - 0xc], eax
push 0x140
mov byte [eax + esi], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
movzx eax, cx
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x2c]
shr ecx, 0x10
mov dword [ebp - 0x2c], ecx
test al, al
jns 0x418f99
cmp byte [ebp + 8], 0x2d
jne 0x418f99
push esi
test al, 0x40
je 0x418f34
call fcn.0052a1e4
fstp qword [ebp - 0x48]
movsd xmm1, qword [ebp - 0x48]
xor eax, eax
xorps xmm0, xmm0
comisd xmm0, xmm1
push ecx
xorps xmm1, xmmword [0x54f280]
movsd qword [esp], xmm1
seta al
mov dword [ebp + 8], eax
push 0x54f01c
jmp 0x418f4b
call fcn.0052ae74
xor ecx, ecx
test eax, eax
sets cl
neg eax
push eax
mov dword [ebp + 8], ecx
push 0x54f020
lea eax, [ebp - 0x10]
push eax
call fcn.00404f50
mov esi, dword [ebp - 0x10]
add esp, 0x10
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
je 0x418f74
dec eax
dec edx
jmp 0x418f76
inc eax
inc edx
movzx ecx, ax
shl ecx, 0x10
movzx eax, dx
or ecx, eax
push ecx
push 0
push 0x142
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
jmp 0x4191f0
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041ece0
mov edi, eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004196e0
push dword [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00414320
push edi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00414270
add esp, 0x18
mov edx, dword [ebp - 0x3c]
or edi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419005
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419023
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419041
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
or ecx, 0xffffffff
mov dword [ebp - 0x34], ecx
xor edi, edi
mov dword [ebp - 0x1c], ecx
or ecx, ecx
mov dword [ebp - 0x20], 0
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x2c], ecx
mov dword [ebp + 8], 0xffffffff
test edx, edx
jle 0x4191cf
nop dword [eax]
test edi, edi
js 0x418e79
cmp edi, edx
jg 0x418e79
movsx edx, byte [edi + eax]
lea ecx, [edx - 0x2d]
cmp ecx, 0x11
ja case.0x4190b7.47
movzx ecx, byte [ecx + 0x419254]
jmp dword [ecx*4 + 0x41923c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], edi
jmp 0x419152
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4191cb
inc dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], edi
jmp 0x419152
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4191cb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edx
jmp 0x419155
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4191cb
inc dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
jmp 0x419152
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x2c], 0x40
je 0x4191cb
inc dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
jmp 0x419152
push edx
call fcn.0052b1f7
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x30]
je 0x4191cb
mov ecx, dword [ebp + 8]
test ecx, ecx
cmovs ecx, edi
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0x20], 1
jg 0x4191cb
cmp edx, 1
jg 0x4191cb
cmp dword [ebp - 0x24], 1
jg 0x4191cb
cmp dword [ebp - 0x28], 1
jg 0x4191cb
mov edx, dword [eax - 0xc]
inc edi
cmp edi, edx
jl 0x419090
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x41918c
cmp edx, 0xffffffff
je 0x41918c
cmp edi, edx
jg 0x4191cb
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41919c
cmp edx, 0xffffffff
je 0x41919c
cmp dword [ebp - 0x1c], edx
jg 0x4191cb
cmp ecx, 0xffffffff
je 0x4191cf
cmp edi, 0xffffffff
je 0x4191aa
cmp edi, ecx
jg 0x4191cb
mov edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x4191b6
cmp edi, ecx
jg 0x4191cb
cmp edx, 0xffffffff
je 0x4191bf
cmp edx, ecx
jg 0x4191cb
mov edx, dword [ebp - 0x38]
cmp edx, 0xffffffff
je 0x4191cf
cmp edx, ecx
jle 0x4191cf
xor edi, edi
jmp 0x4191d4
mov edi, 1
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4191f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41920f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4