Function at 0x4032be
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x41a038
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x41a038]
mov eax, dword [0x41a03c]
cmp ecx, dword [0x41a040]
jne 0x4032fd
cmp eax, dword [0x41a044]
je 0x4038ec
push eax
push ecx
mov dword [0x41a040], ecx
mov dword [0x41a044], eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov edi, eax
test edi, edi
jne 0x403343
cmp dword [0x41a048], 1
mov dword [ebp - 0x22c], edi
je 0x403359
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x41a014]
cmp ecx, eax
je 0x40335f
test edi, edi
je 0x40335f
cmp edi, ecx
jne 0x403374
jmp 0x40335f
test edi, edi
je 0x403316
mov ecx, edi
call fcn.00404e17
test eax, eax
je 0x403316
mov ecx, edi
call fcn.00404e17
mov edi, eax
jmp 0x40333f
mov ecx, dword [0x41a014]
cmp byte [0x41a04c], 0
je 0x4038ce
cmp edi, ecx
je 0x4038ce
test edi, edi
je 0x4038ec
push 0x41a530
push 0x7fff
push 0xd
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xff
push 0x42a530
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x214]
mov esi, str._d___d
push dword [ebp - 0x218]
push esi
push 0x42a730
call fcn.00405bd0
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
sub eax, dword [ebp - 0x218]
push eax
push esi
push 0x42a930
call fcn.00405bd0
add esp, 0x20
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push esi
mov esi, str.0x_.8X
mov edi, eax
push esi
push 0x42ab30
call fcn.00405bd0
add esp, 0xc
push edi
push esi
push 0x42ad30
call fcn.00405bd0
mov edi, dword [ebp - 0x22c]
add esp, 0xc
push edi
push str.0x_p
push 0x45af30
call fcn.00405bd0
mov eax, dword [0x41a050]
add esp, 0xc
test eax, eax
jne 0x403469
lea eax, [ebp - 0x228]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x224]
jmp 0x40349c
cmp eax, 2
jne 0x403498
and dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
and dword [ebp - 0x230], 0
push eax
push edi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
jmp 0x4034a8
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x234], ecx
xor eax, eax
mov word [0x4d5e64], ax
mov eax, dword [0x41a03c]
sub eax, edx
push eax
mov eax, dword [0x41a038]
sub eax, ecx
push eax
lea eax, [ebp - 0x208]
push str._d___d
push eax
call fcn.00405bd0
lea eax, [ebp - 0x208]
push eax
push 0x4d5e64
call fcn.00405ae5
add esp, 0x18
call fcn.00404e34
push eax
push 0x415dcc
push 0x4e5e64
call fcn.00405bd0
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
push dword [0x41a03c]
mov esi, eax
push dword [0x41a038]
push esi
call dword [sym.imp.GDI32.dll_GetPixel]
push esi
xor esi, esi
mov dword [ebp - 0x238], eax
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov word [0x4e6064], ax
mov eax, dword [ebp - 0x238]
mov edx, eax
shr edx, 0x10
movzx ecx, al
and edx, 0xff
shl ecx, 0x10
and eax, 0xff00
or edx, ecx
or edx, eax
lea eax, [ebp - 0x208]
push edx
push str.0x_06X
push eax
call fcn.00405bd0
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
push 0x4e6064
call fcn.00405ae5
pop ecx
pop ecx
push edi
call fcn.00403937
cmp dword [0x41a054], esi
jne 0x403591
cmp byte [0x41a04c], 0
je 0x40359c
push dword [0x41a080]
call fcn.00404035
xor eax, eax
mov dword [0x4d0d48], esi
mov word [0x46ff48], ax
mov word [0x47ff48], ax
mov word [0x480148], ax
mov word [0x480348], ax
mov word [0x480548], ax
mov word [0x480748], ax
mov word [0x480948], ax
mov word [0x490d48], ax
mov word [0x480b48], ax
mov word [0x490b48], ax
mov word [0x4a0d48], ax
mov word [0x4b0d48], ax
mov word [0x4c0d48], ax
mov eax, dword [0x41a080]
test eax, eax
je 0x40388c
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [0x41a03c]
mov esi, str._d___d
sub eax, dword [ebp - 0x214]
push eax
mov eax, dword [0x41a038]
sub eax, dword [ebp - 0x218]
push eax
push esi
push 0x480548
call fcn.00405bd0
mov eax, dword [ebp - 0x218]
add esp, 0x10
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x23c]
push dword [ebp - 0x240]
push esi
push 0x480148
call fcn.00405bd0
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x210]
sub eax, dword [ebp - 0x218]
push eax
push esi
push 0x480348
call fcn.00405bd0
add esp, 0x20
push dword [0x41a080]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
test eax, eax
jle 0x4036c0
push eax
push 0x415dcc
push 0x480b48
call fcn.00405bd0
add esp, 0xc
push dword [0x41a080]
mov edi, 0x41a494
push ecx
mov ecx, edi
call fcn.00405296
mov esi, eax
test esi, esi
je 0x403752
lea eax, [ebp - 0x238]
push eax
push 0x1388
push 3
push esi
push 0x100
push dword [0x41a514]
push dword [0x41a080]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x40374a
cmp dword [ebp - 0x238], 0
jbe 0x40374a
xor eax, eax
mov ecx, 0x41a498
cmp dword [ecx], esi
je 0x403723
add ecx, 8
inc eax
cmp ecx, 0x41a518
jl 0x403713
cmp eax, 0x10
je 0x403742
push 0
push 0x200
push 0x490b48
push esi
push dword [eax*8 + 0x41a494]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
xor eax, eax
mov word [0x490d46], ax
push esi
mov ecx, edi
call fcn.004052fb
mov esi, 0x41a088
mov edi, 0x47ff48
push esi
push edi
call fcn.00405b14
push 0x41a288
push 0x490d48
call fcn.00405b14
push esi
mov esi, 0x4a0d48
push esi
call fcn.00405b14
push 0x41a288
push esi
call fcn.00405ae5
push str.ToolbarWindow32
push edi
call fcn.00405c73
fbld tbyte [eax + eax]
add byte [ebx - 0x3f7ad73c], al
jne 0x4037a6
push dword [0x41a080]
call fcn.00403d99
cmp word [0x490b48], 0
mov esi, 0x4b0d48
jne 0x4037f1
push str._CLASS:
push esi
call fcn.00405b14
push 0x41a088
push esi
call fcn.00405ae5
push str.__INSTANCE:
push esi
call fcn.00405ae5
push 0x41a288
push esi
call fcn.00405ae5
push 0x415e2c
push esi
call fcn.00405ae5
add esp, 0x28
jmp 0x403815
push 0x415e30
push esi
call fcn.00405b14
push 0x490b48
push esi
call fcn.00405ae5
push 0x415e2c
push esi
call fcn.00405ae5
add esp, 0x18
push 0x7fff
push 0x46ff48
push dword [0x41a080]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [0x41a080]
call edi
push 0xffffffffffffffec
push dword [0x41a080]
mov esi, eax
call edi
push esi
mov esi, str.0x_.8X
mov edi, eax
push esi
push 0x480748
call fcn.00405bd0
add esp, 0xc
push edi
push esi
push 0x480948
call fcn.00405bd0
add esp, 0xc
push dword [0x41a080]
push str.0x_p
push 0x4c0d48
call fcn.00405bd0
mov edi, dword [ebp - 0x22c]
add esp, 0xc
xor esi, esi
push esi
xor eax, eax
mov dword [0x46af30], esi
push 0x403b66
push edi
mov word [0x42af30], ax
mov word [0x43af30], ax
mov word [0x44af30], ax
mov dword [0x41a07c], esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
cmp dword [0x41a05c], 0
je 0x4038c7
call fcn.0040413e
call fcn.0040433c
jmp 0x4038ec
cmp dword [0x41a490], 0
je 0x4038ec
push 0
push dword [0x41a518]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [0x41a490], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00405341
mov esp, ebp
pop ebp
ret