Function at 0x4188f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x47b00c]
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 0x418913
mov edi, dword [esi + 0x3c]
push edi
call fcn.00419760
test al, al
jne 0x418932
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x38]
lea ebx, [edi + edi*8]
mov eax, dword [ecx + ebx*8]
cmp eax, 0x10
je 0x418be1
cmp eax, 0x11
je 0x418be1
cmp eax, 0x1c
jne 0x4189e1
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 0x418975
or eax, 1
jmp 0x41897d
test cl, 8
je 0x41897d
and eax, 0xfffffffe
test cl, 0x20
je 0x418987
or eax, 4
jmp 0x41898f
test cl, 0x40
je 0x41898f
and eax, 0xfffffffb
test cl, cl
jns 0x418998
or eax, 2
jmp 0x4189a3
test ecx, 0x100
je 0x4189a3
and eax, 0xfffffffd
test cl, 2
je 0x4189ad
and eax, 0xfffffff7
jmp 0x4189b5
test cl, 1
je 0x4189b5
or eax, 8
push eax
mov eax, dword [esi + 0x38]
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.00430eab
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
jne 0x418b35
mov edi, dword [ecx + ebx*8 + 0x44]
test edi, edi
je 0x41891d
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x418a15
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 0x418a2f
test bl, 2
je 0x418a44
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 + 0x38]
push dword [eax + ecx*8 + 4]
call esi
mov esi, dword [ebp - 0x38]
test bl, 4
je 0x418a66
mov eax, dword [edi]
mov ecx, dword [esi + 0x38]
mov edx, dword [edi + 0xc]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.004103e0
mov dword [edi + 8], 4
jmp 0x418a86
test bl, 8
je 0x418a86
mov eax, dword [edi]
mov ecx, dword [esi + 0x38]
mov edx, dword [edi + 0x10]
lea eax, [eax + eax*8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.004103e0
mov dword [edi + 8], 8
test bl, 0x20
je 0x418aa5
mov eax, dword [edi]
push 1
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x38]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push dword [eax + ecx*8 + 4]
call esi
push 1
jmp 0x418ac2
test bl, 0x40
je 0x418ad4
mov eax, dword [edi]
push 0
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x38]
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 + 0x38]
push dword [eax + ecx*8 + 4]
call esi
test bl, bl
jns 0x418b06
mov eax, dword [edi + 4]
lea ecx, [eax + eax*8]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
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.00430eab
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x418b1d
mov eax, dword [ebp - 0x38]
push dword [eax + 0x224]
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.00430eab
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + ebx*8 + 4]
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x418b45
push 0
jmp 0x418b4c
test bl, 2
je 0x418b53
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
je 0x418b5e
push 0
push 1
jmp 0x418b72
test bl, 8
je 0x418b69
push 0
push 0
jmp 0x418b72
test bl, 0x10
je 0x418b7e
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x418b87
push 1
jmp 0x418b8e
test bl, 0x40
je 0x418b95
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x418bb5
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.00430eab
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x418bcc
mov eax, dword [ebp - 0x38]
push dword [eax + 0x224]
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.00430eab
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 0x41891d
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
test cl, 4
je 0x418c5e
or eax, 8
jmp 0x418c66
test cl, 8
je 0x418c69
and eax, 0xfffffff7
mov dword [ebp - 0x28], eax
test cl, 0x20
je 0x418c73
and eax, 0xfffffffc
jmp 0x418c7b
test cl, 0x40
je 0x418c7e
or eax, 3
mov dword [ebp - 0x28], eax
test cl, cl
jns 0x418c89
or eax, 0x80
jmp 0x418c96
test ecx, 0x100
je 0x418c99
and eax, 0xffffff7f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [esi + 0x38]
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.00430eab
mov esp, ebp
pop ebp
ret 8