Function at 0x10020e84
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x2c
call fcn.10101428
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x88
call fcn.10101428
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x101395c5
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
push 0x28
call fcn.10101428
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 8
call fcn.10101428
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 0x9c
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 4]
push eax
push 0x9c
call fcn.10101428
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
call dword [0x102bdaf3]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10021000
push 0x1e9
push 0x42429fe
push 6
call fcn.1010142e
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10102320
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10021069
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10021067
imul eax, dword [edi]
jmp 0x1002105c
mov ecx, eax
cmp ecx, 0x80
jle 0x10021076
mov ecx, 0x80
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x80
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
call fcn.10101422
add esp, 4
pop eax
test eax, eax
je 0x10021523
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 8]
push eax
push 0x24
call fcn.10101428
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov dword [edi], ebx
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10021182
push 0x204
push 0x42429fe
push 6
call fcn.1010142e
add esp, 0xc
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
add edi, 4
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [0x102bdaf7]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10021253
push 0x21e
push 0x42429fe
push 6
call fcn.1010142e
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xffffff9c
cmp dword [ebp - 0x10], 0xa
jne 0x100212c8
cmp dword [ebp - 0x14], 0
jne 0x100212c3
cmp dword [ebp - 0x18], 1
jne 0x100212bc
mov dword [ebp - 0x1c], 7
jmp 0x100212c3
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x1002151b
cmp dword [ebp - 0x10], 6
jne 0x100213a6
cmp dword [ebp - 0x14], 0
jne 0x10021307
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
test eax, eax
je 0x100212fa
mov eax, 3
jmp 0x100212ff
mov eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
jmp 0x100213a1
cmp dword [ebp - 0x14], 1
jne 0x1002133c
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
test eax, eax
je 0x1002132f
mov eax, 4
jmp 0x10021334
mov eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
jmp 0x100213a1
cmp dword [ebp - 0x14], 2
jne 0x10021371
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
test eax, eax
je 0x10021364
mov eax, 5
jmp 0x10021369
mov eax, 0xfffffffc
mov dword [ebp - 0x1c], eax
jmp 0x100213a1
cmp dword [ebp - 0x14], 3
jne 0x100213a1
cmp dword [ebp - 0x18], 1
mov eax, 0
sete al
test eax, eax
je 0x10021399
mov eax, 6
jmp 0x1002139e
mov eax, 0xfffffffb
mov dword [ebp - 0x1c], eax
jmp 0x1002151b
cmp dword [ebp - 0x10], 5
jne 0x10021500
cmp dword [ebp - 0x14], 1
jne 0x100213c6
mov dword [ebp - 0x1c], 2
jmp 0x100214fb
cmp dword [ebp - 0x14], 2
jne 0x100214fb
mov dword [ebp - 0x20], esp
push 0x59
call dword [0x102bdafb]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100213fe
push 0x7d5
push 0x42429fe
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x10021417
mov dword [ebp - 0x1c], 0xfffffff8
jmp 0x100214fb
cmp dword [ebp - 0x18], 1
jne 0x1002143d
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
cmp word [ebx], 9
jne 0x1002143d
mov eax, 1
jmp 0x10021442
mov eax, 0
test eax, eax
je 0x10021456
mov dword [ebp - 0x1c], 2
jmp 0x100214fb
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x2000
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.10102750
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100214a5
mov dword [ebp - 0x1c], 0xfffffffa
jmp 0x100214fb
mov ebx, dword [ebp - 4]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
push 0x80000301
push 0
push 0x8000
mov ebx, dword [ebp - 0x20]
mov ax, word [ebx]
cwde
push 0x80000301
push 0
push eax
push 2
mov ebx, 0xc4
call fcn.10102750
add esp, 0x1c
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x100214f4
mov dword [ebp - 0x1c], 0xfffffff9
jmp 0x100214fb
mov dword [ebp - 0x1c], 0xfffffff7
jmp 0x1002151b
cmp dword [ebp - 0x10], 4
jne 0x1002151b
cmp dword [ebp - 0x14], 0xa
jne 0x1002151b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
jmp 0x1002152d
mov eax, 0xffffff9c
jmp 0x1002152d
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10101422
add esp, 4
pop ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10101422
add esp, 4
pop ebx
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret