Function at 0x418ef0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x583384]
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 0x419314
cmp byte [ebp + 8], 8
je 0x419314
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x418f45
push 0x80004005
call fcn.004063a0
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 0x418f73
push 0x80070057
call fcn.004063a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x418f90
push edi
lea ecx, [ebp - 0x10]
call fcn.00406dd0
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.00526cb2
add esp, 8
test eax, eax
js 0x418f69
cmp eax, dword [esi - 8]
jg 0x418f69
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 0x419089
cmp byte [ebp + 8], 0x2d
jne 0x419089
push esi
test al, 0x40
je 0x419024
call fcn.005239a4
fstp qword [ebp - 0x48]
movsd xmm1, qword [ebp - 0x48]
xor eax, eax
xorps xmm0, xmm0
comisd xmm0, xmm1
push ecx
xorps xmm1, xmmword [0x548930]
movsd qword [esp], xmm1
seta al
mov dword [ebp + 8], eax
push 0x54739c
jmp 0x41903b
call fcn.00524634
xor ecx, ecx
test eax, eax
sets cl
neg eax
push eax
mov dword [ebp + 8], ecx
push 0x5486c8
lea eax, [ebp - 0x10]
push eax
call fcn.00406950
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 0x419064
dec eax
dec edx
jmp 0x419066
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 0x4192e0
mov eax, dword [esi - 0xc]
sub eax, ecx
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041f000
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.00419860
push dword [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004140c0
push edi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00414010
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 0x4190f5
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 0x419113
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 0x419131
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 0x4192bf
nop dword [eax]
test edi, edi
js 0x418f69
cmp edi, edx
jg 0x418f69
movsx edx, byte [edi + eax]
lea ecx, [edx - 0x2d]
cmp ecx, 0x11
ja case.0x4191a7.47
movzx ecx, byte [ecx + 0x419344]
jmp dword [ecx*4 + 0x41932c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], edi
jmp 0x419242
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4192bb
inc dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], edi
jmp 0x419242
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4192bb
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edx
jmp 0x419245
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x4192bb
inc dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
jmp 0x419242
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x2c], 0x40
je 0x4192bb
inc dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
jmp 0x419242
push edx
call fcn.005277d6
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x30]
je 0x4192bb
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 0x4192bb
cmp edx, 1
jg 0x4192bb
cmp dword [ebp - 0x24], 1
jg 0x4192bb
cmp dword [ebp - 0x28], 1
jg 0x4192bb
mov edx, dword [eax - 0xc]
inc edi
cmp edi, edx
jl 0x419180
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
cmp edi, 0xffffffff
je 0x41927c
cmp edx, 0xffffffff
je 0x41927c
cmp edi, edx
jg 0x4192bb
cmp dword [ebp - 0x1c], 0xffffffff
je 0x41928c
cmp edx, 0xffffffff
je 0x41928c
cmp dword [ebp - 0x1c], edx
jg 0x4192bb
cmp ecx, 0xffffffff
je 0x4192bf
cmp edi, 0xffffffff
je 0x41929a
cmp edi, ecx
jg 0x4192bb
mov edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x4192a6
cmp edi, ecx
jg 0x4192bb
cmp edx, 0xffffffff
je 0x4192af
cmp edx, ecx
jg 0x4192bb
mov edx, dword [ebp - 0x38]
cmp edx, 0xffffffff
je 0x4192bf
cmp edx, ecx
jle 0x4192bf
xor edi, edi
jmp 0x4192c4
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 0x4192e0
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 0x4192ff
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