Function at 0x43aa80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2d95
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0xececf8]
mov ebx, dword [0xecec90]
mov dword [ebp - 0x30], ebx
lea ecx, [edi + 0x30]
mov dword [edi + 0x78], ebx
lea eax, [ecx + 4]
push eax
push ecx
push ebx
call fcn.0047e3c0
add esp, 0xc
lea ecx, [edi + 0xa8]
lea eax, [ecx + 4]
push eax
push ecx
push dword [edi + 0x78]
call fcn.0047e3c0
add esp, 0xc
push ebx
call fcn.00480800
add esp, 4
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
cmp byte [0xf06f70], 0
mov esi, eax
jne 0x43ab38
push str.shcore
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
test eax, eax
je 0x43ab2a
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0xf06f74], eax
mov byte [0xf06f70], 1
jmp 0x43ab3d
mov eax, dword [0xf06f74]
mov byte [0xf06f70], 1
jmp 0x43ab3d
mov eax, dword [0xf06f74]
movss xmm0, dword [0xea15f0]
test eax, eax
je 0x43ab93
test esi, esi
je 0x43ab93
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x43ab8b
mov eax, dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0xea1930]
divsd xmm0, qword [0xea1688]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0xea15f0]
jmp 0x43ab96
movss xmm0, dword [0xea15f0]
movaps xmm1, xmm0
ucomiss xmm1, xmm0
movss dword [edi + 0xb0], xmm1
lahf
test ah, 0x44
jnp 0x43abdb
cmp byte [edi + 0x108], 0
jne 0x43abdb
movd xmm0, dword [edi + 0x34]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, dword [edi + 0x30]
cvtdq2ps xmm0, xmm0
push ecx
mulss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push ebx
call fcn.0047e700
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x8217
push 0x1802
push 0x8ca9
mov dword [ebp - 0x20], 0
call dword [0xece58c]
lea eax, [ebp - 0x20]
push eax
push 0x80a9
call dword [0xece4c4]
xor esi, esi
mov eax, 2
cmp dword [ebp - 0x1c], 8
cmovge esi, eax
cmp dword [ebp - 0x20], 1
jg 0x43ac28
or esi, 1
push 0x9c
call fcn.004977d8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43af35
push 0x9c
push 0
push ebx
call fcn.0048b190
add esp, 0xc
mov dword [ebp - 0x64], 0x438460
mov eax, esi
mov dword [ebp - 0x60], fcn.004385f0
and eax, 1
mov dword [ebp - 0x5c], 0x4387f0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 0x438860
mov dword [ebp - 0x54], 0x438970
mov dword [ebp - 0x50], 0x439440
mov dword [ebp - 0x4c], 0x439a20
mov dword [ebp - 0x48], 0x439b60
mov dword [ebp - 0x44], 0x43a250
mov dword [ebp - 0x40], 0x43a520
mov dword [ebp - 0x3c], 0x43a720
mov dword [ebp - 0x38], 0x43a810
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
mov dword [ebx + 0x40], esi
call fcn.00451c20
test eax, eax
je 0x43af35
push 0x20004
push dword [ebp - 0x30]
lea ebx, [edi + 0x7c]
mov dword [ebx], eax
mov dword [ebp - 0x18], ebx
call fcn.0047e410
test eax, eax
push 0x200
setne al
mov byte [edi + 0x4c], al
mov eax, dword [edi]
mov esi, dword [eax + 4]
call fcn.004977d8
add esp, 0xc
test eax, eax
je 0x43af57
mov ecx, eax
and ecx, 0xfffffff0
add ecx, 0x10
mov dword [ebp - 0x24], ecx
mov dword [ecx - 4], eax
mov dword [ebp - 4], 0
push dword [ebx]
call fcn.004484a0
push eax
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call esi
mov dword [edi + 0xbc], 0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xb4], 0
mov byte [edi + 0xc4], 0
call fcn.0047c530
fstp qword [edi + 0xd0]
mov byte [edi + 0xd8], 1
xor esi, esi
mov eax, dword [0xef5c2c]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x43ad9d
mov edx, dword [edi + 0x78]
mov eax, ebx
nop dword [eax + eax]
mov ebx, eax
cmp dword [eax + 0x10], edx
jae 0x43ad8e
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x43ad97
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x43ad80
cmp byte [ecx + 0xd], 0
jne 0x43adab
mov eax, dword [edi + 0x78]
cmp eax, dword [ecx + 0x10]
jae 0x43ae14
cmp dword [0xef5c30], 0xaaaaaaa
je 0x43af5c
mov dword [ebp - 0x28], 0xef5c2c
mov dword [ebp - 4], 1
push 0x18
mov dword [ebp - 0x24], 0
call fcn.00488910
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [edi + 0x78]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x14], 0
mov dword [eax], ecx
push eax
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov ecx, 0xef5c2c
push esi
push ebx
mov word [eax + 0xc], 0
call fcn.0043ce20
mov ecx, eax
lea eax, [edi + 0x7c]
mov dword [ebp - 0x18], eax
mov dword [ecx + 0x14], edi
lea ebx, [edi + 0x80]
xor esi, esi
nop
lea eax, [esi + 0x36001]
push eax
call fcn.0047c360
inc esi
mov dword [ebx], eax
add esp, 4
lea ebx, [ebx + 4]
cmp esi, 6
jl 0x43ae20
movss xmm0, dword [edi + 0xb0]
movss dword [ebp - 0x30], xmm0
movd xmm0, dword [edi + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, dword [edi + 0x30]
mov edi, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
mov esi, dword [edi]
mov ecx, esi
movss dword [ebp - 0x24], xmm0
mov dword [esi + 0x224c], 1
call fcn.004520a0
movss xmm1, dword [ebp - 0x30]
sub esp, 0xc
movss xmm0, dword [0xea1574]
divss xmm0, xmm1
mov eax, dword [esi + 0x1c]
movss dword [esp + 8], xmm1
movss dword [esi + 0x2254], xmm0
movss xmm0, dword [0xea1538]
divss xmm0, xmm1
movss dword [esi + 0x2260], xmm1
movss dword [esi + 0x2258], xmm0
movss xmm0, dword [0xea15f0]
divss xmm0, xmm1
movss dword [esi + 0x225c], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [esp], xmm0
push dword [esi]
call eax
add esp, 0x10
mov dword [esi + 0x227c], 0
mov dword [esi + 0x2280], 0
mov dword [esi + 0x2284], 0
mov dword [esi + 0x2288], 0
mov ecx, dword [edi]
call fcn.00451f70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret 4
push str.Could_not_initialize_NanoVG_
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x7c], 0
call fcn.004373a0
push 0xea6bb4
lea eax, [ebp - 0x2c]
push eax
call fcn.0048b2f0
call fcn.00431e90
call fcn.00438110
int3