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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10095153
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x100ae210]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
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 0x10067a27
mov eax, dword [eax]
test eax, eax
je 0x10067a27
cmp dword [eax], 0x80000003
jne 0x10067302
xor eax, eax
jmp 0x10067a2c
push 0x10079267
push 0x100791a0
push 0xa
push 4
lea eax, [esp + 0xb0]
push eax
call fcn.1007cf55
and dword [esp + 0xd8], 0
mov esi, dword [0x100b8508]
sub esi, 0xffffff80
mov eax, esi
call fcn.10078f85
mov ebx, eax
push esi
lea eax, [esp + 0xa4]
call fcn.10078f08
mov eax, dword [0x100b8508]
add eax, 0xf0
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10078fa2
lea eax, [esp + 0x1c]
push eax
call fcn.100276f4
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.10058274
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [0x100aee70]
mov ebx, 0x100aee70
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0xd8], 2
mov eax, dword [0x100b8508]
push dword [eax + 0x990]
lea eax, [esp + 0x30]
push 0x10005110
push eax
call fcn.10078ea6
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esp + 0xac]
call fcn.10058274
mov eax, dword [0x100b8508]
add eax, 0x9e4
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10078fa2
mov eax, dword [0x100aee70]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0xd8], 3
mov eax, dword [0x100b8508]
lea ecx, [esp + 0x14]
call fcn.10027e89
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 4
mov eax, dword [0x100b8508]
lea ecx, [esp + 0x24]
call fcn.1002803e
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 5
mov eax, dword [0x100b8508]
lea ecx, [esp + 0x30]
call fcn.10028060
mov esi, 0x100138f8
push esi
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 6
call fcn.10058a35
mov byte [esp + 0xd8], 7
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov edi, eax
call fcn.100589df
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 8
call fcn.10058a35
mov byte [esp + 0xd8], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.100589df
push esi
lea ecx, [esp + 0x50]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xa
call fcn.10058a35
push 0x10014104
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xb
call fcn.10058a35
lea edi, [esp + 0x28]
mov byte [esp + 0xd8], 0xc
call fcn.10058274
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, edi
lea edi, [esp + 0xb4]
call fcn.10058274
mov eax, dword [0x100aee70]
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 0x1000e640
push eax
call fcn.10078ea6
add esp, 0xc
lea eax, [esp + 0x20]
lea edi, [esp + 0xb8]
call fcn.10058274
lea eax, [esp + 0x14]
push eax
push dword [0x100b8508]
call fcn.10027f7b
lea edi, [esp + 0xbc]
mov byte [esp + 0xd8], 0xe
call fcn.10058274
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [0x100b8508]
lea edi, [esp + 0x14]
call fcn.10027fcd
lea edi, [esp + 0xc0]
mov byte [esp + 0xd8], 0xf
call fcn.10058274
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x10018740
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.10024e01
test al, al
je 0x10067753
xor edi, edi
mov ebx, 0x1001a74c
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 [0x100b8508]
sub eax, 0xffffff80
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100580f9
mov byte [esp + 0xd8], 0x12
mov eax, dword [0x100b8508]
lea esi, [esp + 0x30]
call fcn.10028082
mov esi, eax
mov byte [esp + 0xd8], 0x13
mov ecx, dword [0x100b8508]
lea eax, [esp + 0x24]
add ecx, 0x960
push eax
call fcn.10027bd7
mov byte [esp + 0xd8], 0x14
mov ecx, dword [0x100b8508]
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.10055839
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.1007924a
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.1007924a
cmp esi, edi
jne 0x1006773e
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.10055bb2
push dword [esp + 0x18]
lea ebx, [esp + 0x54]
push dword [esp + 0x38]
call fcn.1006879c
mov esi, eax
test esi, esi
jns 0x100677bb
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x10018740
call fcn.1007924a
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.1007924a
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.1007924a
or dword [esp + 0xd8], 0xffffffff
push 0x10079267
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.1007bbc5
mov eax, esi
jmp 0x10067a2c
mov eax, dword [0x100b8508]
test byte [eax + 4], 0x10
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], esi
jne 0x100677d2
or dword [esi + 0x38], 0x10
mov eax, dword [0x100b8508]
cmp byte [eax], 1
jne 0x100677ec
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 0xc
jmp 0x100677f7
and dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x800
mov eax, dword [0x100b8508]
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 0x100152c0
lea eax, [esi + 0x460]
push ebx
push eax
call fcn.1007cfe1
mov ecx, dword [0x100b8508]
add esp, 0x10
add ecx, 0x160
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x1006783e
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x10067867
push ecx
lea eax, [esi + 0x9ac]
push 0x400
push eax
call fcn.1007bcc7
add esp, 0xc
lea eax, [esi + 0x8474]
mov edi, 0xff
push eax
mov edx, 0x10011508
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xa0]
lea eax, [esi + 0x8672]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xa4]
lea eax, [esi + 0x8870]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xa8]
lea eax, [esi + 0x8a6e]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xac]
lea eax, [esi + 0x8c6c]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xb0]
lea eax, [esi + 0x8e6a]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xb4]
lea eax, [esi + 0x9068]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0x9266]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xbc]
lea eax, [esi + 0x9464]
push eax
mov ecx, edi
call fcn.10078d81
mov edx, dword [esp + 0xc0]
lea eax, [esi + 0x9662]
push eax
mov ecx, edi
call fcn.10078d81
xor edi, edi
inc edi
mov dword [esi + 0x8470], edi
mov ecx, dword [0x100b8508]
lea eax, [esp + 0x14]
add ecx, 0x960
push eax
call fcn.10027bd7
mov edx, dword [eax]
lea ecx, [esi + 0x11ac]
push ecx
mov ecx, 0x400
call fcn.10078d81
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
mov edx, dword [0x100b8508]
lea eax, [esi + 0x21ac]
push eax
push 0x38
add edx, 0x10
pop ecx
call fcn.10078d81
mov eax, dword [0x100b8508]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
add esi, 0x50
push esi
mov edx, 0x10011508
mov ecx, ebx
call fcn.10078d81
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
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 0x100679e6
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.10079066
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.100278c3
mov edi, dword [esp + 0x34]
push esi
lea esi, [esp + 0x54]
mov ebx, edi
call fcn.10068908
mov esi, eax
test esi, esi
js 0x10067a0d
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x9a84]
lea eax, [esp + 0x50]
call fcn.10068746
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1007924a
jmp 0x1006776a
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.1007b431
mov esp, ebp
pop ebp
ret 8