Function at 0x51c028
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ddae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov dword [eax + 4], 0x2000
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 8], 0x14
mov ecx, dword [ebp - 0x60]
add ecx, 0x14
call fcn.004086f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
add ecx, 0x20
call fcn.0051e040
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
add ecx, 0x80
call fcn.0051df00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e120
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
add ecx, 0xc0
call fcn.0051e120
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x60]
add ecx, 0xf0
call fcn.005ed4c0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
add ecx, 0x130
call fcn.005ed4c0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
add ecx, 0x170
call fcn.005ed0e4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x60]
add ecx, 0x3a8
call fcn.005ed0e4
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x60]
mov dword [edx], 0x660110
mov eax, dword [ebp - 0x60]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0xa0], 0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xd8], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x44], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x74], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x7c], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0xe0], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xdc], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0xd4], 0
push 0x6e6958
mov ecx, dword [ebp - 0x60]
add ecx, 0x14
call fcn.0061ee57
mov edx, dword [ebp - 0x60]
mov dword [edx + 0xe4], 0
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xe8], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0xec], 0
push 0x6e695c
mov ecx, dword [ebp - 0x60]
add ecx, 0x20
call fcn.0061ee57
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x28], 0x3e8
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x30], 1
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x34], 1
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x60]
mov byte [ecx + 0x38], 1
mov edx, dword [ebp - 0x60]
mov byte [edx + 0x40], 1
mov eax, dword [ebp - 0x60]
mov byte [eax + 0x41], 0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x3c], 0xffffffff
mov ecx, dword [ebp - 0x60]
add ecx, 0xc0
call fcn.0051e170
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e170
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x24], 0
je 0x51c272
mov ecx, dword [ebp - 0x24]
call fcn.0051e040
mov dword [ebp - 0x64], eax
jmp 0x51c279
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
push str.G.711_a_Law
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0xa
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0x50
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], 2
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 8
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x18], 0
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x21], 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x2c], 0
je 0x51c313
mov ecx, dword [ebp - 0x2c]
call fcn.0051e040
mov dword [ebp - 0x68], eax
jmp 0x51c31a
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
push str.G.711
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0xa
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], 0x50
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], 2
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x18], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x20], 1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x21], 1
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x34], 0
je 0x51c3b4
mov ecx, dword [ebp - 0x34]
call fcn.0051e040
mov dword [ebp - 0x6c], eax
jmp 0x51c3bb
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
push 0x6b762c
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], 0x14
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 0x21
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 4
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0xa
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 3
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x20], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x21], 1
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x3c], 0
je 0x51c455
mov ecx, dword [ebp - 0x3c]
call fcn.0051e040
mov dword [ebp - 0x70], eax
jmp 0x51c45c
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
push str.G.721_726
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 0xa
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xc], 0x28
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], 1
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x14], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 2
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x18], 0
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x20], 1
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x21], 1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x44], 0
je 0x51c4f6
mov ecx, dword [ebp - 0x44]
call fcn.0051e040
mov dword [ebp - 0x74], eax
jmp 0x51c4fd
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x18], edx
push 0x6b763c
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov eax, dword [ebp - 0x18]
mov dword [eax + 8], 0x1e
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0xc], 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x10], 1
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], 4
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x18], 0
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x20], 1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x21], 1
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
push 0x24
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x4c], 0
je 0x51c597
mov ecx, dword [ebp - 0x4c]
call fcn.0051e040
mov dword [ebp - 0x78], eax
jmp 0x51c59e
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
push str.G.729a
mov ecx, dword [ebp - 0x18]
call fcn.0061ee57
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], 0xa
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 0xa
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], 1
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0x12
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0x18], 0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x20], 1
mov eax, dword [ebp - 0x18]
mov byte [eax + 0x21], 1
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0051e190
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
jmp 0x51c62d
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.00474580
cmp dword [ebp - 0x1c], eax
jge 0x51c682
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.0055fe70
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x10]
imul edx, dword [ecx + 0xc]
cmp edx, dword [ebp - 0x10]
jle 0x51c680
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [eax + 0x10]
imul edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
jmp 0x51c624
mov eax, dword [ebp - 0x10]
add eax, 0x64
push eax
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0xe0], edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.00474580
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x14
add eax, 4
push eax
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x58], 0
je 0x51c6ff
push fcn.0061dd8f
push fcn.0061dd78
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, dword [ebp - 0x14]
push eax
push 0x14
mov ecx, dword [ebp - 0x58]
add ecx, 4
push ecx
call fcn.00607f1d
mov edx, dword [ebp - 0x58]
add edx, 4
mov dword [ebp - 0x7c], edx
jmp 0x51c706
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x54]
mov dword [ecx + 0xd4], edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xac
call fcn.00474580
shl eax, 2
push eax
call fcn.0061f2c0
add esp, 4
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0xd8], ecx
mov ecx, dword [ebp - 0x60]
call fcn.0051d980
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret