Function at 0x41d190
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4510ff
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x464140]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x1f8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], eax
cmp ecx, 6
ja case.default.0x41d1e9
jmp dword [ecx*4 + 0x41d86c]
xor edi, edi
push str.null
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
call fcn.0043b330
add esp, 4
mov ecx, str.null
lea esi, [esp + 0x38]
call fcn.0040103b
mov dword [esp + 0x200], edi
cmp byte [ebx + 0x38], 0
jne 0x41d23b
mov eax, esi
push edi
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.004083f7
jmp 0x41d247
lea edi, [ebx + 0x3c]
lea ecx, [esp + 0x38]
call fcn.0041e560
cmp dword [esp + 0x4c], 0x10
jb case.default.0x41d1e9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00438e0d
add esp, 4
jmp case.default.0x41d1e9
mov ecx, eax
call fcn.0041a2a0
push edx
push eax
lea ecx, [esp + 0x174]
call fcn.0041de70
add esp, 8
mov dword [esp + 0x200], 1
cmp byte [ebx + 0x38], 0
jne 0x41d29c
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.004083f7
jmp 0x41d2a6
lea edi, [ebx + 0x3c]
mov ecx, eax
call fcn.0041e560
cmp dword [esp + 0x180], 0x10
jb case.default.0x41d1e9
mov edx, dword [esp + 0x16c]
push edx
call fcn.00438e0d
add esp, 4
jmp case.default.0x41d1e9
call fcn.0041a370
mov esi, str.true
test al, al
jne 0x41d2dc
mov esi, str.false
push esi
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.0043b330
mov ecx, esi
add esp, 4
lea esi, [esp + 0x54]
call fcn.0040103b
mov dword [esp + 0x200], 2
cmp byte [ebx + 0x38], 0
jne 0x41d327
mov eax, esi
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.004083f7
jmp 0x41d333
lea edi, [ebx + 0x3c]
lea ecx, [esp + 0x54]
call fcn.0041e560
cmp dword [esp + 0x68], 0x10
jb case.default.0x41d1e9
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00438e0d
add esp, 4
jmp case.default.0x41d1e9
call fcn.0041a310
sub esp, 8
lea ecx, [esp + 0x190]
fstp qword [esp]
call fcn.0041dee0
add esp, 8
mov dword [esp + 0x200], 3
cmp byte [ebx + 0x38], 0
jne 0x41d38a
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.004083f7
jmp 0x41d394
lea edi, [ebx + 0x3c]
mov ecx, eax
call fcn.0041e560
cmp dword [esp + 0x19c], 0x10
jb case.default.0x41d1e9
mov edx, dword [esp + 0x188]
push edx
call fcn.00438e0d
add esp, 4
jmp case.default.0x41d1e9
mov eax, dword [eax]
test eax, eax
jne 0x41d3c2
mov eax, 0x4595d0
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, eax
call fcn.0041df60
add esp, 4
mov dword [esp + 0x200], 4
cmp byte [ebx + 0x38], 0
jne 0x41d3f4
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
call fcn.004083f7
jmp 0x41d3fe
lea edi, [ebx + 0x3c]
mov ecx, eax
call fcn.0041e560
cmp dword [esp + 0x1b8], 0x10
jb case.default.0x41d1e9
mov edx, dword [esp + 0x1a4]
push edx
call fcn.00438e0d
add esp, 4
jmp case.default.0x41d1e9
mov edx, eax
mov ecx, ebx
call fcn.0041d890
jmp case.default.0x41d1e9
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
lea ecx, [esp + 0x20]
mov edx, eax
mov dword [esp + 0x200], 5
call fcn.0041a950
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x20], eax
je 0x41d7eb
lea edi, [ebx + 0x1c]
lea ecx, [esp + 0x150]
push edi
push ecx
mov dword [esp + 0x24], edi
call fcn.0041f500
push eax
mov eax, 0x45a720
lea esi, [esp + 0x98]
mov byte [esp + 0x20c], 6
call fcn.0041f470
add esp, 0xc
push 0
push eax
or eax, 0xffffffff
mov esi, ebx
mov byte [esp + 0x208], 7
call fcn.004083f7
cmp dword [esp + 0xa0], 0x10
jb 0x41d4c2
mov edx, dword [esp + 0x8c]
push edx
call fcn.00438e0d
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [esp + 0x200], 5
cmp dword [esp + 0x164], 0x10
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
jb 0x41d500
mov eax, dword [esp + 0x150]
push eax
call fcn.00438e0d
add esp, 4
mov dword [esp + 0x164], esi
mov dword [esp + 0x160], ebx
mov byte [esp + 0x150], bl
mov bl, 9
mov esi, edi
call fcn.0041e2f0
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
je 0x41d718
mov dword [esp + 0x14], ebx
jmp 0x41d564
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x18], 0
mov esi, 0x45a718
ja 0x41d575
mov esi, 0x4595d0
push esi
call fcn.0043b330
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x10]
push esi
call fcn.00408367
mov edi, 0x10
cmp dword [ebx + 0x14], edi
jb 0x41d598
mov ecx, dword [ebx]
jmp 0x41d59a
mov ecx, ebx
lea edx, [esp + 0xa8]
push edx
call fcn.0041df60
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x11c]
push ecx
mov byte [esp + 0x208], 8
call fcn.0041f500
mov ecx, eax
mov eax, esi
lea ebx, [esp + 0x13c]
mov byte [esp + 0x208], 9
call fcn.0041f580
push eax
mov eax, 0x45a728
lea esi, [esp + 0xec]
mov byte [esp + 0x20c], 0xa
call fcn.0041f470
add esp, 0xc
mov esi, dword [esp + 0x10]
xor ebx, ebx
push ebx
push eax
or eax, 0xffffffff
mov byte [esp + 0x208], 0xb
call fcn.004083f7
cmp dword [esp + 0xf4], edi
jb 0x41d62c
mov edx, dword [esp + 0xe0]
push edx
call fcn.00438e0d
add esp, 4
mov esi, 0xf
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x148], edi
jb 0x41d65f
mov eax, dword [esp + 0x134]
push eax
call fcn.00438e0d
add esp, 4
mov dword [esp + 0x148], esi
mov dword [esp + 0x144], ebx
mov byte [esp + 0x134], bl
cmp dword [esp + 0x12c], edi
jb 0x41d68d
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00438e0d
add esp, 4
mov byte [esp + 0x200], 5
mov dword [esp + 0x12c], esi
mov dword [esp + 0x128], ebx
mov byte [esp + 0x118], bl
cmp dword [esp + 0xbc], edi
jb 0x41d6c3
mov edx, dword [esp + 0xa8]
push edx
call fcn.00438e0d
add esp, 4
mov dword [esp + 0xbc], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
cmp dword [esi + 0x14], edi
jb 0x41d6e5
mov ecx, dword [esi]
jmp 0x41d6e7
mov ecx, esi
mov ebx, dword [esp + 0x30]
call fcn.0041a7e0
mov ecx, dword [esp + 0x10]
push eax
call fcn.0041d190
mov eax, dword [esp + 0x18]
inc eax
add esi, 0x1c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
cmp eax, dword [esp + 0x34]
jb 0x41d560
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x2c]
mov eax, dword [edi + 0x10]
dec ecx
mov esi, edi
cmp ecx, eax
ja 0x41d733
or eax, 0xffffffff
call fcn.004010a4
jmp 0x41d73e
mov ebx, ecx
push 0
sub ebx, eax
call fcn.0041e770
lea ecx, [esp + 0xfc]
push edi
push ecx
call fcn.0041f500
push eax
mov eax, 0x45a724
lea esi, [esp + 0xd0]
mov byte [esp + 0x20c], 0xc
call fcn.0041f470
add esp, 0xc
mov esi, dword [esp + 0x10]
xor edi, edi
push edi
push eax
or eax, 0xffffffff
mov byte [esp + 0x208], 0xd
call fcn.004083f7
mov esi, 0x10
cmp dword [esp + 0xd8], esi
jb 0x41d79f
mov edx, dword [esp + 0xc4]
push edx
call fcn.00438e0d
add esp, 4
mov ebx, 0xf
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xd4], edi
mov byte [esp + 0xc4], 0
cmp dword [esp + 0x110], esi
jb 0x41d7d3
mov eax, dword [esp + 0xfc]
push eax
call fcn.00438e0d
add esp, 4
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], edi
mov byte [esp + 0xfc], 0
jmp 0x41d83a
push 0x45a72c
lea eax, [esp + 0x74]
call fcn.00406038
lea ecx, [esp + 0x70]
mov eax, ebx
mov byte [esp + 0x200], 0xe
call fcn.0041de40
cmp dword [esp + 0x84], 0x10
jb 0x41d823
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00438e0d
add esp, 4
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
lea ebx, [esp + 0x20]
call fcn.00404efb
mov ecx, dword [esp + 0x1f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.00438e18
mov esp, ebp
pop ebp
ret 4