Function at 0x50ac40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
push edi
test esi, esi
je 0x50acb2
lea eax, [ebp - 0x80]
push eax
call sym.SystemInformer.exe_PhQuerySystemTime
mov eax, dword [ebp - 0x80]
mov edx, eax
mov edi, dword [ebp - 0x64]
sub edx, dword [esi]
mov ecx, dword [ebp - 0x7c]
mov esi, ecx
sbb esi, dword [edi + 4]
jmp 0x50ad02
mov eax, dword [0x635310]
or eax, dword [0x635314]
jne 0x50ace3
push eax
push 0x30
lea eax, [ebp - 0x58]
push eax
push 3
call dword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x50ace3
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov dword [0x635310], eax
mov dword [0x635314], ecx
lea eax, [ebp - 0x80]
push eax
call sym.SystemInformer.exe_PhQuerySystemTime
mov eax, dword [ebp - 0x80]
mov edx, eax
sub edx, dword [0x635310]
mov ecx, dword [ebp - 0x7c]
mov esi, ecx
sbb esi, dword [0x635314]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edx
sub eax, dword [edi]
mov dword [ebp - 0x78], eax
sbb ecx, dword [edi + 4]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0x74], ecx
cmp ecx, esi
jl 0x50ad29
jg 0x50ad24
nop
cmp eax, edx
jbe 0x50ad29
mov ebx, 1
fild qword [ebp - 0x78]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x6c]
fild qword [ebp - 0x68]
fstp dword [ebp - 0x6c]
fdiv dword [ebp - 0x6c]
fld qword [0x61d458]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x64]
fld dword [ebp - 0x64]
fcompi st(1)
fstp st(0)
jbe 0x50ad5a
mov dword [ebp - 0x64], 0x42c80000
jmp 0x50ad6f
movss xmm0, dword [0x61d3ec]
comiss xmm0, dword [ebp - 0x64]
jbe 0x50ad6f
mov dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x5c]
and esi, 2
je 0x50ad7f
push dword [0x6337f0]
jmp 0x50ad88
push 5
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
dec dword [ebp - 0xc]
inc dword [ebp - 0x24]
inc dword [ebp - 0x20]
dec dword [ebp - 0x1c]
test esi, esi
je 0x50adcc
push dword [0x6337f0]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
test ebx, ebx
je 0x50adc5
push 0x808080
jmp 0x50adef
push 0x878200
jmp 0x50adef
push 0xf
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
test ebx, ebx
jne 0x50adbe
push 0x9eca9e
push edi
call dword [sym.imp.GDI32.dll_SetDCBrushColor]
push 0x12
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x5c]
fld dword [ebp - 0x64]
fdiv qword [0x61d458]
fmulp st(1)
fild dword [ebp - 0xc]
fstp dword [ebp - 0x5c]
fadd dword [ebp - 0x5c]
call fcn.005a06d0
mov ecx, dword [ebp - 0x10]
mov edx, eax
cmp edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
cmovl edx, dword [ebp - 0x24]
sub eax, ecx
push 0xf00021
push eax
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebp - 0x14], edx
push eax
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret 0x18