Function at 0x405c00
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468865
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x4c700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x4c7aa8], 8
lea edx, [ebp - 0x5d]
mov ecx, 0x4c7a94
mov byte [ebp - 0x5d], 0
cmovae ecx, dword [0x4c7a94]
sub esp, 8
call fcn.00405a40
add esp, 8
mov edi, eax
cmp byte [ebp - 0x5d], 0
je 0x4060e0
cmp byte [0x4c909a], 0
jne 0x4060e0
push 6
xor eax, eax
mov dword [ebp - 0x44], 0
push str._admin
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0040be10
mov dword [ebp - 4], 0
cmp byte [0x4c909b], 0
jne 0x405e44
mov ecx, dword [0x4c909c]
lea eax, [ebp - 0x6c]
push str.advanced
push eax
call fcn.0041ebe0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [eax]
mov eax, dword [eax]
mov al, byte [eax + 0x34]
mov byte [ebp - 0x5d], al
test ecx, ecx
je 0x405d3d
mov edx, dword [ebp - 0x68]
push ecx
call fcn.0040c7c0
mov eax, dword [ebp - 0x64]
add esp, 4
mov ecx, dword [ebp - 0x6c]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40633f
push edx
push ecx
call fcn.00449563
mov al, byte [ebp - 0x5d]
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
test al, al
jne 0x405d50
push 0xa
push str.__advanced
lea ecx, [ebp - 0x44]
call fcn.0040c240
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x4c909c]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 7
push str.__xpos
lea ecx, [ebp - 0x44]
call fcn.0040c240
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call fcn.004013f0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x405d8b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040c240
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x405dd3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405dc9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406344
push edx
push ecx
call fcn.00449563
add esp, 8
push 7
push str.__ypos
lea ecx, [ebp - 0x44]
call fcn.0040c240
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.004013f0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x405dfc
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040c240
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x405e44
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406349
push edx
push ecx
call fcn.00449563
add esp, 8
push 0xf
xor eax, eax
mov dword [ebp - 0x78], 0
push str.__destination__
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
call fcn.0040be10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
cmp dword [0x4c7aa8], 8
mov eax, 0x4c7a94
push dword [0x4c7aa4]
cmovae eax, dword [0x4c7a94]
push eax
call fcn.0040c240
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x48b500
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.0040c240
xor ecx, ecx
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x2c], xmm1
mov dword [eax + 0x10], 0
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
movd eax, xmm1
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040c240
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x405f60
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40634e
push edx
push ecx
call fcn.00449563
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x405f9e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40634e
push edx
push ecx
call fcn.00449563
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x405fef
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405fe5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40634e
push edx
push ecx
call fcn.00449563
add esp, 8
cmp byte [0x4c9098], 0
je 0x406007
push 0x1c
push str.__disablehardwarerendering_1
lea ecx, [ebp - 0x44]
call fcn.0040c240
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00415460
add esp, 8
mov dword [0x4c8e8c], eax
test eax, eax
je 0x40609f
cmp byte [0x4c909b], 0
jne 0x40605e
mov eax, dword [0x4c909c]
push 0
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4c909c]
mov eax, dword [0x4c8e8c]
push 0
push 0xa
push 0xffffffffffffffff
push dword [ecx + 0x10]
mov dword [ecx + 0x80], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x406098
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40608e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406353
push edx
push ecx
call fcn.00449563
add esp, 8
xor al, al
jmp 0x406321
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4060e0
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406353
push edx
push ecx
call fcn.00449563
add esp, 8
test edi, edi
je 0x40631f
mov ecx, dword [0x4c8d5c]
test ecx, ecx
je 0x406120
mov esi, dword [ecx + 0x34]
mov eax, 0x2aaaaaab
mov ecx, dword [ecx + 0x38]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x1b
jb 0x406120
add esi, 0x270
cmp dword [esi + 0x14], 8
jb 0x406125
mov esi, dword [esi]
jmp 0x406125
mov esi, 0x4732fc
mov ecx, edi
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x406145
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.0040be10
push 4
push str._r_n_r_n
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 6
call fcn.0040c240
mov dword [ebp - 0x5c], 0
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, esi
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4061b6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0040c240
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40622d
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406358
push edx
push ecx
call fcn.00449563
add esp, 8
mov edx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40627b
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406271
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406358
push edx
push ecx
call fcn.00449563
add esp, 8
mov ecx, dword [0x4c8d5c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
test ecx, ecx
je 0x4062ca
mov esi, dword [ecx + 0x34]
mov eax, 0x2aaaaaab
mov ecx, dword [ecx + 0x38]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x18
jb 0x4062ca
cmp dword [esi + 0x23c], 8
lea ecx, [esi + 0x228]
jb 0x4062cf
mov ecx, dword [ecx]
jmp 0x4062cf
mov ecx, 0x4732fc
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x406098
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40608e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40635d
jmp 0x40608e
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004490d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00458a87
call fcn.00458a87
call fcn.00458a87
call fcn.00458a87
call fcn.00458a87
call fcn.00458a87
call fcn.00458a87
int3