Function at 0x40ce60
Capabilities:
Get graphical window text
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8dc
mov eax, dword [0x427178]
xor eax, esp
mov dword [esp + 0x8d8], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov dword [esp + 0x10], ebx
push edi
cmp dword [esi + 0x30], eax
je 0x40d2f6
push 0x7fe
push eax
mov word [esp + 0xe8], ax
lea eax, [esp + 0xea]
push eax
call fcn.00418440
xor eax, eax
push 0x38
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x6c]
push eax
call fcn.00418440
push 0x38
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00418440
add esp, 0x24
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
lea eax, [esp + 0xd4]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0xcc]
mov edi, ebx
sub eax, dword [esp + 0xc4]
push 1
push eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xe8]
sub eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xe0]
push eax
mov eax, dword [esp + 0xe8]
sub eax, dword [esp + 0xe0]
sub eax, dword [esp + 0xd8]
add eax, dword [esp + 0xd0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xe0]
push eax
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x30
lea eax, [esp + 0x94]
push 0
push eax
call fcn.00418440
mov ebx, dword [esp + 0x1c]
add esp, 0xc
push 0
push ebx
push 0
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 1
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
mov edi, eax
lea eax, [esp + 0xe4]
push eax
push 0xa
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0xe0]
mov dword [esp + 0xb0], ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa0]
push eax
push edi
mov dword [esp + 0x98], 0x30
mov dword [esp + 0x9c], 0x10
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], 1
call ebx
lea eax, [esp + 0x90]
push eax
push 0
push 0x432
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x14]
push 0x424
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4b0
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
mov edi, eax
lea eax, [esp + 0xe4]
push eax
push 0xc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0xe0]
mov dword [esp + 0x98], edi
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa0]
push eax
push edi
mov dword [esp + 0xa4], 0x4b0
call ebx
lea eax, [esp + 0x90]
push eax
push 0
push 0x432
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esp + 0x14]
push 0x424
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 9
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x400
mov edi, eax
lea eax, [esp + 0xe4]
push eax
push 0xd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0xe0]
mov dword [esp + 0x98], edi
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa0]
push eax
push edi
mov dword [esp + 0xa4], 9
call ebx
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x90]
push eax
push 0
push 0x432
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x424
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3ed
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi]
mov ebx, eax
push ebx
mov ecx, esi
call dword [edx + 0x40]
cmp dword [esi + 0x34], 0
mov dword [esp + 0x10], 0
jbe 0x40d2ae
xor edi, edi
mov eax, dword [esi + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [eax]
add ecx, dword [eax + edi + 8]
add eax, 0xc
add eax, edi
mov dword [esp + 0x1c], ecx
push eax
push ebx
mov ecx, esi
call dword [edx + 0x38]
mov dword [esp + 0x18], eax
test eax, eax
je 0x40d1d9
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x24], 0xffff0003
mov dword [esp + 0x28], 0x23
mov ecx, dword [eax]
add ecx, 0x214
add ecx, edi
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
cmp dword [edi + eax + 4], 0
jmp 0x40d251
mov eax, dword [esi + 0x30]
mov dword [esp + 0x5c], 0xffff0003
mov dword [esp + 0x60], 0x23
mov dword [esp + 0x58], 0xffff0000
mov eax, dword [eax]
add eax, 0xc
add eax, edi
mov dword [esp + 0x70], eax
movzx eax, byte [0x429355]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x58]
push eax
push 0
push 0x1132
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x24], 0xffff0003
mov dword [esp + 0x28], 0x23
mov dword [esp + 0x20], eax
mov ecx, dword [edx]
add ecx, 0x214
mov dword [esp + 0x18], eax
add ecx, edi
mov dword [esp + 0x38], ecx
mov ecx, dword [edx]
cmp dword [edi + ecx + 4], 0
movzx eax, byte [0x429356]
jne 0x40d261
movzx eax, byte [0x429354]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x1132
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esp + 0x18]
push 2
push 0x1102
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x10]
add edi, 0x42c
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x34]
jb 0x40d184
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40d2c9
mov ebx, dword [esp + 0x14]
push 0
push 0x4b0
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40d2cd
mov ebx, dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x4c]
cmp dword [esi + 0x650], 0
je 0x40d2f1
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, 1
mov ecx, dword [esp + 0x8e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f324
mov esp, ebp
pop ebp
ret 0xc