Function at 0x416d40
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 0x416d64
mov esi, dword [edi + 0x40]
push esi
call fcn.004174a0
test al, al
jne 0x416d84
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0042520b
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 0x417026
cmp eax, 0x11
je 0x417026
cmp eax, 0x1c
jne 0x416e34
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 0x416dc7
or eax, 1
jmp 0x416dcf
test cl, 8
je 0x416dcf
and eax, 0xfffffffe
test cl, 0x20
je 0x416dd9
or eax, 4
jmp 0x416de1
test cl, 0x40
je 0x416de1
and eax, 0xfffffffb
test cl, cl
jns 0x416dea
or eax, 2
jmp 0x416df5
test ecx, 0x100
je 0x416df5
and eax, 0xfffffffd
test cl, 2
je 0x416dff
and eax, 0xfffffff7
jmp 0x416e07
test cl, 1
je 0x416e07
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.0042520b
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
jne 0x416f77
mov ebx, dword [ecx + ebx*8 + 0x44]
test ebx, ebx
je 0x416d6e
mov eax, dword [ebp + 0xc]
test al, 1
je 0x416e67
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 0x416e80
test al, 2
je 0x416e92
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 0x416eb3
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.0040ec40
mov dword [ebx + 8], 4
jmp 0x416ed2
test al, 8
je 0x416ed5
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.0040ec40
mov dword [ebx + 8], 8
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x416ef3
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 0x416f0f
test al, 0x40
je 0x416f21
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 0x416f4e
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.0042520b
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x416f61
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.0042520b
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + ebx*8 + 4]
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x416f87
push 0
jmp 0x416f8e
test bl, 2
je 0x416f95
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
je 0x416fa0
push 0
push 1
jmp 0x416fb4
test bl, 8
je 0x416fab
push 0
push 0
jmp 0x416fb4
test bl, 0x10
je 0x416fc0
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x416fc9
push 1
jmp 0x416fd0
test bl, 0x40
je 0x416fd7
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x416ff8
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.0042520b
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x416f61
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.0042520b
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 0x416d6e
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
test cl, 4
je 0x4170b1
or eax, 8
jmp 0x4170b9
test cl, 8
je 0x4170bd
and eax, 0xfffffff7
mov dword [esp + 0x18], eax
test cl, 0x20
je 0x4170c7
and eax, 0xfffffffc
jmp 0x4170cf
test cl, 0x40
je 0x4170d3
or eax, 3
mov dword [esp + 0x18], eax
test cl, cl
jns 0x4170de
or eax, 0x80
jmp 0x4170eb
test ecx, 0x100
je 0x4170ef
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.0042520b
mov esp, ebp
pop ebp
ret 8