Function at 0x468940
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movsx eax, byte [0x5cd558]
push ebx
push esi
push edi
push 0
lea eax, [eax + eax*2]
mov dword [ebp - 0x2c], edx
shl eax, 4
push eax
push dword [0x5cd474]
mov byte [ebp - 1], cl
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0x30
push 0
push 0x5d00a0
call fcn.00536b00
add esp, 0xc
mov dword [ebp - 0x1c], 0
cmp byte [0x5cd558], 0
jbe 0x468bc8
mov ebx, dword [0x5cd4a4]
mov eax, ebx
mov ecx, dword [0x5cd4a0]
sub eax, ecx
mov edx, dword [0x5cd474]
mov edi, dword [0x5cd48c]
add edx, 8
mov dword [ebp - 0x10], eax
mov eax, dword [0x5cd478]
lea esi, [ecx + 8]
sub eax, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x5cd494]
sub eax, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
mov eax, dword ds:[edx - 8]
sub dword [edx], eax
mov eax, dword [edx - 4]
sbb dword [edx + 4], eax
mov eax, dword [edx + 0x10]
add dword [0x5d00b8], eax
mov eax, dword [edx + 0x14]
adc dword [0x5d00bc], eax
mov eax, dword [edx - 8]
add dword [0x5d00a0], eax
mov eax, dword [edx - 4]
adc dword [0x5d00a4], eax
mov eax, dword [edx + 0x20]
add dword [0x5d00c8], eax
mov eax, dword [edx + 0x18]
add dword [0x5d00c0], eax
mov eax, dword [edx + 0x1c]
adc dword [0x5d00c4], eax
mov eax, dword [edx]
add dword [0x5d00a8], eax
mov eax, dword [edx + 4]
adc dword [0x5d00ac], eax
mov eax, dword [edx + 8]
add dword [0x5d00b0], eax
mov eax, dword [edx + 0xc]
adc dword [0x5d00b4], eax
mov ecx, dword [edx]
sub ecx, dword [ebx]
mov eax, dword [edx + 4]
sbb eax, dword [ebx + 4]
mov edi, dword [ebp - 0x10]
mov dword [edi + esi + 4], eax
mov dword [edi + esi], ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [ebp - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [edx + 8]
sub ecx, dword [esi - 8]
mov eax, dword [edx + 0xc]
sbb eax, dword [esi - 4]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov dword [esi - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi - 4], ecx
mov ecx, dword [edx - 8]
sub ecx, dword [eax + ebx]
mov eax, dword [edx - 4]
sbb eax, dword [edi + ebx + 4]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x24], ecx
cmp byte [ebp - 1], 0
mov dword [eax + edi], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + edi + 4], ecx
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
mov dword [edi + ebx], eax
mov eax, edi
mov edi, dword [ebp - 0x20]
mov dword [eax + ebx + 4], ecx
je 0x468b9c
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + esi]
mov ecx, dword [eax + esi + 4]
mov dword [ebp - 0x20], ebx
add ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
adc ecx, dword [ebp - 0x14]
add ebx, dword [esi]
mov eax, ebx
adc ecx, dword [esi + 4]
or eax, ecx
je 0x468b89
mov eax, ecx
mov dword [ebp - 0x38], ebx
and ecx, 0x7fffffff
mov dword [ebp - 0x40], 0
and eax, 0x80000000
mov dword [ebp - 0x34], ecx
fild qword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x20]
fild qword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [ebp - 0x50], 0
and eax, 0x80000000
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], eax
fchs
mov eax, dword [ebp - 0x18]
faddp st(1)
mov dword [ebp - 0x60], 0
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
fild qword [ebp - 0x48]
fild qword [ebp - 0x50]
fchs
faddp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fdiv st(1)
fstp dword [eax + edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x58], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x54], ecx
fild qword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
fild qword [ebp - 0x60]
fchs
faddp st(1)
fstp dword [ebp - 0x28]
fdivr dword [ebp - 0x28]
fstp dword [edi]
jmp 0x468b99
mov eax, dword [ebp - 0x18]
mov dword [eax + edi], 0
mov dword [edi], 0
mov ebx, dword [ebp - 8]
mov ecx, dword ds:[ebp - 0x1c]
add edi, 4
movsx eax, byte [0x5cd558]
inc ecx
add ebx, 0x10
mov dword [ebp - 0x1c], ecx
add edx, 0x30
mov dword [ebp - 0x20], edi
add esi, 0x10
mov dword [ebp - 8], ebx
cmp ecx, eax
jb 0x4689d1
mov ecx, dword [0x5d00a8]
mov edx, ecx
sub edx, dword [0x5d00f0]
mov eax, dword [0x5d00ac]
mov edi, eax
sbb edi, dword [0x5d00f4]
mov dword [ebp - 0x20], edx
mov dword [0x5d00f8], edx
mov dword [0x5d00f0], ecx
mov ecx, dword [0x5d00b0]
mov edx, ecx
sub edx, dword [0x5d0100]
mov dword [0x5d00f4], eax
mov eax, dword [0x5d00b4]
mov ebx, eax
sbb ebx, dword [0x5d0104]
mov dword [ebp - 0x1c], edx
mov dword [0x5d0108], edx
mov dword [0x5d0100], ecx
mov ecx, dword [0x5d00a0]
mov edx, ecx
sub edx, dword [0x5d0090]
mov dword [0x5d0104], eax
mov eax, dword [0x5d00a4]
mov esi, eax
sbb esi, dword [0x5d0094]
mov dword [0x5d0098], edx
add edx, dword [ebp - 0x1c]
mov dword [0x5d009c], esi
adc esi, ebx
mov dword [0x5d00fc], edi
add edx, dword [ebp - 0x20]
mov dword [0x5d010c], ebx
adc esi, edi
mov dword [0x5d0090], ecx
cmp byte [ebp - 1], 0
mov dword [0x5d0094], eax
je 0x468d46
mov eax, edx
or eax, esi
je 0x468d32
mov dword [ebp - 0x60], edx
mov eax, esi
mov ecx, esi
and eax, 0x7fffffff
mov dword [ebp - 0x5c], eax
and ecx, 0x80000000
fild qword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], 0
fild qword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, edi
and edi, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x5c], edi
fchs
faddp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fild qword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x1c]
fild qword [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, ebx
and ebx, 0x7fffffff
and eax, 0x80000000
mov dword [ebp - 0x5c], ebx
fchs
faddp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x28]
fdiv st(1)
fstp dword [0x5cd4ac]
fild qword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
fild qword [ebp - 0x60]
mov dword [eax], edx
mov dword [eax + 4], esi
fchs
faddp st(1)
fstp dword [ebp - 0x28]
fdivr dword [ebp - 0x28]
fstp dword [0x5cd4b0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x5cd4ac], 0
mov dword [0x5cd4b0], 0
mov eax, dword [ebp - 0x2c]
pop edi
mov dword [eax + 4], esi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret