Function at 0x41f090
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x464888
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], esi
call fcn.00421640
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 1
call fcn.00421640
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 2
call fcn.00421640
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 3
call fcn.00421640
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 4
call fcn.00421640
mov edi, dword [esp + 0xa0]
mov ecx, edi
mov byte [esp + 0x98], 5
call fcn.00422ca0
test eax, eax
jle 0x41f289
lea eax, [esp + 0x84]
push eax
push esi
mov ecx, edi
call fcn.00422c80
mov ecx, eax
call fcn.00427fd0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 6
call fcn.004214b0
lea ecx, [esp + 0x84]
mov byte [esp + 0x98], 5
call fcn.004212c0
push esi
mov ecx, edi
call fcn.00422c80
mov ecx, eax
call fcn.00427fc0
add eax, 0xffffffe3
cmp eax, 6
ja case.default.0x41f188
jmp dword [eax*4 + 0x41f558]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x58]
call fcn.004214b0
sub esp, 0xc
lea edx, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00421420
mov ecx, ebx
call fcn.0041e3b0
jmp case.default.0x41f188
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.004214b0
jmp case.default.0x41f188
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x34]
call fcn.004214b0
jmp case.default.0x41f188
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x40]
call fcn.004214b0
jmp case.default.0x41f188
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x64]
call fcn.00421420
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x60]
mov ebp, eax
call fcn.004212c0
mov dword [esp + 0x1c], ebp
jmp case.default.0x41f188
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x70]
call fcn.00421420
mov eax, dword [esp + 0x70]
push eax
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x6c]
mov ebp, eax
call fcn.004212c0
mov dword [esp + 0x18], ebp
jmp case.default.0x41f188
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00421420
mov edx, dword [esp + 0x7c]
push edx
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x78]
mov ebp, eax
call fcn.004212c0
mov dword [esp + 0x14], ebp
mov ecx, edi
add esi, 1
call fcn.00422ca0
cmp esi, eax
jl 0x41f130
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x41f33f
sub eax, 1
jne 0x41f4cf
cmp dword [esp + 0x14], eax
jne 0x41f320
push 0x469904
lea ecx, [esp + 0x7c]
call fcn.004214e0
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x8c]
push edx
mov byte [esp + 0xa4], 0xb
call fcn.0041e320
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
mov byte [esp + 0xb0], 0xc
call fcn.0041e320
mov ecx, ebx
call fcn.0041eb20
lea ecx, [esp + 0x84]
mov byte [esp + 0x98], 0xb
call fcn.004212c0
lea ecx, [esp + 0x78]
mov byte [esp + 0x98], 5
call fcn.004212c0
jmp 0x41f4cf
sub esp, 0xc
lea eax, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00421420
mov ecx, ebx
call fcn.0041e9b0
jmp 0x41f4cf
push 1
sub esp, 0xc
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00421420
mov ecx, ebx
call fcn.0041e730
cmp dword [esp + 0x14], 0
jne 0x41f4cf
mov eax, dword [esp + 0x1c]
sub eax, 0
je 0x41f451
sub eax, 1
je 0x41f3ef
sub eax, 1
jne 0x41f4cf
push 0x469790
lea ecx, [esp + 0xa8]
call fcn.00421350
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x2c], esp
je 0x41f3b6
lea eax, [esp + 0xb0]
push eax
call fcn.00421420
mov byte [esp + 0xa4], 9
jmp 0x41f3c8
lea eax, [esp + 0x48]
push eax
call fcn.00421420
mov byte [esp + 0xa4], 0xa
sub esp, 0xc
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00421420
mov ecx, ebx
mov byte [esp + 0xb0], 5
call fcn.0041ed90
jmp 0x41f4cf
push 0x469790
lea ecx, [esp + 0xa8]
call fcn.00421350
test al, al
lea ecx, [esp + 0x6c]
lea eax, [esp + 0xa4]
jne 0x41f413
lea eax, [esp + 0x3c]
push eax
call fcn.00421420
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00446847
add esp, 4
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.004212c0
push esi
sub esp, 0xc
lea edx, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00421420
mov ecx, ebx
call fcn.0041efc0
jmp 0x41f4cf
push 0x469790
lea ecx, [esp + 0xa8]
call fcn.00421350
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x2c], esp
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x34], esp
je 0x41f495
lea eax, [esp + 0xbc]
push eax
call fcn.00421420
push esi
call fcn.00404f30
mov byte [esp + 0xb4], 7
jmp 0x41f4ad
lea eax, [esp + 0x54]
push eax
call fcn.00421420
push esi
call fcn.00404f30
mov byte [esp + 0xb4], 8
add esp, 4
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00421420
mov ecx, ebx
mov byte [esp + 0xb0], 5
call fcn.0041eef0
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 4
call fcn.004212c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x98], 3
call fcn.004212c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 2
call fcn.004212c0
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 1
call fcn.004212c0
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 0
call fcn.004212c0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x98], 0xffffffff
call fcn.004212c0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret 0x10