Function at 0x41c780
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6545ed
push eax
mov eax, 0x1a88
mov dword fs:[0], esp
call fcn.00466c40
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x1aa0], 0
call fcn.0041dc00
test eax, eax
jne 0x41c7dd
push 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x6e5e74
call fcn.00628882
call fcn.004548a0
add esp, 0xc
test eax, eax
je 0x41cafd
mov eax, dword [esp + 0x1aa8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41c9f3
mov ecx, 0xa
mov esi, 0x6e5e48
lea edi, [esp + 0x104]
push ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x108]
mov byte [esp + 0x32c], 0
movsw word es:[edi], word [esi]
push ecx
push 0x1206
push 0x6e5e40
push 0x6e54c8
push 1
lea ecx, [esp + 0x148]
movsb byte es:[edi], byte [esi]
call fcn.006212ce
lea edx, [esp + 0x328]
mov byte [esp + 0x1aa0], 1
mov dword [esp + 0x1a8], edx
mov dword [esp + 0x1ac], 0x1770
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x41c869
mov dword [esp + 0x18c], 0x58
lea ecx, [esp + 0x130]
call fcn.00621430
cmp eax, 1
jne 0x41c9cb
mov eax, dword [esp + 0x1a8]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x41c9cb
mov bl, 3
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x138]
call fcn.0062161b
mov edx, dword [esp + 0x14]
mov byte [esp + 0x1aa0], 2
mov eax, dword [edx - 8]
test eax, eax
je 0x41c9ae
push 0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00628589
lea ecx, [esp + 0x2c]
call fcn.00458910
lea ecx, [esp + 0x24]
mov byte [esp + 0x1aa0], bl
call fcn.0062abdd
cmp eax, 1
jne 0x41c94d
call fcn.00642d98
mov ecx, dword [eax + 4]
call fcn.00630fe4
mov dword [esp + 0x18], eax
call fcn.00642d98
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00630ff6
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
mov esi, eax
call fcn.0041cb40
mov eax, dword [eax]
mov edx, dword [esi]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x1aa8], 4
call dword [edx + 0x80]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1aa0], bl
call fcn.00628814
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1aa0], 8
call fcn.006227d5
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1aa0], 7
call fcn.0063e7d3
lea ecx, [esp + 0x88]
mov byte [esp + 0x1aa0], 6
call fcn.00628814
lea ecx, [esp + 0x84]
mov byte [esp + 0x1aa0], 5
call fcn.00628814
lea ecx, [esp + 0x24]
mov byte [esp + 0x1aa0], 2
call fcn.0062a7a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x1aa0], 1
call fcn.00628814
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41c893
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x1aa0], 9
call fcn.00628814
mov byte [esp + 0x1aa0], 0
lea ecx, [esp + 0x130]
jmp 0x41cae1
push 0
push ecx
lea eax, [esp + 0x1ab0]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00628589
lea ecx, [esp + 0x2c]
call fcn.00458910
mov bl, 0xa
lea ecx, [esp + 0x24]
mov byte [esp + 0x1aa0], bl
call fcn.0062abdd
cmp eax, 1
jne 0x41ca85
call fcn.00642d98
mov ecx, dword [eax + 4]
call fcn.00630fe4
mov dword [esp + 0x10], eax
call fcn.00642d98
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.00630ff6
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
mov esi, eax
call fcn.0041cb40
mov eax, dword [eax]
mov edx, dword [esi]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x1aa8], 0xb
call dword [edx + 0x80]
lea ecx, [esp + 0x18]
mov byte [esp + 0x1aa0], bl
call fcn.00628814
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1aa0], 0xf
call fcn.006227d5
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1aa0], 0xe
call fcn.0063e7d3
lea ecx, [esp + 0x88]
mov byte [esp + 0x1aa0], 0xd
call fcn.00628814
lea ecx, [esp + 0x84]
mov byte [esp + 0x1aa0], 0xc
call fcn.00628814
mov byte [esp + 0x1aa0], 0
lea ecx, [esp + 0x24]
call fcn.0062a7a3
call fcn.0042b530
test eax, eax
je 0x41cafd
mov ecx, eax
call fcn.00422660
mov ecx, eax
call fcn.00627f82
lea ecx, [esp + 0x1aa8]
mov dword [esp + 0x1aa0], 0xffffffff
call fcn.00628814
mov ecx, dword [esp + 0x1a98]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a94
ret 4