Function at 0x462a60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movsx eax, byte [0x5b1da8]
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 [0x5b1cec]
mov byte [ebp - 1], cl
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0x30
push 0
push 0x5b48c0
call fcn.0051fd40
add esp, 0xc
mov dword [ebp - 0x1c], 0
cmp byte [0x5b1da8], 0
jbe 0x462ce8
mov ebx, dword [0x5b1d18]
mov eax, ebx
mov ecx, dword [0x5b1d14]
sub eax, ecx
mov edx, dword [0x5b1cec]
mov edi, dword [0x5b1d00]
add edx, 8
mov dword [ebp - 0x10], eax
mov eax, dword [0x5b1cf0]
lea esi, [ecx + 8]
sub eax, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x5b1d10]
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 [0x5b48d8], eax
mov eax, dword [edx + 0x14]
adc dword [0x5b48dc], eax
mov eax, dword [edx - 8]
add dword [0x5b48c0], eax
mov eax, dword [edx - 4]
adc dword [0x5b48c4], eax
mov eax, dword [edx + 0x20]
add dword [0x5b48e8], eax
mov eax, dword [edx + 0x18]
add dword [0x5b48e0], eax
mov eax, dword [edx + 0x1c]
adc dword [0x5b48e4], eax
mov eax, dword [edx]
add dword [0x5b48c8], eax
mov eax, dword [edx + 4]
adc dword [0x5b48cc], eax
mov eax, dword [edx + 8]
add dword [0x5b48d0], eax
mov eax, dword [edx + 0xc]
adc dword [0x5b48d4], 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 0x462cbc
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 0x462ca9
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 0x462cb9
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 [0x5b1da8]
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 0x462af1
mov ecx, dword [0x5b48c8]
mov edx, ecx
sub edx, dword [0x5b4920]
mov eax, dword [0x5b48cc]
mov edi, eax
sbb edi, dword [0x5b4924]
mov dword [ebp - 0x20], edx
mov dword [0x5b4928], edx
mov dword [0x5b4920], ecx
mov ecx, dword [0x5b48d0]
mov edx, ecx
sub edx, dword [0x5b4910]
mov dword [0x5b4924], eax
mov eax, dword [0x5b48d4]
mov ebx, eax
sbb ebx, dword [0x5b4914]
mov dword [ebp - 0x1c], edx
mov dword [0x5b4918], edx
mov dword [0x5b4910], ecx
mov ecx, dword [0x5b48c0]
mov edx, ecx
sub edx, dword [0x5b48b0]
mov dword [0x5b4914], eax
mov eax, dword [0x5b48c4]
mov esi, eax
sbb esi, dword [0x5b48b4]
mov dword [0x5b48b8], edx
add edx, dword [ebp - 0x1c]
mov dword [0x5b48bc], esi
adc esi, ebx
mov dword [0x5b492c], edi
add edx, dword [ebp - 0x20]
mov dword [0x5b491c], ebx
adc esi, edi
mov dword [0x5b48b0], ecx
cmp byte [ebp - 1], 0
mov dword [0x5b48b4], eax
je 0x462e66
mov eax, edx
or eax, esi
je 0x462e52
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 [0x5b1d1c]
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 [0x5b1d20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x5b1d1c], 0
mov dword [0x5b1d20], 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