Function at 0x4336df
Capabilities:
Get graphical window text

Disassembly:
push 0xc74
mov eax, 0x4b2f0b
call fcn.0049560c
mov ebx, ecx
mov dword [ebp - 0xc18], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc20], eax
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0xc1c], ecx
mov dword [ebp - 0xc28], eax
and dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0
push 0
push 0x40c
push dword [ebx + 4]
mov esi, eax
mov dword [ebp - 0xc30], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetMenuItemCount]
xor edi, edi
mov dword [ebp - 0xc24], eax
test eax, eax
je 0x433851
push 0x48
lea eax, [ebp - 0xc78]
mov dword [ebp - 0xc80], 0x50
push 0
push eax
call fcn.00491060
add esp, 0xc
mov dword [ebp - 0xc7c], 0x10
lea eax, [ebp - 0xc80]
push eax
mov eax, dword [ebp - 0xc18]
push edi
push 0x41c
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x433844
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.00491060
add esp, 0xc
push dword [ebp - 0xc60]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push 0xfffffffffffffff0
push dword [ebp - 0xc60]
mov dword [ebp - 0xc14], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x19
and eax, 8
mov dword [ebp - 0xc2c], eax
lea eax, [ebp - 0x810]
push 0x200
push eax
push dword [ebp - 0xc60]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x43381f
push dword [ebp - 0xc14]
lea eax, [ebp - 0x810]
push str._04X
push 0x200
push eax
call fcn.0045e4fe
add esp, 0x10
push esi
call ebx
lea ecx, [ebp - 0x810]
push ecx
push dword [ebp - 0xc14]
mov ecx, dword [ebp - 0xc2c]
or ecx, 0x400
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
inc edi
cmp edi, dword [ebp - 0xc24]
jb 0x43374f
push esi
call ebx
test eax, eax
jle 0x43386c
push esi
call ebx
push 0
push 0
push 0xc00
push eax
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
xor eax, eax
mov ebx, 0x3fe
push ebx
push eax
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push eax
call fcn.00491060
xor eax, eax
push ebx
push eax
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push eax
call fcn.00491060
push 0x200
lea eax, [ebp - 0x410]
mov ebx, 0xe901
push eax
push ebx
call fcn.00417ee2
add esp, 0x24
test eax, eax
je 0x43392a
call fcn.00425f07
push eax
lea ecx, [ebp - 0xc14]
call fcn.0040d0a6
push 0xa
push 1
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xc14]
push eax
call fcn.00423e98
mov edi, dword [ebp - 0xc14]
add esp, 0x10
test eax, eax
je 0x43391e
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ecx, dword [ebp - 0xc18]
push edi
push ebx
movzx ecx, byte [ecx + 0x24]
and ecx, 1
or ecx, 0x80
shl ecx, 3
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00443157
push 0x200
lea eax, [ebp - 0xc10]
push eax
push dword [ebp - 0xc20]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, 0xe900
test eax, eax
jle 0x4339ff
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0xc10]
push str.ToolbarWindow32
push eax
call ebx
test eax, eax
je 0x43397d
push str.ToolbarWindow32
lea eax, [ebp - 0xc10]
push eax
call ebx
test eax, eax
je 0x4339ff
push 0xfffffffffffffff0
push dword [ebp - 0xc20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 0x20
je 0x4339ff
push 0x200
lea eax, [ebp - 0x410]
push eax
push edi
call fcn.00417ee2
add esp, 0xc
test eax, eax
je 0x4339ff
call fcn.00425f07
push eax
lea ecx, [ebp - 0xc14]
call fcn.0040d0a6
push 0xa
push 1
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc14]
push eax
call fcn.00423e98
mov ebx, dword [ebp - 0xc14]
add esp, 0x10
test eax, eax
je 0x4339f7
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
push ebx
push edi
push 0x400
push eax
push esi
call dword [sym.imp.USER32.dll_InsertMenuW]
lea ecx, [ebx - 0x10]
call fcn.00443157
push esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x433ad8
mov ecx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc24]
push eax
lea ecx, [ecx + 4]
call fcn.0042f40f
push dword [ebp - 0xc28]
push dword [ebp - 0xc1c]
mov ebx, dword [eax]
call fcn.004502db
pop ecx
pop ecx
push 0
push ebx
push 0
push dword [ebp - 0xc28]
push eax
push 0x102
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ebx, eax
xor eax, eax
mov edx, ebx
sub edx, eax
je 0x433ad8
sub edx, edi
je 0x433ac5
dec edx
je 0x433a8b
mov ecx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ecx + 4]
call fcn.0042f40f
push 0
movzx ecx, bx
push ecx
push 0x111
push dword [eax]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x433ad8
mov ebx, dword [ebp - 0xc18]
mov al, byte [ebx + 0x24]
mov dl, al
not dl
xor dl, al
and dl, 1
xor dl, al
mov cl, dl
mov al, dl
and cl, 1
xor al, cl
mov byte [ebp - 0xc1c], cl
push dword [ebp - 0xc1c]
and al, 1
lea ecx, [ebx + 4]
xor al, dl
mov byte [ebx + 0x24], al
call fcn.0043206e
jmp 0x433ad8
push eax
push eax
push 0x41b
push dword [ebp - 0xc20]
call dword [sym.imp.USER32.dll_SendMessageW]
test esi, esi
je 0x433ae7
lea ecx, [ebp - 0xc30]
call fcn.0041cb70
xor eax, eax
call fcn.004955bb
ret 0x10