Function at 0x42fb01
Capabilities:
Get system information on windows

Disassembly:
push 0x31c
mov eax, 0x55e62d
call fcn.00539a44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x10]
push 8
mov esi, ecx
mov dword [ebp - 0x228], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x284], ebx
lea edi, [ebp - 0x280]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x26c], 6
je 0x42fb77
xor eax, eax
cmp dword [ebp - 0x26c], 9
sete al
dec eax
and eax, 0xffff7ae8
add eax, 0x8664
mov dword [ebp - 0x240], eax
jmp 0x42fb81
mov dword [ebp - 0x240], 0x200
push 0xa0
lea eax, [ebp - 0x324]
push ebx
push eax
call fcn.00537010
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0xb4]
add esp, 0xc
mov dword [ebp - 0x328], eax
push 3
pop eax
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x310], ecx
mov dword [ebp - 0x308], eax
mov eax, dword [0x5beb28]
mov edi, 0x5beb28
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov dword [ebp - 4], ebx
mov eax, dword [0x5beb28]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
mov byte [ebp - 0x21d], 1
mov dword [ebp - 0x234], ebx
push ebx
push dword [0x5d2988]
lea eax, [ebp - 0x328]
push dword [0x5d2978]
push ebx
push esi
push eax
push dword [ebp - 0x244]
push dword [ebp - 0x230]
push dword [ebp - 0x240]
call dword [0x5d2974]
test eax, eax
je 0x42fd9d
cmp dword [ebp - 0x328], ebx
je 0x42fd26
push 6
pop ecx
xor eax, eax
mov dword [ebp - 0x260], ebx
lea edi, [ebp - 0x25c]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x328]
push dword [ebp - 0x230]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.00537010
add esp, 0xc
cmp dword [ebp - 0x25c], ebx
je 0x42fcfe
mov eax, dword [0x5d298c]
cmp eax, ebx
je 0x42fcfe
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push dword [ebp - 0x25c]
push dword [ebp - 0x230]
call eax
test eax, eax
je 0x42fcfe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x328]
sub eax, dword [ebp - 0x25c]
push eax
push edi
push str._s0x_08x
lea eax, [ebp - 0x224]
call fcn.004167f4
add esp, 0xc
mov byte [ebp - 0x21d], bl
jmp 0x42fd37
push dword [ebp - 0x328]
lea eax, [ebp - 0x224]
push str.0x_08x
cmp byte [ebp - 0x21d], bl
je 0x42fd1d
lea eax, [ebp - 0x23c]
call fcn.004167f4
pop ecx
pop ecx
jmp 0x42fd37
push 0x5802d8
lea eax, [ebp - 0x224]
push eax
call fcn.004082ed
push dword [ebp - 0x224]
lea edi, [ebp - 0x238]
call fcn.00432596
mov ebx, dword [ebp - 0x228]
mov eax, edi
push eax
mov byte [ebp - 4], 2
call fcn.0043270c
mov byte [ebp - 4], 1
call fcn.004326cc
push 0x5802dc
lea edi, [ebp - 0x22c]
call fcn.00432596
mov eax, edi
push eax
mov byte [ebp - 4], 3
call fcn.0043270c
mov byte [ebp - 4], 1
call fcn.004326cc
inc dword [ebp - 0x234]
xor ebx, ebx
cmp dword [ebp - 0x234], 0xf
jbe 0x42fbfc
mov eax, dword [ebp - 0x228]
mov eax, dword [eax]
cmp eax, ebx
je 0x42fdad
mov ecx, dword [eax]
jmp 0x42fdaf
xor ecx, ecx
mov esi, dword [ebp - 0x23c]
cmp ecx, ebx
je 0x42fdc6
cmp eax, ebx
je 0x42fdbf
mov ebx, dword [eax]
xor eax, eax
cmp ax, word [ebx]
jne 0x42fde9
push esi
lea edi, [ebp - 0x22c]
call fcn.00432596
mov ebx, dword [ebp - 0x228]
mov eax, edi
push eax
mov byte [ebp - 4], 4
call fcn.0043270c
call fcn.004326cc
mov eax, dword [ebp - 0x228]
call fcn.004325f6
xor ecx, ecx
cmp ecx, eax
sbb edi, edi
lea eax, [esi - 0x10]
neg edi
call fcn.00407d09
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
call fcn.00407d09
mov eax, edi
call fcn.00539ac7
ret