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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a2f7b
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 0x1007074e
mov eax, dword [eax]
test eax, eax
je 0x1007074e
cmp dword [eax], 0x80000003
jne 0x10070029
xor eax, eax
jmp 0x10070753
push 0x10084c46
push 0x10084b85
push 0xa
push 4
lea eax, [esp + 0xb0]
push eax
call fcn.10088c20
and dword [esp + 0xd8], 0
mov esi, dword [0x100c68d4]
sub esi, 0xffffff80
mov eax, esi
call fcn.10084974
mov ebx, eax
push esi
lea eax, [esp + 0xa4]
call fcn.100848f9
mov eax, dword [0x100c68d4]
add eax, 0xf0
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10084991
lea eax, [esp + 0x1c]
push eax
call fcn.1002a680
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.1005f5c3
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
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.10084899
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esp + 0xac]
call fcn.1005f5c3
mov eax, dword [0x100c68d4]
add eax, 0x9e4
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10084991
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.1002ae07
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 4
mov eax, dword [0x100c68d4]
lea ecx, [esp + 0x24]
call fcn.1002afb8
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 5
mov eax, dword [0x100c68d4]
lea ecx, [esp + 0x30]
call fcn.1002afd8
mov esi, 0x10014b50
push esi
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 6
call fcn.1005fdda
mov byte [esp + 0xd8], 7
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov edi, eax
call fcn.1005fd84
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 8
call fcn.1005fdda
mov byte [esp + 0xd8], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.1005fd84
push esi
lea ecx, [esp + 0x50]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xa
call fcn.1005fdda
push 0x100154c4
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xb
call fcn.1005fdda
lea edi, [esp + 0x28]
mov byte [esp + 0xd8], 0xc
call fcn.1005f5c3
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, edi
lea edi, [esp + 0xb4]
call fcn.1005f5c3
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 0x1000ea40
push eax
call fcn.10084899
add esp, 0xc
lea eax, [esp + 0x20]
lea edi, [esp + 0xb8]
call fcn.1005f5c3
lea eax, [esp + 0x14]
push eax
push dword [0x100c68d4]
call fcn.1002aef7
lea edi, [esp + 0xbc]
mov byte [esp + 0xd8], 0xe
call fcn.1005f5c3
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [0x100c68d4]
lea edi, [esp + 0x14]
call fcn.1002af49
lea edi, [esp + 0xc0]
mov byte [esp + 0xd8], 0xf
call fcn.1005f5c3
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x1001af38
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.10027ae6
test al, al
je 0x1007047a
xor edi, edi
mov ebx, 0x1001cfc4
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.1005f448
mov byte [esp + 0xd8], 0x12
mov eax, dword [0x100c68d4]
lea esi, [esp + 0x30]
call fcn.1002aff8
mov esi, eax
mov byte [esp + 0xd8], 0x13
mov ecx, dword [0x100c68d4]
lea eax, [esp + 0x24]
add ecx, 0x960
push eax
call fcn.1002ab57
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.1005c8f9
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10084c29
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084c29
cmp esi, edi
jne 0x10070465
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.1005cc60
push dword [esp + 0x18]
lea ebx, [esp + 0x54]
push dword [esp + 0x38]
call fcn.10071ae3
mov esi, eax
test esi, esi
jns 0x100704e2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x1001af38
call fcn.10084c29
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10084c29
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10084c29
or dword [esp + 0xd8], 0xffffffff
push 0x10084c46
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.10087890
mov eax, esi
jmp 0x10070753
mov eax, dword [0x100c68d4]
test byte [eax + 4], 0x10
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], esi
jne 0x100704f9
or dword [esi + 0x38], 0x10
mov eax, dword [0x100c68d4]
cmp byte [eax], 1
jne 0x10070513
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 0xc
jmp 0x1007051e
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 0x100172d0
lea eax, [esi + 0x460]
push ebx
push eax
call fcn.10088cac
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 0x10070565
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x1007058e
push ecx
lea eax, [esi + 0x9ac]
push 0x400
push eax
call fcn.10087992
add esp, 0xc
lea eax, [esi + 0x8474]
mov edi, 0xff
push eax
mov edx, 0x10012810
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xa0]
lea eax, [esi + 0x8672]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xa4]
lea eax, [esi + 0x8870]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xa8]
lea eax, [esi + 0x8a6e]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xac]
lea eax, [esi + 0x8c6c]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xb0]
lea eax, [esi + 0x8e6a]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xb4]
lea eax, [esi + 0x9068]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0x9266]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xbc]
lea eax, [esi + 0x9464]
push eax
mov ecx, edi
call fcn.10084778
mov edx, dword [esp + 0xc0]
lea eax, [esi + 0x9662]
push eax
mov ecx, edi
call fcn.10084778
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.1002ab57
mov edx, dword [eax]
lea ecx, [esi + 0x11ac]
push ecx
mov ecx, 0x400
call fcn.10084778
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
mov edx, dword [0x100c68d4]
lea eax, [esi + 0x21ac]
push eax
push 0x38
add edx, 0x10
pop ecx
call fcn.10084778
mov eax, dword [0x100c68d4]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
add esi, 0x50
push esi
mov edx, 0x10012810
mov ecx, ebx
call fcn.10084778
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 0x1007070d
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.10084a51
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1002a84d
mov edi, dword [esp + 0x34]
push esi
lea esi, [esp + 0x54]
mov ebx, edi
call fcn.10071c4d
mov esi, eax
test esi, esi
js 0x10070734
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x9a84]
lea eax, [esp + 0x50]
call fcn.10071a8f
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
jmp 0x10070491
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.10086e31
mov esp, ebp
pop ebp
ret 8