Function at 0x3000c8c4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov word [eax], si
call fcn.3000c358
cmp dword [0x300285dc], esi
jne 0x3000cfec
push 0x106
push 0x10
call fcn.3001e0d5
cmp eax, esi
je 0x3000c91d
mov ecx, eax
call fcn.3000f8b2
mov dword [ebp - 4], eax
jmp 0x3000c920
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
je 0x3000cfec
push 2
push 0x14
push 0x14
push dword [ebp - 4]
call fcn.3002101d
test eax, eax
je 0x3000cfec
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [0x30024c08]
cmp dword [ebp + 0x10], esi
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x30], eax
je 0x3000c982
cmp dword [0x300283c0], esi
jne 0x3000cfec
mov ebx, SysReAllocString
mov dword [ebp - 0x88], 0xbfffffff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov dword [ebp - 0x30], eax
jmp 0x3000c988
mov ebx, dword [ebp - 0x8c]
cmp ebx, dword [ebp - 0x88]
jae 0x3000ca22
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x70]
push 0x1c
push eax
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_VirtualQueryEx]
cmp eax, 0x1c
mov dword [ebp - 0xc], eax
je 0x3000c9c8
mov ebx, dword [ebp - 0x88]
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
jmp 0x3000ca0d
cmp dword [ebp - 0x60], 0x1000
jne 0x3000ca0d
cmp dword [ebp - 0x5c], 4
jne 0x3000ca0d
cmp dword [ebp - 0x58], 0x20000
jne 0x3000ca0d
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xffffffff
jae 0x3000ca0d
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x40], ecx
cdq
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x28], edx
push dword [ebp - 4]
mov dword [ebp - 0x24], ecx
call fcn.30021153
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebp - 0x64]
ja 0x3000ca1b
mov eax, dword [ebp - 0x64]
add ebx, eax
jmp 0x3000c988
lea eax, [ebp - 0x34]
push esi
push eax
push esi
push 4
push dword [0x300252c0]
call fcn.3001c868
mov edx, dword [ebp - 0x34]
cmp edx, esi
je 0x3000cfec
cmp dword [edx], esi
mov dword [ebp - 8], esi
jbe 0x3000cb83
mov dword [ebp - 0x1c], esi
jmp 0x3000ca52
xor esi, esi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
lea ebx, [eax + edx + 4]
mov eax, dword [ebp - 4]
cmp word [eax], si
jbe 0x3000cb6f
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x38]
mov edi, dword [ebx + 4]
mov eax, dword [eax + 0xc]
lea esi, [ecx + eax]
mov eax, dword [ecx + eax + 4]
mov ecx, dword [esi]
cmp eax, edi
ja 0x3000caa2
jb 0x3000ca8b
cmp ecx, dword [ebx]
ja 0x3000caa2
mov eax, dword [esi + 8]
mov edi, dword [ebx + 4]
xor ecx, ecx
add eax, dword [esi]
adc ecx, dword [esi + 4]
cmp edi, ecx
jb 0x3000cad4
ja 0x3000caa2
cmp dword [ebx], eax
jb 0x3000cad4
cmp edi, dword [esi + 4]
ja 0x3000cb9c
jb 0x3000cab7
mov eax, dword [ebx]
cmp eax, dword [esi]
ja 0x3000cb9c
mov eax, dword [ebx + 8]
xor ecx, ecx
add eax, dword [ebx]
adc ecx, dword [ebx + 4]
cmp dword [esi + 4], ecx
ja 0x3000cb9c
jb 0x3000cad4
cmp dword [esi], eax
jae 0x3000cb9c
lea edi, [ebp - 0x50]
push 1
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.300212c3
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
cmp ecx, dword [ebx + 4]
ja 0x3000cb24
jb 0x3000caf9
cmp esi, dword [ebx]
jae 0x3000cb24
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx]
sub eax, esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call fcn.30021153
cmp eax, 0xffffffff
je 0x3000cfec
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx + 8]
add ecx, dword [ebx]
lea edx, [esi + eax]
cmp edx, ecx
jbe 0x3000cb5d
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
push eax
sub edx, ecx
push dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edx
call fcn.30021153
cmp eax, 0xffffffff
je 0x3000cfec
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp dword [ebp - 0x14], eax
jl 0x3000ca6c
inc dword [ebp - 8]
add dword [ebp - 0x1c], 0x6c
mov eax, dword [ebp - 8]
cmp eax, dword [edx]
jb 0x3000ca50
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x3000cd38
cmp dword [edx], esi
mov dword [ebp - 8], esi
jbe 0x3000cd38
mov dword [ebp + 0x10], esi
jmp 0x3000cba7
inc dword [ebp - 0x14]
add dword [ebp - 0x38], 0x10
jmp 0x3000cb60
xor esi, esi
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push ecx
lea edi, [eax + edx + 4]
lea ecx, [ebp - 0x54]
push 4
push ecx
mov eax, dword [edi]
mov dword [ebp - 0x1c], edi
add eax, 0x3c
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x3000cd10
cmp dword [ebp - 0xc], 4
jne 0x3000cd10
mov ebx, dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
add ebx, dword [edi]
push eax
lea eax, [ebp - 0x18c]
push 0xf8
push eax
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x3000cd10
cmp dword [ebp - 0xc], 0xf8
jne 0x3000cd10
cmp dword [ebp - 0x18c], 0x4550
jne 0x3000cd10
cmp word [ebp - 0x186], si
jbe 0x3000cd10
movzx eax, word [ebp - 0x186]
lea esi, [eax + eax*4]
shl esi, 3
cmp dword [ebp - 0x10], esi
jae 0x3000cc6c
cmp dword [ebp - 0x18], 0
je 0x3000cc53
push dword [ebp - 0x18]
call fcn.3001e106
push 0x106
push esi
mov dword [ebp - 0x10], esi
call fcn.3001e0d5
test eax, eax
mov dword [ebp - 0x18], eax
je 0x3000cd36
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
and dword [ebp - 0xc], 0
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
movzx eax, word [ebp - 0x178]
lea ecx, [ebp - 0xc]
push ecx
push esi
push dword [ebp - 0x18]
lea eax, [ebx + eax + 0x18]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x3000cd10
cmp dword [ebp - 0xc], esi
jne 0x3000cd10
xor esi, esi
cmp word [ebp - 0x186], si
jbe 0x3000cd10
mov eax, dword [ebp - 0x18]
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
test eax, 0x80000000
je 0x3000cd01
test eax, 0x40000000
je 0x3000cd01
test al, 0xc0
je 0x3000cd01
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx - 0x18]
add eax, dword [ecx]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx - 0x1c]
add dword [ebp - 0x40], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call fcn.30021153
movzx eax, word [ebp - 0x186]
add ebx, 0x28
inc esi
cmp esi, eax
jl 0x3000ccbd
inc dword [ebp - 8]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
add dword [ebp + 0x10], 0x6c
cmp eax, dword [edx]
jb 0x3000cba5
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x3000cd38
push dword [ebp - 0x18]
call fcn.3001e106
jmp 0x3000cd38
xor esi, esi
lea eax, [ebp - 0x3c]
push esi
push eax
push esi
push 5
push dword [0x300252c0]
call fcn.3001c868
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x3000cfec
cmp dword [eax], esi
mov dword [ebp - 8], esi
jbe 0x3000cea1
mov dword [ebp - 0x10], esi
jmp 0x3000cd69
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
lea ebx, [ecx + eax + 4]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp word [ecx], ax
mov dword [ebp - 0x14], eax
jbe 0x3000ce8c
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx + 4]
lea esi, [ecx + eax]
mov eax, dword [ebx]
cmp edx, edi
mov ecx, dword [esi]
ja 0x3000cdbb
jb 0x3000cda5
cmp eax, ecx
ja 0x3000cdbb
mov eax, dword [ebx + 8]
mov edi, dword [esi + 4]
xor ecx, ecx
add eax, dword [ebx]
adc ecx, edx
cmp edi, ecx
jb 0x3000cdeb
ja 0x3000cdbb
cmp dword [esi], eax
jb 0x3000cdeb
cmp edi, edx
ja 0x3000ce76
jb 0x3000cdcf
mov eax, dword [esi]
cmp eax, dword [ebx]
ja 0x3000ce76
mov eax, dword [esi + 8]
xor ecx, ecx
add eax, dword [esi]
adc ecx, dword [esi + 4]
cmp edx, ecx
ja 0x3000ce76
jb 0x3000cdeb
cmp dword [ebx], eax
jae 0x3000ce76
lea edi, [ebp - 0x50]
push 1
movsd dword es:[edi], dword [esi]
push dword [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push dword [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.300212c3
mov ecx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
cmp ecx, dword [ebx + 4]
ja 0x3000ce3b
jb 0x3000ce10
cmp esi, dword [ebx]
jae 0x3000ce3b
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx]
sub eax, esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 4]
call fcn.30021153
cmp eax, 0xffffffff
je 0x3000cfec
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx + 8]
add ecx, dword [ebx]
lea edx, [esi + eax]
cmp edx, ecx
jbe 0x3000ce7d
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
push eax
sub edx, ecx
push dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], edx
call fcn.30021153
cmp eax, 0xffffffff
je 0x3000cfec
jmp 0x3000ce7d
inc dword [ebp - 0x14]
add dword [ebp + 0x10], 0x10
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp dword [ebp - 0x14], eax
jl 0x3000cd84
inc dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
add dword [ebp - 0x10], 0x10
cmp ecx, dword [eax]
jb 0x3000cd66
mov ebx, dword [ebp - 4]
mov ax, word [ebx]
test ax, ax
jbe 0x3000cfec
movzx ecx, ax
mov esi, ecx
shl esi, 4
add esi, 4
test ecx, ecx
jle 0x3000ced0
mov eax, dword [ebx + 0xc]
add eax, 8
mov dword [eax + 4], esi
add esi, dword [eax]
add eax, 0x10
dec ecx
jne 0x3000cec5
call fcn.3000bb7a
test eax, eax
je 0x3000cfec
push dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x3000c8ba
push 0x30027100
push edi
call fcn.3000c77c
test eax, eax
je 0x3000cfec
xor eax, eax
push eax
push esi
push eax
push 4
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
xor ecx, ecx
mov dword [edi + 4], eax
cmp eax, ecx
je 0x3000cfec
push ecx
push ecx
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
mov dword [edi + 8], eax
je 0x3000cfec
mov ecx, eax
mov dword [edi + 0xc], esi
movzx eax, word [ebx]
mov dword [ecx], eax
add ecx, 4
test eax, eax
mov dword [ebp + 0x10], ecx
jle 0x3000cf7b
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0xc]
and ecx, 0xffff
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
mov edx, ecx
add dword [ebp - 0x10], 0x10
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x38]
add dword [ebp + 0x10], ecx
dec dword [ebp - 0x1c]
jne 0x3000cf58
xor esi, esi
cmp eax, esi
mov dword [ebp - 8], esi
jle 0x3000cfd5
mov edi, dword [ebp + 0x10]
and dword [ebp - 0xc], 0
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0xc]
add eax, esi
push ecx
push dword [eax + 8]
push edi
push dword [eax]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
test eax, eax
je 0x3000cfb5
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + esi + 8]
jne 0x3000cfec
jmp 0x3000cfc0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
and dword [eax + esi + 0xc], 0
mov eax, dword [ebx + 0xc]
add esi, 0x10
add edi, dword [eax + esi - 8]
inc dword [ebp - 8]
movzx eax, word [ebx]
cmp dword [ebp - 8], eax
jl 0x3000cf87
mov ecx, ebx
call fcn.3000f8ce
push ebx
call fcn.3001e106
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp + 0xc]
call fcn.3000c4a8
mov esi, dword [ebp + 8]
xor edi, edi
cmp word [esi], di
je 0x3000d004
push esi
call fcn.3000c4e6
push dword [ebp + 0xc]
call fcn.3000c358
cmp dword [ebp - 4], edi
mov word [esi], di
je 0x3000d024
mov ecx, dword [ebp - 4]
call fcn.3000f8ce
push dword [ebp - 4]
call fcn.3001e106
xor eax, eax
jmp 0x3000cfe5