Function at 0x417bd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x38], esi
cmp edi, 0xffffffff
jne 0x417bf3
mov edi, dword [esi + 4]
push edi
call fcn.004182f0
test al, al
jne 0x417c12
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi]
lea ebx, [edi + edi*8]
mov eax, dword [ecx + ebx*8]
cmp eax, 0x10
je 0x417eb8
cmp eax, 0x11
je 0x417eb8
cmp eax, 0x1c
jne 0x417cbf
push 0
push edi
push 0x412
push dword [ecx + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0xc]
test cl, 4
je 0x417c54
or eax, 1
jmp 0x417c5c
test cl, 8
je 0x417c5c
and eax, 0xfffffffe
test cl, 0x20
je 0x417c66
or eax, 4
jmp 0x417c6e
test cl, 0x40
je 0x417c6e
and eax, 0xfffffffb
test cl, cl
jns 0x417c77
or eax, 2
jmp 0x417c82
test ecx, 0x100
je 0x417c82
and eax, 0xfffffffd
test cl, 2
je 0x417c8c
and eax, 0xfffffff7
jmp 0x417c94
test cl, 1
je 0x417c94
or eax, 8
push eax
mov eax, dword [esi]
push edi
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 [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
jne 0x417e0c
mov edi, dword [ecx + ebx*8 + 0x44]
test edi, edi
je 0x417bfd
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x417cf3
mov eax, dword [edi]
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 0x417d0d
test bl, 2
je 0x417d21
mov eax, dword [edi]
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 [edi + 4]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [eax + ecx*8 + 4]
call esi
mov esi, dword [ebp - 0x38]
test bl, 4
je 0x417d42
mov eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [edi + 0xc]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00412f20
mov dword [edi + 8], 4
jmp 0x417d61
test bl, 8
je 0x417d61
mov eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00412f20
mov dword [edi + 8], 8
test bl, 0x20
je 0x417d7f
mov eax, dword [edi]
push 1
lea ecx, [eax + eax*8]
mov eax, dword [esi]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push dword [eax + ecx*8 + 4]
call esi
push 1
jmp 0x417d9b
test bl, 0x40
je 0x417dac
mov eax, dword [edi]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [esi]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push dword [eax + ecx*8 + 4]
call esi
push 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [eax + ecx*8 + 4]
call esi
test bl, bl
jns 0x417ddd
mov eax, dword [edi + 4]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [edi + 8], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x417df4
mov eax, dword [ebp - 0x38]
push dword [eax + 0x1ec]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [edi + 8], ebx
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + ebx*8 + 4]
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x417e1c
push 0
jmp 0x417e23
test bl, 2
je 0x417e2a
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
je 0x417e35
push 0
push 1
jmp 0x417e49
test bl, 8
je 0x417e40
push 0
push 0
jmp 0x417e49
test bl, 0x10
je 0x417e55
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x417e5e
push 1
jmp 0x417e65
test bl, 0x40
je 0x417e6c
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x417e8c
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x417ea3
mov eax, dword [ebp - 0x38]
push dword [eax + 0x1ec]
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x30
push eax
push 0
push edi
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push dword [ecx + ebx*8 + 8]
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
je 0x417bfd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
test cl, 4
je 0x417f35
or eax, 8
jmp 0x417f3d
test cl, 8
je 0x417f40
and eax, 0xfffffff7
mov dword [ebp - 0x28], eax
test cl, 0x20
je 0x417f4a
and eax, 0xfffffffc
jmp 0x417f52
test cl, 0x40
je 0x417f55
or eax, 3
mov dword [ebp - 0x28], eax
test cl, cl
jns 0x417f60
or eax, 0x80
jmp 0x417f6d
test ecx, 0x100
je 0x417f70
and eax, 0xffffff7f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi]
push 0
push edi
push dword [eax + ebx*8 + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 8