Function at 0x5f3ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x5f7310
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
cmp dword [0xb53288], 0
je 0x5f3fb1
cmp dword [ebp + 0x14], 0
je 0x5f3fed
mov eax, dword [0xb53288]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x50], 0xaa9f10
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x43], 0
mov dword [ebp - 0x47], 0
mov dword [ebp - 0x64], 0xaa9f10
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x57], 0
mov dword [ebp - 0x5b], 0
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0xc8]
push eax
call sub.KERNEL32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 0x14]
jne 0x5f4006
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x50]
call fcn.0057c3c0
mov al, 1
mov dword [ebp - 0x64], 0xaa9f10
cmp byte [ebp - 0x54], 0
mov dword [ebp - 0x20], eax
je 0x5f3f90
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x64]
call fcn.0057c3c0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], 0xaa9f10
cmp byte [ebp - 0x40], 0
je 0x5f3fef
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x50]
call fcn.0057c3c0
mov eax, dword [ebp - 0x20]
jmp 0x5f3fef
mov ecx, 0xc8
call fcn.0053d610
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
cmp dword [ebp + 0x14], 0
jne 0x5f3ee7
mov al, 1
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp + 0x1c]
push 1
push eax
push ecx
push dword [ebp + 0x10]
call fcn.005f44d0
add esp, 0x10
mov dword [ebp - 0x30], 0
mov eax, dword [0xb5336c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
jmp 0x5f4046
mov eax, dword [ebp - 0x68]
add eax, 8
cmp eax, dword [0xb53370]
je 0x5f3f5d
mov ecx, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
shld eax, ecx, 0x1c
and eax, 0xfffff000
mov dword [ebp - 0x20], eax
xor eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x2c]
je 0x5f40e1
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x50]
call fcn.0057c3c0
cmp dword [0xb53288], 0
jne 0x5f40bb
mov ecx, 0xc8
call fcn.0053d610
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [0xb53288]
mov edx, dword [eax + 0x24]
add edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x28]
call fcn.0057c4c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x3c]
and ecx, 0xfff
add ecx, dword [ebp - 0x20]
xor eax, eax
mov edx, ecx
mov dword [ebp - 0x38], ecx
add ecx, 4
setb al
mov edx, dword [ebp - 0x30]
add edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
adc esi, 0
cmp edx, ecx
sbb esi, eax
jae 0x5f416f
cmp dword [0xb53288], 0
mov dword [ebp - 0x10], 4
jne 0x5f414e
mov ecx, 0xc8
call fcn.0053d610
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
mov eax, dword [0xb53288]
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
add edx, esi
add edx, dword [eax + 0x24]
mov al, 1
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x64]
push esi
call fcn.0057c4c0
add esp, 4
mov ecx, dword [ebp - 0x3c]
shr ecx, 0xc
and ecx, 0xf
cmp ecx, 0xa
ja 0x5f4273
mov eax, 0x217
bt eax, ecx
jae 0x5f41b0
test byte [ebp - 0x24], 1
je 0x5f4040
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x64]
call fcn.0057c3c0
mov dword [ebp - 0x24], 0
jmp 0x5f4040
cmp ecx, 3
je 0x5f421b
cmp ecx, 0xa
jne 0x5f4273
cmp dword [0xb53288], 0
jne 0x5f4200
mov dword [ebp - 0x10], 4
mov ecx, 0xc8
call fcn.0053d610
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
mov eax, dword [0xb53288]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
add dword [eax + edx], ecx
adc dword [eax + edx + 4], 0
jmp 0x5f418b
cmp dword [0xb53288], 0
jne 0x5f425d
mov dword [ebp - 0x10], 4
mov ecx, 0xc8
call fcn.0053d610
mov dword [eax], 0x799e1c
movaps xmm0, xmmword [0x799590]
movups xmmword [eax + 0x1c], xmm0
mov byte [eax + 0xc], 0
mov dword [eax + 8], 0x799e70
mov dword [eax + 4], 0
mov dword [0xb53288], eax
mov eax, dword [0xb53288]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
add dword [eax + edx], ecx
jmp 0x5f418b
movzx edx, word [0xb52fec]
mov dword [ebp - 0x10], 4
mov ecx, dword [ebp + 0x18]
call fcn.0053ed50
test eax, eax
mov edi, 0x79a634
cmovne edi, eax
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov ecx, edi
call fcn.0053db10
mov ebx, eax
cmp eax, 0xf
jbe 0x5f42e0
sub esp, 0xc
movzx eax, byte [ebp - 0x88]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
mov ecx, esi
call fcn.0052ce20
jmp 0x5f42f9
mov dword [ebp - 0x90], ebx
push ebx
push edi
push esi
call fcn.0077cce0
add esp, 0xc
mov byte [ebp + ebx - 0xa0], 0
mov dword [ebp - 0xa4], 0x799e70
movzx edx, word [0xb53000]
mov dword [ebp - 0x10], 5
mov ecx, dword [ebp + 0x18]
call fcn.0053ed50
test eax, eax
mov edi, 0x79a634
cmovne edi, eax
lea esi, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov ecx, edi
call fcn.0053db10
mov ebx, eax
cmp eax, 0xf
jbe 0x5f4367
sub esp, 0xc
movzx eax, byte [ebp - 0x6c]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
mov ecx, esi
call fcn.0052ce20
jmp 0x5f437d
mov dword [ebp - 0x74], ebx
push ebx
push edi
push esi
call fcn.0077cce0
add esp, 0xc
mov byte [ebp + ebx - 0x84], 0
mov dword [ebp - 0x88], 0x799e70
mov dword [ebp - 0x10], 6
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x88]
push eax
call fcn.0055d7f0
add esp, 4
mov eax, dword [ebp - 0x70]
cmp eax, 0x10
jb 0x5f43d8
mov ecx, dword [ebp - 0x84]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x5f43d3
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x5f4414
add eax, 0x24
mov edx, eax
mov ecx, esi
call fcn.0053e020
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x5f440d
mov ecx, dword [ebp - 0xa0]
lea edx, [eax + 1]
cmp edx, 0x1000
jb 0x5f4408
mov esi, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, esi
cmp ecx, 0x20
jae 0x5f4420
add eax, 0x24
mov edx, eax
mov ecx, esi
call fcn.0053e020
xor eax, eax
jmp 0x5f3f6e
mov dword [ebp - 0x10], 0
call fcn.00748ef1
mov dword [ebp - 0x10], 1
call fcn.00748ef1
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0077ccd0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
call fcn.0077ccd0
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x88]
call fcn.005193a0
add esp, 0x10
pop ebp
ret