Function at 0x43ab80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3505
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xec8980]
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 [0xeced40]
mov ebx, dword [0xececd8]
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.0047e9d0
add esp, 0xc
lea ecx, [edi + 0xa8]
lea eax, [ecx + 4]
push eax
push ecx
push dword [edi + 0x78]
call fcn.0047e9d0
add esp, 0xc
push ebx
call fcn.00480e10
add esp, 4
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
cmp byte [0xf071bc], 0
mov esi, eax
jne 0x43ac38
push str.shcore
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43ac2a
push str.GetDpiForMonitor
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0xf071c0], eax
mov byte [0xf071bc], 1
jmp 0x43ac3d
mov eax, dword [0xf071c0]
mov byte [0xf071bc], 1
jmp 0x43ac3d
mov eax, dword [0xf071c0]
movss xmm0, dword [0xea16d0]
test eax, eax
je 0x43ac93
test esi, esi
je 0x43ac93
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push esi
call eax
test eax, eax
jne 0x43ac8b
mov eax, dword [ebp - 0x18]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0xea1a10]
divsd xmm0, qword [0xea1768]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0xea16d0]
jmp 0x43ac96
movss xmm0, dword [0xea16d0]
movaps xmm1, xmm0
ucomiss xmm1, xmm0
movss dword [edi + 0xb0], xmm1
lahf
test ah, 0x44
jnp 0x43acdb
cmp byte [edi + 0x108], 0
jne 0x43acdb
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.0047ed10
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 [0xece5d4]
lea eax, [ebp - 0x20]
push eax
push 0x80a9
call dword [0xece50c]
xor esi, esi
mov eax, 2
cmp dword [ebp - 0x1c], 8
cmovge esi, eax
cmp dword [ebp - 0x20], 1
jg 0x43ad28
or esi, 1
push 0x9c
call fcn.00497dea
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43b024
push 0x9c
push 0
push ebx
call fcn.0048b660
add esp, 0xc
mov dword [ebp - 0x60], 0x438580
mov eax, esi
mov dword [ebp - 0x5c], fcn.00438710
and eax, 1
mov dword [ebp - 0x58], 0x438910
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], 0x438980
mov dword [ebp - 0x50], 0x438a90
mov dword [ebp - 0x4c], 0x439520
mov dword [ebp - 0x48], 0x439b10
mov dword [ebp - 0x44], 0x439c50
mov dword [ebp - 0x40], 0x43a340
mov dword [ebp - 0x3c], 0x43a620
mov dword [ebp - 0x38], 0x43a820
mov dword [ebp - 0x34], 0x43a910
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], eax
mov dword [ebx + 0x40], esi
call fcn.00452060
test eax, eax
je 0x43b024
push 0x20004
push dword [ebp - 0x30]
mov dword [edi + 0x7c], eax
call fcn.0047ea20
test eax, eax
push 0x200
setne al
mov byte [edi + 0x4c], al
mov eax, dword [edi]
mov esi, dword [eax + 4]
call fcn.00497dea
add esp, 0xc
test eax, eax
je 0x43b046
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 [edi + 0x7c]
call fcn.00448670
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.0047cb40
fstp qword [edi + 0xd0]
mov byte [edi + 0xd8], 1
xor esi, esi
mov eax, dword [0xef5c74]
mov ecx, eax
mov dword [ebp - 0x30], eax
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xd], 0
jne 0x43ae94
mov edx, dword [edi + 0x78]
mov eax, ebx
mov ebx, eax
cmp dword [eax + 0x10], edx
jae 0x43ae85
mov eax, dword [eax + 8]
xor esi, esi
jmp 0x43ae8e
mov ecx, eax
mov esi, 1
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x43ae77
cmp byte [ecx + 0xd], 0
jne 0x43aea2
mov eax, dword [edi + 0x78]
cmp eax, dword [ecx + 0x10]
jae 0x43af05
cmp dword [0xef5c78], 0xaaaaaaa
je 0x43b04b
mov dword [ebp - 0x28], 0xef5c74
mov dword [ebp - 4], 1
push 0x18
mov dword [ebp - 0x24], 0
call fcn.00488f3a
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, 0xef5c74
push esi
push ebx
mov word [eax + 0xc], 0
call fcn.0043cf30
mov ecx, eax
mov dword [ecx + 0x14], edi
lea ebx, [edi + 0x80]
xor esi, esi
lea eax, [esi + 0x36001]
push eax
call fcn.0047c970
inc esi
mov dword [ebx], eax
add esp, 4
lea ebx, [ebx + 4]
cmp esi, 6
jl 0x43af10
movss xmm0, dword [edi + 0xb0]
mov esi, dword [edi + 0x7c]
mov ecx, esi
movss dword [ebp - 0x30], xmm0
movd xmm0, dword [edi + 0x34]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movd xmm0, dword [edi + 0x30]
cvtdq2ps xmm0, xmm0
mov dword [esi + 0x224c], 1
movss dword [ebp - 0x24], xmm0
call fcn.004524e0
movss xmm1, dword [ebp - 0x30]
sub esp, 0xc
movss xmm0, dword [0xea1654]
divss xmm0, xmm1
mov eax, dword [esi + 0x1c]
movss dword [esp + 8], xmm1
movss dword [esi + 0x2254], xmm0
movss xmm0, dword [0xea1618]
divss xmm0, xmm1
movss dword [esi + 0x2260], xmm1
movss dword [esi + 0x2258], xmm0
movss xmm0, dword [0xea16d0]
divss xmm0, xmm1
movss dword [esi + 0x225c], xmm0
movss xmm0, dword [ebp - 0x18]
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 + 0x7c]
call fcn.004523b0
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.00488f09
mov esp, ebp
pop ebp
ret 4
push str.Could_not_initialize_NanoVG_
lea ecx, [ebp - 0x2c]
mov dword [edi + 0x7c], 0
call fcn.004374c0
push 0xea6eec
lea eax, [ebp - 0x2c]
push eax
call fcn.0048b7c0
call fcn.00431e50
call fcn.00438220
int3