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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
lea eax, [esp + 0x20]
push 0x18
push 0
mov ebx, 0x2710
mov dword [esp + 0x78], 0
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
call fcn.004587c0
push 0x18
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004587c0
push 0x18
lea eax, [esp + 0x54]
push 0
push eax
call fcn.004587c0
push str.SDL_WAVE_CHUNK_LIMIT
call fcn.00458200
add esp, 0x28
test eax, eax
je 0x42ab0d
lea ecx, [esp + 0x14]
push ecx
push 0x521cb4
push eax
call fcn.0041c270
add esp, 0xc
cmp eax, 1
cmove ebx, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x6c]
push ebp
call fcn.0041e7b0
add esp, 4
test edx, edx
jg 0x42ab38
jl 0x42ab24
test eax, eax
jae 0x42ab38
push str.Could_not_seek_in_file
call fcn.0041ad60
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x34], edx
call fcn.0042b200
add esp, 8
test eax, eax
jns 0x42ab66
push str.Could_not_read_RIFF_header
call fcn.0041ad60
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x20]
cmp eax, 0x46464952
jne 0x42abc0
push 1
push 4
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
je 0x42ab9c
push str.Could_not_read_RIFF_form_type
call fcn.0041ad60
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [esp + 0x10], 0x45564157
je 0x42abba
push str.RIFF_form_type_is_not_WAVE__not_a_Waveform_file_
call fcn.0041ad60
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x24]
jmp 0x42abda
cmp eax, 0x45564157
jne 0x42b156
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ebx, eax
push edi
mov edi, edx
mov dword [esp + 0x10], eax
add edi, 4
mov dword [esi + 8], edi
adc ebx, 0
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x5c]
dec eax
cmp eax, 3
ja case.0x42ac00.2
jmp dword [eax*4 + 0x42b16c]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
adc edx, 0
jmp 0x42ac4e
or ecx, 0xffffffff
mov edx, 0x7fffffff
jmp 0x42ac4a
test ecx, ecx
jne case.0x42ac00.1
mov eax, dword [esp + 0x10]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
adc eax, ecx
mov dword [esp + 0x10], eax
jmp 0x42ac52
xor eax, eax
mov dword [esp + 0x1c], 1
add ecx, edx
mov edx, dword [esp + 0x10]
adc edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esi + 4]
xor ecx, ecx
and edx, 1
add edx, dword [esi + 4]
adc ecx, ecx
add edx, edi
mov edi, dword [esp + 0x10]
adc ecx, ebx
cmp edi, ecx
jb 0x42adc9
mov ebx, dword [esp + 0x14]
ja 0x42ac80
cmp ebx, edx
jbe 0x42adc9
nop dword [eax]
mov ecx, dword [esp + 0x74]
mov eax, ecx
inc ecx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jae 0x42ae45
push esi
push ebp
call fcn.0042b200
add esp, 8
cmp eax, 0xffffffff
je 0x42ae2a
cmp eax, 0xfffffffe
je 0x42ae15
mov eax, dword [esi]
cmp eax, 0x20746d66
jne 0x42ace9
cmp dword [esp + 0x54], eax
je 0x42ad63
cmp dword [esp + 0x3c], 0x61746164
je 0x42ae00
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x64], xmm0
jmp 0x42ad63
cmp eax, 0x61746164
jne 0x42ad0b
cmp dword [esp + 0x3c], eax
je 0x42ad63
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x4c], xmm0
jmp 0x42ad63
cmp eax, 0x74636166
jne 0x42ad63
cmp dword [esi + 0x48], 0
jne 0x42ad63
cmp dword [esi + 4], 4
jb 0x42ad5c
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push ebp
call fcn.0041e780
add esp, 0x10
cmp eax, dword [esi + 8]
jne 0x42ad5c
cmp edx, dword [esi + 0xc]
jne 0x42ad5c
push 1
push 4
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
jne 0x42ad5c
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
jmp 0x42ad63
mov dword [esi + 0x48], 0xffffffff
cmp dword [esi + 0x60], 1
jne 0x42ad88
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, dword [esi + 8]
adc eax, dword [esi + 0xc]
cmp edi, eax
jb 0x42aed7
ja 0x42adae
cmp ebx, ecx
jb 0x42aed7
jmp 0x42adae
cmp dword [esp + 0x54], 0x20746d66
jne 0x42adae
cmp dword [esp + 0x3c], 0x61746164
jne 0x42adae
cmp dword [esi + 0x48], 1
je 0x42adc9
mov eax, dword [esi + 0x64]
cmp eax, 4
je 0x42adc9
test eax, eax
je 0x42adc9
mov edx, dword [esi + 4]
xor ecx, ecx
and edx, 1
add edx, dword [esi + 4]
adc ecx, ecx
add edx, dword [esi + 8]
adc ecx, dword [esi + 0xc]
cmp edi, ecx
jae 0x42ac73
mov eax, dword [esi + 4]
mov ecx, 0
mov ebx, eax
add ebx, dword [esi + 8]
mov dword [esp + 0x20], ebx
adc ecx, dword [esi + 0xc]
cmp dword [esp + 0x54], 0x20746d66
mov dword [esp + 0x18], ecx
je 0x42ae5b
push str.Missing_fmt_chunk_in_WAVE_file
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push str.fmt_chunk_after_data_chunk_in_WAVE_file
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push str.Could_not_seek_to_WAVE_chunk_header
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [esi + 0x60], 1
jne 0x42adc9
push str.Unexpected_end_of_WAVE_file
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push ecx
push str.Chunk_count_in_WAVE_file_exceeds_limit_of__u
call fcn.0041ad60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [esp + 0x3c], 0x61746164
je 0x42ae7a
push str.Missing_data_chunk_in_WAVE_file
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [esi + 0x60], 1
jne 0x42aef0
cmp dword [esi], 0x61746164
je 0x42aef0
test eax, eax
je 0x42aef0
add ebx, 0xffffffff
mov edi, ecx
adc edi, 0xffffffff
cmp edi, 0x7fffffff
ja 0x42af31
jb 0x42aeab
cmp ebx, 0xffffffff
ja 0x42af31
push 0
push edi
push ebx
push ebp
call fcn.0041e780
add esp, 0x10
cmp eax, ebx
jne 0x42af31
cmp edx, edi
jne 0x42af31
push 1
push 1
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
je 0x42aeec
push str.RIFF_size_truncates_chunk
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov ebx, dword [esp + 0x20]
movups xmm0, xmmword [esp + 0x54]
push 0x416
push esi
movups xmmword [esi], xmm0
push ebp
movq xmm0, qword [esp + 0x70]
movq qword [esi + 0x10], xmm0
call fcn.0042b480
add esp, 0xc
test eax, eax
js 0x42af4c
cmp dword [esi + 4], 0xe
jae 0x42af46
push str.Invalid_WAVE_fmt_chunk_length__too_small_
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push str.Could_not_seek_to_WAVE_chunk_data
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [esi + 0x14], 0xe
jae 0x42af61
push str.Could_not_read_data_of_WAVE_fmt_chunk
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
push esi
call fcn.0042b2e0
add esp, 4
test eax, eax
js 0x42b14b
push dword [esp + 0x40]
push esi
call fcn.0042a540
add esp, 8
test eax, eax
js 0x42b14b
push esi
call fcn.0042aa50
movups xmm0, xmmword [esp + 0x40]
add esp, 4
movups xmmword [esi], xmm0
movq xmm0, qword [esp + 0x4c]
movq qword [esi + 0x10], xmm0
mov eax, dword [esi + 4]
test eax, eax
je 0x42afd8
push eax
push esi
push ebp
call fcn.0042b480
add esp, 0xc
cmp eax, 0xffffffff
je 0x42b14b
cmp eax, 0xfffffffe
jne 0x42afd8
push str.Could_not_seek_data_of_WAVE_data_chunk
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0x14]
je 0x42b002
mov eax, dword [esi + 0x60]
cmp eax, 1
je 0x42afed
cmp eax, 2
jne 0x42b002
push str.Could_not_read_data_of_WAVE_data_chunk
call fcn.0041ad60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
movzx eax, word [esi + 0x1a]
dec eax
cmp eax, 0x10
ja case.0x42b013.4
movzx eax, byte [eax + 0x42b190]
jmp dword [eax*4 + 0x42b17c]
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.0042a090
jmp 0x42b070
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.00429420
jmp 0x42b070
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.004297c0
jmp 0x42b070
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.00428c50
add esp, 0xc
test eax, eax
js 0x42b14b
mov edi, dword [esp + 0x78]
push 0x18
push 0
push edi
call fcn.004587c0
mov eax, dword [esi + 0x20]
add esp, 0xc
mov dword [edi], eax
mov al, byte [esi + 0x1c]
mov byte [edi + 6], al
mov eax, 0x1000
mov word [edi + 8], ax
movzx eax, word [esi + 0x1a]
dec eax
cmp eax, 0x10
ja case.0x42b0b1.4
movzx eax, byte [eax + 0x42b1b4]
jmp dword [eax*4 + 0x42b1a4]
mov eax, 0x8120
jmp 0x42b102
movzx ecx, word [esi + 0x2a]
lea eax, [ecx - 8]
cmp eax, 0x18
ja case.0x42b0d2.9
movzx eax, byte [eax + 0x42b1d8]
jmp dword [eax*4 + 0x42b1c8]
mov eax, 8
jmp 0x42b102
mov eax, 0x8020
jmp 0x42b102
push ecx
push str.Unexpected__u_bit_PCM_data_format
call fcn.0041ad60
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, 0x8010
mov word [edi + 4], ax
movzx eax, word [edi + 4]
push eax
call fcn.00428040
add esp, 4
mov byte [edi + 7], al
cmp dword [esp + 0x1c], 0
je 0x42b135
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 8], eax
xor eax, eax
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edx, dword [esp + 0x18]
mov eax, ebx
mov dword [esi + 8], eax
xor eax, eax
pop edi
mov dword [esi + 0xc], edx
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x5c
ret
push str.Could_not_find_RIFF_or_WAVE_identifiers__not_a_Waveform_file_
call fcn.0041ad60
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret