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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4deb90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x6c]
lea eax, [esi + 0x74]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x94]
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
test eax, eax
je 0x49d12c
push edi
call dword [edx + 8]
test eax, eax
je 0x49d132
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
push dword [esi + 0x78]
call dword [edx + 0x28]
mov eax, dword [0x4c3d0c]
lea edx, [ebp - 0xc]
mov ecx, dword [esi + 0x5c]
mov dword [ebp - 0xc], eax
mov al, byte [0x4c3d10]
mov byte [ebp - 8], al
mov eax, dword [ecx]
push 4
push edx
call dword [eax + 0x18]
mov ecx, str.RIFF
lea eax, [ebp - 0xc]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49d178
test dl, dl
je 0x49d174
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49d178
add eax, 2
add ecx, 2
test dl, dl
jne 0x49d158
xor eax, eax
jmp 0x49d17d
sbb eax, eax
or eax, 1
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
test eax, eax
je 0x49d19d
call dword [edx + 0x14]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
push 4
lea eax, [ebp - 0xc]
push eax
call dword [edx + 0x18]
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0xc]
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, str.WAVE
lea eax, [ebp - 0xc]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49d1e0
test dl, dl
je 0x49d1dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49d1e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x49d1c0
xor eax, eax
jmp 0x49d1e5
sbb eax, eax
or eax, 1
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
test eax, eax
jne 0x49d186
push ebx
lea edi, [eax + 0xc]
xor ebx, ebx
call dword [edx + 0x20]
cmp eax, 1
je 0x49d338
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0xc]
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
add edi, 4
lea eax, [ebp - 0xc]
mov ecx, str.fmt
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49d240
test dl, dl
je 0x49d23c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49d240
add eax, 2
add ecx, 2
test dl, dl
jne 0x49d220
xor eax, eax
jmp 0x49d245
sbb eax, eax
or eax, 1
test eax, eax
jne 0x49d2af
mov ecx, dword [esi + 0x5c]
lea edx, [ebp - 0x10]
push 4
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [ebp - 0x10]
add edi, 4
push eax
add edi, eax
call fcn.004a0b10
mov ecx, dword [esi + 0x5c]
add esp, 4
mov ebx, eax
push dword [ebp - 0x10]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x18]
cmp word [ebx], 1
jne 0x49d2f3
mov eax, 1
mov word [esi + 0x25], ax
movzx eax, word [ebx + 2]
mov word [esi + 0x27], ax
mov eax, dword [ebx + 4]
mov dword [esi + 0x29], eax
mov eax, dword [ebx + 8]
mov dword [esi + 0x2d], eax
movzx eax, word [ebx + 0xc]
mov word [esi + 0x31], ax
movzx eax, word [ebx + 0xe]
mov word [esi + 0x33], ax
xor eax, eax
mov word [esi + 0x35], ax
mov eax, str.data
lea ecx, [ebp - 0xc]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x49d2d7
test dl, dl
je 0x49d2d3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x49d2d7
add ecx, 2
add eax, 2
test dl, dl
jne 0x49d2b7
xor eax, eax
jmp 0x49d2dc
sbb eax, eax
or eax, 1
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
test eax, eax
je 0x49d319
call dword [edx + 0x20]
cmp eax, 1
jne 0x49d200
jmp 0x49d32b
push ebx
call fcn.004a0b0b
mov ecx, dword [esi + 0x5c]
add esp, 4
mov eax, dword [ecx]
call dword [eax + 0x14]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4
push 4
lea eax, [ebp - 0x10]
push eax
call dword [edx + 0x18]
mov eax, dword [ebp - 0x10]
add edi, 4
mov dword [esi + 0x3c], eax
test ebx, ebx
je 0x49d338
push ebx
call fcn.004a0b0b
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
mov dword [esi + 0x60], edi
xor ecx, ebp
pop edi
mov dword [esi + 0x20], 1
pop esi
call fcn.004a0848
mov esp, ebp
pop ebp
ret 4