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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [0x1018fc64]
xor eax, ebp
mov dword [esp + 0x88], eax
cmp dword [ebp + 0x14], 0xd
jg 0x10061b3d
push str.wav_header_size___14
push dword [ebp + 8]
call fcn.1006fce0
add esp, 8
mov edi, 0xbebbb1b7
jmp 0x100621e6
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [edi], 1
cmp dword [ebp + 0x18], 0
je 0x10061bb2
push esi
call fcn.1003c260
add esp, 4
mov ebx, eax
push esi
call fcn.1003c260
add esp, 4
mov dword [edi + 0x68], eax
push esi
call fcn.1003c350
add esp, 4
mov dword [edi + 0x6c], eax
push esi
call fcn.1003c350
add esp, 4
mov ecx, eax
shr ecx, 0x1d
mov dword [esp + 0xc], ecx
shl eax, 3
mov dword [esp + 4], eax
push esi
call fcn.1003c260
add esp, 4
mov dword [edi + 0x70], eax
mov edi, 8
cmp dword [ebp + 0x14], 0xe
je 0x10061bad
push esi
call fcn.1003c260
add esp, 4
mov edi, eax
mov esi, dword [ebp + 0x14]
jmp 0x10061c2e
push esi
call fcn.1003c080
add esp, 4
mov ebx, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
cmp eax, 0x165
je 0x10061c14
mov esi, dword [ebp + 0xc]
push esi
call fcn.1003c080
add esp, 4
mov dword [edi + 0x68], eax
push esi
call fcn.1003c170
add esp, 4
mov dword [edi + 0x6c], eax
push esi
call fcn.1003c170
add esp, 4
mov ecx, eax
shr ecx, 0x1d
mov dword [esp + 0xc], ecx
shl eax, 3
mov dword [esp + 4], eax
push esi
call fcn.1003c080
add esp, 4
mov dword [edi + 0x70], eax
mov edi, 8
mov esi, dword [ebp + 0x14]
cmp esi, 0xe
je 0x10061c2e
push dword [ebp + 0xc]
call fcn.1003c080
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x20], edi
cmp ebx, 0xfffe
jne 0x10061c4f
mov dword [eax + 8], 0
mov edi, eax
cmp esi, 0x12
jge 0x10061ca9
jmp 0x10061ce0
mov dword [eax + 8], ebx
push ebx
push 0x10158d84
call fcn.10032540
add esp, 8
test eax, eax
jle 0x10061c9e
cmp eax, 0x10015
je 0x10061c7a
cmp eax, 0x10000
jne 0x10061c89
push 0xfffffffffffffffe
push 0
push 0
jmp 0x10061c80
push 0
push 0
push 1
push edi
call fcn.100325c0
add esp, 0x10
mov ecx, eax
xor ecx, 0x11001
xor edi, 8
or edi, ecx
mov ecx, 0x1180d
cmove eax, ecx
mov edi, dword [ebp + 0x10]
mov dword [edi + 4], eax
cmp esi, 0x12
jl 0x10061ce0
cmp ebx, 0x165
je 0x10061ce0
push dword [ebp + 0xc]
call fcn.1003c080
add esp, 4
cmp dword [ebp + 0x18], 0
je 0x10061dff
push str.WAVEFORMATEX_support_for_RIFX_files
push dword [ebp + 8]
call fcn.1006fd80
add esp, 8
mov edi, 0xbaa8beb0
jmp 0x100621e6
cmp esi, 0x20
jl 0x10062177
cmp ebx, 0x165
mov ebx, dword [ebp + 8]
jne 0x1006217a
add esi, 0xfffffffc
push esi
push dword [ebp + 0xc]
push edi
push ebx
call fcn.10032710
add esp, 0x10
test eax, eax
js 0x100621cf
mov eax, dword [edi + 0xc]
movzx ecx, word [eax + 4]
mov edx, dword [eax + 0xc]
mov dword [edi + 0x6c], edx
mov dword [edi + 0x68], 0
lea edx, [ecx + ecx*4]
lea edx, [edx*4 + 8]
mov edi, 0xbebbb1b7
cmp esi, edx
jl 0x100621e6
test cx, cx
je 0x10061fa9
mov dword [esp + 4], eax
lea ebx, [ecx - 1]
mov eax, ecx
and eax, 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov esi, 0
mov edi, 0
cmp ebx, 3
mov eax, dword [ebp + 0x10]
jb 0x10061dad
and ecx, 0xfffffffc
mov edx, dword [esp + 4]
lea ebx, [edx + 0x55]
xor esi, esi
xor edi, edi
nop dword [eax]
movzx edx, byte [ebx - 0x3c]
add edx, esi
mov dword [eax + 0x68], edx
movzx esi, byte [ebx - 0x28]
add esi, edx
mov dword [eax + 0x68], esi
movzx edx, byte [ebx - 0x14]
add edx, esi
mov dword [eax + 0x68], edx
movzx esi, byte [ebx]
add esi, edx
mov dword [eax + 0x68], esi
add edi, 4
add ebx, 0x50
cmp ecx, edi
jne 0x10061d80
mov edx, dword [esp + 8]
test edx, edx
mov ebx, dword [ebp + 8]
je 0x10061fc1
lea ecx, [edi + edi*4]
mov eax, dword [esp + 4]
lea eax, [eax + ecx*4]
add eax, 0x19
shl edx, 2
lea ecx, [edx + edx*4]
mov dword [esp + 0xc], 0
xor edx, edx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
movzx edi, byte [eax + edx]
add esi, edi
mov dword [ebx + 0x68], esi
add edx, 0x14
cmp ecx, edx
jne 0x10061de0
mov dword [esp + 4], 0
mov edi, ebx
jmp 0x10062177
mov ecx, eax
lea edi, [esi - 0x12]
cmp edi, eax
cmovle ecx, edi
cmp ebx, 0xfffe
jne 0x10061f67
cmp ecx, 0x16
jl 0x10061f67
mov dword [esp + 8], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
push dword [ebp + 0xc]
call fcn.1003c080
add esp, 4
test eax, eax
mov edi, dword [ebp + 0x10]
je 0x10061e41
mov dword [edi + 0x20], eax
lea ebx, [esp + 0x74]
mov esi, dword [ebp + 0xc]
push esi
call fcn.1003c170
add esp, 4
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 0
lea eax, [esp + 0x70]
push 0x10
push eax
push esi
call fcn.1003be30
add esp, 0xc
cmp eax, 0xf
jg 0x10061e7a
pxor xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
mov dword [esp + 0x64], 0x11d30721
mov dword [esp + 0x68], 0xc1c84486
mov dword [esp + 0x6c], 0xca
lea eax, [esp + 0x64]
push 0xc
push eax
push ebx
call fcn.1010440d
add esp, 0xc
test eax, eax
mov esi, dword [ebp + 0x14]
je 0x10061f77
mov word [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5e], 0x800010
mov word [esp + 0x62], 0xaa00
lea eax, [esp + 0x58]
push 0xc
push eax
push ebx
call fcn.1010440d
add esp, 0xc
test eax, eax
je 0x10061f77
mov dword [esp + 0x4c], 0x100000
mov dword [esp + 0x50], 0xaa000080
mov dword [esp + 0x54], 0x719b3800
lea eax, [esp + 0x4c]
push 0xc
push eax
push ebx
call fcn.1010440d
add esp, 0xc
test eax, eax
je 0x10061f77
mov eax, dword [0x10159088]
test eax, eax
je 0x10062004
movdqu xmm0, xmmword [0x1015908c]
pcmpeqb xmm0, xmmword [esp + 0x70]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x10061f5f
mov ecx, 0x101590a0
mov eax, dword [ecx - 4]
test eax, eax
je 0x10062004
movdqu xmm0, xmmword [ecx]
pcmpeqb xmm0, xmmword [esp + 0x70]
pmovmskb edx, xmm0
add ecx, 0x14
cmp edx, 0xffff
jne 0x10061f3b
mov dword [edi + 4], eax
jmp 0x10062139
mov ebx, dword [ebp + 0xc]
test ecx, ecx
jg 0x1006214c
jmp 0x10062164
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
mov ebx, dword [edi + 0x20]
push eax
push 0x10158d84
call fcn.10032540
add esp, 8
test eax, eax
jle 0x10061ff5
cmp eax, 0x10015
je 0x10061fd1
cmp eax, 0x10000
jne 0x10061fe0
push 0xfffffffffffffffe
push 0
push 0
jmp 0x10061fd7
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov edi, dword [ebp + 0x10]
jmp 0x1006217a
mov dword [esp + 4], 0
mov edi, dword [ebp + 0x10]
jmp 0x1006217a
push 0
push 0
push 1
push ebx
call fcn.100325c0
add esp, 0x10
mov ecx, eax
xor ecx, 0x11001
xor ebx, 8
or ebx, ecx
mov ecx, 0x1180d
cmove eax, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
mov dword [edi + 4], eax
jmp 0x10062140
mov dword [edi + 4], 0
movzx edx, byte [esp + 0x7f]
mov dword [esp + 0x34], edx
movzx eax, byte [esp + 0x7e]
mov dword [esp + 0x48], eax
movzx ebx, byte [esp + 0x7d]
movzx eax, byte [esp + 0x7c]
mov dword [esp + 0x3c], eax
movzx edi, byte [esp + 0x7b]
mov dword [esp + 0x30], edi
movzx edi, byte [esp + 0x7a]
mov dword [esp + 0x2c], edi
movzx edi, byte [esp + 0x79]
mov dword [esp + 0x28], edi
movzx edi, byte [esp + 0x78]
mov dword [esp + 0x24], edi
movzx eax, byte [esp + 0x76]
mov dword [esp + 0x40], eax
movzx ecx, byte [esp + 0x77]
mov dword [esp + 0x44], ecx
movzx ecx, byte [esp + 0x74]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esp + 0x75]
mov dword [esp + 0x18], ecx
movzx ecx, byte [esp + 0x70]
mov dword [esp + 0x20], ecx
movzx ecx, byte [esp + 0x71]
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x72]
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x73]
mov dword [esp + 0x38], ecx
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edi, ebx
push ebx
mov ebx, dword [esp + 0x48]
push ebx
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x40]
push eax
mov ecx, dword [esp + 0x68]
push ecx
push dword [esp + 0x44]
push dword [esp + 0x44]
push dword [esp + 0x50]
push dword [esp + 0x44]
push dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
push eax
push dword [esp + 0x74]
push edx
push edi
push ebx
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push ecx
push dword [esp + 0xa4]
push dword [esp + 0x80]
push dword [esp + 0x88]
push eax
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x9c]
push str.unknown_subformat:_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x__02x_02x_02x_02x__02x_02x__02x_02x__02x_02x__02x_02x_02x_02x_02x_02x_n
push 0x18
mov ebx, dword [ebp + 8]
push ebx
call fcn.1006fc50
add esp, 0x8c
mov ebx, dword [ebp + 0xc]
mov ecx, dword [esp + 8]
add ecx, 0xffffffea
add esi, 0xffffffd8
mov edi, esi
test ecx, ecx
jle 0x10062164
push ecx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
mov esi, ecx
call fcn.10032710
add esp, 0x10
test eax, eax
js 0x100621cf
sub edi, esi
test edi, edi
jle 0x10062174
push 0
push edi
push ebx
call fcn.1003bc70
add esp, 0xc
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 4]
mov dword [edi + 0x18], esi
mov edx, dword [esp + 0xc]
mov dword [edi + 0x1c], edx
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x100621b7
mov ecx, dword [edi + 4]
xor edi, edi
cmp ecx, 0x1100b
je 0x100621d6
cmp ecx, 0x15031
jne 0x100621e6
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
jmp 0x100621e6
push eax
push str.Invalid_sample_rate:__d_n
push 0x10
push ebx
call fcn.1006fc50
add esp, 0x10
mov edi, 0xbebbb1b7
jmp 0x100621e6
mov edi, 0xfffffff4
jmp 0x100621e6
push 0
push eax
push edx
push esi
call fcn.10102560
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.10102288
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret