Function at 0x4fe540
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61c31b
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], eax
call fcn.004bf0b0
mov edi, eax
test esi, esi
jne 0x4fe58e
mov al, 1
jmp 0x4fe89b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], 0x492b64
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x492b64
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [edi + 0x24]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
je 0x4fe857
push 1
push dword [ebp + 0x1c]
push esi
push dword [ebp - 0x64]
call fcn.004fde60
xor cl, cl
mov dword [ebp - 0x90], eax
add esp, 0x10
mov byte [ebp - 0x5d], cl
xorps xmm0, xmm0
mov esi, dword [eax]
movlpd qword [ebp - 0x84], xmm0
cmp esi, dword [eax + 4]
je 0x4fe857
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
movzx edx, word [esi]
mov edi, dword [esi]
mov ax, dx
mov ecx, dword [esi + 4]
and edx, 0xfff
shr ax, 0xc
movzx eax, ax
mov dword [ebp - 0x8c], eax
mov eax, edx
shrd edi, ecx, 4
cdq
mov ecx, 0
and edi, 0xfffff000
add eax, edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x68]
adc edx, ecx
mov dword [ebp - 0x88], edx
cmp edi, eax
jne 0x4fe6a2
cmp ecx, dword [ebp - 0x6c]
je 0x4fe737
lea ecx, [ebp - 0x24]
call fcn.004cf330
mov dword [ebp - 0x68], edi
mov edi, dword [0x659c40]
mov dword [ebp - 0x6c], 0
test edi, edi
jne 0x4fe722
push 0xc8
call fcn.006024b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x4fe71a
push 0xc8
push 0
push edi
call fcn.006046d0
mov dword [edi], 0x49277c
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x492708
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x4fe71c
xor edi, edi
mov dword [0x659c40], edi
mov eax, dword [edi + 0x24]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x70]
add eax, dword [ebp - 0x64]
push eax
call fcn.004cf2d0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
add ecx, eax
mov edi, dword [ebp - 0x88]
mov eax, 0
adc eax, dword [ebp - 0x6c]
add edx, 4
adc edi, 0
cmp edi, eax
jb 0x4fe7ec
ja 0x4fe765
cmp edx, ecx
jbe 0x4fe7ec
mov edi, dword [0x659c40]
test edi, edi
jne 0x4fe7d3
push 0xc8
call fcn.006024b7
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x4fe7cb
push 0xc8
push 0
push edi
call fcn.006046d0
mov dword [edi], 0x49277c
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
mov dword [edi + 8], 0x492708
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 4], 0
jmp 0x4fe7cd
xor edi, edi
mov dword [0x659c40], edi
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x70]
add eax, dword [ebp - 0x64]
push ecx
add eax, ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.004cf2d0
mov byte [ebp - 0x5d], 1
mov eax, dword [ebp - 0x8c]
movzx eax, ax
cmp eax, 0xa
ja case.0x4fe805.5
movzx eax, byte [eax + 0x4fe9c0]
jmp dword [eax*4 + 0x4fe9b0]
call fcn.004bf0b0
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x74]
add dword [eax], ecx
jmp case.0x4fe805.0
call fcn.004bf0b0
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0x74]
add dword [eax], ecx
adc dword [eax + 4], 0
cmp byte [ebp - 0x5d], 0
je 0x4fe845
lea ecx, [ebp - 0x38]
call fcn.004cf330
xor cl, cl
mov byte [ebp - 0x5d], cl
mov eax, dword [ebp - 0x90]
add esi, 8
cmp esi, dword [eax + 4]
jne 0x4fe652
lea ecx, [ebp - 0x24]
call fcn.004cf330
mov byte [ebp - 0x5d], 1
cmp byte [ebp - 0x28], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], 0x492b64
je 0x4fe87c
lea ecx, [ebp - 0x38]
call fcn.004cf330
cmp byte [ebp - 0x14], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x24], 0x492b64
je 0x4fe898
lea ecx, [ebp - 0x24]
call fcn.004cf330
mov al, byte [ebp - 0x5d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00602a00
mov esp, ebp
pop ebp
ret 0x18
movzx eax, word [0x659a77]
mov ecx, dword [ebp - 0x7c]
push eax
call fcn.0051de50
mov esi, 0x4925d8
mov dword [ebp - 0xb4], 0
test eax, eax
mov dword [ebp - 0xb0], 0xf
mov edi, esi
mov byte [ebp - 0xc4], 0
cmovne edi, eax
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4fe8f4
sub edx, ecx
lea ecx, [ebp - 0xc4]
push edx
push edi
call fcn.004c22a0
mov dword [ebp - 0xc8], 0x492708
movzx eax, word [0x659a8b]
mov ecx, dword [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.0051de50
test eax, eax
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
cmovne esi, eax
mov byte [ebp - 0xa8], 0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fe950
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.004c22a0
mov dword [ebp - 0xac], 0x492708
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004cb0c0
add esp, 0xc
lea ecx, [ebp - 0xac]
call fcn.004ba6a0
lea ecx, [ebp - 0xc8]
call fcn.004ba6a0
mov byte [ebp - 0x5d], 0
jmp 0x4fe863