Function at 0x42c3aa
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x10
call fcn.004790b3
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x2c
call fcn.004790b3
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
cmp dword [0x4926c6], 0
jne 0x42c8cb
mov ebx, dword [0x4926ca]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 8
mov dword [0x4926ce], 0xffffffff
mov dword [0x4926c6], 1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0xc4
call fcn.0047f2c0
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x42c4b8
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 1
mov dword [ebp - 0x14], esp
push 0
push dword [ebp - 4]
push 0x4926d2
xor eax, eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c4b8
push 0x171
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov ebx, dword [0x4926a2]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x11c
mov dword [ebp - 0x14], esp
mov eax, dword [0x4926a2]
push eax
push 0x11c
call fcn.004790b3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 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, 0x100
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
xor eax, eax
call dword [0x492836]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c589
push 0x1e6
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
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.0047a9b0
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 0x42c5f2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x42c5f0
imul eax, dword [edi]
jmp 0x42c5e5
mov ecx, eax
cmp ecx, 0x100
jle 0x42c5ff
mov ecx, 0x100
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x100
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.004790b9
add esp, 4
pop eax
mov dword [ebp - 0x14], esp
push str.kernel32.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c676
push 0x22c
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esp
push str.SwitchToThread
push dword [ebp - 8]
xor eax, eax
call dword [0x49283a]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c6aa
push 0x26b
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov dword [0x4926d6], eax
mov dword [ebp - 0x14], esp
push str.ntdll.dll
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c6dd
push 0x2e6
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], esp
push str.NtQueryVirtualMemory
push dword [ebp - 0xc]
xor eax, eax
call dword [0x49283a]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c711
push 0x346
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov dword [ebp - 0x20], eax
fild dword [ebp - 0x20]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fadd qword [0x48e965]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
call fcn.004016fe
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.0047d200
add esp, 0x10
mov dword [0x4926da], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x10]
push eax
push 0x24
call fcn.004790b3
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
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 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
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
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c803
push 0x399
push 0x407bd1f
push 6
call fcn.004790bf
add esp, 0xc
mov ebx, dword [ebp - 0x18]
push ebx
mov edi, dword [ebp - 0x1c]
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 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
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.004790b9
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 9
je 0x42c8ae
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp word [ebx], 6
je 0x42c8ae
xor eax, eax
jmp 0x42c8b3
mov eax, 1
mov dword [0x4926de], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
mov dword [0x4926e2], eax
mov eax, dword [0x4926c6]
jmp 0x42c8d5
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004790b9
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004790b9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8