Function at 0x10003020
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b95a
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10027014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x80], edi
mov ebx, ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x88], ebx
xor esi, esi
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebp - 0x78], esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
lea eax, [ebp - 0x44]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x64], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x1c
lea eax, [ebp - 0x60]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10003256
nop word [eax + eax]
cmp dword [ebp - 0x50], 0x1000
jne 0x10003235
cmp dword [ebp - 0x58], 4
jne 0x10003235
cmp dword [ebp - 0x48], 0x20000
jne 0x10003235
cmp dword [ebp - 0x4c], 0x10
je 0x10003235
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
cmp ecx, dword [ebp + 8]
jne 0x10003238
mov eax, dword [edi]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x60]
xor edi, edi
mov dword [ebp - 0x7c], eax
xor eax, eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64]
or eax, 2
push ecx
mov dword [ebp - 0x6c], eax
call fcn.1000c453
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.10002f90
test al, al
je 0x100031a1
mov eax, dword [ebp - 0x68]
add eax, 0xfffffffc
mov dword [ebp - 0x64], eax
je 0x100031a1
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x7c]
cmp dword [esi], ecx
jne 0x10003189
cmp esi, dword [ebp - 0x80]
je 0x10003189
mov dword [ebp - 0x68], esi
cmp edi, ebx
je 0x10003170
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x18], edi
jmp 0x10003189
lea eax, [ebp - 0x68]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.10008230
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
inc esi
sub eax, 1
mov dword [ebp - 0x64], eax
jne 0x10003156
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
push dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], eax
call fcn.1000c410
add esp, 4
mov edx, dword [ebp - 0x70]
mov esi, edx
mov dword [ebp - 4], 3
cmp esi, edi
je 0x100031e9
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebx + 8]
je 0x100031d6
mov eax, dword [esi]
mov dword [ecx], eax
add dword [ebx + 4], 4
jmp 0x100031df
push esi
push ecx
mov ecx, ebx
call fcn.10008230
add esi, 4
cmp esi, edi
jne 0x100031c4
mov edx, dword [ebp - 0x70]
mov byte [ebp - 4], 0
test edx, edx
je 0x10003232
mov ecx, dword [ebp - 0x74]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10003213
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003274
push ecx
push edx
call fcn.1000c445
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x54]
push 0x1c
lea eax, [ebp - 0x60]
add esi, ecx
push eax
push esi
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10003256
mov edi, dword [ebp - 0x80]
jmp 0x100030b0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000c402
mov esp, ebp
pop ebp
ret
call fcn.10012758
int3