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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10094d96
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 0x10067622
mov eax, dword [eax]
test eax, eax
je 0x10067622
cmp dword [eax], 0x80000003
jne 0x10066efd
xor eax, eax
jmp 0x10067627
push 0x10078f2b
push 0x10078e74
push 0xa
push 4
lea eax, [esp + 0xb0]
push eax
call fcn.1007cbb5
and dword [esp + 0xd8], 0
mov esi, dword [0x100b8468]
sub esi, 0xffffff80
mov eax, esi
call fcn.10078c59
mov ebx, eax
push esi
lea eax, [esp + 0xa4]
call fcn.10078bdc
mov eax, dword [0x100b8468]
add eax, 0xf0
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.10078c76
lea eax, [esp + 0x1c]
push eax
call fcn.100276ac
lea edi, [esp + 0xa8]
mov byte [esp + 0xd8], 1
call fcn.100584b9
mov byte [esp + 0xd8], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
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 [0x100b8468]
push dword [eax + 0x990]
lea eax, [esp + 0x30]
push 0x10005110
push eax
call fcn.10078b7a
add esp, 0xc
lea eax, [esp + 0x2c]
lea edi, [esp + 0xac]
call fcn.100584b9
mov eax, dword [0x100b8468]
add eax, 0x9e4
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10078c76
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 [0x100b8468]
lea ecx, [esp + 0x14]
call fcn.10027e41
mov dword [esp + 0x20], eax
mov byte [esp + 0xd8], 4
mov eax, dword [0x100b8468]
lea ecx, [esp + 0x24]
call fcn.10027ff6
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd8], 5
mov eax, dword [0x100b8468]
lea ecx, [esp + 0x30]
call fcn.10028018
mov esi, 0x10013910
push esi
lea ecx, [esp + 0x48]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 6
call fcn.10058c7a
mov byte [esp + 0xd8], 7
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push ecx
mov edi, eax
call fcn.10058c24
push esi
lea ecx, [esp + 0x44]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 8
call fcn.10058c7a
mov byte [esp + 0xd8], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
mov edi, eax
call fcn.10058c24
push esi
lea ecx, [esp + 0x50]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xa
call fcn.10058c7a
push 0x1001411c
lea ecx, [esp + 0x40]
push ecx
mov edi, eax
mov byte [esp + 0xe0], 0xb
call fcn.10058c7a
lea edi, [esp + 0x28]
mov byte [esp + 0xd8], 0xc
call fcn.100584b9
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [esp + 0xd8], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, edi
lea edi, [esp + 0xb4]
call fcn.100584b9
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 0x1000e658
push eax
call fcn.10078b7a
add esp, 0xc
lea eax, [esp + 0x20]
lea edi, [esp + 0xb8]
call fcn.100584b9
lea eax, [esp + 0x14]
push eax
push dword [0x100b8468]
call fcn.10027f33
lea edi, [esp + 0xbc]
mov byte [esp + 0xd8], 0xe
call fcn.100584b9
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [0x100b8468]
lea edi, [esp + 0x14]
call fcn.10027f85
lea edi, [esp + 0xc0]
mov byte [esp + 0xd8], 0xf
call fcn.100584b9
mov byte [esp + 0xd8], 0xd
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
push 9
pop ecx
xor eax, eax
mov dword [esp + 0x78], 0x10018760
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.10024da1
test al, al
je 0x1006734e
xor edi, edi
mov ebx, 0x1001a754
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 [0x100b8468]
sub eax, 0xffffff80
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1005833e
mov byte [esp + 0xd8], 0x12
mov eax, dword [0x100b8468]
lea esi, [esp + 0x30]
call fcn.1002803a
mov esi, eax
mov byte [esp + 0xd8], 0x13
mov ecx, dword [0x100b8468]
lea eax, [esp + 0x24]
add ecx, 0x960
push eax
call fcn.10027b8f
mov byte [esp + 0xd8], 0x14
mov ecx, dword [0x100b8468]
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.10055ae2
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [esp + 0xd8], 0x11
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
cmp esi, edi
jne 0x10067339
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.10055e5b
push dword [esp + 0x18]
lea ebx, [esp + 0x54]
push dword [esp + 0x38]
call fcn.100684ac
mov esi, eax
test esi, esi
jns 0x100673b6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x78], 0x10018760
call fcn.10078f0e
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.10078f0e
or dword [esp + 0xd8], 0xffffffff
push 0x10078f2b
push 0xa
push 4
lea eax, [esp + 0xac]
push eax
call fcn.1007b825
mov eax, esi
jmp 0x10067627
mov eax, dword [0x100b8468]
test byte [eax + 4], 0x10
mov esi, dword [esp + 0x60]
mov dword [esp + 0x24], esi
jne 0x100673cd
or dword [esi + 0x38], 0x10
mov eax, dword [0x100b8468]
cmp byte [eax], 1
jne 0x100673e7
mov dword [esi + 0x30], 1
mov dword [esi + 0x2c], 0xc
jmp 0x100673f2
and dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0x800
mov eax, dword [0x100b8468]
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.1007cc41
mov ecx, dword [0x100b8468]
add esp, 0x10
add ecx, 0x160
mov eax, ecx
lea edx, [eax + 2]
mov di, word [eax]
add eax, 2
test di, di
jne 0x10067439
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x10067462
push ecx
lea eax, [esi + 0x9ac]
push 0x400
push eax
call fcn.1007b927
add esp, 0xc
lea eax, [esi + 0x8474]
mov edi, 0xff
push eax
mov edx, 0x10011520
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xa0]
lea eax, [esi + 0x8672]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xa4]
lea eax, [esi + 0x8870]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xa8]
lea eax, [esi + 0x8a6e]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xac]
lea eax, [esi + 0x8c6c]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xb0]
lea eax, [esi + 0x8e6a]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xb4]
lea eax, [esi + 0x9068]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xb8]
lea eax, [esi + 0x9266]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xbc]
lea eax, [esi + 0x9464]
push eax
mov ecx, edi
call fcn.10078a55
mov edx, dword [esp + 0xc0]
lea eax, [esi + 0x9662]
push eax
mov ecx, edi
call fcn.10078a55
xor edi, edi
inc edi
mov dword [esi + 0x8470], edi
mov ecx, dword [0x100b8468]
lea eax, [esp + 0x14]
add ecx, 0x960
push eax
call fcn.10027b8f
mov edx, dword [eax]
lea ecx, [esi + 0x11ac]
push ecx
mov ecx, 0x400
call fcn.10078a55
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
mov edx, dword [0x100b8468]
lea eax, [esi + 0x21ac]
push eax
push 0x38
add edx, 0x10
pop ecx
call fcn.10078a55
mov eax, dword [0x100b8468]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x40], eax
add esi, 0x50
push esi
mov edx, 0x10011520
mov ecx, ebx
call fcn.10078a55
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 0x100675e1
mov eax, ebx
lea ecx, [esp + 0x18]
call fcn.10078d3a
mov esi, dword [esp + 0x18]
mov edi, esi
call fcn.1002787b
mov edi, dword [esp + 0x34]
push esi
lea esi, [esp + 0x54]
mov ebx, edi
call fcn.10068618
mov esi, eax
test esi, esi
js 0x10067608
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x9a84]
lea eax, [esp + 0x50]
call fcn.10068456
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
jmp 0x10067365
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.1007b091
mov esp, ebp
pop ebp
ret 8