Function at 0x419360
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
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 0x41977e
cmp byte [ebp + 8], 8
je 0x41977e
call fcn.00406110
mov ecx, eax
test ecx, ecx
jne 0x4193b5
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 edx, eax
add edx, 1
mov dword [ebp - 0x40], edx
jns 0x4193e6
push 0x80070057
call fcn.004063a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x419406
push edx
lea ecx, [ebp - 0x10]
call fcn.00406dd0
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x40]
push edx
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 0x4193dc
cmp eax, dword [esi - 8]
jg 0x4193dc
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push 0xb0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x2c]
test al, al
jns 0x4194f8
cmp byte [ebp + 8], 0x2d
jne 0x4194f8
push esi
test al, 0x40
je 0x41948d
call fcn.005239a4
fstp qword [ebp - 0x50]
movsd xmm1, qword [ebp - 0x50]
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 0x4194a4
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 ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
je 0x4194cd
dec ecx
dec eax
jmp 0x4194cf
inc ecx
inc eax
push ecx
push eax
push 0xb1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xb7
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
jmp 0x41974a
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x10]
sub eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041f000
mov edi, eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.00419860
push dword [ebp + 8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004140c0
push edi
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
call fcn.00414010
add esp, 0x18
mov edx, dword [ebp - 0x44]
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 0x419564
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419582
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4195a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
or ecx, 0xffffffff
mov dword [ebp - 0x3c], ecx
xor edi, edi
mov dword [ebp - 0x1c], ecx
or ecx, ecx
mov dword [ebp - 0x28], 0
mov edx, dword [eax - 0xc]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x34], ecx
mov dword [ebp + 8], 0xffffffff
test edx, edx
jle 0x419727
test edi, edi
js 0x4193dc
cmp edi, edx
jg 0x4193dc
movsx edx, byte [edi + eax]
lea ecx, [edx - 0x2d]
cmp ecx, 0x11
ja case.0x41960f.47
movzx ecx, byte [ecx + 0x4197b0]
jmp dword [ecx*4 + 0x419798]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40], edi
jmp 0x4196aa
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x419723
inc dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
jmp 0x4196aa
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x419723
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edx
jmp 0x4196ad
mov ecx, dword [ebp - 0x18]
test dword [ecx + 0x2c], 0x100
je 0x419723
inc dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], edi
jmp 0x4196aa
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x2c], 0x40
je 0x419723
inc dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
jmp 0x4196aa
push edx
call fcn.005277d6
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x419723
mov ecx, dword [ebp + 8]
test ecx, ecx
cmovs ecx, edi
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x14]
cmp dword [ebp - 0x28], 1
jg 0x419723
cmp edx, 1
jg 0x419723
cmp dword [ebp - 0x2c], 1
jg 0x419723
cmp dword [ebp - 0x30], 1
jg 0x419723
mov edx, dword [eax - 0xc]
inc edi
cmp edi, edx
jl 0x4195e8
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
cmp edi, 0xffffffff
je 0x4196e4
cmp edx, 0xffffffff
je 0x4196e4
cmp edi, edx
jg 0x419723
cmp dword [ebp - 0x1c], 0xffffffff
je 0x4196f4
cmp edx, 0xffffffff
je 0x4196f4
cmp dword [ebp - 0x1c], edx
jg 0x419723
cmp ecx, 0xffffffff
je 0x419727
cmp edi, 0xffffffff
je 0x419702
cmp edi, ecx
jg 0x419723
mov edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x41970e
cmp edi, ecx
jg 0x419723
cmp edx, 0xffffffff
je 0x419717
cmp edx, ecx
jg 0x419723
mov edx, dword [ebp - 0x40]
cmp edx, 0xffffffff
je 0x419727
cmp edx, ecx
jle 0x419727
xor edi, edi
jmp 0x41972c
mov edi, 1
or ecx, 0xffffffff
mov byte [ebp - 4], 0
lea edx, [eax - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41974a
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 0x419769
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