Function at 0x4a96e0
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57c926
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
mov eax, dword [0x733f14]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x78caf8]
push 1
mov byte [esp + 0xc4], 1
xor ebp, ebp
mov ecx, dword [eax + 0x7c]
mov esi, dword [eax + 0x78]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x50], esi
call fcn.004abd10
mov ecx, dword [0x78caf8]
mov dword [0x78cc74], ebx
add esp, 4
mov eax, dword [ecx + 0x68]
cmp eax, 1
jne 0x4a9804
mov edx, dword [ecx + 0x74]
mov eax, dword [edx + 0x2b8]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
cmp eax, 1
jle 0x4aa261
mov ecx, dword [esp + 0x20]
dec eax
mov dword [esp + 0x44], eax
mov edi, ebx
lea esi, [ecx + 0x9ec]
cmp dword [esi + 0x3b068], ebx
jne 0x4a97ed
mov eax, dword [esp + 0x24]
mov ecx, dword [esi]
inc eax
mov dword [esp + 0x24], eax
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 4
cdq
add edi, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
add esi, 4
dec eax
mov dword [esp + 0x44], eax
jne 0x4a97bf
mov dword [esp + 0x28], edi
jmp 0x4a9b43
cmp eax, 2
jne 0x4a98e4
mov edx, dword [ecx + 0x74]
mov edi, 1
mov esi, dword [edx + 0x2b8]
mov dword [esp + 0x20], esi
add esi, 0x234c
mov eax, dword [esi]
cmp eax, ebx
je 0x4a98d2
lea ecx, [esp + 0x88]
push ecx
push eax
call fcn.00422b50
add esp, 8
cmp eax, 0xffffffff
jne 0x4a98a7
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.0051faa0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.0051faa0
mov edx, dword [esi]
add esp, 8
push eax
push edx
lea eax, [esp + 0x24]
push str._s_r_n_r_n_s__s
push eax
call fcn.00557b5d
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ebx
push 0x44
push ecx
call fcn.005647c7
cmp eax, 6
jne 0x4aa261
mov edx, dword [esi]
push edx
call fcn.004f5720
add esp, 4
xor ebx, ebx
mov dword [esi], ebx
jmp 0x4a98d2
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xa4]
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa0]
add edx, eax
mov eax, dword [esp + 0x2c]
adc eax, ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
inc edi
add esi, 4
cmp edi, 0x64
jl 0x4a9825
jmp 0x4a9b43
cmp eax, 3
jne 0x4a9a0b
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [0x73647c]
cmp eax, ebx
mov dword [esp + 0x60], eax
jle 0x4aa261
mov edx, dword [esp + 0x4c]
push 0
push 0
push ebx
push edx
call dword [0x73647c]
mov esi, eax
test esi, esi
jle 0x4a99f7
inc esi
lea eax, [esi + esi]
push eax
call fcn.004f56f0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4aa261
mov ecx, dword [esp + 0x4c]
push esi
push ebp
push ebx
push ecx
call dword [0x73647c]
test eax, eax
jbe 0x4aa261
lea edx, [esp + 0x88]
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x88]
push edx
push ebp
rep stosd dword es:[edi], eax
call fcn.00422b50
push ebp
mov esi, eax
call fcn.004f5720
add esp, 0xc
xor ebp, ebp
cmp esi, 0xffffffff
jne 0x4a99cc
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.0051faa0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.0051faa0
add esp, 8
push eax
push ebp
lea eax, [esp + 0x24]
push str._s_r_n_r_n_s__s
push eax
call fcn.00557b5d
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ebp
push 0x44
push ecx
call fcn.005647c7
cmp eax, 6
jne 0x4aa261
jmp 0x4a99f7
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
inc edi
add esi, edx
mov dword [esp + 0x24], edi
adc ecx, eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x60]
inc ebx
cmp ebx, eax
jl 0x4a9904
xor ebx, ebx
jmp 0x4a9b43
cmp eax, 4
jne 0x4aa261
mov ecx, dword [esp + 0x58]
call fcn.00447260
xor ebx, ebx
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x4a9b36
jmp 0x4a9a2f
xor ebx, ebx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
call fcn.00447290
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 2
call fcn.0055af32
lea ecx, [esp + 0x50]
mov byte [esp + 0xc0], 1
call fcn.0055adeb
lea eax, [esp + 0x1c]
push eax
call fcn.004f7d50
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4aa261
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x88]
push ecx
push ebp
call fcn.00422b50
push ebp
mov esi, eax
call fcn.004f5720
add esp, 0xc
xor ebp, ebp
cmp esi, 0xffffffff
jne 0x4a9afd
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.0051faa0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.0051faa0
add esp, 8
lea edx, [esp + 0x1c]
push eax
push ebp
push str._s_r_n_r_n_s__s
push edx
call fcn.00557b5d
mov eax, dword [esp + 0x2c]
add esp, 0x14
push ebp
push 0x44
push eax
call fcn.005647c7
cmp eax, 6
jne 0x4aa261
jmp 0x4a9b28
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0x2c]
inc edi
add esi, ecx
mov dword [esp + 0x24], edi
adc eax, edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4a9a2d
xor ebx, ebx
mov ecx, dword [esp + 0x58]
call fcn.00447260
mov dword [esp + 0x40], eax
cmp dword [esp + 0x24], ebx
je 0x4aa261
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, ecx
je 0x4aa261
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x9e8
mov eax, dword [esp + 0x44]
mov esi, dword [0x78caf8]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
add eax, 0x908
inc edx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x68]
add ecx, 4
cmp eax, 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
jne 0x4a9cdc
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 0xc]
jge 0x4aa257
mov edi, dword [ecx + eax + 0x3b068]
test edi, edi
jne 0x4a9b6d
mov eax, dword [esi + 0x74]
push edx
cmp byte [eax + 0x2bc], 1
jne 0x4a9bd1
lea ecx, [esp + 0x20]
push str.AVSEQ_02d.DAT
push ecx
jmp 0x4a9bdb
lea edx, [esp + 0x20]
push str.AVSEQ_02d.MPG
push edx
call fcn.00557b5d
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call fcn.004f7d50
add esp, 4
xor ebx, ebx
mov ebp, eax
mov dword [esp + 0x30], ebx
test ebp, ebp
je 0x4a9b6d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
inc eax
push ecx
push eax
lea edx, [esp + 0x20]
push str._d__d
push edx
mov dword [esp + 0x88], eax
call fcn.00557b5d
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x78caf8]
add esp, 0x10
push eax
push 0x481
call fcn.0055f021
mov ecx, eax
call fcn.0055f169
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [0x78caf8]
push 0x537
call fcn.0055f021
mov ecx, eax
call fcn.0055f169
mov edx, dword [0x78caf8]
mov byte [esp + 0x3f], 1
mov byte [esp + 0x17], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [edx + 0x68]
cmp eax, 3
je 0x4a9c8d
cmp eax, 4
jne 0x4a9efa
mov eax, dword [0x7378fc]
mov edi, 1
mov eax, dword [eax + 0x2b8]
mov dword [esp + 0x20], eax
cmp dword [eax + 0xc], edi
jle 0x4a9efa
mov ecx, eax
lea esi, [ecx + 0x234c]
mov eax, dword [esi]
test eax, eax
je 0x4a9cca
push ebp
push eax
call fcn.0053f51d
add esp, 8
test eax, eax
je 0x4a9e7d
mov edx, dword [esp + 0x20]
inc edi
add esi, 4
cmp edi, dword [edx + 0xc]
jl 0x4a9cb2
jmp 0x4a9efa
cmp eax, 2
jne 0x4a9d1a
cmp ecx, 0xb74
jg 0x4aa257
mov eax, dword [esp + 0x20]
mov ebp, dword [ecx + eax + 0x1960]
test ebp, ebp
je 0x4a9b6d
mov dword [ecx + eax + 0x1960], 0
push ebp
lea ecx, [esp + 0x20]
call fcn.0055af82
jmp 0x4a9dde
cmp eax, 3
jne 0x4a9d7f
cmp edx, dword [esp + 0x60]
jg 0x4aa257
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
push 0
push 0
lea edi, [ecx - 1]
push edi
push ebx
call dword [0x73647c]
mov esi, eax
test esi, esi
jle 0x4a9b6d
inc esi
lea edx, [esi + esi]
push edx
call fcn.004f56f0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4aa261
push esi
push ebp
push edi
push ebx
call dword [0x73647c]
test eax, eax
jbe 0x4aa261
push ebp
lea ecx, [esp + 0x20]
call fcn.0055af82
jmp 0x4a9dde
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4aa257
lea eax, [esp + 0x40]
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, dword [esp + 0x60]
call fcn.00447290
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 3
call fcn.0055af32
lea ecx, [esp + 0x84]
mov byte [esp + 0xc0], 1
call fcn.0055adeb
lea edx, [esp + 0x1c]
push edx
call fcn.004f7d50
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4aa261
lea eax, [esp + 0x88]
push eax
push ebp
call fcn.00422b50
add esp, 8
cmp eax, 0xffffffff
push ebp
jne 0x4a9e04
call fcn.004f5720
add esp, 4
xor ebp, ebp
jmp 0x4a9b6d
call fcn.004f5860
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x30], ebx
jne 0x4a9bf8
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.0051faa0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.0051faa0
mov ecx, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 0x1c]
push eax
push ecx
push str._s_r_n_r_n_s__s
push edx
call fcn.00557b5d
mov eax, dword [esp + 0x2c]
add esp, 0x14
push ebx
push 0x44
push eax
call fcn.005647c7
cmp eax, 6
jne 0x4aa261
push ebp
call fcn.004f5720
add esp, 4
xor ebp, ebp
jmp 0x4a9b6d
push 0x706174
push 0x196
call fcn.0051faa0
push eax
push ebp
lea eax, [esp + 0x28]
push 0x66e224
push eax
call fcn.00557b5d
mov ecx, dword [esp + 0x30]
push 0x23
push ecx
call fcn.004f3450
add esp, 0x20
cmp eax, 6
je 0x4a9efa
cmp eax, 2
je 0x4aa261
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0x38]
add ecx, edx
push ebx
adc edi, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
call fcn.004f5730
push ebp
mov dword [esp + 0x38], 0
call fcn.004f5720
add esp, 8
xor ebp, ebp
jmp 0x4a9b6d
push 0x148
call fcn.004f56f0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x5c], ebx
je 0x4aa261
mov al, byte [esp + 0x17]
test al, al
jne 0x4aa0fd
mov ecx, dword [0x78cafc]
mov eax, dword [0x78caf8]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x50], edi
jne 0x4aa261
mov ecx, dword [eax + 0x68]
mov esi, 1
cmp ecx, esi
jne 0x4a9f4b
mov eax, dword [eax + 0x74]
jmp 0x4a9f4d
xor eax, eax
lea ecx, [esp + 0x17]
lea edx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x43]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x60]
push edi
push edi
push ebx
push edx
push ecx
push eax
call fcn.004abd80
add esp, 0x24
test al, al
je 0x4a9f82
cmp dword [0x78cc74], edi
je 0x4aa003
mov edx, dword [0x78caf8]
cmp dword [edx + 0x68], esi
je 0x4aa221
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.0051faa0
add esp, 8
push eax
push 0x70aa48
push 0x1f9
call fcn.0051faa0
add esp, 8
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
push str._s_r_n_r_n_s__s
push ecx
call fcn.00557b5d
mov edx, dword [esp + 0x2c]
add esp, 0x14
push edi
push 0x44
push edx
call fcn.005647c7
cmp eax, 6
jne 0x4aa261
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x40590000
mov dword [esp + 0x50], esi
mov byte [esp + 0x17], 0
mov dword [0x78cc74], edi
fld qword [esp + 0x64]
call fcn.00542018
mov esi, eax
cmp esi, 0x64
jl 0x4aa018
mov esi, 0x64
cmp esi, dword [esp + 0x7c]
je 0x4aa04e
mov eax, dword [0x78caf8]
push 0x64
push edi
push 0x406
mov ecx, dword [eax + 0xa0]
push ecx
call dword [0x73655c]
mov edx, dword [0x78caf8]
push esi
lea ecx, [edx + 0x84]
call fcn.004ec8a0
mov dword [esp + 0x7c], esi
mov edi, dword [0x78caf8]
cmp dword [edi + 0x68], 1
jne 0x4aa083
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea edx, [eax + eax*2]
shl edx, 4
mov dword [esp + 0x80], edx
fild dword [esp + 0x80]
jmp 0x4aa08a
fild qword [esp + 0xa0]
fmul qword [esp + 0x64]
fmul qword [0x630848]
fild qword [esp + 0x34]
faddp st(1)
fmul qword [0x62ca70]
fild qword [esp + 0x28]
fdivp st(1)
call fcn.00542018
mov esi, eax
cmp esi, 0x64
jle 0x4aa0b7
mov esi, 0x64
cmp esi, dword [esp + 0x74]
je 0x4aa0e9
mov eax, dword [edi + 0x10c]
push 0x64
push 0
push 0x406
push eax
call dword [0x73655c]
mov ecx, dword [0x78caf8]
push esi
add ecx, 0xf0
call fcn.004ec8a0
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x4aa0fd
mov al, byte [esp + 0x17]
test al, al
je 0x4a9f21
mov esi, dword [0x78caf8]
mov edi, 1
cmp dword [esi + 0x68], edi
jne 0x4aa198
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
push ebp
mov ecx, dword [edx + edi]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x38]
lea eax, [eax + eax*2]
shl eax, 4
cdq
add ecx, eax
mov eax, dword [esp + 0x3c]
adc eax, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x74]
mov cl, byte [eax + 0x2bc]
push ecx
push ebx
call fcn.004acbb0
add esp, 0xc
test eax, eax
je 0x4aa261
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x60], 0
lea ecx, [eax + edi + 0x3334]
mov dword [edx + edi + 0x3b068], ebx
push ecx
call fcn.0053f406
push ebp
call fcn.004f5720
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x70], 1
jmp 0x4a9b6d
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
add esi, edx
adc ecx, eax
mov al, byte [esp + 0x17]
test al, al
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ecx
je 0x4a9b6d
mov ecx, dword [0x7378fc]
push ebp
mov dl, byte [ecx + 0x2bc]
push edx
push ebx
call fcn.004acbb0
add esp, 0xc
test eax, eax
je 0x4a9b6d
mov eax, dword [0x78caf8]
mov edx, dword [esp + 0x30]
push ebx
mov ecx, dword [eax + 0x70]
mov eax, dword [0x7378fc]
push ecx
push edx
mov ecx, dword [eax + 0x2b8]
push ebp
push ecx
call fcn.004ad390
add esp, 0x14
cmp eax, 0xffffffff
je 0x4aa261
xor ebp, ebp
mov dword [esp + 0x70], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], ebp
jmp 0x4a9b6d
push 0x70aa48
push 0x1f9
call fcn.0051faa0
mov edx, dword [esp + 0x24]
push eax
push edx
lea eax, [esp + 0x28]
push 0x66e224
push eax
call fcn.00557b5d
mov ecx, dword [esp + 0x30]
add esp, 0x18
push edi
push 0x40
push ecx
call fcn.005647c7
jmp 0x4aa261
mov dword [esi + 0x80], 1
mov edx, dword [esp + 0x30]
push edx
call fcn.004f5730
push ebp
call fcn.004f5720
mov eax, dword [esp + 0x64]
push eax
call fcn.004ace70
mov ecx, dword [0x78caf8]
add esp, 0xc
mov eax, dword [ecx + 0x80]
test eax, eax
jne 0x4aa298
push 0
call fcn.004abd10
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4aa2e8
mov ecx, dword [0x7378fc]
mov al, byte [ecx + 0x2bc]
cmp al, 1
mov eax, str.MPEGAV
je 0x4aa2ba
mov eax, str.MPEG2
mov edx, dword [ecx + 0x1418]
push eax
push edx
call fcn.00427a80
mov ecx, dword [0x78c44c]
add esp, 8
cmp dword [ecx + 0x14], eax
jne 0x4aa2e8
mov eax, dword [0x78c448]
push 1
push ecx
mov ecx, dword [eax + 0x354]
call fcn.00481900
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4aa2f7
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 0
call fcn.0055adeb
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], 0xffffffff
call fcn.0055adeb
mov ecx, dword [esp + 0xb8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret