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

Disassembly:
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x6c]
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 4]
je 0x429856
push eax
push ebx
call fcn.00429710
add esp, 8
test eax, eax
jns 0x429856
or eax, 0xffffffff
pop ebx
add esp, 0x64
ret
mov eax, dword [ebx + 0x50]
or eax, dword [ebx + 0x54]
jne 0x429879
mov eax, dword [esp + 0x70]
pop ebx
mov dword [eax], 0
mov eax, dword [esp + 0x70]
mov dword [eax], 0
xor eax, eax
add esp, 0x64
ret
push esi
push edi
push 0x58
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00459450
movzx ecx, word [ebx + 0x1c]
add esp, 0xc
movzx eax, word [ebx + 0x28]
mov edi, dword [ebx + 0x54]
mov dword [esp + 0x1c], eax
lea eax, [ecx*4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
lea esi, [ecx + ecx]
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x4298f0
or eax, 0xffffffff
xor edx, edx
div ecx
cmp eax, esi
jbe 0x42992d
mov edx, ecx
imul edx, esi
mov dword [esp + 0xc], edx
test edi, edi
jg 0x429b52
jl 0x42990c
cmp ecx, 0xffffffff
ja 0x429b52
mov eax, edx
mov dword [esp + 0x68], 0
shr eax, 1
push edx
mov dword [esp + 0x68], eax
call fcn.00458e00
add esp, 4
mov dword [esp + 0x60], eax
test eax, eax
jne 0x42993e
push 0
call fcn.0041b5a0
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x64
ret
push 1
push dword [esp + 0x1c]
call fcn.00458da0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42996e
push dword [esp + 0x60]
call fcn.00458de0
push 0
call fcn.0041b5a0
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
push ebp
test ecx, ecx
jl 0x429aa4
mov edi, dword [esp + 0x3c]
jg 0x42998d
test edi, edi
je 0x429aa4
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
sub esi, edx
cmp esi, dword [esp + 0x24]
jb 0x429aa4
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
add ebx, edx
mov ebp, dword [esp + 0x6c]
cmp esi, eax
mov dword [esp + 0x58], ebx
cmovb eax, esi
xor esi, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
sub eax, ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x18], eax
mov eax, ecx
mul dword [esp + 0x1c]
mov ecx, eax
mov eax, edi
mul dword [esp + 0x1c]
add ecx, edx
xor edx, edx
cmp edx, ecx
jb 0x429b2b
ja 0x4299f2
cmp dword [esp + 0x18], eax
jb 0x429b2b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [esp + 0x1c], eax
jbe 0x429a53
mov edi, dword [esp + 0x18]
nop word [eax + eax]
lea esi, [esi + eax*4]
movzx edx, byte [esi + ebx + 1]
movzx ecx, byte [esi + ebx]
shl dx, 8
or dx, cx
mov ecx, dword [esp + 0x64]
mov word [ecx + ebp*2], dx
mov ecx, dword [esp + 0x58]
inc dword [esp + 0x6c]
mov cl, byte [esi + ecx + 2]
mov byte [edi + eax], cl
inc eax
mov esi, dword [esp + 0x60]
cmp eax, dword [esp + 0x1c]
jae 0x429a4f
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
jmp 0x429a10
mov edi, dword [esp + 0x3c]
add esi, dword [esp + 0x24]
lea eax, [esp + 0x1c]
add edi, 0xffffffff
mov dword [esp + 0x60], esi
push eax
adc dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], edi
call fcn.00429b70
add esp, 4
cmp eax, 0xffffffff
je 0x429ad1
mov edx, dword [esp + 0x54]
add edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x54], edx
test ecx, ecx
jle 0x429a96
mov edi, dword [esp + 0x3c]
jmp 0x429991
jl 0x429aa4
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x429991
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x64]
push dword [esp + 0x14]
mov dword [ecx], eax
mov eax, dword [esp + 0x84]
mov dword [eax], esi
call fcn.00458de0
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x60]
cmp eax, 1
je 0x429b04
cmp eax, 2
je 0x429b04
mov esi, dword [esp + 0x6c]
cmp eax, 3
je 0x429b00
mov ecx, dword [esp + 0x28]
mov eax, esi
imul ecx, dword [esp + 0x1c]
xor edx, edx
div ecx
sub esi, edx
mov dword [esp + 0x6c], esi
add esi, esi
jmp 0x429aa8
push dword [esp + 0x64]
call fcn.00458de0
push dword [esp + 0x18]
call fcn.00458de0
push str.Truncated_data_chunk
call fcn.0041b670
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
push dword [esp + 0x64]
call fcn.00458de0
push dword [esp + 0x18]
call fcn.00458de0
push str.Unexpected_overflow_in_IMA_ADPCM_decoder
call fcn.0041b670
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
push str.WAVE_file_too_big
call fcn.0041b670
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x64
ret