Function at 0x40014700
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push edi
push 0x24
mov edi, eax
lea eax, [esp + 0xc]
push 0
push eax
call fcn.40001a40
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0xc]
mov ecx, dword [esi + 0x1c]
add edx, 0xffffffdc
mov eax, 0x38e38e39
mul edx
shr edx, 4
cmp ecx, edx
jge 0x400148de
mov dword [edi + 0x44], ecx
inc dword [esi + 0x1c]
cmp byte [edi + 0x17], 0
mov eax, dword [edi + 0x38]
je 0x4001476e
test eax, eax
je 0x40014762
mov ax, word [eax + 0x16]
shr ax, 0xd
and al, 1
je 0x40014762
mov ecx, dword [edi + 0x20]
jmp 0x40014786
mov eax, dword [edi + 0x38]
test eax, eax
je 0x40014784
mov ecx, dword [eax + 0x34]
jmp 0x40014786
test eax, eax
je 0x40014784
mov cx, word [eax + 0x16]
shr cx, 0xd
and cl, 1
je 0x40014765
mov ecx, dword [edi + 0x20]
jmp 0x40014786
xor ecx, ecx
mov eax, dword [edi + 0x44]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x18]
mov dword [eax + edx*8 + 0x18], ecx
mov ecx, dword [esi + 0x14]
mov dl, byte [esi + 0x20]
push ebx
mov ebx, dword [ecx + 0x10]
mov eax, ebx
test dl, dl
je 0x400147b4
shr eax, 0xc
mov eax, dword [eax*4 + 0x40077248]
and eax, 0xfffff000
add eax, ebx
test eax, eax
jne 0x4001484c
mov eax, dword [edi + 0x44]
mov ebx, dword [esi + 0x18]
lea eax, [eax + eax*8]
lea ebx, [ebx + eax*8]
test dl, dl
je 0x400147d5
mov eax, dword [esi + 0x24]
sub eax, ecx
add eax, ebx
jmp 0x400147d7
mov eax, ebx
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x20], 0
mov eax, dword [edi + 0x44]
mov edx, dword [esi + 0x18]
lea ecx, [eax + eax*8]
lea ecx, [edx + ecx*8]
je 0x400147f6
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x14]
add eax, ecx
jmp 0x400147f8
mov eax, ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
cmp byte [esi + 0x20], 0
mov eax, dword [edi + 0x44]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x18]
lea ecx, [eax + edx*8]
je 0x4001481a
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x14]
add eax, ecx
jmp 0x4001481c
mov eax, ecx
mov dword [ecx], eax
cmp byte [esi + 0x20], 0
mov edi, dword [edi + 0x44]
mov edx, dword [esi + 0x18]
lea ecx, [edi + edi*8]
lea ecx, [edx + ecx*8]
je 0x40014841
mov eax, dword [esi + 0x24]
sub eax, dword [esi + 0x14]
pop ebx
add eax, ecx
mov dword [ecx + 4], eax
pop edi
add esp, 0x28
ret
mov eax, ecx
pop ebx
mov dword [ecx + 4], eax
pop edi
add esp, 0x28
ret
mov ecx, dword [edi + 0x44]
mov edx, dword [esi + 0x18]
mov ebx, dword [eax]
lea ecx, [ecx + ecx*8]
mov dword [edx + ecx*8], ebx
mov ecx, dword [edi + 0x44]
mov edx, dword [esi + 0x18]
lea ecx, [ecx + ecx*8]
lea ebx, [edx + ecx*8]
mov cl, byte [esi + 0x20]
test cl, cl
je 0x40014877
mov edx, dword [esi + 0x24]
sub edx, dword [esi + 0x14]
add edx, ebx
jmp 0x40014879
mov edx, ebx
mov ebx, dword [eax]
test cl, cl
mov ecx, ebx
je 0x40014893
shr ecx, 0xc
mov ecx, dword [ecx*4 + 0x40077248]
and ecx, 0xfffff000
add ecx, ebx
mov dword [ecx + 4], edx
cmp byte [esi + 0x20], 0
mov ecx, dword [edi + 0x44]
lea edx, [ecx + ecx*8]
mov ecx, dword [esi + 0x18]
lea edx, [ecx + edx*8]
je 0x400148b2
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x14]
add ecx, edx
jmp 0x400148b4
mov ecx, edx
mov dword [eax], ecx
cmp byte [esi + 0x20], 0
je 0x400148c6
mov ecx, dword [esi + 0x24]
sub ecx, dword [esi + 0x14]
add ecx, eax
jmp 0x400148c8
mov ecx, eax
mov edi, dword [edi + 0x44]
lea edx, [edi + edi*8]
mov edi, dword [esi + 0x18]
mov dword [edi + edx*8 + 4], ecx
mov ecx, dword [esi + 0x14]
mov edx, dword [eax]
mov dword [ecx + 0x10], edx
pop ebx
pop edi
add esp, 0x28
ret