Function at 0x41c4c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bc146
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e3f80]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x150]
mov eax, dword [esp + 0x154]
push ebp
push 0x41c4a0
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_EnumFontFamiliesW]
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x28], 5
mov edi, dword [ebp + 0x2438]
jne 0x41c541
cmp dword [esp + 0x2c], 1
jne 0x41c541
inc edi
lea esi, [ebp + 0x644]
mov eax, edi
mov ecx, edi
call fcn.00417ca0
lea esi, [ebp + 0x658]
mov eax, edi
mov ecx, edi
call fcn.00417ca0
lea esi, [ebp + 0x6e4]
mov eax, edi
call fcn.00417f70
lea esi, [ebp + 0x2448]
mov eax, edi
call fcn.0041cac0
lea esi, [ebp + 0x66c]
mov eax, edi
mov ecx, edi
call fcn.00417ca0
mov esi, dword [ebp + 0x2430]
mov dword [ebp + 0x2004], ebx
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41c5ae
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x148], ebx
call fcn.00498c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41c5df
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x148], 1
cmp esi, ebx
je 0x41c6a4
nop
mov eax, esi
mov esi, dword [esi]
lea edi, [eax + 8]
push edi
lea ecx, [esp + 0x1c]
call fcn.00408830
mov eax, dword [ebp + 0x2004]
mov bl, byte [edi + 4]
mov byte [esp + 0x1c], bl
test eax, eax
jl 0x41c7cb
cmp eax, dword [ebp + 0x64c]
jge 0x41c7cb
mov ecx, dword [ebp + 0x648]
lea edx, [esp + 0x18]
lea ecx, [ecx + eax*4]
push edx
call fcn.00408830
mov eax, dword [ebp + 0x2004]
test eax, eax
jl 0x41c7cb
cmp eax, dword [ebp + 0x660]
jge 0x41c7cb
mov ecx, dword [ebp + 0x65c]
lea edx, [esp + 0x18]
lea ecx, [ecx + eax*4]
push edx
call fcn.00408830
mov ecx, dword [ebp + 0x2004]
test ecx, ecx
jl 0x41c7cb
cmp ecx, dword [ebp + 0x2450]
jge 0x41c7cb
mov eax, dword [ebp + 0x244c]
add eax, ecx
mov byte [eax], bl
inc dword [ebp + 0x2004]
test esi, esi
jne 0x41c600
cmp dword [esp + 0x28], 5
jne 0x41c743
mov esi, 1
cmp dword [esp + 0x2c], esi
jne 0x41c743
mov eax, dword [ebp + 0x2004]
test eax, eax
jl 0x41c7cb
cmp eax, dword [ebp + 0x64c]
jge 0x41c7cb
mov ecx, dword [ebp + 0x648]
lea ecx, [ecx + eax*4]
push 0x4c6f04
call fcn.00408630
mov eax, dword [ebp + 0x2004]
test eax, eax
jl 0x41c7cb
cmp eax, dword [ebp + 0x660]
jge 0x41c7cb
mov edx, dword [ebp + 0x65c]
lea ecx, [edx + eax*4]
push 0x4c6f04
call fcn.00408630
mov eax, dword [ebp + 0x2004]
test eax, eax
jl 0x41c7cb
cmp eax, dword [ebp + 0x2450]
jge 0x41c7cb
mov ecx, dword [ebp + 0x244c]
add ecx, eax
mov byte [ecx], 1
add dword [ebp + 0x2004], esi
lea edi, [ebp + 0x242c]
call fcn.004237c0
mov byte [esp + 0x148], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c776
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x148], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c7a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0049dc2a
add esp, 0x138
ret 8
call fcn.00499100
int3