Function at 0x5bd3f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x70f200]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], esi
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x5bd41c
mov esi, dword [edi + 0x40]
mov dword [esp + 0x10], esi
push esi
call fcn.005bc180
test al, al
je 0x5bd95e
mov ebx, dword [edi + 0x3c]
lea edx, [esi + esi*8]
shl edx, 3
mov dword [esp + 0x14], edx
mov ecx, dword [ebx + edx]
cmp ecx, 0x10
je 0x5bd86d
cmp ecx, 0x11
je 0x5bd86d
cmp ecx, 0x1c
jne 0x5bd4e3
push 0
push esi
push 0x412
push dword [ebx + edx + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
call ebx
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x5bd476
or eax, 1
jmp 0x5bd47e
test cl, 8
je 0x5bd47e
and eax, 0xfffffffe
test cl, 0x20
je 0x5bd488
or eax, 4
jmp 0x5bd490
test cl, 0x40
je 0x5bd490
and eax, 0xfffffffb
test cl, cl
jns 0x5bd499
or eax, 2
jmp 0x5bd4a4
test ecx, 0x100
je 0x5bd4a4
and eax, 0xfffffffd
test cl, 2
je 0x5bd4ae
and eax, 0xfffffff7
jmp 0x5bd4b6
test cl, 1
je 0x5bd4b6
or eax, 8
push eax
mov eax, dword [edi + 0x3c]
push esi
mov esi, dword [esp + 0x1c]
push 0x411
push dword [eax + esi + 4]
call ebx
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
call fcn.005c8450
test al, al
je 0x5bd6c6
mov ebx, dword [ebx + edx + 0x44]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x5bd95e
mov eax, dword [ebp + 0xc]
test al, 1
je 0x5bd521
mov eax, dword [ebx]
mov ecx, dword [edi + 0x3c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [eax + eax*8]
push dword [ecx + eax*8 + 4]
call esi
push 0
jmp 0x5bd53d
test al, 2
je 0x5bd54f
mov eax, dword [ebx]
mov ecx, dword [edi + 0x3c]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
lea eax, [eax + eax*8]
push dword [ecx + eax*8 + 4]
call esi
push 5
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
mov eax, dword [ebp + 0xc]
test al, 4
je 0x5bd621
mov eax, dword [ebx]
mov ecx, dword [edi + 0x3c]
mov edx, dword [ebx + 0xc]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.005d0a20
mov esi, dword [esp + 0x14]
mov dword [ebx + 8], 4
mov eax, dword [edi + 0x3c]
cmp dword [esi + eax], 0x24
jne 0x5bd600
mov esi, dword [ebx]
dec esi
test esi, esi
jle 0x5bd5c1
lea ebx, [esi + esi*8]
shl ebx, 3
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebx + eax]
call fcn.005c8450
test al, al
jne 0x5bd5a6
cmp ecx, 0xd
jne 0x5bd5bd
jmp 0x5bd5b5
cmp ecx, 0x24
jne 0x5bd5b5
push 8
push esi
mov ecx, edi
call fcn.005bd3f0
dec esi
sub ebx, 0x48
test esi, esi
jg 0x5bd590
mov ebx, dword [esp + 0x10]
mov esi, dword [ebx + 4]
inc esi
cmp esi, dword [edi + 0x40]
jg 0x5bd600
lea ebx, [esi + esi*8]
shl ebx, 3
mov eax, dword [edi + 0x3c]
mov ecx, dword [ebx + eax]
call fcn.005c8450
test al, al
jne 0x5bd5e4
cmp ecx, 0xd
jne 0x5bd5fc
cmp ecx, 0x24
jne 0x5bd5f3
push 8
push esi
mov ecx, edi
call fcn.005bd3f0
inc esi
add ebx, 0x48
cmp esi, dword [edi + 0x40]
jle 0x5bd5d0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x5bd642
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
push 1
jmp 0x5bd65e
test al, 8
je 0x5bd603
mov eax, dword [ebx]
mov ecx, dword [edi + 0x3c]
mov edx, dword [ebx + 0x10]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.005d0a20
mov dword [ebx + 8], 8
jmp 0x5bd600
test al, 0x40
je 0x5bd670
mov eax, dword [ebx]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
push 0
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call esi
mov eax, dword [ebp + 0xc]
test al, al
jns 0x5bd69d
mov eax, dword [ebx + 4]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x5bd6b0
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
cmp ecx, 0x25
jne 0x5bd732
test bl, 0xc
je 0x5bd777
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + edx + 0x44]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x5bd95e
test ebx, 4
mov eax, 0
mov esi, ebx
sete al
xor edx, edx
test esi, 4
mov esi, dword [esp + 0x14]
sete dl
lea eax, [eax*4 + 4]
mov dword [ecx], eax
mov ecx, dword [edi + 0x3c]
mov eax, dword [esp + 0x18]
lea edx, [edx*4 + 4]
mov ecx, dword [ecx + esi + 4]
mov edx, dword [edx + eax]
call fcn.005d0a20
mov esi, dword [esp + 0x10]
jmp 0x5bd777
cmp ecx, 0x19
jne 0x5bd777
mov eax, ebx
and eax, 3
mov dword [esp + 0x18], eax
je 0x5bd777
push 0
push 0
push 0x130b
push esi
mov ecx, edi
call fcn.005befd0
test eax, eax
js 0x5bd777
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push dword [eax + ecx*8 + 4]
call fcn.005bc120
test eax, eax
je 0x5bd777
push dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.005bd3f0
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
mov esi, dword [eax + ecx*8 + 4]
test bl, 1
je 0x5bd79f
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xefffffff
jmp 0x5bd7bb
test bl, 2
je 0x5bd7c5
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*8]
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + ecx*8]
cmp eax, 4
je 0x5bd7dc
cmp eax, 0x15
jne 0x5bd807
test bl, 4
je 0x5bd7e7
push 0
push 1
jmp 0x5bd7fb
test bl, 8
je 0x5bd7f2
push 0
push 0
jmp 0x5bd7fb
test bl, 0x10
je 0x5bd807
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x5bd810
push 1
jmp 0x5bd817
test bl, 0x40
je 0x5bd81e
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x5bd83f
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x5bd6b0
push dword [edi + 0x230]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x30
push eax
push 0
push esi
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
push dword [ebx + edx + 8]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x5bd95e
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
test cl, 4
je 0x5bd8f4
or eax, 8
jmp 0x5bd8fc
test cl, 8
je 0x5bd900
and eax, 0xfffffff7
mov dword [esp + 0x28], eax
test cl, 0x20
je 0x5bd90a
and eax, 0xfffffffc
jmp 0x5bd912
test cl, 0x40
je 0x5bd916
or eax, 3
mov dword [esp + 0x28], eax
test cl, cl
jns 0x5bd921
or eax, 0x80
jmp 0x5bd92e
test ecx, 0x100
je 0x5bd932
and eax, 0xffffff7f
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esi + esi*8]
push 0
push esi
push dword [eax + ecx*8 + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x4c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 8