Function at 0x4352a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497026
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4c206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x154], eax
cmp ecx, 1
jne 0x4352f5
mov edx, dword [edi + 8]
mov dword [ebp - 0x138], edx
jmp 0x43531e
cmp ecx, 2
jne 0x435305
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x138], edx
jmp 0x43531e
cmp ecx, 4
jne 0x435315
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x138], edx
jmp 0x43531e
mov eax, dword [edi + 4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
movd xmm0, dword [eax]
movd xmm1, dword [eax + 4]
movd xmm2, dword [eax + 8]
movd xmm3, dword [eax + 0xc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x164], xmm0
movss dword [ebp - 0x160], xmm1
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm3, xmm3
movss dword [ebp - 0x15c], xmm2
movss dword [ebp - 0x158], xmm3
cmp ecx, 1
je 0x435374
cmp ecx, 2
je 0x435374
cmp ecx, 3
je 0x435374
mov ebx, dword [edi + 0x18]
jmp 0x43537a
mov ebx, dword [edi + 0x1c]
or ebx, dword [edi + 0x18]
call fcn.0041d700
mov ecx, eax
test ecx, ecx
je 0x4356bc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x134], eax
push 0x4ade98
lea ecx, [ebp - 0x134]
mov dword [ebp - 4], 0
call fcn.0041d970
test al, al
jne 0x4353c4
push 4
push 0x4ade98
lea ecx, [ebp - 0x134]
call fcn.0041dc20
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x124], 6
jae 0x4353fd
push 2
push 0x4adea4
lea ecx, [ebp - 0x134]
call fcn.0041dc20
mov ecx, dword [edi + 0x14]
call fcn.0041dec0
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x14c], 0
movd xmm0, eax
lea eax, [ebp - 0x14c]
cvtdq2ps xmm0, xmm0
push eax
push 0
push esi
movss dword [ebp - 0x13c], xmm0
call dword [sym.imp.gdiplus.dll_GdipCreateFontFamilyFromName]
mov edx, dword [ebp - 0x14c]
mov ecx, edx
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x140], eax
test eax, eax
je 0x4354a9
mov ecx, dword [0x4c7be4]
test ecx, ecx
jne 0x435488
push 0x4c7be8
mov dword [0x4c7be4], 0x4c7be8
call dword [sym.imp.gdiplus.dll_GdipGetGenericFontFamilySansSerif]
mov ecx, dword [0x4c7be4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x14c]
mov eax, dword [ecx]
mov dword [ebp - 0x134], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x140], eax
test eax, eax
je 0x4354a3
push edx
jmp 0x435534
mov ecx, dword [ebp - 0x134]
movss xmm0, dword [ebp - 0x13c]
lea eax, [ebp - 0x144]
push eax
push 2
push ebx
push ecx
movss dword [esp], xmm0
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateFont]
mov dword [ebp - 0x140], eax
test eax, eax
je 0x43552e
mov ecx, dword [0x4c7be4]
test ecx, ecx
jne 0x4354fa
push 0x4c7be8
mov dword [0x4c7be4], 0x4c7be8
call dword [sym.imp.gdiplus.dll_GdipGetGenericFontFamilySansSerif]
mov ecx, dword [0x4c7be4]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [ebp - 0x140], eax
test eax, eax
jne 0x43552e
movss xmm0, dword [ebp - 0x13c]
lea eax, [ebp - 0x144]
push eax
push 2
push ebx
push ecx
movss dword [esp], xmm0
push edx
call dword [sym.imp.gdiplus.dll_GdipCreateFont]
mov dword [ebp - 0x140], eax
push dword [ebp - 0x14c]
call dword [sym.imp.gdiplus.dll_GdipDeleteFontFamily]
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push eax
push dword [ebp - 0x138]
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x138], eax
lea eax, [ebp - 0x130]
push eax
push 0
push 0
mov dword [ebp - 0x130], 0
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
push dword [edi + 0x20]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x130]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [ebp - 0x12c]
test eax, eax
push dword [edi + 0x24]
cmovne ecx, eax
push dword [ebp - 0x130]
mov dword [ebp - 0x12c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [ebp - 0x12c]
test eax, eax
push 0x2000
push dword [ebp - 0x130]
cmovne ecx, eax
mov dword [ebp - 0x12c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [ebp - 0x12c]
test eax, eax
push 3
push dword [ebp - 0x130]
cmovne ecx, eax
mov dword [ebp - 0x12c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
mov ebx, dword [ebp - 0x150]
test eax, eax
mov ecx, dword [ebp - 0x12c]
push 2
cmovne ecx, eax
push dword [ebx]
mov dword [ebp - 0x12c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
je 0x43561c
mov dword [ebx + 4], eax
push 5
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
test eax, eax
je 0x43562d
mov dword [ebx + 4], eax
mov edi, dword [ebp - 0x138]
lea eax, [ebp - 0x164]
push edi
push dword [ebp - 0x130]
push eax
push dword [ebp - 0x144]
mov eax, dword [ebp - 0x154]
push 0xffffffffffffffff
push dword [eax]
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdipDrawString]
test eax, eax
je 0x435660
mov dword [ebx + 4], eax
push dword [ebp - 0x130]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push dword [ebp - 0x144]
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43569e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004591b7
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0041dc00
int3