Function at 0xb59ca0
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [esi + 0x110], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x40]
test eax, eax
je 0xbe132f
push ebx
push ebx
push 0x418
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
lea edi, [eax - 1]
test edi, edi
jns 0xb59e70
mov eax, dword [esi + 0x50]
lea ebx, [esi + 0x50]
test eax, eax
je 0xbe1337
push 0
push 0
push 0x418
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
lea edi, [eax - 1]
test edi, edi
jns 0xbe133f
mov byte [ebp - 1], 0
mov eax, dword [esi + 0x60]
xor ebx, ebx
test eax, eax
je 0xbe1377
push ebx
push ebx
push 0x418
push eax
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
lea edi, [eax - 1]
test edi, edi
js 0xb59d8e
lea ebx, [ebx]
xor eax, eax
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x43f
push dword [esi + 0x60]
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SafeArrayGetDim
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0xb59d89
push 0
call fcn.00b56c41
test dword [edx + 0xc], eax
jne 0xb59d89
inc ebx
sub edi, 1
jns 0xb59d40
mov eax, dword [esi + 0xe4]
push 0xfffffffffffffff0
push dword [esi + 0x24]
mov al, byte [eax + 0x44]
mov byte [ebp - 4], al
mov eax, dword [esi + 0xe8]
mov al, byte [eax + 0x44]
mov byte [ebp - 5], al
mov eax, dword [esi + 0xf0]
mov al, byte [eax + 0x44]
mov byte [ebp - 6], al
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
test eax, 0x10000000
jne 0xbe137f
mov byte [ebp - 2], 0
mov eax, dword [esi + 0xec]
push 0xfffffffffffffff0
mov al, byte [eax + 0x44]
mov byte [ebp - 7], al
mov eax, dword [esi + 0x28]
push dword [eax + 4]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
test eax, 0x10000000
je 0xbe1388
mov byte [ebp - 3], 1
mov eax, dword [esi + 0xe0]
push 0xfffffffffffffff0
push dword [esi + 0x2c]
mov al, byte [eax + 0x44]
mov byte [ebp - 8], al
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowLongW]
test eax, 0x10000000
je 0xbe1391
mov al, 1
cmp dword [ebp - 0xc], 0
jne 0xb59e32
cmp byte [ebp - 1], 0
jne 0xb59e32
test ebx, ebx
jne 0xb59e32
cmp byte [ebp - 4], bl
je 0xbe1398
push dword [esi + 0x1c]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_IsWindowVisible]
test eax, eax
je 0xb59ec6
push 0
push 0
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00b58d10
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp - 0x18]
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push edi
push 0x43f
push dword [esi + 0x40]
mov dword [ebp - 0x2c], reloc.OLEAUT32.dll_SafeArrayGetDim
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SendMessageW]
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0xb59eb9
push 0
call fcn.00b56c41
test dword [edx + 0xc], eax
jne 0xb59eb9
inc ebx
sub edi, 1
jns 0xb59e70
mov dword [ebp - 0xc], ebx
jmp 0xb59ceb
push dword [0xd0ac3c]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_IsWindowVisible]
test eax, eax
je 0xb59e43
jmp 0xbe13fe
or eax, 0xffffffff
jmp 0xb59ce0
or eax, 0xffffffff
jmp 0xb59d09
xor esi, esi
push 1
push edi
mov ecx, ebx
call fcn.00ba4fa1
mov edx, eax
test edx, edx
je 0xbe135e
push 0
call fcn.00b56c41
test dword [edx + 0xc], eax
jne 0xbe135e
inc esi
sub edi, 1
jns 0xbe1341
test esi, esi
mov byte [ebp - 1], 1
mov esi, dword [ebp - 0x10]
jne 0xb59d18
jmp 0xb59d14
or eax, 0xffffffff
jmp 0xb59d33
mov byte [ebp - 2], 1
jmp 0xb59dcc
mov byte [ebp - 3], 0
jmp 0xb59df5
xor al, al
jmp 0xb59e19
cmp byte [ebp - 5], 0
jne 0xb59e32
cmp byte [ebp - 6], 0
jne 0xb59e32
cmp byte [ebp - 2], 0
jne 0xb59e32
cmp byte [ebp - 7], 0
jne 0xb59e32
cmp byte [ebp - 3], 0
jne 0xb59e32
cmp byte [ebp - 8], 0
jne 0xb59e32
test al, al
jne 0xb59e32
mov eax, dword [esi + 0xf4]
cmp byte [eax + 0x44], 0
jne 0xb59e32
push 0
push dword [esi + 0x1c]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
xor eax, eax
jmp 0xb59e65
push 5
push dword [esi + 0x1c]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_ShowWindow]
jmp 0xb59e43