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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2fe4
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100bc210]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
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 0x100705a5
mov eax, dword [eax]
test eax, eax
je 0x100705a5
cmp dword [eax], 0x80000003
jne 0x1006fe80
xor eax, eax
jmp 0x100705aa
push 0x10084b54
push 0x10084a93
push 0xa
push 4
lea eax, [esp + 0xb0]
push eax
call fcn.10088bd0
and dword [esp + 0xd8], 0
mov esi, dword [0x100c68d4]
sub esi, 0xffffff80
mov eax, esi
call fcn.10084882
mov ebx, eax
push esi
lea eax, [esp + 0xa4]
call fcn.10084807
mov eax, dword [0x100c68d4]
add eax, 0xf0
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.1008489f
lea eax, [esp + 0x1c]
push eax
call fcn.1002a652
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.1005f4dc
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [0x100bcf90]
mov ebx, 0x100bcf90
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd8], 2
mov eax, dword [0x100c68d4]
push dword [eax + 0x990]
lea eax, [esp + 0x30]
push 0x10004bb0
push eax
call fcn.100847a7
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esp + 0xac]
call fcn.1005f4dc
mov eax, dword [0x100c68d4]
add eax, 0x9e4
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1008489f
mov eax, dword [0x100bcf90]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
mov eax, dword [0x100c68d4]
lea ecx, [esp + 0x14]
call fcn.1002add9
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 4
mov eax, dword [0x100c68d4]
lea ecx, [esp + 0x24]
call fcn.1002af8a
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 5
mov eax, dword [0x100c68d4]
lea ecx, [esp + 0x30]
call fcn.1002afaa
mov esi, 0x10014b28
push esi
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 6
call fcn.1005fcf3
mov byte [esp + 0xd8], 7
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov edi, eax
call fcn.1005fc9d
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 8
call fcn.1005fcf3
mov byte [esp + 0xd8], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.1005fc9d
push esi
lea ecx, [esp + 0x50]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xa
call fcn.1005fcf3
push 0x1001549c
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xb
call fcn.1005fcf3
lea edi, [esp + 0x28]
mov byte [esp + 0xd8], 0xc
call fcn.1005f4dc
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, edi
lea edi, [esp + 0xb4]
call fcn.1005f4dc
mov eax, dword [0x100bcf90]
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 0x1000ea10
push eax
call fcn.100847a7
add esp, 0xc
lea eax, [esp + 0x20]
lea edi, [esp + 0xb8]
call fcn.1005f4dc
lea eax, [esp + 0x14]
push eax
push dword [0x100c68d4]
call fcn.1002aec9
lea edi, [esp + 0xbc]
mov byte [esp + 0xd8], 0xe
call fcn.1005f4dc
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [0x100c68d4]
lea edi, [esp + 0x14]
call fcn.1002af1b
lea edi, [esp + 0xc0]
mov byte [esp + 0xd8], 0xf
call fcn.1005f4dc
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x1001af10
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.10027ab8
test al, al
je 0x100702d1
xor edi, edi
mov ebx, 0x1001cf9c
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 [0x100c68d4]
sub eax, 0xffffff80
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1005f361
mov byte [esp + 0xd8], 0x12
mov eax, dword [0x100c68d4]
lea esi, [esp + 0x30]
call fcn.1002afca
mov esi, eax
mov byte [esp + 0xd8], 0x13
mov ecx, dword [0x100c68d4]
lea eax, [esp + 0x24]
add ecx, 0x960
push eax
call fcn.1002ab29
mov byte [esp + 0xd8], 0x14
mov ecx, dword [0x100c68d4]
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.1005c7e9
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
cmp esi, edi
jne 0x100702bc
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.1005cb50
push dword [esp + 0x18]
lea ebx, [esp + 0x54]
push dword [esp + 0x38]
call fcn.1007193a
mov esi, eax
test esi, esi
jns 0x10070339
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x1001af10
call fcn.10084b37
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10084b37
or dword [esp + 0xd8], 0xffffffff
push 0x10084b54
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.10087840
mov eax, esi
jmp 0x100705aa
mov eax, dword [0x100c68d4]
test byte [eax + 4], 0x10
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], esi
jne 0x10070350
or dword [esi + 0x38], 0x10
mov eax, dword [0x100c68d4]
cmp byte [eax], 1
jne 0x1007036a
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 0xc
jmp 0x10070375
and dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x800
mov eax, dword [0x100c68d4]
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 0x100172a8
lea eax, [esi + 0x460]
push ebx
push eax
call fcn.10088c5c
mov ecx, dword [0x100c68d4]
add esp, 0x10
add ecx, 0x160
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x100703bc
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x100703e5
push ecx
lea eax, [esi + 0x9ac]
push 0x400
push eax
call fcn.10087942
add esp, 0xc
lea eax, [esi + 0x8474]
mov edi, 0xff
push eax
mov edx, 0x100127e8
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xa0]
lea eax, [esi + 0x8672]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xa4]
lea eax, [esi + 0x8870]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xa8]
lea eax, [esi + 0x8a6e]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xac]
lea eax, [esi + 0x8c6c]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xb0]
lea eax, [esi + 0x8e6a]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xb4]
lea eax, [esi + 0x9068]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0x9266]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xbc]
lea eax, [esi + 0x9464]
push eax
mov ecx, edi
call fcn.10084686
mov edx, dword [esp + 0xc0]
lea eax, [esi + 0x9662]
push eax
mov ecx, edi
call fcn.10084686
xor edi, edi
inc edi
mov dword [esi + 0x8470], edi
mov ecx, dword [0x100c68d4]
lea eax, [esp + 0x14]
add ecx, 0x960
push eax
call fcn.1002ab29
mov edx, dword [eax]
lea ecx, [esi + 0x11ac]
push ecx
mov ecx, 0x400
call fcn.10084686
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084b37
mov edx, dword [0x100c68d4]
lea eax, [esi + 0x21ac]
push eax
push 0x38
add edx, 0x10
pop ecx
call fcn.10084686
mov eax, dword [0x100c68d4]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
add esi, 0x50
push esi
mov edx, 0x100127e8
mov ecx, ebx
call fcn.10084686
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
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 0x10070564
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.1008495f
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1002a81f
mov edi, dword [esp + 0x34]
push esi
lea esi, [esp + 0x54]
mov ebx, edi
call fcn.10071aa4
mov esi, eax
test esi, esi
js 0x1007058b
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x9a84]
lea eax, [esp + 0x50]
call fcn.100718e6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
jmp 0x100702e8
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.10086de1
mov esp, ebp
pop ebp
ret 8