Function at 0x1005b890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102426ec
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x102e1e14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x103ed144]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x102e9390]
cmp eax, dword [ecx + 4]
jg 0x1005bf24
call fcn.10032760
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [eax + 0x1a4]
call fcn.100473a0
mov esi, dword [eax]
mov ecx, 0x102e9378
mov dword [ebp - 4], 1
mov dword [eax], 0
call fcn.10036b20
mov ecx, dword [0x102e938c]
test ecx, ecx
je 0x1005b924
mov eax, dword [ecx]
push 1
call dword [eax + 0xf4]
mov ecx, dword [ebp - 0x98]
mov dword [0x102e938c], esi
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1005b945
mov eax, dword [ecx]
push 1
call dword [eax + 0xf4]
or eax, 0xffffffff
mov word [ebp - 0x6c], 0xffff
mov word [ebp - 0x78], ax
mov word [ebp - 0x76], ax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x78]
push 0xf
push eax
movzx eax, word [ebx + 0xe0]
push eax
push dword [ebx + 0xf0]
call fcn.1004ab50
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1005bf86
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x70]
lea edi, [esi + 0x1b]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], esi
mov eax, dword [ecx]
push edx
call dword [eax + 0xc4]
cmp dword [ebp - 0x84], esi
ja 0x1005b9c9
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc0]
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc8]
cmp dword [ebp - 0x88], 0
ja 0x1005ba11
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ecx]
call dword [eax + 0xbc]
mov ecx, dword [ebx + 0xf0]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ecx]
call dword [eax + 0xd4]
mov esi, dword [ebx + 0x108]
test esi, esi
je 0x1005ba42
mov ecx, esi
call fcn.100a0930
push 0x14
push esi
call fcn.10209d2a
add esp, 8
movzx eax, byte [ebx + 0x8a]
dec eax
cmp eax, 3
ja case.default.0x1005ba4f
jmp dword [eax*4 + 0x1005c050]
lea eax, [ebx + 8]
mov ecx, ebx
push eax
call fcn.1005b440
jmp case.default.0x1005ba4f
lea eax, [ebx + 8]
push eax
jmp 0x1005ba8a
lea esi, [ebx + 8]
mov ecx, ebx
push esi
call fcn.1005b640
push esi
mov ecx, ebx
call fcn.1005b440
jmp case.default.0x1005ba4f
lea esi, [ebx + 8]
mov ecx, ebx
push esi
call fcn.1005b440
push esi
mov ecx, ebx
call fcn.1005b640
push 0x14
call fcn.100d1d56
add esp, 4
mov dword [ebp - 0x98], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x1005bb73
sub esp, 0x6c
lea edi, [ebx + 8]
mov esi, esp
mov ecx, esi
mov dword [ebp - 0x90], esi
push edi
call fcn.10016330
lea eax, [edi + 0xc]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0xc]
call fcn.10016330
lea eax, [edi + 0x18]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x18]
call fcn.10016330
lea eax, [edi + 0x24]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x24]
call fcn.10016330
lea eax, [edi + 0x30]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x30]
call fcn.10016330
lea eax, [edi + 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x3c]
call fcn.10016330
lea eax, [edi + 0x48]
mov byte [ebp - 4], 9
push eax
lea ecx, [esi + 0x48]
call fcn.10016330
lea eax, [edi + 0x54]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x54]
call fcn.10016330
lea eax, [edi + 0x60]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [esi + 0x60]
call fcn.10016330
push 0xf810
sub esp, 0x68
mov byte [ebp - 4], 3
mov edi, esp
lea esi, [ebx + 0x78]
mov ecx, 0x19
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x98]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.100a02f0
mov edi, 0x1b
jmp 0x1005bb75
xor eax, eax
mov dword [ebx + 0x108], eax
lea ecx, [ebp - 0xe0]
lea eax, [ebx + 0xe4]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.10016330
mov esi, dword [ebx + 0x108]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xc
call fcn.10036a70
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xd4], vtable.Projects::AudioGrabbingProducer.0
mov dword [ebp - 0xc0], esi
call fcn.10016330
lea ecx, [ebp - 0xe0]
call fcn.100165a0
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xe
call fcn.10036a90
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0xd4]
call fcn.10036b40
push 0xf810
call fcn.100d1d93
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 0xf810
push 0x930
mov byte [ebp - 4], 0x10
call fcn.100d1d93
add esp, 8
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0x930
mov esi, dword [ebp - 0x80]
lea eax, [ebx + 4]
mov ecx, ebx
mov byte [ebp - 4], 0x11
neg ecx
mov dword [ebp - 0x24], 0x14140101
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x24]
push ecx
push eax
push 0x930
push esi
push dword [ebp - 0x74]
lea ecx, [ebp - 0x58]
push dword [ebx + 0xf0]
call fcn.1009d7e0
xor eax, eax
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x79], 1
mov dword [ebp - 0x80], ecx
test esi, esi
je 0x1005be0a
cmp byte [ebx + 0xf4], 0
jne 0x1005c00a
mov eax, esi
sub eax, ecx
cmp eax, edi
jae 0x1005bcaa
movzx edi, ax
lea eax, [ebp - 0xa8]
push eax
push edi
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x58]
call fcn.1009da00
mov edx, dword [ebp - 0xa4]
mov eax, edi
sub eax, dword [ebp - 0xa8]
add dword [ebp - 0x8c], eax
mov eax, 0xf810
cmp byte [ebp - 0x79], 0
je 0x1005bd05
xor ecx, ecx
xor eax, eax
cmp byte [edx + eax], 0
jne 0x1005bcf5
inc eax
inc ecx
cmp eax, 0xf810
jb 0x1005bce4
jmp 0x1005bcf9
mov byte [ebp - 0x79], 0
mov eax, 0xf810
lea edx, [edx + ecx]
sub eax, ecx
je 0x1005bd1a
mov ecx, dword [ebx + 0x108]
push eax
push edx
call fcn.100a0a00
test eax, eax
jne 0x1005bfc9
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x80]
add ecx, edi
push ebx
movd xmm0, eax
sub esp, 0x1c
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [ebp - 0x80], ecx
addsd xmm0, qword [eax*8 + 0x1025d970]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, esi
divss xmm1, dword [0x102646d8]
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1025d970]
mov eax, ecx
shr eax, 0x1f
movsd qword [ebp - 0x9c], xmm0
mulsd xmm0, qword [0x10264720]
movsd qword [esp + 0x14], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1025d970]
mov eax, ecx
shr eax, 0x1f
mulsd xmm0, qword [0x10264720]
movsd qword [esp + 0xc], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mov dword [esp + 8], 0
mov ecx, dword [ebx + 0x74]
movss dword [esp + 4], xmm1
addsd xmm0, qword [eax*8 + 0x1025d970]
mov eax, esi
shr eax, 0x1f
cvtpd2ps xmm1, xmm0
movd xmm0, esi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x1025d970]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.1001c230
mov ecx, dword [ebp - 0x80]
cmp ecx, esi
jb 0x1005bc92
movsd xmm1, qword [ebp - 0x9c]
mov eax, dword [ebp - 0x8c]
jmp 0x1005be1e
movd xmm1, esi
cvtdq2pd xmm1, xmm1
shr esi, 0x1f
addsd xmm1, qword [esi*8 + 0x1025d970]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov ecx, dword [ebx + 0x74]
push ebx
sub esp, 0x1c
mulsd xmm1, qword [0x10264720]
addsd xmm0, qword [eax*8 + 0x1025d970]
unpcklpd xmm1, xmm1
movups xmmword [esp + 0xc], xmm1
mov dword [esp + 8], 0
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x102646d8]
movss dword [esp + 4], xmm0
mov dword [esp], 0x42c80000
call fcn.1001c230
mov ecx, dword [ebx + 0x108]
call fcn.100a09c0
lea ecx, [ebp - 0xd4]
call fcn.10036b80
lea ecx, [ebp - 0x90]
call fcn.10036a90
push eax
mov ecx, 0x102e9378
mov byte [ebp - 4], 0x15
call fcn.10036b40
lea ecx, [ebp - 0x90]
call fcn.10036ac0
push dword [ebp - 0xb0]
mov dword [ebp - 0x58], vtable.DrvLib::IDiscReader.0
call fcn.100d1d8e
push dword [ebp - 0xa4]
call fcn.100d1d8e
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.10036ac0
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xd4], vtable.Projects::AudioGrabbingProducer.0
call fcn.10036b80
lea ecx, [ebp - 0xbc]
call fcn.100165a0
lea ecx, [ebp - 0xd4]
call fcn.10036aa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1020a080
mov esp, ebp
pop ebp
ret
push 0x102e9390
call fcn.10209b15
add esp, 4
cmp dword [0x102e9390], 0xffffffff
jne 0x1005b8e0
mov ecx, 0x102e9378
mov dword [ebp - 4], 0
call fcn.10036a70
push 0x10258b50
mov dword [0x102e9378], 0x102646f0
mov dword [0x102e938c], 0
call fcn.1020a06b
push 0x102e9390
mov dword [ebp - 4], 0xffffffff
call fcn.10209acb
add esp, 8
jmp 0x1005b8e0
mov ecx, dword [ebx + 0x108]
call fcn.100a09c0
push 0
lea ecx, [ebp - 0xec]
call fcn.100164e0
lea eax, [ebp - 0xec]
mov dword [ebp - 4], 2
push eax
push esi
lea ecx, [ebp - 0x114]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x114]
push eax
call fcn.1020df63
mov ecx, dword [ebx + 0x108]
call fcn.100a09c0
push 0
lea ecx, [ebp - 0xf8]
call fcn.100164e0
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x14
push eax
push 4
lea ecx, [ebp - 0x124]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x124]
push eax
call fcn.1020df63
mov ecx, dword [ebx + 0x108]
call fcn.100a09c0
push 0
lea ecx, [ebp - 0x104]
call fcn.100164e0
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x13
push eax
push 0x8a
lea ecx, [ebp - 0x134]
call fcn.1003af20
push 0x102bd788
lea eax, [ebp - 0x134]
push eax
call fcn.1020df63
nop
push esi
mov edx, -1167912955
add eax, 0x5ba6910
adc byte [esi - 0x46], bh
add eax, 0x818b10
mov eax, dword [ecx + 0x100]
mov edx, dword [ecx + 0x104]
ret
int3