Function at 0x463280
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movsx eax, byte [0x54b668]
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 [0x54bf90]
mov byte [ebp - 1], cl
push 8
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
push 0x30
push 0
push 0x54bf00
call fcn.004dce30
add esp, 0xc
mov dword [ebp - 0x1c], 0
cmp byte [0x54b668], 0
jbe 0x4634f9
mov ebx, dword [0x54bed8]
mov eax, ebx
mov ecx, dword [0x54bedc]
sub eax, ecx
mov edx, dword [0x54bf90]
mov edi, dword [0x54bf80]
add edx, 8
mov dword [ebp - 0x10], eax
mov eax, dword [0x54bf8c]
lea esi, [ecx + 8]
sub eax, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x54bef0]
sub eax, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 8]
sub dword [edx], eax
mov eax, dword [edx - 4]
sbb dword [edx + 4], eax
mov eax, dword [edx + 0x10]
add dword [0x54bf18], eax
mov eax, dword [edx + 0x14]
adc dword [0x54bf1c], eax
mov eax, dword [edx - 8]
add dword [0x54bf00], eax
mov eax, dword [edx - 4]
adc dword [0x54bf04], eax
mov eax, dword [edx + 0x20]
add dword [0x54bf28], eax
mov eax, dword [edx + 0x18]
add dword [0x54bf20], eax
mov eax, dword [edx + 0x1c]
adc dword [0x54bf24], eax
mov eax, dword [edx]
add dword [0x54bf08], eax
mov eax, dword [edx + 4]
adc dword [0x54bf0c], eax
mov eax, dword [edx + 8]
add dword [0x54bf10], eax
mov eax, dword [edx + 0xc]
adc dword [0x54bf14], 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], ecx
mov dword [edi + esi + 4], eax
mov eax, dword [edx]
mov dword [ebx], eax
mov eax, dword [edx + 4]
mov edi, dword [ebp - 0xc]
mov dword [ebx + 4], eax
mov ecx, dword [edx + 8]
sub ecx, dword [esi - 8]
mov eax, dword [edx + 0xc]
sbb eax, dword [esi - 4]
mov dword [esi], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi - 8], eax
mov eax, dword [edx + 0xc]
mov dword [esi - 4], eax
mov eax, dword [edx - 8]
sub eax, dword [ecx + ebx]
mov ecx, dword [edx - 4]
sbb ecx, dword [edi + ebx + 4]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
add ecx, esi
mov dword [ebp - 0x24], eax
cmp byte [ebp - 1], 0
mov dword [ecx + edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx - 8]
mov dword [edi + ebx], eax
mov eax, dword [edx - 4]
mov dword [edi + ebx + 4], eax
mov edi, dword [ebp - 0x20]
je 0x4634d1
mov eax, dword [ecx]
mov ebx, eax
add ebx, dword [ebp - 0x24]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
adc ecx, dword [ebp - 0x14]
add ebx, dword [esi]
mov dword [ebp - 0x20], eax
mov eax, ebx
adc ecx, dword [esi + 4]
or eax, ecx
je 0x4634be
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 0x4634ce
mov eax, dword [ebp - 0x18]
mov dword [eax + edi], 0
mov dword [edi], 0
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add edi, 4
movsx eax, byte [0x54b668]
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 0x463311
mov ecx, dword [0x54bf08]
mov edx, ecx
sub edx, dword [0x54bf70]
mov eax, dword [0x54bf0c]
mov edi, eax
sbb edi, dword [0x54bf74]
mov dword [ebp - 0x20], edx
mov dword [0x54bf78], edx
mov dword [0x54bf70], ecx
mov ecx, dword [0x54bf10]
mov edx, ecx
sub edx, dword [0x54bf60]
mov dword [0x54bf74], eax
mov eax, dword [0x54bf14]
mov ebx, eax
sbb ebx, dword [0x54bf64]
mov dword [ebp - 0x1c], edx
mov dword [0x54bf68], edx
mov dword [0x54bf60], ecx
mov ecx, dword [0x54bf00]
mov edx, ecx
sub edx, dword [0x54bee0]
mov dword [0x54bf64], eax
mov eax, dword [0x54bf04]
mov esi, eax
sbb esi, dword [0x54bee4]
mov dword [0x54bee8], edx
add edx, dword [ebp - 0x1c]
mov dword [0x54beec], esi
adc esi, ebx
mov dword [0x54bf7c], edi
add edx, dword [ebp - 0x20]
mov dword [0x54bf6c], ebx
adc esi, edi
mov dword [0x54bee0], ecx
cmp byte [ebp - 1], 0
mov dword [0x54bee4], eax
je 0x463673
mov eax, edx
or eax, esi
je 0x46365f
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 [0x54bed4]
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 [0x54bed0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [0x54bed4], 0
mov dword [0x54bed0], 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