Function at 0x418e80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e4ad
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b5200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x418ebb
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4195d4
cmp edi, 1
jl 0x4195d4
cmp edi, dword [esi + 0x40]
jg 0x4195d4
lea ebx, [edi + edi*8]
cmp dword [ecx + ebx*8 + 0xc], 0
je 0x4195d4
mov eax, dword [ecx + ebx*8]
cmp eax, 0x12
jne 0x4193df
lea eax, [ebp - 0x48]
push eax
push 0
push 0x1001
push dword [ecx + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4195d4
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x30], 1
mov dword [ebp - 4], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
movzx eax, word [ebp - 0x48]
push eax
call fcn.00402100
movzx eax, word [ebp - 0x46]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402100
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x418fb1
xor eax, eax
test ebx, ebx
je 0x418fae
cmp word [ebx], ax
je 0x418fae
inc eax
cmp word [ebx + eax*2], 0
jne 0x418fa6
mov dword [ebp - 0x28], eax
mov edx, 2
cmp eax, 1
jne 0x419065
mov byte [ebp - 0x24], 0
xor eax, eax
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x49fb08], 0
jne 0x418fd0
inc eax
xor ecx, ecx
mov dword [ebp - 0x64], eax
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov esi, 0x49fb08
mov dword [ebp - 0x5c], eax
add esp, 4
mov edx, ebx
mov ecx, eax
mov edi, 0x30
sub esi, eax
nop dword [eax + eax]
mov word [ecx], di
add ecx, 2
movzx eax, word [ecx + esi]
mov edi, eax
test ax, ax
jne 0x419010
mov esi, dword [ebp - 0x60]
test ebx, ebx
je 0x419043
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x419043
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x419032
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je 0x419055
push ebx
call fcn.0046b303
add esp, 4
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
movzx eax, word [ebp - 0x42]
lea ecx, [ebp - 0x20]
push eax
call fcn.00402100
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x419092
xor eax, eax
test edi, edi
je 0x41908f
cmp word [edi], ax
je 0x41908f
inc eax
cmp word [edi + eax*2], 0
jne 0x419087
mov dword [ebp - 0x1c], eax
cmp eax, 1
jne 0x419143
mov byte [ebp - 0x18], 0
xor eax, eax
inc eax
cmp word [eax*2 + 0x49fb08], 0
jne 0x4190a1
inc eax
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov esi, 0x49fb08
mov dword [ebp - 0x64], eax
add esp, 4
mov edx, edi
mov ecx, eax
mov edi, 0x30
sub esi, eax
nop
mov word [ecx], di
add ecx, 2
movzx eax, word [esi + ecx]
mov edi, eax
test ax, ax
jne 0x4190e0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x60]
test edi, edi
je 0x419121
movzx eax, word [edi]
mov esi, eax
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x60]
test ax, ax
je 0x419121
movzx eax, ax
nop
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x419110
xor eax, eax
mov word [ecx], ax
test edi, edi
je 0x419133
push edi
call fcn.0046b303
add esp, 4
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
test edi, edi
jne 0x41915e
push 2
call fcn.0046b90c
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov word [edi], ax
mov byte [ebp - 0x18], 1
test ebx, ebx
jne 0x41917d
push 2
call fcn.0046b90c
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov word [ebx], ax
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x24], 1
test ecx, ecx
jne 0x41919f
push 2
call fcn.0046b90c
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov word [ecx], ax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov byte [ebp - 0x30], 1
mov dword [esi + 0x110], 0
mov byte [esi + 0x118], 0
mov dword [esi + 0x114], 0
test ecx, ecx
je 0x4191da
cmp word [ecx], ax
je 0x4191da
inc eax
cmp word [ecx + eax*2], 0
jne 0x4191d2
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x49ff8c], 0
jne 0x4191e0
add ecx, eax
test ebx, ebx
je 0x41920a
xor eax, eax
cmp word [ebx], ax
je 0x419208
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x419200
add ecx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x49ff8c], 0
jne 0x419210
add ecx, eax
test edi, edi
je 0x41923a
xor eax, eax
cmp word [edi], ax
je 0x419238
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x419230
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ecx, dword [esi + 0x110]
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, eax
mov dword [ebp - 0x68], ecx
test ecx, ecx
je 0x419291
movzx ecx, word [ecx]
test cx, cx
je 0x419291
mov esi, dword [ebp - 0x68]
sub esi, eax
nop dword [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x419280
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4192c1
movzx eax, word [ecx]
mov esi, eax
mov dword [ebp - 0x68], esi
test ax, ax
je 0x4192c1
movzx esi, ax
sub ecx, edx
nop word [eax + eax]
mov word [edx], si
add edx, 2
movzx eax, word [edx + ecx]
mov esi, eax
test ax, ax
jne 0x4192b0
mov esi, 0x49ff8c
mov ecx, 0x2f
sub esi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [edx + esi]
mov ecx, eax
test ax, ax
jne 0x4192d0
test ebx, ebx
je 0x419302
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
je 0x419302
mov esi, ebx
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x4192f1
mov eax, 0x2f
mov esi, 0x49ff8c
nop dword [eax]
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x419310
mov esi, dword [ebp - 0x60]
test edi, edi
je 0x419348
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x419348
mov esi, edi
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x419334
mov esi, dword [ebp - 0x60]
xor eax, eax
mov word [edx], ax
mov eax, dword [esi + 0x110]
test eax, eax
je 0x419360
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x110], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x6c]
mov byte [esi + 0x118], 1
test eax, eax
je 0x419389
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
test edi, edi
je 0x4193ba
push edi
call fcn.0046b303
add esp, 4
test ebx, ebx
je 0x4193c7
push ebx
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4193d7
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [ebp - 0x6c]
jmp 0x4195d6
cmp eax, 0x10
je 0x41956c
cmp eax, 0x11
je 0x41956c
cmp eax, 0x1c
jne 0x4194be
mov ebx, dword [esi + 0x110]
push 0x402
mov dword [ebp - 0x58], 0x20
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [esi + 0x114], 0
call fcn.0046b90c
xor ecx, ecx
mov dword [esi + 0x110], eax
add esp, 4
mov word [eax + 0x400], cx
mov eax, dword [esi + 0x110]
mov word [eax], cx
test ebx, ebx
je 0x419466
push ebx
call fcn.0046b303
add esp, 4
mov eax, dword [esi + 0x110]
lea ecx, [edi + edi*8]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 0x3c]
push edi
push 0x43f
mov dword [ebp - 0x3c], 0x200
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4195d4
mov eax, dword [esi + 0x110]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
jmp 0x4195d6
push 0
push 0
push 0xe
lea eax, [edi + edi*8]
push dword [ecx + eax*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esi + 0x110]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov edx, 2
add eax, 2
mov dword [esi + 0x114], 0
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046b90c
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov dword [esi + 0x110], eax
add esp, 4
mov word [eax + ecx*2 + 2], dx
xor ecx, ecx
mov eax, dword [esi + 0x110]
mov word [eax], cx
test ebx, ebx
je 0x419528
push ebx
call fcn.0046b303
add esp, 4
mov ebx, dword [esi + 0x3c]
mov ecx, edi
mov edx, dword [esi + 0x110]
test ebx, ebx
je 0x419498
cmp edi, dword [esi + 0x40]
jg 0x419498
lea eax, [edi + edi*8]
cmp dword [ebx + eax*8 + 0xc], 0
je 0x419498
mov eax, dword [ebp - 0x5c]
lea ecx, [ecx + ecx*8]
push edx
inc eax
push eax
push 0xd
push dword [ebx + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x419498
mov eax, dword [esi + 0x110]
push 0x202
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x114], 0
call fcn.0046b90c
mov dword [esi + 0x110], eax
xor ecx, ecx
add esp, 4
mov word [eax + 0x200], cx
mov eax, dword [esi + 0x110]
mov word [eax], cx
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x4195b4
push eax
call fcn.0046b303
add esp, 4
mov eax, dword [esi + 0x3c]
push 0
push 0x100
push dword [esi + 0x110]
push edi
push dword [eax + ebx*8 + 8]
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x419498
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046b2f5
mov esp, ebp
pop ebp
ret 4