Function at 0x1006e871
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009fb10
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100b8210]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006f005
mov eax, dword [eax]
test eax, eax
je 0x1006f005
cmp dword [eax], 0x80000003
jne 0x1006e8e0
xor eax, eax
jmp 0x1006f00a
push 0x10082b13
push 0x10082a6b
push 0xa
push 4
lea eax, [esp + 0xb0]
push eax
call fcn.100867bc
and dword [esp + 0xd8], 0
mov esi, dword [0x100c2b5c]
sub esi, 0xffffff80
mov eax, esi
call fcn.10082887
mov ebx, eax
push esi
lea eax, [esp + 0xa4]
call fcn.10082811
mov eax, dword [0x100c2b5c]
add eax, 0xf0
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1008289f
lea eax, [esp + 0x1c]
push eax
call fcn.1002aa8a
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.1005e434
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [0x100b8f90]
mov ebx, 0x100b8f90
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd8], 2
mov eax, dword [0x100c2b5c]
push dword [eax + 0x990]
lea eax, [esp + 0x30]
push 0x10004be0
push eax
call fcn.100827bb
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esp + 0xac]
call fcn.1005e434
mov eax, dword [0x100c2b5c]
add eax, 0x9e4
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1008289f
mov eax, dword [0x100b8f90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
mov eax, dword [0x100c2b5c]
lea ecx, [esp + 0x14]
call fcn.1002b1d0
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 4
mov eax, dword [0x100c2b5c]
lea ecx, [esp + 0x24]
call fcn.1002b363
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 5
mov eax, dword [0x100c2b5c]
lea ecx, [esp + 0x30]
call fcn.1002b37e
mov esi, 0x10014e68
push esi
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 6
call fcn.1005ebdd
mov byte [esp + 0xd8], 7
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov edi, eax
call fcn.1005eb8c
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 8
call fcn.1005ebdd
mov byte [esp + 0xd8], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.1005eb8c
push esi
lea ecx, [esp + 0x50]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xa
call fcn.1005ebdd
push 0x100157dc
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xb
call fcn.1005ebdd
lea edi, [esp + 0x28]
mov byte [esp + 0xd8], 0xc
call fcn.1005e434
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, edi
lea edi, [esp + 0xb4]
call fcn.1005e434
mov eax, dword [0x100b8f90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
push dword [eax]
lea eax, [esp + 0x24]
push 0x1000eac8
push eax
call fcn.100827bb
add esp, 0xc
lea eax, [esp + 0x20]
lea edi, [esp + 0xb8]
call fcn.1005e434
lea eax, [esp + 0x14]
push eax
push dword [0x100c2b5c]
call fcn.1002b2b1
lea edi, [esp + 0xbc]
mov byte [esp + 0xd8], 0xe
call fcn.1005e434
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [0x100c2b5c]
lea edi, [esp + 0x14]
call fcn.1002b2fe
lea edi, [esp + 0xc0]
mov byte [esp + 0xd8], 0xf
call fcn.1005e434
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x1001b280
lea edi, [esp + 0x7c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 0x10
call fcn.10027f9c
test al, al
je 0x1006ed31
xor edi, edi
mov ebx, 0x1001d40c
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov byte [esp + 0xd8], 0x11
mov eax, dword [0x100c2b5c]
sub eax, 0xffffff80
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1005e2c8
mov byte [esp + 0xd8], 0x12
mov eax, dword [0x100c2b5c]
lea esi, [esp + 0x30]
call fcn.1002b399
mov esi, eax
mov byte [esp + 0xd8], 0x13
mov ecx, dword [0x100c2b5c]
lea eax, [esp + 0x24]
add ecx, 0x960
push eax
call fcn.1002af34
mov byte [esp + 0xd8], 0x14
mov ecx, dword [0x100c2b5c]
mov cl, byte [ecx]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x14], cl
push esi
lea ecx, [esp + 0xa4]
push ecx
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x64]
call fcn.1005b893
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
cmp esi, edi
jne 0x1006ed1c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [esp + 0xd8], 0x10
lea esi, [esp + 0x50]
mov dword [esp + 0x50], ebx
call fcn.1005bbcd
push dword [esp + 0x18]
lea ebx, [esp + 0x54]
push dword [esp + 0x38]
call fcn.100703ae
mov esi, eax
test esi, esi
jns 0x1006ed99
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x1001b280
call fcn.10082afb
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10082afb
or dword [esp + 0xd8], 0xffffffff
push 0x10082b13
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.10085544
mov eax, esi
jmp 0x1006f00a
mov eax, dword [0x100c2b5c]
test byte [eax + 4], 0x10
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], esi
jne 0x1006edb0
or dword [esi + 0x38], 0x10
mov eax, dword [0x100c2b5c]
cmp byte [eax], 1
jne 0x1006edca
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 0xc
jmp 0x1006edd5
and dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x800
mov eax, dword [0x100c2b5c]
mov eax, dword [eax + 4]
mov dword [esi + 0x44], eax
mov ebx, 0x104
push ebx
lea eax, [esi + 0x258]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x10017610
lea eax, [esi + 0x460]
push ebx
push eax
call fcn.1008683e
mov ecx, dword [0x100c2b5c]
add esp, 0x10
add ecx, 0x160
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x1006ee1c
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x1006ee45
push ecx
lea eax, [esi + 0x9ac]
push 0x400
push eax
call fcn.10085632
add esp, 0xc
lea eax, [esi + 0x8474]
mov edi, 0xff
push eax
mov edx, 0x10012b28
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xa0]
lea eax, [esi + 0x8672]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xa4]
lea eax, [esi + 0x8870]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xa8]
lea eax, [esi + 0x8a6e]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xac]
lea eax, [esi + 0x8c6c]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xb0]
lea eax, [esi + 0x8e6a]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xb4]
lea eax, [esi + 0x9068]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0x9266]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xbc]
lea eax, [esi + 0x9464]
push eax
mov ecx, edi
call fcn.100826b8
mov edx, dword [esp + 0xc0]
lea eax, [esi + 0x9662]
push eax
mov ecx, edi
call fcn.100826b8
xor edi, edi
inc edi
mov dword [esi + 0x8470], edi
mov ecx, dword [0x100c2b5c]
lea eax, [esp + 0x14]
add ecx, 0x960
push eax
call fcn.1002af34
mov edx, dword [eax]
lea ecx, [esi + 0x11ac]
push ecx
mov ecx, 0x400
call fcn.100826b8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
mov edx, dword [0x100c2b5c]
lea eax, [esi + 0x21ac]
push eax
push 0x38
add edx, 0x10
pop ecx
call fcn.100826b8
mov eax, dword [0x100c2b5c]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
add esi, 0x50
push esi
mov edx, 0x10012b28
mov ecx, ebx
call fcn.100826b8
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0xd8], 0x15
mov eax, dword [esi - 8]
mov ecx, edi
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x1006efc4
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.10082950
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1002ac4d
mov edi, dword [esp + 0x34]
push esi
lea esi, [esp + 0x54]
mov ebx, edi
call fcn.10070513
mov esi, eax
test esi, esi
js 0x1006efeb
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x9a84]
lea eax, [esp + 0x50]
call fcn.1007035f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
jmp 0x1006ed48
mov eax, 0x80004003
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10084b58
mov esp, ebp
pop ebp
ret 8