Function at 0x465180
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52a6f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x50]
xor ebp, ebp
push ecx
push edx
push ebp
mov dword [esp + 0x204], ebp
mov dword [esp + 0x40], ebp
call fcn.0045c7d0
add esp, 0x28
mov ecx, ebx
call fcn.0050f0f4
lea esi, [ebx + 0x4688]
push 1
mov ecx, esi
mov dword [ebx + 0x4934], 1
call fcn.0046bdc0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push 3
push ecx
lea eax, [esp + 0x210]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.0050dd15
call fcn.004b6120
add esp, 0x2c
mov ecx, esi
mov edi, eax
push ebp
call fcn.0046bdc0
mov ecx, ebx
call fcn.0050f109
cmp edi, ebp
je 0x465875
mov al, byte [edi + 0x2bc]
cmp al, 1
je 0x46527e
cmp al, 2
jne 0x465310
mov eax, dword [0x6c7b50]
test eax, eax
je 0x465310
mov ecx, dword [0x672f74]
mov eax, dword [edi + 0x2b8]
mov ebp, 1
mov dword [esp + 0x14], eax
mov ebx, dword [ecx + 0x2b8]
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
jle 0x465310
lea esi, [eax + 0x1360]
sub ebx, eax
mov edx, dword [ebx + esi]
mov dword [esi], edx
mov dword [ebx + esi], 0
mov al, byte [edi + 0x2bc]
cmp al, 1
jne 0x4652da
push ebp
lea eax, [esi - 0x904]
push str.AVSEQ_02d.DAT
push eax
jmp 0x4652eb
cmp al, 2
jne 0x4652f3
push ebp
lea ecx, [esi - 0x904]
push str.AVSEQ_02d.MPG
push ecx
call fcn.004f5dd2
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x465300
mov dword [eax + 4], 1
mov edx, dword [esp + 0x14]
inc ebp
add esi, 0x9a0
cmp ebp, dword [edx + 0xc]
jl 0x4652b5
mov eax, dword [edi + 0x29c]
cmp eax, 0x6a
je 0x465320
cmp eax, 0x6b
jne 0x465359
mov eax, dword [0x6c7b50]
test eax, eax
je 0x465359
mov eax, dword [edi + 0x2b8]
push eax
call fcn.004327a0
mov ecx, dword [0x672f74]
add esp, 4
mov edx, dword [ecx + 0x2b8]
mov dword [edi + 0x2b8], edx
mov eax, dword [0x672f74]
mov dword [eax + 0x2b8], 0
mov eax, dword [edi + 0x29c]
cmp eax, 0x64
je 0x4653f4
cmp eax, 0x67
je 0x4653f4
mov ecx, dword [edi + 0x2c0]
test ecx, ecx
jne 0x4653e4
cmp eax, 0x68
je 0x4653e4
mov cl, byte [edi + 0x2bc]
cmp cl, 1
je 0x4653d4
cmp eax, 0x6a
je 0x4653d4
cmp cl, 2
je 0x4653ce
cmp eax, 0x6b
je 0x4653ce
mov ecx, dword [edi + 0x2c8]
test ecx, ecx
jne 0x4653b9
cmp eax, 0x6e
je 0x4653b9
mov ecx, dword [esp + 0x10]
push 0
push 0
add ecx, 0xbc
jmp 0x465402
mov ebx, dword [esp + 0x10]
push 2
push 2
lea ecx, [ebx + 0xbc]
call fcn.0048bd40
jmp 0x46540b
push 1
push 2
jmp 0x4653f8
mov eax, dword [esp + 0x10]
push 0
push 2
lea ecx, [eax + 0xbc]
jmp 0x465402
mov ecx, dword [esp + 0x10]
push 1
push 1
add ecx, 0xbc
jmp 0x465402
push 0
push 1
mov edx, dword [esp + 0x18]
lea ecx, [edx + 0xbc]
call fcn.0048bd40
mov ebx, dword [esp + 0x10]
mov eax, dword [0x6c7b50]
test eax, eax
jne 0x46542e
mov ecx, ebx
call fcn.004660b0
cmp eax, 0xffffffff
jne 0x46542e
push edi
call fcn.00419720
add esp, 4
jmp 0x465875
mov ecx, ebx
call fcn.00465960
mov dword [0x672f74], edi
mov eax, dword [edi + 0x1418]
mov dword [0x6c7b28], eax
mov eax, dword [edi + 0x29c]
cmp eax, 0x64
je 0x465465
mov eax, dword [edi + 0x2c0]
test eax, eax
jne 0x465465
mov al, byte [edi + 0x2bc]
test al, al
je 0x46547e
mov eax, dword [edi + 0x2b8]
push eax
mov dword [eax + 0x3d2b8], 0xffffffff
call fcn.004ad730
add esp, 4
mov ecx, dword [edi + 0x29c]
push ecx
call fcn.0041c4b0
add esp, 4
test eax, eax
je 0x46552c
mov ecx, ebx
call fcn.004629a0
push edi
mov ecx, ebx
call fcn.004658c0
push edi
call fcn.00447a80
mov al, byte [edi + 0x2bc]
add esp, 4
test al, al
je 0x46552c
mov eax, dword [0x6c7b50]
test eax, eax
jne 0x465523
push 0
push 2
lea ecx, [esp + 0x80]
call fcn.00497c90
lea ecx, [esp + 0x78]
mov byte [esp + 0x1dc], 1
mov dword [esp + 0xec], edi
call fcn.0050ea9c
lea ecx, [esp + 0x168]
mov byte [esp + 0x1dc], 3
call fcn.004adad0
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1dc], 2
call fcn.004adad0
lea ecx, [esp + 0x78]
mov byte [esp + 0x1dc], 0
call fcn.004a7820
jmp 0x46552c
push edi
call fcn.0049d650
add esp, 4
mov ecx, dword [0x6c7b30]
test ecx, ecx
je 0x465823
mov eax, dword [ecx + 0x4814]
mov esi, 1
test eax, eax
jne 0x465555
mov dword [ecx + 0x4814], esi
mov ecx, dword [0x6c7b30]
mov eax, dword [0x672f74]
mov edx, dword [eax + 0x3acc]
test edx, edx
je 0x465621
mov al, byte [eax + 0x3ad2]
cmp al, 0x10
jae 0x46557d
mov dword [ecx + 0x4814], esi
jmp 0x465828
cmp al, 0x20
jae 0x4655b0
cmp al, 0x17
je 0x465709
cmp al, 0x18
je 0x465709
cmp al, 0x19
je 0x465709
cmp al, 0x1a
je 0x465709
mov dword [ecx + 0x4814], 0xb
jmp 0x465828
cmp al, 0x40
jae 0x4655a1
cmp al, 0x2d
je 0x465612
cmp al, 0x2e
je 0x465612
cmp al, 0x2f
je 0x465612
cmp al, 0x30
je 0x465612
cmp al, 0x29
je 0x46575c
cmp al, 0x2a
je 0x46575c
cmp al, 0x2b
je 0x46575c
cmp al, 0x2c
je 0x46575c
cmp al, 0x24
je 0x465603
cmp al, 0x25
je 0x465603
cmp al, 0x26
je 0x465603
cmp al, 0x28
je 0x465603
mov dword [ecx + 0x4814], 0x1f
jmp 0x465828
mov dword [ecx + 0x4814], 0x20
jmp 0x465828
mov dword [ecx + 0x4814], 0x22
jmp 0x465828
push 0x20
call fcn.00432900
add esp, 4
test eax, eax
jne 0x465815
push esi
call fcn.00432900
add esp, 4
test eax, eax
jne 0x465815
mov ecx, dword [0x672f74]
mov eax, dword [ecx + 0x2c8]
test eax, eax
je 0x465669
mov edx, dword [0x6c7b30]
mov dword [edx + 0x4814], 0xb
jmp 0x465828
mov eax, dword [ecx + 0x29c]
cmp eax, 0x98
je 0x465780
cmp eax, 0x96
je 0x465780
mov eax, dword [ecx + 0x3b74]
test eax, eax
jne 0x465828
mov eax, dword [ecx + 0x3ba0]
test eax, eax
jne 0x4656c9
mov edx, dword [ecx + 0x1418]
lea eax, [esp + 0x40]
push esi
push eax
push edx
push ecx
call fcn.00416e10
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add esp, 0x10
push 0
push 0x800
push eax
push ecx
call fcn.004f5c30
cmp eax, 0x57800
jg 0x4656e1
mov edx, dword [0x6c7b30]
mov dword [edx + 0x4814], esi
jmp 0x465828
cmp eax, 0x230489
jg 0x4656fc
mov eax, dword [0x6c7b30]
mov dword [eax + 0x4814], 0xb
jmp 0x465828
cmp eax, 0x3f5476
jg 0x465718
mov ecx, dword [0x6c7b30]
mov dword [ecx + 0x4814], 0xc
jmp 0x465828
cmp eax, 0xba43b7
jg 0x465734
mov edx, dword [0x6c7b30]
mov dword [edx + 0x4814], 0x1f
jmp 0x465828
cmp eax, 0x174876e
jg 0x46574f
mov eax, dword [0x6c7b30]
mov dword [eax + 0x4814], 0x20
jmp 0x465828
cmp eax, 0x2e90edd
jg 0x46576b
mov ecx, dword [0x6c7b30]
mov dword [ecx + 0x4814], 0x21
jmp 0x465828
mov edx, dword [0x6c7b30]
mov dword [edx + 0x4814], 0x22
jmp 0x465828
mov eax, dword [0x6c7b30]
mov dword [eax + 0x4814], 0x46
mov ecx, dword [0x6c7b30]
mov byte [ecx + 0x4818], 0
mov eax, dword [0x672f74]
mov ecx, dword [eax + 0x38e8]
test ecx, ecx
je 0x4657e2
mov ecx, dword [eax + 0x1418]
lea edx, [esp + 0x40]
push esi
push edx
push ecx
push eax
call fcn.00416e10
mov eax, dword [0x6c7b30]
mov edx, dword [esp + 0x50]
add esp, 0x10
mov dword [eax + 0x4820], edx
mov edx, dword [0x6c7b30]
mov ecx, dword [esp + 0x44]
mov dword [edx + 0x4824], ecx
jmp 0x465828
mov ecx, dword [eax + 0x38dc]
mov edx, dword [eax + 0x38d8]
push 0
push 0x200
push ecx
push edx
call fcn.004f5ce0
mov ecx, dword [0x6c7b30]
mov dword [ecx + 0x4820], eax
mov eax, dword [0x6c7b30]
mov dword [eax + 0x4824], edx
jmp 0x465828
mov ecx, dword [0x6c7b30]
mov dword [ecx + 0x4814], esi
jmp 0x465828
mov esi, 1
call fcn.0043f790
mov ecx, ebx
call fcn.004629a0
mov eax, dword [0x672f74]
mov ecx, dword [eax + 0x2c8]
test ecx, ecx
je 0x46585e
cmp dword [eax], 0
jne 0x46585e
push 2
call fcn.0043f710
add esp, 4
mov ecx, ebx
call fcn.004662e0
mov eax, dword [0x672f74]
push eax
call fcn.004b4900
add esp, 4
mov dword [0x66f4f8], 0
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x1dc], 0xffffffff
mov dword [edx + 0x4934], 0
call fcn.0050dfa8
mov ecx, dword [esp + 0x1d4]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1d0
ret 4