Function at 0x42aab0
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.004588c0
push 0x18
lea eax, [esp + 0x60]
push 0
push eax
call fcn.004588c0
push 0x18
lea eax, [esp + 0x54]
push 0
push eax
call fcn.004588c0
push str.SDL_WAVE_CHUNK_LIMIT
call fcn.00458300
add esp, 0x28
test eax, eax
je 0x42ab2d
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 0x42ab58
jl 0x42ab44
test eax, eax
jae 0x42ab58
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.0042b220
add esp, 8
test eax, eax
jns 0x42ab86
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 0x42abe0
push 1
push 4
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
je 0x42abbc
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 0x42abda
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 0x42abfa
cmp eax, 0x45564157
jne 0x42b176
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.0x42ac20.2
jmp dword [eax*4 + 0x42b18c]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
adc edx, 0
jmp 0x42ac6e
or ecx, 0xffffffff
mov edx, 0x7fffffff
jmp 0x42ac6a
test ecx, ecx
jne case.0x42ac20.1
mov eax, dword [esp + 0x10]
add edx, 0xffffffff
mov dword [esp + 0x14], edx
adc eax, ecx
mov dword [esp + 0x10], eax
jmp 0x42ac72
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 0x42ade9
mov ebx, dword [esp + 0x14]
ja 0x42aca0
cmp ebx, edx
jbe 0x42ade9
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 0x42ae65
push esi
push ebp
call fcn.0042b220
add esp, 8
cmp eax, 0xffffffff
je 0x42ae4a
cmp eax, 0xfffffffe
je 0x42ae35
mov eax, dword [esi]
cmp eax, 0x20746d66
jne 0x42ad09
cmp dword [esp + 0x54], eax
je 0x42ad83
cmp dword [esp + 0x3c], 0x61746164
je 0x42ae20
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x64], xmm0
jmp 0x42ad83
cmp eax, 0x61746164
jne 0x42ad2b
cmp dword [esp + 0x3c], eax
je 0x42ad83
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x4c], xmm0
jmp 0x42ad83
cmp eax, 0x74636166
jne 0x42ad83
cmp dword [esi + 0x48], 0
jne 0x42ad83
cmp dword [esi + 4], 4
jb 0x42ad7c
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push ebp
call fcn.0041e780
add esp, 0x10
cmp eax, dword [esi + 8]
jne 0x42ad7c
cmp edx, dword [esi + 0xc]
jne 0x42ad7c
push 1
push 4
lea eax, [esp + 0x28]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
jne 0x42ad7c
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
jmp 0x42ad83
mov dword [esi + 0x48], 0xffffffff
cmp dword [esi + 0x60], 1
jne 0x42ada8
mov ecx, dword [esi + 4]
xor eax, eax
add ecx, dword [esi + 8]
adc eax, dword [esi + 0xc]
cmp edi, eax
jb 0x42aef7
ja 0x42adce
cmp ebx, ecx
jb 0x42aef7
jmp 0x42adce
cmp dword [esp + 0x54], 0x20746d66
jne 0x42adce
cmp dword [esp + 0x3c], 0x61746164
jne 0x42adce
cmp dword [esi + 0x48], 1
je 0x42ade9
mov eax, dword [esi + 0x64]
cmp eax, 4
je 0x42ade9
test eax, eax
je 0x42ade9
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 0x42ac93
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 0x42ae7b
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 0x42ade9
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 0x42ae9a
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 0x42af10
cmp dword [esi], 0x61746164
je 0x42af10
test eax, eax
je 0x42af10
add ebx, 0xffffffff
mov edi, ecx
adc edi, 0xffffffff
cmp edi, 0x7fffffff
ja 0x42af51
jb 0x42aecb
cmp ebx, 0xffffffff
ja 0x42af51
push 0
push edi
push ebx
push ebp
call fcn.0041e780
add esp, 0x10
cmp eax, ebx
jne 0x42af51
cmp edx, edi
jne 0x42af51
push 1
push 1
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.0041e770
add esp, 0x10
cmp eax, 1
je 0x42af0c
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.0042b4a0
add esp, 0xc
test eax, eax
js 0x42af6c
cmp dword [esi + 4], 0xe
jae 0x42af66
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 0x42af81
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.0042b300
add esp, 4
test eax, eax
js 0x42b16b
push dword [esp + 0x40]
push esi
call fcn.0042a560
add esp, 8
test eax, eax
js 0x42b16b
push esi
call fcn.0042aa70
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 0x42aff8
push eax
push esi
push ebp
call fcn.0042b4a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x42b16b
cmp eax, 0xfffffffe
jne 0x42aff8
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 0x42b022
mov eax, dword [esi + 0x60]
cmp eax, 1
je 0x42b00d
cmp eax, 2
jne 0x42b022
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.0x42b033.4
movzx eax, byte [eax + 0x42b1b0]
jmp dword [eax*4 + 0x42b19c]
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.0042a0b0
jmp 0x42b090
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.00429440
jmp 0x42b090
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.004297e0
jmp 0x42b090
push dword [esp + 0x80]
push dword [esp + 0x80]
push esi
call fcn.00428c70
add esp, 0xc
test eax, eax
js 0x42b16b
mov edi, dword [esp + 0x78]
push 0x18
push 0
push edi
call fcn.004588c0
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.0x42b0d1.4
movzx eax, byte [eax + 0x42b1d4]
jmp dword [eax*4 + 0x42b1c4]
mov eax, 0x8120
jmp 0x42b122
movzx ecx, word [esi + 0x2a]
lea eax, [ecx - 8]
cmp eax, 0x18
ja case.0x42b0f2.9
movzx eax, byte [eax + 0x42b1f8]
jmp dword [eax*4 + 0x42b1e8]
mov eax, 8
jmp 0x42b122
mov eax, 0x8020
jmp 0x42b122
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.00428060
add esp, 4
mov byte [edi + 7], al
cmp dword [esp + 0x1c], 0
je 0x42b155
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