Function at 0x1000bae0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024146
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x268
mov eax, dword [0x10033008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x20c], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
xor ecx, ecx
movq qword [ebp - 0x24], xmm0
xor edi, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ecx
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.1000b0c0
push str.ntdll.dll
test al, al
je 0x1000c080
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.NtQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
mov dword [ebp - 0x60], edi
mov eax, dword [ebp - 0x20c]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], edi
movups xmmword [ebp - 0x5c], xmm0
test eax, eax
jne 0x1000bb9f
or ecx, 0xffffffff
jmp 0x1000bba1
mov ecx, dword [eax]
push 0
push 0x18
lea eax, [ebp - 0x60]
push eax
push 0
push ecx
call edx
test eax, eax
js 0x1000c128
push 0x78
lea eax, [ebp - 0x128]
mov dword [ebp - 0x40], 0
push 0
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x40]
add esp, 0xc
push 4
push eax
mov eax, dword [ebp - 0x5c]
add eax, 0xc
push 0
push eax
call fcn.1000b2f0
test al, al
je 0x1000c128
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x48]
push 8
push eax
mov eax, dword [ebp - 0x40]
add eax, 0xc
push 0
push eax
call fcn.1000b2f0
test al, al
je 0x1000c128
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x128]
push 0x78
push eax
push 0
push dword [ebp - 0x48]
call fcn.1000b2f0
test al, al
je 0x1000c128
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x48]
je 0x1000c678
movzx eax, word [ebp - 0x104]
lea ecx, [ebp - 0x214]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
inc eax
movq qword [ebp - 0x30], xmm0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.1000fd30
mov ecx, dword [ebp - 0x20c]
mov byte [ebp - 4], 1
movzx eax, word [ebp - 0x104]
push eax
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x100]
call fcn.1000b2f0
test al, al
jne 0x1000bcf4
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000c052
mov eax, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
push eax
push ecx
call fcn.100068a0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jmp 0x1000c052
movzx eax, word [ebp - 0xfc]
lea ecx, [ebp - 0x214]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
inc eax
movq qword [ebp - 0x3c], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.1000fd30
mov ecx, dword [ebp - 0x20c]
mov byte [ebp - 4], 2
movzx eax, word [ebp - 0xfc]
push eax
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0xf8]
call fcn.1000b2f0
test al, al
je 0x1000c03e
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x248]
call fcn.10005ec0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
push dword [ebp - 0x3c]
call fcn.10005ec0
xor eax, eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], eax
mov word [ebp - 0x84], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x9c]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x108]
push 0xffffffffffffffff
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x230]
push 0
push eax
mov dword [ebp - 0xa4], 0
call fcn.100069d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x84]
call fcn.100069d0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0
lea ecx, [ebp - 0x230]
call fcn.10005e80
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 9
call fcn.10005e80
lea eax, [ebp - 0xb0]
cmp eax, edi
jae 0x1000bf3b
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
ja 0x1000bf3b
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x214], eax
cmp edi, dword [ebp - 0x1c]
jne 0x1000be80
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000fee0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*8]
mov dword [ebp - 0x18], edi
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0xa
test edi, edi
je 0x1000c009
mov eax, dword [ecx]
lea edx, [ecx + 0x14]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x10]
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000bee6
mov eax, dword [ecx]
jmp 0x1000bee8
mov eax, ecx
push 0xffffffffffffffff
xor esi, esi
push esi
push edx
mov word [eax], si
call fcn.100069d0
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x2c]
mov edx, dword [ebp - 0x214]
mov dword [ecx + 0x10], esi
add edx, 0x2c
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], esi
jb 0x1000bf20
mov eax, dword [ecx]
jmp 0x1000bf22
mov eax, ecx
xor esi, esi
push 0xffffffffffffffff
push esi
push edx
mov word [eax], si
call fcn.100069d0
mov esi, dword [ebp - 0x210]
jmp 0x1000c009
cmp edi, dword [ebp - 0x1c]
jne 0x1000bf4c
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000fee0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0xc
test edi, edi
je 0x1000c009
mov eax, dword [ebp - 0xb0]
lea ecx, [edi + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0xac]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x10], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000bfb0
mov eax, dword [ecx]
jmp 0x1000bfb2
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x9c]
push edx
push eax
call fcn.100069d0
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 0xd
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000bff3
mov eax, dword [ecx]
jmp 0x1000bff5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x84]
push edx
push eax
call fcn.100069d0
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x128]
push 0x78
push eax
mov byte [ebp - 4], 9
add edi, 0x48
push 0
push dword [ebp - 0x128]
mov dword [ebp - 0x20], edi
call fcn.1000b2f0
lea ecx, [ebp - 0xb0]
test al, al
je 0x1000c066
call fcn.10009f70
lea ecx, [ebp - 0x3c]
call fcn.1000fa20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.1000fa20
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x48]
jne 0x1000bc52
jmp 0x1000c678
call fcn.10009f70
lea ecx, [ebp - 0x3c]
call fcn.1000fa20
lea ecx, [ebp - 0x30]
call fcn.1000fa20
jmp 0x1000c678
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x30
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x98]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x20c]
add esp, 0xc
test eax, eax
jne 0x1000c0b2
mov dword [ebp - 0x40], 0xffffffff
jmp 0x1000c0b7
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x40]
call esi
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x44], 0
jne 0x1000c141
cmp dword [ebp - 0x18], 1
jne 0x1000c141
push str.NtWow64QueryInformationProcess64
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20c]
test esi, esi
jne 0x1000c10c
or ecx, 0xffffffff
jmp 0x1000c10e
mov ecx, dword [esi]
push 0
push 0x30
lea edx, [ebp - 0x98]
push edx
push 0
push ecx
call eax
test eax, eax
jns 0x1000c161
mov esi, dword [ebp - 0x210]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x1000c683
push str.NtQueryInformationProcess
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x20c]
test esi, esi
jne 0x1000c10c
or ecx, 0xffffffff
jmp 0x1000c10e
push 0xe0
xorps xmm0, xmm0
lea eax, [ebp - 0x208]
push 0
push eax
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x58], xmm0
movq qword [ebp - 0x50], xmm0
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x68]
add esp, 0xc
add ecx, 0x18
push 8
push eax
mov eax, dword [ebp - 0x8c]
adc eax, 0
push eax
push ecx
mov ecx, esi
call fcn.1000b2f0
test al, al
je 0x1000c122
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x58]
push 0x10
push eax
mov eax, dword [ebp - 0x64]
add ecx, 0x10
adc eax, 0
push eax
push ecx
mov ecx, esi
call fcn.1000b2f0
test al, al
je 0x1000c122
push 0xe0
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.1000b2f0
test al, al
je 0x1000c122
mov eax, dword [ebp - 0x208]
cmp eax, dword [ebp - 0x58]
jne 0x1000c210
mov eax, dword [ebp - 0x204]
cmp eax, dword [ebp - 0x54]
je 0x1000c672
movzx eax, word [ebp - 0x1c0]
lea ecx, [ebp - 0x18]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
inc eax
movq qword [ebp - 0x30], xmm0
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.1000fd30
mov byte [ebp - 4], 0xe
mov ecx, esi
movzx eax, word [ebp - 0x1c0]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x1b4]
push dword [ebp - 0x1b8]
call fcn.1000b2f0
test al, al
jne 0x1000c2d4
push 0xe0
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
push dword [ebp - 0x204]
push dword [ebp - 0x208]
call fcn.1000b2f0
test al, al
je 0x1000c66a
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000c1f6
mov eax, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
push eax
push ecx
call fcn.100068a0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jmp 0x1000c1f6
movzx eax, word [ebp - 0x1b0]
lea ecx, [ebp - 0x18]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
inc eax
movq qword [ebp - 0x3c], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.1000fd30
mov byte [ebp - 4], 0xf
mov ecx, esi
movzx eax, word [ebp - 0x1b0]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x1a4]
push dword [ebp - 0x1a8]
call fcn.1000b2f0
test al, al
jne 0x1000c369
push 0xe0
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
push dword [ebp - 0x204]
push dword [ebp - 0x208]
call fcn.1000b2f0
lea ecx, [ebp - 0x3c]
test al, al
je 0x1000c665
jmp 0x1000c647
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x278]
call fcn.10005ec0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x260]
push dword [ebp - 0x3c]
call fcn.10005ec0
xor eax, eax
mov dword [ebp - 0xd0], 7
mov dword [ebp - 0xd4], 0
mov word [ebp - 0xe4], ax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xbc], eax
mov word [ebp - 0xcc], ax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x1c8]
push 0xffffffffffffffff
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.100069d0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0xcc]
call fcn.100069d0
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1cc]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x260]
call fcn.10005e80
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x16
call fcn.10005e80
lea eax, [ebp - 0xf8]
cmp eax, edi
jae 0x1000c53e
mov ecx, eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
ja 0x1000c53e
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
cmp edi, dword [ebp - 0x1c]
jne 0x1000c489
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000fee0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*8]
mov dword [ebp - 0x44], edi
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 0x17
test edi, edi
je 0x1000c60c
mov eax, dword [ecx]
lea edx, [ecx + 0x14]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ecx + 0x10]
lea ecx, [edi + 0x14]
mov dword [edi + 0x10], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000c4ec
mov eax, dword [ecx]
jmp 0x1000c4ee
mov eax, ecx
push 0xffffffffffffffff
xor esi, esi
push esi
push edx
mov word [eax], si
call fcn.100069d0
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x10], esi
add edx, 0x2c
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], esi
jb 0x1000c523
mov eax, dword [ecx]
jmp 0x1000c525
mov eax, ecx
xor esi, esi
push 0xffffffffffffffff
push esi
push edx
mov word [eax], si
call fcn.100069d0
mov esi, dword [ebp - 0x20c]
jmp 0x1000c60c
cmp edi, dword [ebp - 0x1c]
jne 0x1000c54f
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000fee0
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 0x19
test edi, edi
je 0x1000c60c
mov eax, dword [ebp - 0xf8]
lea ecx, [edi + 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xec]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x10], eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000c5b3
mov eax, dword [ecx]
jmp 0x1000c5b5
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xe4]
push edx
push eax
call fcn.100069d0
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 0x1a
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x1000c5f6
mov eax, dword [ecx]
jmp 0x1000c5f8
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xcc]
push edx
push eax
call fcn.100069d0
push 0xe0
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0x16
push eax
push dword [ebp - 0x204]
add edi, 0x48
mov ecx, esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20], edi
call fcn.1000b2f0
lea ecx, [ebp - 0xf8]
test al, al
je 0x1000c65d
call fcn.10009f70
lea ecx, [ebp - 0x3c]
call fcn.1000fa20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.1000fa20
jmp 0x1000c1f6
call fcn.10009f70
lea ecx, [ebp - 0x3c]
call fcn.1000fa20
lea ecx, [ebp - 0x30]
call fcn.1000fa20
mov esi, dword [ebp - 0x210]
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.1000fa70
lea ecx, [ebp - 0x24]
call fcn.1000fe80
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100127b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4