Function at 0x415800
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d05d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d7200]
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 0x41583b
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x415f54
cmp edi, 1
jl 0x415f54
cmp edi, dword [esi + 0x40]
jg 0x415f54
lea ebx, [edi + edi*8]
cmp dword [ecx + ebx*8 + 0xc], 0
je 0x415f54
mov eax, dword [ecx + ebx*8]
cmp eax, 0x12
jne 0x415d5f
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 0x415f54
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.00401f30
movzx eax, word [ebp - 0x46]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00401f30
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x415931
xor eax, eax
test ebx, ebx
je 0x41592e
cmp word [ebx], ax
je 0x41592e
inc eax
cmp word [ebx + eax*2], 0
jne 0x415926
mov dword [ebp - 0x28], eax
mov edx, 2
cmp eax, 1
jne 0x4159e5
mov byte [ebp - 0x24], 0
xor eax, eax
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x4bfc90], 0
jne 0x415950
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.0048a28e
mov esi, 0x4bfc90
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 0x415990
mov esi, dword [ebp - 0x60]
test ebx, ebx
je 0x4159c3
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x4159c3
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x4159b2
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je 0x4159d5
push ebx
call fcn.00489ed3
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.00401f30
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x415a12
xor eax, eax
test edi, edi
je 0x415a0f
cmp word [edi], ax
je 0x415a0f
inc eax
cmp word [edi + eax*2], 0
jne 0x415a07
mov dword [ebp - 0x1c], eax
cmp eax, 1
jne 0x415ac3
mov byte [ebp - 0x18], 0
xor eax, eax
inc eax
cmp word [eax*2 + 0x4bfc90], 0
jne 0x415a21
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.0048a28e
mov esi, 0x4bfc90
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 0x415a60
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x60]
test edi, edi
je 0x415aa1
movzx eax, word [edi]
mov esi, eax
mov dword [ebp - 0x5c], esi
mov esi, dword [ebp - 0x60]
test ax, ax
je 0x415aa1
movzx eax, ax
nop
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x415a90
xor eax, eax
mov word [ecx], ax
test edi, edi
je 0x415ab3
push edi
call fcn.00489ed3
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 0x415ade
push 2
call fcn.0048a28e
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 0x415afd
push 2
call fcn.0048a28e
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 0x415b1f
push 2
call fcn.0048a28e
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 0x415b5a
cmp word [ecx], ax
je 0x415b5a
inc eax
cmp word [ecx + eax*2], 0
jne 0x415b52
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x4bffa4], 0
jne 0x415b60
add ecx, eax
test ebx, ebx
je 0x415b8a
xor eax, eax
cmp word [ebx], ax
je 0x415b88
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x415b80
add ecx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x4bffa4], 0
jne 0x415b90
add ecx, eax
test edi, edi
je 0x415bba
xor eax, eax
cmp word [edi], ax
je 0x415bb8
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x415bb0
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.0048a28e
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 0x415c11
movzx ecx, word [ecx]
test cx, cx
je 0x415c11
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 0x415c00
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x415c41
movzx eax, word [ecx]
mov esi, eax
mov dword [ebp - 0x68], esi
test ax, ax
je 0x415c41
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 0x415c30
mov esi, 0x4bffa4
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 0x415c50
test ebx, ebx
je 0x415c82
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
je 0x415c82
mov esi, ebx
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x415c71
mov eax, 0x2f
mov esi, 0x4bffa4
nop dword [eax]
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x415c90
mov esi, dword [ebp - 0x60]
test edi, edi
je 0x415cc8
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x415cc8
mov esi, edi
mov word [edx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add edx, 2
test ax, ax
jne 0x415cb4
mov esi, dword [ebp - 0x60]
xor eax, eax
mov word [edx], ax
mov eax, dword [esi + 0x110]
test eax, eax
je 0x415ce0
push eax
call fcn.00489ed3
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 0x415d09
push eax
call fcn.00489ed3
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 0x415d3a
push edi
call fcn.00489ed3
add esp, 4
test ebx, ebx
je 0x415d47
push ebx
call fcn.00489ed3
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x415d57
push eax
call fcn.00489ed3
add esp, 4
mov eax, dword [ebp - 0x6c]
jmp 0x415f56
cmp eax, 0x10
je 0x415eec
cmp eax, 0x11
je 0x415eec
cmp eax, 0x1c
jne 0x415e3e
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.0048a28e
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 0x415de6
push ebx
call fcn.00489ed3
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 0x415f54
mov eax, dword [esi + 0x110]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
jmp 0x415f56
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.0048a28e
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 0x415ea8
push ebx
call fcn.00489ed3
add esp, 4
mov ebx, dword [esi + 0x3c]
mov ecx, edi
mov edx, dword [esi + 0x110]
test ebx, ebx
je 0x415e18
cmp edi, dword [esi + 0x40]
jg 0x415e18
lea eax, [edi + edi*8]
cmp dword [ebx + eax*8 + 0xc], 0
je 0x415e18
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 0x415e18
mov eax, dword [esi + 0x110]
push 0x202
mov dword [ebp - 0x6c], eax
mov dword [esi + 0x114], 0
call fcn.0048a28e
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 0x415f34
push eax
call fcn.00489ed3
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 0x415e18
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.00489ec5
mov esp, ebp
pop ebp
ret 4