Function at 0x41ff22
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov edi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
call fcn.0041c063
test al, al
je 0x41ffd0
push dword [ebp - 0xc]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0041bf05
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x18]
and dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
mov ebx, dword [edi + eax*4 + 0x2c]
mov dword [ebp - 0x20], ebx
mov esi, dword [ebx + ecx*4 + 0x38]
mov ecx, dword [esi]
mov dl, byte [esi + 0x5c]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], dl
jge 0x41ff82
and dword [ebp + 0xc], 0
mov edx, dword [ebp + 0xc]
and edx, 0x100
mov dword [ebp - 0x1c], edx
je 0x41ffa6
push dword [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0041ce9d
mov ecx, dword [ebp - 0x10]
push 1
pop edi
mov dword [ebp - 8], edi
jmp 0x41ffa9
push 1
pop edi
movzx eax, byte [ebp - 1]
cmp eax, 0xf
jg 0x42009a
je 0x420053
sub eax, 9
je 0x420008
dec eax
dec eax
je 0x41ffd7
dec eax
je 0x41ffd0
dec eax
dec eax
jne 0x420194
xor eax, eax
jmp 0x420211
test byte [ebp + 0xc], 0x10
je 0x420194
movzx eax, byte [esi + 0x5e]
cmp byte [ebx + 0x24], 0
mov dword [ebx + 0x4120], eax
je 0x420191
movzx eax, byte [esi + 0x5e]
mov ecx, dword [ebp - 0x14]
push eax
push ebx
call fcn.0042102b
jmp 0x420191
mov eax, dword [ebp + 0xc]
xor edx, edx
and eax, 7
sub eax, edx
je 0x42004a
dec eax
je 0x42002a
push edx
push edx
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x420191
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x420194
jmp 0x420191
push edx
push edx
push 0x466
jmp 0x420036
xor eax, eax
mov dword [ebp - 0x74], 0x2c
test byte [ebp + 0xc], 0x80
mov dword [ebp - 0x70], edi
je 0x420068
push 3
pop eax
test byte [ebp + 0xc], 1
je 0x420070
or al, 8
cmp dword [ebp - 0x1c], 0
je 0x420078
or al, 0x80
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
push 0
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push dword [ebx]
call dword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x420191
sub eax, 0x11
je 0x420125
sub eax, 7
je 0x4200ef
dec eax
je 0x4200d3
dec eax
jne 0x420194
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x420194
mov ecx, dword [ebp - 0x14]
and eax, 3
push eax
push dword [ebp - 0xc]
push ebx
call fcn.0041f058
jmp 0x420191
mov eax, dword [ebp + 0xc]
and eax, 7
je 0x420194
and eax, 3
push 0
push eax
push 0xf1
jmp 0x42001e
test byte [ebp + 0xd], 2
je 0x420194
push 0
push dword [ebp + 8]
push 0x401
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi]
jne 0x420191
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0041ce9d
jmp 0x420191
push 0xfffffffffffffff0
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test ah, 1
je 0x42017c
test byte [ebp + 0xc], 5
je 0x42017c
mov eax, dword [esi + 8]
mov dword [ebp - 0x48], 8
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp - 0x3c], 0xf000
neg eax
sbb eax, eax
and ax, 0xf000
add eax, 0x2000
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x110d
push dword [esi + 0x18]
call ebx
mov dword [ebp - 8], edi
test byte [ebp + 0xd], 4
je 0x420194
push dword [esi + 8]
push 2
push 0x1102
push dword [esi + 0x18]
call ebx
mov dword [ebp - 8], edi
mov eax, dword [ebp + 0xc]
and eax, 0xf8
mov dword [ebp + 0xc], eax
jle 0x42020e
xor ebx, ebx
mov dword [ebp - 8], edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test al, 0x80
je 0x4201bc
push 0
mov ebx, 0xc0
push dword [ebp - 0x10]
call edi
test byte [ebp + 0xc], 0x40
je 0x4201ce
push 1
mov ebx, 0xc0
push dword [ebp - 0x10]
call edi
test byte [ebp + 0xc], 0x20
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4201e4
push 0
add ebx, 0x30
push dword [ebp - 0x10]
call edi
test byte [ebp + 0xc], 0x10
je 0x4201f4
push 4
add ebx, 0x30
push dword [ebp - 0x10]
call edi
add bl, 8
mov ecx, dword [ebp - 0x14]
not bl
and bl, byte [esi + 0x5d]
push esi
push dword [ebp - 0x20]
or bl, byte [ebp + 0xc]
mov byte [esi + 0x5d], bl
call fcn.0041c0dc
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8