Function at 0x416bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x47d00c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x416be4
mov esi, dword [edi + 0x40]
push esi
call fcn.00417320
test al, al
jne 0x416c04
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 0x3c]
lea ebx, [esi + esi*8]
mov eax, dword [ecx + ebx*8]
cmp eax, 0x10
je 0x416ea6
cmp eax, 0x11
je 0x416ea6
cmp eax, 0x1c
jne 0x416cb4
push 0
push esi
push 0x412
push dword [ecx + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x416c47
or eax, 1
jmp 0x416c4f
test cl, 8
je 0x416c4f
and eax, 0xfffffffe
test cl, 0x20
je 0x416c59
or eax, 4
jmp 0x416c61
test cl, 0x40
je 0x416c61
and eax, 0xfffffffb
test cl, cl
jns 0x416c6a
or eax, 2
jmp 0x416c75
test ecx, 0x100
je 0x416c75
and eax, 0xfffffffd
test cl, 2
je 0x416c7f
and eax, 0xfffffff7
jmp 0x416c87
test cl, 1
je 0x416c87
or eax, 8
push eax
mov eax, dword [edi + 0x3c]
push esi
push 0x411
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
jne 0x416df7
mov ebx, dword [ecx + ebx*8 + 0x44]
test ebx, ebx
je 0x416bee
mov eax, dword [ebp + 0xc]
test al, 1
je 0x416ce7
mov eax, dword [ebx]
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 0x416d00
test al, 2
je 0x416d12
mov eax, dword [ebx]
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 0x416d33
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.0040ebe0
mov dword [ebx + 8], 4
jmp 0x416d52
test al, 8
je 0x416d55
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.0040ebe0
mov dword [ebx + 8], 8
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x416d73
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 0x416d8f
test al, 0x40
je 0x416da1
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 0x416dce
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 + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x416de1
push dword [edi + 0x22c]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + ebx*8 + 4]
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x416e07
push 0
jmp 0x416e0e
test bl, 2
je 0x416e15
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
je 0x416e20
push 0
push 1
jmp 0x416e34
test bl, 8
je 0x416e2b
push 0
push 0
jmp 0x416e34
test bl, 0x10
je 0x416e40
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x416e49
push 1
jmp 0x416e50
test bl, 0x40
je 0x416e57
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x416e78
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x416de1
push dword [edi + 0x22c]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x30
push eax
push 0
push esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
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
push dword [ecx + ebx*8 + 8]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x416bee
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
test cl, 4
je 0x416f31
or eax, 8
jmp 0x416f39
test cl, 8
je 0x416f3d
and eax, 0xfffffff7
mov dword [esp + 0x18], eax
test cl, 0x20
je 0x416f47
and eax, 0xfffffffc
jmp 0x416f4f
test cl, 0x40
je 0x416f53
or eax, 3
mov dword [esp + 0x18], eax
test cl, cl
jns 0x416f5e
or eax, 0x80
jmp 0x416f6b
test ecx, 0x100
je 0x416f6f
and eax, 0xffffff7f
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
mov eax, dword [edi + 0x3c]
push 0
push esi
push dword [eax + ebx*8 + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 8