Function at 0x47ae30
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x55b1f4
mov eax, dword fs:[0]
push eax
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
xor ebp, ebp
push 0x1d0
lea eax, [esp + 0x9c]
push ebp
push eax
mov dword [esp + 0xa0], ebp
call fcn.00519500
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28c]
add esp, 0xc
xor esi, esi
xor bl, bl
cmp dword [eax + 0x10c], ebp
mov dword [esp + 0x1c], ebp
mov dword [eax + 0x650], ebp
lea edi, [ebp + 0x65]
mov byte [esp + 0x17], 0
jle 0x47b0ef
lea ebp, [esp + 0x94]
mov edi, edi
mov ecx, dword [eax + 0x108]
mov edi, dword [ecx + esi*4]
mov eax, dword [edi + 0x1a8]
dec eax
cmp eax, 5
ja case.default.0x47aee9
jmp dword [eax*4 + 0x47b3c0]
push 0x98
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 0
test eax, eax
je 0x47af34
mov edx, dword [esp + 0x278]
push 1
push edi
push ebp
push edx
mov ecx, eax
call fcn.0047aad0
mov edi, 0x68
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
xor eax, eax
lea edi, [eax + 0x68]
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
push 0x90
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 1
test eax, eax
je 0x47af89
mov ecx, dword [esp + 0x278]
push 1
push edi
push ebp
push ecx
mov ecx, eax
call fcn.0047a750
mov edi, 0x66
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
xor eax, eax
lea edi, [eax + 0x66]
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
push 0x90
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 2
test eax, eax
je 0x47afde
mov edx, dword [esp + 0x278]
push 1
push edi
push ebp
push edx
mov ecx, eax
call fcn.0047aca0
mov edi, 0x69
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
xor eax, eax
lea edi, [eax + 0x69]
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
push 0x8c
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 3
test eax, eax
je 0x47b033
mov ecx, dword [esp + 0x278]
push 1
push edi
push ebp
push ecx
mov ecx, eax
call fcn.0047a950
mov edi, 0x67
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
xor eax, eax
lea edi, [eax + 0x67]
mov byte [esp + 0x17], 1
mov bl, 1
jmp 0x47b0c5
push 0x2d4
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 4
test eax, eax
je 0x47b080
mov edx, dword [esp + 0x278]
push 1
push edi
push ebp
push edx
mov ecx, eax
call fcn.0048dde0
mov edi, 0x6a
mov bl, 1
jmp 0x47b0c5
xor eax, eax
lea edi, [eax + 0x6a]
mov bl, 1
jmp 0x47b0c5
push 0x84
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 5
test eax, eax
je 0x47b0be
mov ecx, dword [esp + 0x278]
push 1
push edi
push ebp
push ecx
mov ecx, eax
call fcn.0048ae80
jmp 0x47b0c0
xor eax, eax
mov edi, 0x7d
mov edx, dword [esp + 0x280]
mov dword [esp + esi*4 + 0x1c], eax
inc esi
add ebp, 0x34
cmp esi, dword [edx + 0x10c]
mov dword [esp + 0x270], 0xffffffff
mov eax, edx
jl 0x47aed0
xor ebp, ebp
cmp byte [esp + 0x17], 0
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x128], ecx
je 0x47b16a
push 0x4dc
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 6
cmp eax, ebp
je 0x47b157
mov edx, dword [esp + 0x280]
mov ecx, esi
imul ecx, ecx, 0x34
push 1
push edx
lea edx, [esp + ecx + 0x9c]
mov ecx, dword [esp + 0x280]
push edx
push ecx
mov ecx, eax
call fcn.0047a490
or ebp, 0xffffffff
mov dword [esp + esi*4 + 0x1c], eax
mov dword [esp + 0x270], ebp
inc esi
jmp 0x47b16d
xor eax, eax
or ebp, 0xffffffff
mov dword [esp + esi*4 + 0x1c], eax
mov dword [esp + 0x270], ebp
inc esi
jmp 0x47b16d
or ebp, 0xffffffff
test bl, bl
je 0x47b221
push 0x84
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 7
test eax, eax
je 0x47b1bd
mov edx, dword [esp + 0x280]
mov ecx, esi
imul ecx, ecx, 0x34
push 1
push edx
lea edx, [esp + ecx + 0x9c]
mov ecx, dword [esp + 0x280]
push edx
push ecx
mov ecx, eax
call fcn.0047a620
jmp 0x47b1bf
xor eax, eax
mov dword [esp + esi*4 + 0x1c], eax
push 0x84
mov dword [esp + 0x274], ebp
inc esi
call fcn.0051a2f5
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x270], 8
test eax, eax
je 0x47b213
mov edx, dword [esp + 0x280]
mov ecx, esi
imul ecx, ecx, 0x34
push 1
push edx
lea edx, [esp + ecx + 0x9c]
mov ecx, dword [esp + 0x280]
push edx
push ecx
mov ecx, eax
call fcn.004856a0
jmp 0x47b215
xor eax, eax
mov dword [esp + esi*4 + 0x1c], eax
mov dword [esp + 0x270], ebp
inc esi
xor eax, eax
test esi, esi
jle 0x47b240
jmp 0x47b230
cmp dword [esp + eax*4 + 0x1c], 0
je case.default.0x47aee9
inc eax
cmp eax, esi
jl 0x47b230
push ebp
push 0
lea ecx, [esp + 0x48]
call fcn.0049eff0
mov dword [esp + 0x40], vtable.cWCStr.0
mov edx, dword [esp + 0x280]
mov ebx, dword [edx + 0x658]
mov dword [esp + 0x270], 9
mov ebp, vtable.cWCS.0
cmp ebx, dword [esp + 0x44]
je 0x47b2bb
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x58]
call fcn.0049eff0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x278], 0xa
call fcn.0049eeb0
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x44]
call fcn.0049e930
lea ecx, [esp + 0x50]
mov byte [esp + 0x270], 9
mov dword [esp + 0x50], ebp
call fcn.0049ee80
mov ebx, dword [esp + 0x284]
mov dword [esp + 0x60], 0x28
cmp ebx, 0xffffffff
jne 0x47b2dc
mov ecx, dword [esp + 0x280]
mov ebx, dword [ecx + 0x654]
push 0x10
push 0x10
push edi
mov edi, dword [esp + 0x284]
push edi
mov dword [esp + 0x74], 0x10a
call fcn.004b4470
mov edx, dword [esp + 0x28c]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], edx
lea eax, [esp + 0x70]
lea edx, [esp + 0xa4]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x98], 0x47a0a0
call fcn.004b0f70
add esp, 0x14
xor edi, edi
mov ebx, eax
test esi, esi
jle 0x47b36b
mov ecx, dword [esp + edi*4 + 0x1c]
test ecx, ecx
je 0x47b3a4
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc edi
cmp edi, esi
jl 0x47b356
test ebx, ebx
lea ecx, [esp + 0x40]
setg bl
mov dword [esp + 0x270], 0xffffffff
mov dword [esp + 0x40], ebp
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x260
ret
lea ecx, [esp + 0x40]
mov dword [esp + 0x270], 0xffffffff
mov dword [esp + 0x40], ebp
call fcn.0049ee80
xor al, al
jmp 0x47b38a