Function at 0x475760
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 0x4ed836
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x532c18]
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 + 0x74], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x18], eax
mov eax, dword [0x58d2d4]
push 1
mov byte [esp + 0xb4], 1
xor ebp, ebp
mov ecx, dword [eax + 0x70]
mov esi, dword [eax + 0x6c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x50], esi
call fcn.00477d20
mov ecx, dword [0x58d2d4]
mov dword [0x58d448], ebx
add esp, 4
mov eax, dword [ecx + 0x5c]
cmp eax, 1
jne 0x475881
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0xcc]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
cmp eax, 1
jle 0x4762b4
mov ecx, dword [esp + 0x20]
dec eax
mov dword [esp + 0x44], eax
mov edi, ebx
lea esi, [ecx + 0x9e8]
cmp dword [esi + 0x3aed0], ebx
jne 0x47586a
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 0x47583c
mov dword [esp + 0x28], edi
jmp 0x475bae
cmp eax, 2
jne 0x47595b
mov edx, dword [ecx + 0x68]
mov edi, 1
mov esi, dword [edx + 0xcc]
mov dword [esp + 0x20], esi
add esi, 0x234c
mov eax, dword [esi]
cmp eax, ebx
je 0x475949
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.0041c0d0
add esp, 8
cmp eax, 0xffffffff
jne 0x475924
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.004a6ea0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.004a6ea0
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.004cbb75
mov ecx, dword [esp + 0x2c]
add esp, 0x14
push ebx
push 0x44
push ecx
call fcn.004d7952
cmp eax, 6
jne 0x4762b4
mov edx, dword [esi]
push edx
call fcn.00487ea0
add esp, 4
xor ebx, ebx
mov dword [esi], ebx
jmp 0x475949
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x24], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
inc edi
add esi, 4
cmp edi, 0x64
jl 0x4758a2
jmp 0x475bae
cmp eax, 3
jne 0x475a7c
push ebx
push ebx
push 0xffffffffffffffff
push esi
call dword [0x534e4c]
cmp eax, ebx
mov dword [esp + 0x60], eax
jle 0x4762b4
mov eax, dword [esp + 0x4c]
push 0
push 0
push ebx
push eax
call dword [0x534e4c]
mov esi, eax
test esi, esi
jle 0x475a68
inc esi
lea ecx, [esi + esi]
push ecx
call fcn.00487e70
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4762b4
mov edx, dword [esp + 0x4c]
push esi
push ebp
push ebx
push edx
call dword [0x534e4c]
test eax, eax
jbe 0x4762b4
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.0041c0d0
push ebp
mov esi, eax
call fcn.00487ea0
add esp, 0xc
xor ebp, ebp
cmp esi, 0xffffffff
jne 0x475a43
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.004a6ea0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.004a6ea0
add esp, 8
lea ecx, [esp + 0x1c]
push eax
push ebp
push str._s_r_n_r_n_s__s
push ecx
call fcn.004cbb75
mov edx, dword [esp + 0x2c]
add esp, 0x14
push ebp
push 0x44
push edx
call fcn.004d7952
cmp eax, 6
jne 0x4762b4
jmp 0x475a68
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x24], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x60]
inc ebx
cmp ebx, eax
jl 0x47597b
xor ebx, ebx
jmp 0x475bae
cmp eax, 4
jne 0x4762b4
mov ecx, dword [esp + 0x58]
call fcn.00437470
xor ebx, ebx
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x475ba1
jmp 0x475aa0
xor ebx, ebx
lea eax, [esp + 0x40]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x60]
call fcn.004374a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 2
call fcn.004ce3b3
lea ecx, [esp + 0x50]
mov byte [esp + 0xb0], 1
call fcn.004ce26c
lea edx, [esp + 0x1c]
push edx
call fcn.004898d0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x4762b4
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.0041c0d0
push ebp
mov esi, eax
call fcn.00487ea0
add esp, 0xc
xor ebp, ebp
cmp esi, 0xffffffff
jne 0x475b6e
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.004a6ea0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.004a6ea0
add esp, 8
lea ecx, [esp + 0x1c]
push eax
push ebp
push str._s_r_n_r_n_s__s
push ecx
call fcn.004cbb75
mov edx, dword [esp + 0x2c]
add esp, 0x14
push ebp
push 0x44
push edx
call fcn.004d7952
cmp eax, 6
jne 0x4762b4
jmp 0x475b93
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x24], edx
cdq
add ecx, eax
mov eax, dword [esp + 0x2c]
adc eax, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x475a9e
xor ebx, ebx
mov ecx, dword [esp + 0x58]
call fcn.00437470
mov dword [esp + 0x40], eax
cmp dword [esp + 0x24], ebx
je 0x4762b4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
or eax, ecx
je 0x4762b4
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x9e4
mov eax, dword [esp + 0x44]
mov esi, dword [0x58d2d4]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
add eax, 0x908
inc edx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x5c]
add ecx, 4
cmp eax, 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], ecx
jne 0x475d47
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 0xc]
jge 0x4762ad
mov edi, dword [ecx + eax + 0x3aed0]
test edi, edi
jne 0x475bd8
mov eax, dword [esi + 0x68]
push edx
cmp byte [eax + 0xd0], 1
jne 0x475c3c
lea ecx, [esp + 0x20]
push str.AVSEQ_02d.DAT
push ecx
jmp 0x475c46
lea edx, [esp + 0x20]
push str.AVSEQ_02d.MPG
push edx
call fcn.004cbb75
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
call fcn.004898d0
add esp, 4
xor ebx, ebx
mov ebp, eax
mov dword [esp + 0x30], ebx
test ebp, ebp
je 0x475bd8
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
inc eax
push ecx
push eax
lea edx, [esp + 0x20]
push str._d__d
push edx
mov dword [esp + 0x84], eax
call fcn.004cbb75
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x58d2d4]
add esp, 0x10
push eax
push 0x481
call fcn.004d23b9
mov ecx, eax
call fcn.004d2501
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [0x58d2d4]
push 0x537
call fcn.004d23b9
mov ecx, eax
call fcn.004d2501
mov edx, dword [0x58d2d4]
mov byte [esp + 0x3f], 1
mov byte [esp + 0x17], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov eax, dword [edx + 0x5c]
cmp eax, 3
je 0x475cf8
cmp eax, 4
jne 0x475f5f
mov eax, dword [0x5362c0]
mov edi, 1
mov eax, dword [eax + 0xcc]
mov dword [esp + 0x20], eax
cmp dword [eax + 0xc], edi
jle 0x475f5f
mov ecx, eax
lea esi, [ecx + 0x234c]
mov eax, dword [esi]
test eax, eax
je 0x475d35
push ebp
push eax
call fcn.004b72dd
add esp, 8
test eax, eax
je 0x475ee8
mov edx, dword [esp + 0x20]
inc edi
add esi, 4
cmp edi, dword [edx + 0xc]
jl 0x475d1d
jmp 0x475f5f
cmp eax, 2
jne 0x475d85
cmp ecx, 0xb70
jg 0x4762ad
mov eax, dword [esp + 0x20]
mov ebp, dword [ecx + eax + 0x1964]
test ebp, ebp
je 0x475bd8
mov dword [ecx + eax + 0x1964], 0
push ebp
lea ecx, [esp + 0x20]
call fcn.004ce403
jmp 0x475e49
cmp eax, 3
jne 0x475dea
cmp edx, dword [esp + 0x60]
jg 0x4762ad
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x4c]
push 0
push 0
lea edi, [ecx - 1]
push edi
push ebx
call dword [0x534e4c]
mov esi, eax
test esi, esi
jle 0x475bd8
inc esi
lea edx, [esi + esi]
push edx
call fcn.00487e70
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4762b4
push esi
push ebp
push edi
push ebx
call dword [0x534e4c]
test eax, eax
jbe 0x4762b4
push ebp
lea ecx, [esp + 0x20]
call fcn.004ce403
jmp 0x475e49
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4762ad
lea eax, [esp + 0x40]
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, dword [esp + 0x60]
call fcn.004374a0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call fcn.004ce3b3
lea ecx, [esp + 0x80]
mov byte [esp + 0xb0], 1
call fcn.004ce26c
lea edx, [esp + 0x1c]
push edx
call fcn.004898d0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4762b4
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.0041c0d0
add esp, 8
cmp eax, 0xffffffff
push ebp
jne 0x475e6f
call fcn.00487ea0
add esp, 4
xor ebp, ebp
jmp 0x475bd8
call fcn.00487f60
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x30], ebx
jne 0x475c63
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.004a6ea0
add esp, 8
push eax
push str.Open_file_failed.
push 0x1ec
call fcn.004a6ea0
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.004cbb75
mov eax, dword [esp + 0x2c]
add esp, 0x14
push ebx
push 0x44
push eax
call fcn.004d7952
cmp eax, 6
jne 0x4762b4
push ebp
call fcn.00487ea0
add esp, 4
xor ebp, ebp
jmp 0x475bd8
push 0x525164
push 0x196
call fcn.004a6ea0
push eax
push ebp
lea eax, [esp + 0x28]
push str._s_r_n_r_n_s
push eax
call fcn.004cbb75
mov ecx, dword [esp + 0x30]
push 0x23
push ecx
call fcn.00486e20
add esp, 0x20
cmp eax, 6
je 0x475f5f
cmp eax, 2
je 0x4762b4
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
push ebx
cdq
add ecx, eax
adc edi, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
call fcn.00487eb0
push ebp
mov dword [esp + 0x38], 0
call fcn.00487ea0
add esp, 8
xor ebp, ebp
jmp 0x475bd8
push 0x148
call fcn.00487e70
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x5c], ebx
je 0x4762b4
mov al, byte [esp + 0x17]
test al, al
jne 0x476158
mov ecx, dword [0x58d2d8]
mov eax, dword [0x58d2d4]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x50], edi
jne 0x4762b4
mov ecx, dword [eax + 0x5c]
mov esi, 1
cmp ecx, esi
jne 0x475fb0
mov eax, dword [eax + 0x68]
jmp 0x475fb2
xor eax, eax
lea edx, [esp + 0x17]
lea ecx, [esp + 0x64]
push edx
lea edx, [esp + 0x43]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x60]
push edi
push edi
push ebx
push ecx
push edx
push eax
call fcn.00477d90
add esp, 0x24
test al, al
je 0x475fe7
cmp dword [0x58d448], edi
je 0x476067
mov eax, dword [0x58d2d4]
cmp dword [eax + 0x5c], esi
je 0x476277
push str.Do_you_want_to_continue_
push 0x1ed
call fcn.004a6ea0
add esp, 8
push eax
push 0x5289d4
push 0x1f9
call fcn.004a6ea0
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.004cbb75
mov eax, dword [esp + 0x2c]
add esp, 0x14
push edi
push 0x44
push eax
call fcn.004d7952
cmp eax, 6
jne 0x4762b4
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x40590000
mov dword [esp + 0x50], esi
mov byte [esp + 0x17], 0
mov dword [0x58d448], edi
fld qword [esp + 0x64]
call fcn.004b9448
mov esi, eax
cmp esi, 0x64
jl 0x47607c
mov esi, 0x64
cmp esi, dword [esp + 0x78]
je 0x4760af
mov ecx, dword [0x58d2d4]
push 0x64
push edi
push 0x406
mov edx, dword [ecx + 0x94]
push edx
call dword [0x534f28]
mov eax, dword [0x58d2d4]
push esi
lea ecx, [eax + 0x78]
call fcn.00485450
mov dword [esp + 0x78], esi
mov edi, dword [0x58d2d4]
cmp dword [edi + 0x5c], 1
jne 0x4760de
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + edx]
lea eax, [ecx + ecx*2]
shl eax, 4
add eax, ecx
lea eax, [eax + eax*2]
shl eax, 4
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
jmp 0x4760e5
fild dword [esp + 0x98]
fmul qword [esp + 0x64]
fmul qword [0x4f89a8]
fild qword [esp + 0x34]
faddp st(1)
fmul qword [0x4f89a0]
fild qword [esp + 0x28]
fdivp st(1)
call fcn.004b9448
mov esi, eax
cmp esi, 0x64
jle 0x476112
mov esi, 0x64
cmp esi, dword [esp + 0x70]
je 0x476144
mov ecx, dword [edi + 0x100]
push 0x64
push 0
push 0x406
push ecx
call dword [0x534f28]
mov edx, dword [0x58d2d4]
push esi
lea ecx, [edx + 0xe4]
call fcn.00485450
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x476158
mov al, byte [esp + 0x17]
test al, al
je 0x475f86
mov esi, dword [0x58d2d4]
mov edi, 1
cmp dword [esi + 0x5c], edi
jne 0x4761f3
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
push ebp
mov ecx, dword [eax + 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]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x68]
adc eax, edx
mov dl, byte [ecx + 0xd0]
mov dword [esp + 0x3c], eax
push edx
push ebx
call fcn.00478bc0
add esp, 0xc
test eax, eax
je 0x4762b4
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
push ebp
mov dword [esp + 0x60], 0
lea edx, [ecx + edi + 0x2b20]
mov dword [eax + edi + 0x3aed0], ebx
push edx
call fcn.004b71cd
push ebp
call fcn.00487ea0
add esp, 0xc
xor ebp, ebp
mov dword [esp + 0x6c], 1
jmp 0x475bd8
mov eax, dword [esp + 0x98]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cdq
add esi, eax
mov al, byte [esp + 0x17]
adc ecx, edx
mov dword [esp + 0x34], esi
test al, al
mov dword [esp + 0x38], ecx
je 0x475bd8
mov eax, dword [0x5362c0]
push ebp
mov cl, byte [eax + 0xd0]
push ecx
push ebx
call fcn.00478bc0
add esp, 0xc
test eax, eax
je 0x475bd8
mov edx, dword [0x58d2d4]
mov ecx, dword [esp + 0x30]
push ebx
mov eax, dword [edx + 0x64]
mov edx, dword [0x5362c0]
push eax
push ecx
mov eax, dword [edx + 0xcc]
push ebp
push eax
call fcn.00479370
add esp, 0x14
cmp eax, 0xffffffff
je 0x4762b4
xor ebp, ebp
mov dword [esp + 0x6c], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x30], ebp
jmp 0x475bd8
push 0x5289d4
push 0x1f9
call fcn.004a6ea0
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s_r_n_r_n_s
push edx
call fcn.004cbb75
mov eax, dword [esp + 0x30]
add esp, 0x18
push edi
push 0x40
push eax
call fcn.004d7952
jmp 0x4762b4
mov dword [esi + 0x74], 1
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00487eb0
push ebp
call fcn.00487ea0
mov edx, dword [esp + 0x64]
push edx
call fcn.00478e90
mov eax, dword [0x58d2d4]
add esp, 0xc
mov ecx, dword [eax + 0x74]
test ecx, ecx
jne 0x4762e7
push 0
call fcn.00477d20
add esp, 4
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x476338
mov ecx, dword [0x5362c0]
mov al, byte [ecx + 0xd0]
cmp al, 1
mov eax, str.MPEGAV
je 0x476309
mov eax, str.MPEG2
mov ecx, dword [ecx + 0x11f8]
push eax
push ecx
call fcn.0041e900
mov ecx, dword [0x58c960]
add esp, 8
cmp dword [ecx + 0x14], eax
jne 0x476338
mov edx, dword [0x58c95c]
push 1
push ecx
mov ecx, dword [edx + 0x354]
call fcn.00459d40
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x476347
push eax
call dword [sym.imp.SHELL32.dll_DragFinish]
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 0
call fcn.004ce26c
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004ce26c
mov ecx, dword [esp + 0xa8]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret