Function at 0x10067dc
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x97c
push esi
xor esi, esi
push esi
push 0x600
lea eax, [ebp - 0x97c]
push eax
push 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
call dword [0x1001448]
test eax, eax
jl 0x1006acd
cmp byte [0x1015e30], 0
push ebx
push edi
mov dword [ebp - 8], esi
jbe 0x10069e9
lea edi, [ebp - 0x97c]
mov esi, dword [ebp - 8]
mov ecx, dword [edi]
mov ebx, dword [edi + 8]
mov edx, dword [edi + 4]
shl esi, 3
sub ebx, ecx
lea eax, [ebp + esi - 0x344]
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
sbb ecx, edx
mov dword [ebp + esi - 0x240], ecx
mov ecx, dword [edi + 0x10]
add ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x14]
adc edx, dword [edi + 0xc]
mov dword [ebp + esi - 0x144], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], ecx
sub ecx, dword [esi + 0x1016150]
mov dword [ebp - 0x34], eax
sbb eax, dword [esi + 0x1016154]
mov dword [ebp + esi - 0x140], edx
mov edx, dword [ebp + esi - 0x240]
mov dword [ebp - 0x2c], eax
mov eax, ebx
sub eax, dword [esi + 0x1016350]
mov dword [ebp + esi - 0x244], ebx
mov ebx, dword [ebp + esi - 0x144]
mov dword [ebp - 0x28], eax
mov eax, edx
sbb eax, dword [esi + 0x1016354]
sub ebx, dword [esi + 0x1016250]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + esi - 0x140]
sbb eax, dword [esi + 0x1016254]
add dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
adc dword [ebp - 0x14], ecx
add dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
adc dword [ebp - 0xc], eax
add dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
adc dword [ebp - 0x1c], ecx
mov ecx, ebx
or ecx, eax
je 0x1006915
push 0
push 0x64
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.010122b0
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.01012200
mov cl, 0x64
sub cl, al
mov byte [ebp - 1], cl
jmp 0x1006919
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax*4 + 0x1016450]
push 0x7cf
push eax
mov dword [ebp - 0x44], eax
inc eax
push eax
call dword [0x1001444]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x44]
mov byte [ecx], al
mov eax, ebx
add esp, 0xc
or eax, dword [ebp - 0x3c]
je 0x1006965
push 0
push 0x64
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.010122b0
push dword [ebp - 0x3c]
push ebx
push edx
push eax
call fcn.01012200
mov byte [ebp - 1], al
jmp 0x1006969
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
mov ebx, dword [eax*4 + 0x10164d0]
push 0x7cf
lea eax, [ebx + 1]
push ebx
push eax
call dword [0x1001444]
mov al, byte [ebp - 1]
mov byte [ebx], al
mov eax, dword [ebp + esi - 0x144]
mov dword [esi + 0x1016250], eax
mov eax, dword [ebp + esi - 0x140]
mov dword [esi + 0x1016254], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1016150], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x1016154], eax
mov eax, dword [ebp + esi - 0x244]
mov dword [esi + 0x1016350], eax
mov eax, dword [ebp + esi - 0x240]
mov dword [esi + 0x1016354], eax
movzx eax, byte [0x1015e30]
add esp, 0xc
inc dword [ebp - 8]
add edi, 0x30
cmp dword [ebp - 8], eax
jl 0x1006831
xor esi, esi
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov eax, edi
or eax, ebx
je 0x1006a18
push esi
push 0x64
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.010122b0
push ebx
push edi
push edx
push eax
call fcn.01012200
mov cl, 0x64
sub cl, al
mov byte [0x1016554], cl
jmp 0x1006a1f
mov byte [0x1016554], 0
cmp dword [ebp + 8], esi
je 0x1006acb
mov eax, edi
or eax, ebx
je 0x1006a4c
push esi
push 0x64
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.010122b0
push ebx
push edi
push edx
push eax
call fcn.01012200
mov byte [0x1016555], al
jmp 0x1006a53
mov byte [0x1016555], 0
push esi
push 0x138
lea eax, [ebp - 0x37c]
push eax
push 2
call dword [0x1001448]
test eax, eax
jl 0x1006acb
mov eax, dword [0x101614c]
shr eax, 0xa
imul eax, dword [ebp - 0x34c]
mov dword [0x1016558], eax
mov eax, dword [0x1016550]
push 0x7cf
push eax
inc eax
push eax
mov dword [0x101655c], esi
call dword [0x1001444]
add esp, 0xc
push esi
push 0x64
push dword [0x101655c]
push dword [0x1016558]
call fcn.010122b0
push dword [0x1016564]
push dword [0x1016560]
push edx
push eax
call fcn.01012200
mov ecx, dword [0x1016550]
mov byte [ecx], al
pop edi
pop ebx
pop esi
leave
ret 4