Function at 0x40367b
Capabilities:
Get graphical window text

Disassembly:
push 0x2ac
mov eax, 0x49c9fe
call fcn.00454d67
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
stosw word es:[edi], ax
push 8
lea eax, [ebp - 0x24]
push eax
lea esi, [ebx + 4]
push dword [esi]
mov dword [ebp - 0x2b0], ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x403717
push 0x4aeed8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x403717
push 0x100
call fcn.00404065
push 0xfffffffffffffff0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xff
cmp eax, 3
je 0x403713
cmp eax, 4
je 0x403713
cmp eax, 5
je 0x403713
cmp eax, 6
je 0x403713
cmp eax, 7
je 0x403713
cmp eax, 8
je 0x403713
cmp eax, 9
je 0x403713
cmp eax, 0xd
je 0x403713
cmp eax, 0xe
je 0x403713
cmp eax, 0xf
jne 0x403717
and byte [ebx + 0x58], 0xfe
push 0x7f89
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_LoadCursorW]
test byte [ebx + 0x58], 1
mov dword [ebx + 0x2c], eax
je 0x4037c2
push dword [esi]
call dword [sym.imp.USER32.dll_GetParent]
push edi
push edi
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx + 0x34], eax
cmp eax, edi
jne 0x403757
push 0xd
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebx + 0x34], eax
cmp dword [ebx + 0x34], edi
je 0x4037c2
cmp dword [ebx + 0x30], edi
jne 0x4037c2
push 0x58
lea eax, [ebp - 0x98]
push edi
push eax
mov dword [ebp - 0x9c], edi
call fcn.004501b0
add esp, 0xc
lea eax, [ebp - 0x9c]
push eax
push 0x5c
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebx + 0x54]
and eax, 0x30
cmp al, 0x30
jne 0x4037a1
mov dword [ebp - 0x8c], 0x2bc
jmp 0x4037ae
test byte [ebx + 0x54], 1
jne 0x4037ae
mov byte [ebp - 0x87], 1
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or byte [ebx + 0x58], 8
mov dword [ebx + 0x30], eax
push ecx
mov eax, esp
mov dword [ebp - 0x2ac], esp
push ecx
mov dword [eax], edi
mov eax, esp
mov dword [ebp - 0x2ac], esp
mov dword [eax], edi
push dword [esi]
lea eax, [ebx + 0x48]
push eax
mov dword [ebp - 0x2a8], eax
call fcn.00403d32
cmp dword [ebx + 0x24], edi
jne 0x40388a
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, edi
jle 0x40388a
mov dword [ebp - 0x2a4], edi
inc eax
push 2
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x2b8], eax
call fcn.004041d5
pop ecx
pop ecx
cmp eax, 0x200
jbe 0x403832
push eax
lea eax, [ebp - 0x2a4]
push eax
call fcn.00409897
jmp 0x40383e
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov dword [ebp - 0x2ac], eax
cmp eax, edi
je 0x40386d
push dword [ebp - 0x2b8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40386d
push dword [ebp - 0x2ac]
push ebx
call fcn.00402ba2
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2a0]
cmp dword [ebp - 0x2a4], eax
je 0x40388a
lea eax, [ebp - 0x2a4]
call fcn.00409318
mov eax, ebx
call fcn.004033e8
cmp dword [ebx + 0x28], edi
jne 0x4038b0
mov eax, dword [ebx + 0x54]
shr eax, 2
test al, 1
jne 0x4038b0
mov eax, dword [ebx + 0x24]
cmp eax, edi
je 0x4038f0
push eax
push ebx
call fcn.00402c33
jmp 0x4038f0
mov eax, dword [ebp - 0x2a8]
push edi
push 1
push 0x401
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0x28]
lea eax, [ebx + 0x38]
push eax
xor ecx, ecx
inc ecx
push ecx
mov eax, esp
mov dword [ebp - 0x2ac], esp
push dword [ebp - 0x2a8]
mov dword [eax], edx
mov eax, dword [esi]
mov ebx, ecx
call fcn.00403164
mov ebx, dword [ebp - 0x2b0]
test byte [ebx + 0x58], 1
je 0x4039aa
push 0x2001f
push 0x4aeee8
push 0x80000001
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], edi
mov dword [ebp - 0x2b0], edi
call fcn.00404004
test eax, eax
jne 0x40399f
mov word [ebp - 0x3c], ax
lea edi, [ebp - 0x3a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xc
pop esi
stosw word es:[edi], ax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x4aef44
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2a8], esi
call fcn.00403f95
test eax, eax
jne 0x40396a
lea eax, [ebp - 0x3c]
call fcn.00403d7e
cmp eax, 0xffffffff
je 0x40396a
mov dword [ebx + 0x4c], eax
lea eax, [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x4aef60
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2a8], esi
call fcn.00403f95
test eax, eax
jne 0x40399f
lea eax, [ebp - 0x3c]
call fcn.00403d7e
cmp eax, 0xffffffff
je 0x40399f
mov dword [ebx + 0x50], eax
lea ecx, [ebp - 0x2b4]
call fcn.00404045
call fcn.00454dea
ret