Function at 0x10010af8
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x10058e5a
call fcn.100582b8
sub esp, 0x58
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
je 0x10010c52
mov dword [ebp - 0x14], 0x3750
xor esi, esi
cmp dword [ebp - 0x14], 0x3a8c
jle 0x10010b77
mov edi, esi
mov dword [ebp + 0x14], esi
mov ebx, edi
mov edi, 0x32ef
mov eax, ebx
lea ecx, [ebp - 0x4c]
cdq
push edx
push eax
call fcn.10001a11
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10010b52
mov eax, dword [eax]
push eax
call fcn.100400a6
pop ecx
push esi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001eb4
dec ebx
dec edi
jne 0x10010b3b
mov edi, dword [ebp + 0x14]
inc edi
mov dword [ebp + 0x14], edi
cmp edi, 0x3170
jl 0x10010b34
cmp dword [ebp - 0x14], 0x3678
jge 0x10010b8b
push str.kqgzvzdp_apu_mdq_hphrzo_ckkrhwzhf
call fcn.100400a6
pop ecx
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x20], 0
je 0x10010c25
mov ebx, dword [ebp + 0x24]
push 0x18
pop ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cdq
idiv ecx
mov dword [ebp + 0x14], eax
test eax, eax
jle 0x10010d4f
mov edi, esi
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x1c]
add edx, edi
call fcn.1000fb8b
test al, al
je 0x10010c0a
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov ecx, esp
mov eax, dword [eax]
add eax, edi
push eax
call fcn.1000c6fe
lea ecx, [ebp - 0x34]
call fcn.1000e7b5
add esp, 0x18
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 2
call fcn.10010934
test eax, eax
je 0x10010c18
cmp eax, 2
je 0x10010c18
cmp eax, 3
je 0x10010c18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10011ab0
inc esi
add edi, 0x18
cmp esi, dword [ebp + 0x14]
jl 0x10010bb4
jmp 0x10010d4f
lea ecx, [ebp - 0x34]
call fcn.10011ab0
jmp 0x10010d4f
push 0x21
pop edx
lea ecx, [ebp - 0x64]
call fcn.10035378
push ecx
push ecx
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 3
call fcn.10011c09
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.1000ca37
jmp 0x10010d4f
cmp byte [ebp + 0x18], 0
je 0x10010d02
mov dword [ebp - 0x14], 0x313c
cmp dword [ebp - 0x14], 0x346f
jle 0x10010cb5
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, esi
mov dword [ebp + 0x14], esi
mov edi, esi
mov esi, ebx
mov ebx, 0x124f
mov eax, esi
mov ecx, 0x10072ab8
cdq
push edx
push eax
call fcn.10001ac8
add esi, edi
dec ebx
jne 0x10010c83
mov ebx, dword [ebp + 0x14]
dec edi
cmp edi, 0xffffe046
jg 0x10010c7c
inc ebx
mov dword [ebp + 0x14], ebx
push 0
pop esi
cmp ebx, 0x2022
jl 0x10010c7a
mov edi, dword [ebp - 0x18]
mov dword [ebp - 4], 4
cmp dword [ebp - 0x14], 0x3021
jge 0x10010cf3
mov edx, str.amfoziiml_ekdlql_odbdksgpl_sqbt_yluup_bgtflhxyj_vjwxpuz_edyplcbjx
mov ecx, 0x10072ab8
call fcn.1000350a
jmp 0x10010cf3
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, dword [ebp + 0x1c]
sar ecx, 2
mov dword [eax], ecx
jmp 0x10010d4f
mov edi, dword [ebp + 0x10]
xor esi, esi
mov dword [edi], esi
jmp 0x10010d43
push 4
lea ecx, [ebp - 0x28]
call fcn.10001bdd
push ecx
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 6
push eax
lea edx, [ebp + 0x14]
call fcn.1001031a
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
add esp, 0xc
cmp dword [eax + 0xc], esi
jne 0x10010d4a
or dword [ebp - 4], 0xffffffff
call fcn.10001c3a
inc dword [edi]
cmp dword [edi], 2
jle 0x10010d0b
jmp 0x10010d4f
call fcn.10001c3a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret