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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100e3008]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
mov esi, ecx
push edi
test edx, edx
je 0x100442aa
mov ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x2c]
mov edi, dword [edx + 0x1c]
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
jmp 0x100442c9
mov edi, 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xac44
mov eax, edi
mov dword [esp + 0x14], 0x10
mov ecx, dword [edx + 0x20]
mov ebx, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100442e6
cmp ecx, 0x7f
jne 0x100444aa
cmp dword [ebp + 8], 0xffffffff
jne 0x100442fb
mov ecx, eax
mov eax, 0x7ffff000
imul ecx, edi
cdq
idiv ecx
jmp 0x100442fe
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
xorps xmm0, xmm0
mov ecx, edx
movlpd qword [esp + 0x40], xmm0
imul ecx, edi
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
imul ecx, eax
xor eax, eax
cmp dword [esp + 0x28], eax
setne al
mov dword [esp + 0x1c], ecx
movzx ecx, di
lea eax, [eax*2 + 1]
mov word [esp + 0x32], cx
movzx eax, ax
mov dword [esp + 0x20], eax
mov word [esp + 0x30], ax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, edx
imul eax, dword [esp + 0x10]
movzx edx, dx
imul eax, edi
mov dword [esp + 0x38], eax
mov eax, edx
imul eax, ecx
mov ecx, dword [esp + 0x18]
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x28], eax
mov word [esp + 0x3e], ax
cmp edi, 2
jg 0x10044392
mov eax, 5
sub eax, edi
cmp ecx, eax
je 0x100443e4
mov eax, dword [esp + 0x28]
mov word [esp + 0x42], ax
mov edi, 0x16
mov eax, dword [esp + 0x20]
mov ebx, 0x28
mov word [esp + 0x48], ax
mov eax, 0xfffe
mov word [esp + 0x30], ax
lea eax, [edx*8]
mov word [esp + 0x40], di
mov dword [esp + 0x44], ecx
mov word [esp + 0x3e], ax
mov byte [esp + 0x4e], 0x10
mov byte [esp + 0x50], 0x80
mov byte [esp + 0x53], 0xaa
mov word [esp + 0x55], 0x9b38
mov byte [esp + 0x57], 0x71
push 4
push str.RIFF
lea eax, [esp + 0x60]
push 4
push eax
call fcn.100a0048
push 4
push str.WAVE
lea eax, [esp + 0x78]
push 4
push eax
call fcn.100a0048
mov edi, dword [esp + 0x3c]
push 4
push str.fmt
push 4
lea eax, [edi + 0x14]
add eax, ebx
mov dword [esp + 0x88], eax
lea eax, [esp + 0x54]
push eax
call fcn.100a0048
push 4
push str.data
lea eax, [esp + 0x58]
mov dword [esp + 0x64], ebx
push 4
push eax
call fcn.100a0048
add esp, 0x40
mov dword [esp + 0x24], edi
mov edx, 0x100c8428
lea ecx, [esp + 0x58]
call fcn.10081690
mov edx, 0x100c8428
lea ecx, [esp + 0x28]
call fcn.10081690
mov edx, str.SSLLSSSSLS
lea ecx, [esp + 0x30]
call fcn.10081690
mov edx, 0x100c8428
lea ecx, [esp + 0x20]
call fcn.10081690
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 0xc
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], 0
push ecx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x100444be
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x100444c2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
cmp eax, 0xc
jne 0x100444aa
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0
push ecx
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
jne 0x100444aa
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100444aa
cmp eax, 8
jne 0x100444aa
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebx
lea edx, [esp + 0x38]
call fcn.10044230
add esp, 8
test eax, eax
je 0x100444aa
cmp dword [esp + 0x10], ebx
jne 0x100444aa
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 8
lea edx, [esp + 0x28]
call fcn.10044230
add esp, 8
test eax, eax
je 0x100444aa
cmp dword [esp + 0x10], 8
jne 0x100444aa
mov ecx, dword [esp + 0x64]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1009bd8a
mov esp, ebp
pop ebp
ret