Function at 0x10042dcb
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x1008417e
call fcn.100825e0
sub esp, 0x60
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x1c], 0xffffffff
push 2
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x30], ebx
call fcn.100160cf
and dword [ebp - 4], 0
push 7
mov dword [ebp - 0x1c], 0
pop edi
jmp 0x10042e0d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x10042e01
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], 0xf
jg 0x10042e54
mov dword [ebp - 0x24], 0xf1d8987f
mov byte [ebp - 0xd], 0
cmp byte [ebp - 0xd], 0
je 0x10042e35
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x24]
xor esi, esi
push eax
push esi
push 0x5754
call fcn.1004670d
add esp, 0xc
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xf
jle 0x10042e1c
jmp 0x10042e56
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.1001698f
cmp dword [ebx], 0
je 0x10043089
push dword [ebx]
push esi
push dword [ebx + 4]
call fcn.10023b02
add esp, 0xc
lea ecx, [ebp - 0x54]
push 4
call fcn.100160cf
xor eax, eax
lea ecx, [ebp - 0x6c]
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 0xfffffffd
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x20], 0xab274bf9
push 3
call fcn.100160cf
push 0x6b3a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 0x6846
lea eax, [ebp - 0x54]
mov dword [ebp - 0x20], 0x452a26f3
push eax
mov dword [ebp - 0x2c], 0xffffffff
push esi
call fcn.10046e2e
lea eax, [ebp - 0x6c]
push eax
push 0x9e7
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10045a5c
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub eax, 0x35d34ae3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push 0x64d9
push esi
call fcn.100473db
add esp, 0x30
lea ecx, [ebp - 0x6c]
call fcn.1001698f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1001698f
push ebx
push esi
call fcn.1004329a
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], 0x1df82d83
mov dword [ebp - 0x1c], 0x876a47cd
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], 0xd
pop ecx
pop ecx
jg 0x10043073
xor ebx, ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.100160cf
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x18], 0x78c38ec3
push eax
mov dword [ebp - 0x20], 0xffffffff
push ebx
call fcn.1004555f
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov dword [eax], ecx
test ecx, ecx
jne 0x10042fa6
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
jne 0x10042fa6
mov edx, ebx
jmp 0x10042fa9
xor edx, edx
inc edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
test ecx, ecx
setns al
shl eax, 3
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
jmp 0x1004304c
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], ebx
jmp 0x10042fde
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x3c], 0xd881
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10042fd0
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x10043049
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x48]
mov eax, dword [edi + eax*4]
cmp eax, dword [edi + edx*4]
setge cl
xor edx, edx
cmp ecx, dword [edi + esi*4]
setne dl
xor ecx, ecx
cmp dword [edi + ebx*4], 0x623b
sete cl
xor eax, eax
cmp ecx, edx
setg al
xor ebx, ebx
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xe]
push ebx
mov byte [ebp - 0xe], bl
push eax
call fcn.100434b5
dec dword [ebp - 0x18]
pop ecx
pop ecx
jns 0x10042fec
push 7
pop edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x10042fc8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1001698f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xd
jle 0x10042f44
mov ebx, dword [ebp - 0x30]
xor esi, esi
push ebx
push esi
push 0x55ef
push 0x51ed
call fcn.100432ec
add esp, 0x10
mov dword [ebx], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret