Function at 0x42c6df
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0x10
call fcn.0047911e
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.0047911e
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 [0x4926df], 0
jne 0x42cc00
mov ebx, dword [0x4926e3]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 8
mov dword [0x4926e7], 0xffffffff
mov dword [0x4926df], 1
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 2
mov ebx, 0xc4
call fcn.0047f320
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jne 0x42c7ed
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 0x4926eb
xor eax, eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c7ed
push 0x171
push 0x407ea28
push 6
call fcn.0047912a
add esp, 0xc
mov ebx, dword [0x4926bf]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebx], 0x11c
mov dword [ebp - 0x14], esp
mov eax, dword [0x4926bf]
push eax
push 0x11c
call fcn.0047911e
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 [0x49283b]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c8be
push 0x1e6
push 0x407ea28
push 6
call fcn.0047912a
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.0047aa10
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 0x42c927
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x42c925
imul eax, dword [edi]
jmp 0x42c91a
mov ecx, eax
cmp ecx, 0x100
jle 0x42c934
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.00479124
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 0x42c9ab
push 0x22c
push 0x407ea28
push 6
call fcn.0047912a
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 [0x49283f]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42c9df
push 0x26b
push 0x407ea28
push 6
call fcn.0047912a
add esp, 0xc
mov dword [0x4926ef], 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 0x42ca12
push 0x2e6
push 0x407ea28
push 6
call fcn.0047912a
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 [0x49283f]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x42ca46
push 0x346
push 0x407ea28
push 6
call fcn.0047912a
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.004019ad
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.0047d260
add esp, 0x10
mov dword [0x4926f3], eax
mov dword [ebp - 0x14], esp
mov eax, dword [ebp - 0x10]
push eax
push 0x24
call fcn.0047911e
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 0x42cb38
push 0x399
push 0x407ea28
push 6
call fcn.0047912a
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.00479124
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
cmp word [ebx], 9
je 0x42cbe3
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
cmp word [ebx], 6
je 0x42cbe3
xor eax, eax
jmp 0x42cbe8
mov eax, 1
mov dword [0x4926f7], 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 [0x4926fb], eax
mov eax, dword [0x4926df]
jmp 0x42cc0a
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00479124
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00479124
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8