Function at 0x413410
Capabilities:
Acquire debug privileges
Get system information on windows

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 0x451e62
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x46f06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00413e90
mov dword [edi], eax
lea eax, [edi + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea esi, [eax + 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 7
mov word [esi], cx
add eax, 0x34
xor edx, edx
lea ecx, [eax + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], dx
mov byte [ebp - 4], 3
push edx
push 0x463468
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
call fcn.00402f60
push 0
push 0x463468
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00402f60
lea esi, [edi + 8]
cmp esi, eax
je 0x4134fb
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4134f0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00402f60
mov dword [esi + 0x30], 0
mov byte [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov byte [ebp - 4], 5
lea ecx, [edi + 0x70]
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [ecx + 0x48], 0
call fcn.0040f6d0
lea ecx, [edi + 0xf0]
mov dword [edi + 0xbc], 0x60
mov dword [edi + 0xc0], 0x61
mov dword [edi + 0xc4], 0x62
mov dword [edi + 0xc8], 0x63
mov dword [edi + 0xcc], 0x64
mov dword [edi + 0xd0], 0x65
mov dword [edi + 0xd4], 0x66
mov dword [edi + 0xd8], 0x67
mov dword [edi + 0xdc], 0x68
mov dword [edi + 0xe0], 0x69
mov dword [edi + 0xe4], 0x6e
mov dword [edi + 0xe8], 0x6b
mov dword [edi + 0xec], 0x6d
call fcn.00418c90
mov dword [edi + 0x158], 0xffffffff
xor ecx, ecx
mov dword [edi + 0x15c], 9
mov byte [edi + 0x160], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 7
mov word [edi + 0x164], cx
xor edx, edx
mov dword [edi + 0x18c], ecx
mov dword [edi + 0x190], 7
mov word [edi + 0x17c], dx
mov dword [edi + 0x1a4], edx
mov dword [edi + 0x1a8], 7
mov word [edi + 0x194], cx
mov dword [edi + 0x1bc], edx
mov dword [edi + 0x1c0], 7
mov word [edi + 0x1ac], dx
push 0x11
push 0x466bd4
lea ecx, [edi + 0x164]
mov byte [ebp - 4], 0xa
call fcn.00402f60
lea eax, [edi + 0x164]
lea edx, [edi + 0x17c]
cmp edx, eax
je 0x413675
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x41366a
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00402f60
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x471ddc]
test eax, eax
je 0x4136e6
lea eax, [ebp - 0x30]
push eax
push 0x466c34
push 0
call dword [0x471de0]
test eax, eax
je 0x4136dd
mov eax, dword [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
push 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 2
call dword [0x471de4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 7
push str.NOT_SET
lea ecx, [edi + 0x1ac]
call fcn.00402f60
lea eax, [edi + 0x17c]
mov ecx, esi
push eax
lea eax, [edi + 0x164]
push eax
call fcn.00417f20
xorps xmm0, xmm0
mov dword [edi + 0x6c], esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], 0
push eax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x28], 0
lea eax, [ebp - 0x58]
push eax
je 0x41374c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
jmp 0x413752
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, 0x1000
lea eax, [edi + 0x68]
cmp dword [ebp - 0x3c], edx
cmova edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov dword [edi + 0xb8], eax
mov dword [edi + 0xf4], eax
mov eax, edi
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.0043045f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret