Function at 0x403ca0
Capabilities:
Acquire debug privileges
Contain obfuscated stackstrings
Encode data using xor
Read file on windows
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x4a73e8]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
mov byte [esp + 0x230], 0x39
mov al, 0x72
xor al, byte [esp + 0x230]
mov cl, 0x6b
xor cl, byte [esp + 0x230]
mov ah, 0x75
mov byte [esp + 0x231], al
mov dl, 0x13
mov byte [esp + 0x232], cl
mov ch, 0x56
mov cl, byte [esp + 0x230]
mov dh, 0x58
mov byte [esp + 0xf], 0x5c
xor ah, cl
mov al, byte [esp + 0xf]
mov bl, 0x19
xor al, cl
mov byte [esp + 0x22f], 0x4b
mov byte [esp + 0x239], al
mov bh, 0x5d
mov al, byte [esp + 0x22f]
xor dl, cl
xor al, cl
mov byte [esp + 0x235], ah
mov byte [esp + 0x23a], al
xor bl, cl
lea eax, [esp + 0x231]
mov byte [esp + 0x23b], 0
xor ch, cl
mov byte [esp + 0x233], dl
xor dh, cl
mov byte [esp + 0x234], bl
xor bh, cl
mov byte [esp + 0x236], ch
push eax
mov byte [esp + 0x23b], dh
mov byte [esp + 0x23c], bh
mov byte [esp + 0x23f], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push str.COLOR_0C
call fcn.00468499
movaps xmm0, xmmword [0x4a3370]
add esp, 4
movups xmmword [esp + 0x10], xmm0
movaps xmm0, xmmword [str.ss7:_0__744]
movups xmmword [esp + 0x20], xmm0
movaps xmm0, xmmword [0x4a3340]
movups xmmword [esp + 0x30], xmm0
movaps xmm0, xmmword [0x4a3120]
movups xmmword [esp + 0x40], xmm0
movaps xmm0, xmmword [0x4a3320]
movups xmmword [esp + 0x50], xmm0
movaps xmm0, xmmword [0x4a3230]
movups xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [0x4a32e0]
movups xmmword [esp + 0x70], xmm0
movaps xmm0, xmmword [0x4a3150]
movups xmmword [esp + 0x80], xmm0
movaps xmm0, xmmword [0x4a3390]
movups xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [0x4a32d0]
movups xmmword [esp + 0xa0], xmm0
movaps xmm0, xmmword [0x4a3180]
movups xmmword [esp + 0xb0], xmm0
movaps xmm0, xmmword [0x4a32a0]
movups xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [0x4a3330]
movups xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [0x4a3170]
movups xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [0x4a33c0]
movups xmmword [esp + 0xf0], xmm0
movaps xmm0, xmmword [0x4a3380]
movups xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [0x4a3140]
movups xmmword [esp + 0x110], xmm0
movaps xmm0, xmmword [0x4a3160]
movups xmmword [esp + 0x120], xmm0
movaps xmm0, xmmword [0x4a32b0]
xor ecx, ecx
movups xmmword [esp + 0x130], xmm0
mov dword [esp + 0x220], 0x595959
movaps xmm0, xmmword [0x4a3360]
movups xmmword [esp + 0x140], xmm0
movaps xmm0, xmmword [0x4a33d0]
movups xmmword [esp + 0x150], xmm0
movaps xmm0, xmmword [0x4a3110]
movups xmmword [esp + 0x160], xmm0
movaps xmm0, xmmword [0x4a3300]
movups xmmword [esp + 0x170], xmm0
movaps xmm0, xmmword [0x4a3200]
movups xmmword [esp + 0x180], xmm0
movaps xmm0, xmmword [0x4a32c0]
movups xmmword [esp + 0x190], xmm0
movaps xmm0, xmmword [0x4a3310]
movups xmmword [esp + 0x1a0], xmm0
movaps xmm0, xmmword [0x4a32f0]
movups xmmword [esp + 0x1b0], xmm0
movaps xmm0, xmmword [0x4a31b0]
movups xmmword [esp + 0x1c0], xmm0
movaps xmm0, xmmword [0x4a3190]
movups xmmword [esp + 0x1d0], xmm0
movaps xmm0, xmmword [0x4a3350]
movups xmmword [esp + 0x1e0], xmm0
movaps xmm0, xmmword [0x4a31a0]
movups xmmword [esp + 0x1f0], xmm0
movaps xmm0, xmmword [0x4a3130]
movups xmmword [esp + 0x200], xmm0
movaps xmm0, xmmword [0x4a3240]
movups xmmword [esp + 0x210], xmm0
nop word [eax + eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0x212
jb 0x403f70
lea edx, [esp + 0x11]
mov byte [esp + 0x223], 0
mov ecx, 0x4a8688
call fcn.00408f80
push eax
call fcn.00409230
add esp, 4
call fcn.00402090
test eax, eax
je 0x403fd8
push str.Close_your_game_
call fcn.00401160
add esp, 4
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00460630
mov esp, ebp
pop ebp
ret
call fcn.00402c10
test al, al
je 0x40428a
cmp byte [0x4a9408], 0
jne 0x404001
nop
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4a9408], 0
je 0x403ff0
lea eax, [esp + 0x244]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40428a
lea eax, [esp + 0x234]
mov dword [esp + 0x230], 1
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x248], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x23c]
push eax
push 0
push dword [esp + 0x258]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push str.RtlAdjustPrivilege
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x22f]
mov byte [esp + 0x22f], 1
push ecx
push 0
push 1
push 0x14
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x244]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x40428a
call fcn.00402520
test eax, eax
je 0x40428a
mov cl, 0x2c
mov dword [esp + 0x230], 0x7107772c
mov dword [esp + 0x234], 0x4642650c
xor eax, eax
mov dword [esp + 0x238], 0x68584f49
mov word [esp + 0x23c], 0x6060
mov byte [esp + 0x23e], 0
nop dword [eax + eax]
xor byte [esp + eax + 0x231], cl
inc eax
cmp eax, 0xd
jae 0x404116
mov cl, byte [esp + 0x230]
jmp 0x404100
lea edx, [esp + 0x231]
mov byte [esp + 0x23e], 0
mov ecx, 0x4a8688
call fcn.00408f80
push eax
call fcn.00409230
movaps xmm0, xmmword [str.c__M_]
add esp, 4
movups xmmword [esp + 0x230], xmm0
mov byte [esp + 0x240], 0
xor ecx, ecx
mov al, byte [esp + 0x230]
xor byte [esp + ecx + 0x231], al
inc ecx
cmp ecx, 0xf
jb 0x404151
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x231]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
mov byte [esp + 0x258], 0
call ebx
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00460681
add esp, 4
mov edi, eax
lea eax, [esp + 0x231]
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
push 0
push 0
push 3
push 0
push 0
push bind
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, eax
push 0x1f4
call esi
cmp edi, 0xffffffff
je 0x40428a
push 0
lea eax, [esp + 0x248]
push eax
push 4
lea eax, [esp + 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov cl, 0x1c
mov dword [esp + 0x230], 0x4137471c
mov dword [esp + 0x234], 0x7f694f3c
xor eax, eax
mov dword [esp + 0x238], 0x6f6f797f
mov word [esp + 0x23c], 0x3d
xor byte [esp + eax + 0x231], cl
inc eax
cmp eax, 0xc
jae 0x40424a
mov cl, byte [esp + 0x230]
jmp 0x404234
lea edx, [esp + 0x231]
mov byte [esp + 0x23d], 0
mov ecx, 0x4a8688
call fcn.00408f80
push eax
call fcn.00409230
add esp, 4
push 0x3e8
call esi
mov ecx, dword [esp + 0x24c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00460630
mov esp, ebp
pop ebp
ret
call fcn.00403c60
int3