Function at 0x418d20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x450068]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov eax, ecx
or esi, 0xffffffff
mov ecx, dword [ebp + 0xc]
mov ebx, 2
push edi
mov edi, edx
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
cmp eax, ebx
jae 0x418d82
mov edx, ecx
mov ecx, dword [edi]
call fcn.00416240
lea eax, [ebx - 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret
jbe 0x418fb8
mov edx, dword [edi + ebx*4]
xor eax, eax
mov ecx, edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418da7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00402cf0
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0x2c]
mov eax, dword [esp + 0x3c]
inc ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x40]
cmp ebx, 8
cmovae esi, edi
cmp eax, 5
jne 0x418e10
mov ecx, str._qeon
mov edx, eax
sub esi, ecx
nop word [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418e0c
add ecx, 2
sub edx, 1
jne 0x418df0
mov esi, 1
mov dword [esp + 0x14], esi
jmp 0x418e82
mov eax, dword [esp + 0x3c]
cmp ebx, 8
lea esi, [esp + 0x2c]
cmovae esi, edi
cmp eax, 6
jne 0x418e4d
mov ecx, str._qeoff
mov edx, eax
sub esi, ecx
nop dword [eax + eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418e49
add ecx, 2
sub edx, 1
jne 0x418e30
xor esi, esi
mov dword [esp + 0x14], esi
jmp 0x418e82
mov eax, dword [esp + 0x3c]
cmp ebx, 8
lea esi, [esp + 0x2c]
cmovae esi, edi
cmp eax, 7
jne 0x418ed1
mov ecx, str._hidden
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418ecd
add ecx, 2
sub edx, 1
jne 0x418e65
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
cmp ebx, 8
jb 0x418eb6
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418eac
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910f
push ecx
push edi
call fcn.0041aec9
add esp, 8
mov ebx, dword [esp + 0x20]
cmp ebx, dword [esp + 0x24]
jae 0x41902f
mov edi, dword [esp + 0x28]
jmp 0x418d88
mov eax, dword [esp + 0x3c]
cmp ebx, 8
lea esi, [esp + 0x2c]
cmovae esi, edi
cmp eax, 2
jne 0x418f07
mov ecx, 0x44a150
mov edx, eax
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418f03
add ecx, 2
sub edx, 1
jne 0x418ef0
jmp 0x418f64
mov eax, dword [esp + 0x3c]
cmp ebx, 8
lea esi, [esp + 0x2c]
cmovae esi, edi
cmp eax, 2
jne 0x418f37
mov ecx, 0x44a158
mov edx, eax
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418f33
add ecx, 2
sub edx, 1
jne 0x418f20
jmp 0x418f64
mov eax, dword [esp + 0x3c]
cmp ebx, 8
lea esi, [esp + 0x2c]
cmovae esi, edi
cmp eax, 6
jne 0x418fd8
mov ecx, str.__help
mov edx, eax
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x418fd8
add ecx, 2
sub edx, 1
jne 0x418f53
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx]
call fcn.00416240
mov edx, 0xa
mov dword [esp + 0x10], edx
cmp ebx, 8
jb 0x418fb4
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418fa6
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910f
push ecx
push edi
call fcn.0041aec9
mov edx, dword [esp + 0x18]
add esp, 8
mov esi, dword [esp + 0x14]
mov ecx, edx
test edx, edx
je 0x419033
xor eax, eax
cmp edx, 0xa
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx]
call fcn.00416240
mov edx, 1
mov dword [esp + 0x10], edx
cmp ebx, 8
jb 0x419028
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x41901a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41910f
push ecx
push edi
call fcn.0041aec9
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, 1
jmp 0x418fbe
xor edx, edx
jmp 0x418fb8
cmp esi, 1
jne 0x419082
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419053
push 0
push 0x449f2c
jmp 0x4190db
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jne 0x419079
push eax
push 0x449f48
call fcn.004116a0
add esp, 8
mov eax, dword [esp + 0x28]
or eax, 0x40
jmp 0x4190c5
test esi, esi
jne 0x4190e3
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41909e
push 0
push 0x449f2c
jmp 0x4190db
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
jne 0x4190be
push eax
push 0x449f48
jmp 0x4190db
mov eax, dword [esp + 0x28]
and eax, 0xffffffbf
push eax
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
test eax, eax
jne 0x4190e3
push eax
push 0x449f68
call fcn.004116a0
add esp, 8
cmp dword [esp + 0x1c], 1
jne 0x4190f9
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041aaeb
mov esp, ebp
pop ebp
ret
call fcn.00422e9e
int3