Function at 0x4bcbb0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x64]
push edi
push 0
push 0
push 0x130b
push dword [esi + 0x34]
mov edi, ecx
mov dword [esp + 0x28], esi
call ebp
push 0xfffffffffffffff0
push dword [esi + 0x34]
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [edi + 0x38]
mov ecx, eax
shr eax, 0x1c
shr ecx, 0x1b
not al
and eax, 0xffffff01
and cl, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne bl
test eax, eax
je 0x4bcc2c
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4bcc2c
mov bh, 1
jmp 0x4bcc2e
xor bh, bh
cmp byte [esp + 0x20], 0
mov byte [esp + 0x17], bh
jne 0x4bcc71
cmp byte [esp + 0x24], 0
jne 0x4bcc71
cmp byte [esp + 0x6c], 0
je 0x4bcc4b
xor bl, bl
jmp 0x4bcc73
test bl, bl
je 0x4bcc71
call dword [sym.imp.USER32.dll_GetFocus]
test eax, eax
je 0x4bcc71
push eax
mov ecx, edi
call fcn.004be010
test eax, eax
je 0x4bcc71
mov al, byte [eax + 0x4e]
cmp al, byte [esi + 0x4f]
jne 0x4bcc71
xor bl, bl
jmp 0x4bcc73
mov bl, 1
lea eax, [esp + 0x50]
mov byte [esp + 0x13], bl
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
push str.ahk_dlg
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4bcca4
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movups xmmword [esp + 0x40], xmm0
test bh, bh
je 0x4bcccb
push 0
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_GetUpdateRect]
push 0
push 0
push 0xb
push dword [edi + 0x38]
call ebp
xor bh, bh
xor ebp, ebp
mov byte [esp + 0x15], bh
cmp dword [edi + 0x78], ebp
jbe 0x4bce2a
mov ecx, esi
nop
mov eax, dword [edi + 0x48]
mov esi, dword [eax + ebp*4]
mov al, byte [esi + 0x4e]
cmp al, byte [ecx + 0x4f]
jne 0x4bce1c
movzx eax, byte [esi + 0x4f]
cmp eax, dword [esp + 0x28]
sete al
cmp byte [esp + 0x20], 0
mov byte [esp + 0x1f], al
jne 0x4bcd17
test al, al
je 0x4bcd17
test byte [esi + 0x4d], 8
mov byte [esp + 0x16], 1
je 0x4bcd1c
mov byte [esp + 0x16], 0
cmp byte [esp + 0x24], 0
jne 0x4bcd34
test al, al
je 0x4bcd34
test byte [esi + 0x4d], 0x10
jne 0x4bcd34
mov byte [esp + 0x14], 1
jmp 0x4bcd3a
xor al, al
mov byte [esp + 0x14], al
push 0xfffffffffffffff0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dl, byte [esp + 0x16]
mov ebx, eax
shr ebx, 0x1b
xor cl, cl
shr eax, 0x1c
not bl
and al, 1
and bl, 1
cmp dl, al
je 0x4bcd70
movzx eax, dl
shl eax, 2
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
mov cl, 1
mov al, byte [esp + 0x14]
cmp al, bl
je 0x4bcd87
movzx eax, al
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x4bcd8b
test cl, cl
je 0x4bcdd5
lea eax, [esp + 0x30]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x34]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [esp + 0x54]
push dword [esp + 0x34]
push eax
call ebx
test eax, eax
je 0x4bcdc5
push dword [esp + 0x3c]
lea eax, [esp + 0x54]
push dword [esp + 0x3c]
push eax
call ebx
test eax, eax
jne 0x4bcdd1
mov al, byte [esp + 0x14]
mov bh, 1
mov byte [esp + 0x15], bh
jmp 0x4bcdd9
mov al, byte [esp + 0x14]
mov bh, byte [esp + 0x15]
mov bl, byte [esp + 0x13]
test bl, bl
jne case.0x4bce02.1
cmp byte [esp + 0x1f], bl
je case.0x4bce02.1
cmp byte [esp + 0x16], bl
je case.0x4bce02.1
test al, al
je case.0x4bce02.1
movzx eax, byte [esi + 0x4c]
dec eax
cmp eax, 0x11
ja case.0x4bce02.4
movzx eax, byte [eax + 0x4bceec]
jmp dword [eax*4 + 0x4bcee4]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov bl, 1
mov byte [esp + 0x13], bl
mov ecx, dword [esp + 0x18]
inc ebp
cmp ebp, dword [edi + 0x78]
jb 0x4bcce0
mov esi, dword [esp + 0x18]
cmp byte [esp + 0x17], 0
je 0x4bce40
push 0
push 1
push 0xb
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4bce58
cmp byte [esp + 0x20], 0
jne 0x4bce58
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, bl
jne 0x4bce65
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
cmp byte [esp + 0x17], 0
je 0x4bcecc
test bh, bh
je 0x4bce92
push 1
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004ebadf
add esp, 0x54
ret 8
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
cmp eax, dword [esp + 0x48]
je 0x4bceae
push 1
lea eax, [esp + 0x44]
push eax
push dword [edi + 0x38]
call esi
push 2
lea eax, [esp + 0x54]
push eax
push dword [edi + 0x38]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x54]
push eax
push dword [edi + 0x38]
call esi
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x54
ret 8