Function at 0x419020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x48100c]
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 0x419044
mov esi, dword [edi + 0x40]
push esi
call fcn.00419ea0
test al, al
jne 0x419064
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004310db
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 0x419306
cmp eax, 0x11
je 0x419306
cmp eax, 0x1c
jne 0x419114
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 0x4190a7
or eax, 1
jmp 0x4190af
test cl, 8
je 0x4190af
and eax, 0xfffffffe
test cl, 0x20
je 0x4190b9
or eax, 4
jmp 0x4190c1
test cl, 0x40
je 0x4190c1
and eax, 0xfffffffb
test cl, cl
jns 0x4190ca
or eax, 2
jmp 0x4190d5
test ecx, 0x100
je 0x4190d5
and eax, 0xfffffffd
test cl, 2
je 0x4190df
and eax, 0xfffffff7
jmp 0x4190e7
test cl, 1
je 0x4190e7
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.004310db
mov esp, ebp
pop ebp
ret 8
cmp eax, 0x23
jne 0x419257
mov ebx, dword [ecx + ebx*8 + 0x44]
test ebx, ebx
je 0x41904e
mov eax, dword [ebp + 0xc]
test al, 1
je 0x419147
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 0x419160
test al, 2
je 0x419172
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 0x419193
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.00410060
mov dword [ebx + 8], 4
jmp 0x4191b2
test al, 8
je 0x4191b5
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.00410060
mov dword [ebx + 8], 8
mov eax, dword [ebp + 0xc]
test al, 0x20
je 0x4191d3
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 0x4191ef
test al, 0x40
je 0x419201
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 0x41922e
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.004310db
mov esp, ebp
pop ebp
ret 8
test eax, 0x100
je 0x419241
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.004310db
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ecx + ebx*8 + 4]
mov ebx, dword [ebp + 0xc]
test bl, 1
je 0x419267
push 0
jmp 0x41926e
test bl, 2
je 0x419275
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
test bl, 4
je 0x419280
push 0
push 1
jmp 0x419294
test bl, 8
je 0x41928b
push 0
push 0
jmp 0x419294
test bl, 0x10
je 0x4192a0
push 0
push 2
push 0xf1
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, 0x20
je 0x4192a9
push 1
jmp 0x4192b0
test bl, 0x40
je 0x4192b7
push 0
push esi
call dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
jns 0x4192d8
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.004310db
mov esp, ebp
pop ebp
ret 8
test ebx, 0x100
je 0x419241
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.004310db
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 0x41904e
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
test cl, 4
je 0x419391
or eax, 8
jmp 0x419399
test cl, 8
je 0x41939d
and eax, 0xfffffff7
mov dword [esp + 0x18], eax
test cl, 0x20
je 0x4193a7
and eax, 0xfffffffc
jmp 0x4193af
test cl, 0x40
je 0x4193b3
or eax, 3
mov dword [esp + 0x18], eax
test cl, cl
jns 0x4193be
or eax, 0x80
jmp 0x4193cb
test ecx, 0x100
je 0x4193cf
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.004310db
mov esp, ebp
pop ebp
ret 8