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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb0]
push ebp
push esi
mov esi, dword [esp + 0xc4]
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x40]
push 4
push ecx
xor ebp, ebp
and esi, 1
push edx
push eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], esi
call fcn.100b9a20
add esp, 0x14
cmp eax, 4
jne 0x100b8bf8
lea ecx, [esp + 0x3c]
push str.RIFF
push ecx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b8af8
mov dword [ebx + 0x20], ebp
jmp 0x100b8b76
lea edx, [esp + 0x3c]
push str.riff
push edx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b8b55
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push 0xc
push ecx
push edx
push eax
mov dword [ebx + 0x20], 1
call fcn.100b9a20
add esp, 0x14
cmp eax, 0xc
jne 0x100b8bf8
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov dl, byte [eax + 0x100fa7b0]
cmp cl, dl
jne 0x100b8bf8
inc eax
cmp eax, 0xc
jl 0x100b8b3b
jmp 0x100b8b76
lea edx, [esp + 0x3c]
push str.RF64
push edx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b8bf8
mov dword [ebx + 0x20], 2
mov eax, dword [ebx + 0x20]
cmp eax, ebp
je 0x100b8c05
cmp eax, 2
je 0x100b8c05
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x24]
push 8
push ecx
push edx
push eax
call fcn.100b9a20
add esp, 0x14
cmp eax, 8
jne 0x100b8bf8
lea ecx, [esp + 0x20]
push ecx
call fcn.100be500
add esp, 4
cmp edx, ebp
ja 0x100b8bbe
jb 0x100b8bf8
cmp eax, 0x50
jb 0x100b8bf8
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x44]
push 0x10
push eax
push ecx
push edx
call fcn.100b9a20
add esp, 0x14
cmp eax, 0x10
jne 0x100b8bf8
lea eax, [esp + 0x40]
push str.wave
push eax
call fcn.100be5e0
add esp, 8
test eax, eax
jne 0x100b8c99
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x30]
push 4
push edx
push eax
push ecx
call fcn.100b9a20
add esp, 0x14
cmp eax, 4
jne 0x100b8bf8
cmp dword [ebx + 0x20], ebp
jne 0x100b8c49
lea edx, [esp + 0x2c]
push edx
call fcn.100be4b0
add esp, 4
cmp eax, 0x24
jae 0x100b8c5b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret
lea eax, [esp + 0x2c]
push eax
call fcn.100be4b0
add esp, 4
cmp eax, 0xffffffff
jne 0x100b8bf8
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x24]
push 4
push edx
push eax
push ecx
call fcn.100b9a20
add esp, 0x14
cmp eax, 4
jne 0x100b8bf8
lea edx, [esp + 0x20]
push str.WAVE
push edx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b8bf8
cmp dword [ebx + 0x20], 2
jne 0x100b8dc6
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [ebx]
push ecx
push 2
push edx
push eax
call fcn.100b94a0
add esp, 0x14
test eax, eax
jne 0x100b8bf8
lea ecx, [esp + 0x40]
push str.ds64
push ecx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b8bf8
mov esi, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
xor edi, edi
add esi, eax
mov eax, dword [ebx + 8]
adc edi, edx
mov edx, dword [ebx + 0xc]
push edx
push ebp
push 8
push eax
call fcn.100b95f0
add esp, 0x10
test eax, eax
je 0x100b8bf8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 8
lea edx, [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
adc eax, ebp
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0xc]
push 8
push edx
push eax
push ecx
call fcn.100b9a20
add esp, 0x14
cmp eax, 8
jne 0x100b8bf8
lea edx, [esp + 0x20]
push edx
call fcn.100be500
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
push 8
push ecx
push edx
push eax
call fcn.100b9a20
add esp, 0x18
cmp eax, 8
jne 0x100b8bf8
lea ecx, [esp + 0x20]
add esi, 0xffffffe8
push ecx
adc edi, 0xffffffff
call fcn.100be500
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
push edx
push edi
push esi
push eax
call fcn.100b95f0
add esp, 0x14
test eax, eax
je 0x100b8bf8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, esi
mov esi, dword [esp + 0x38]
adc eax, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x60]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call fcn.100b9700
add esp, 0x18
test eax, eax
je 0x100b8bf8
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x100b8bf8
cmp eax, 0x5dc00
ja 0x100b8bf8
mov eax, dword [esp + 0x62]
cmp ax, bp
je 0x100b8bf8
cmp ax, 0x100
ja 0x100b8bf8
mov ax, word [esp + 0x6e]
cmp ax, bp
je 0x100b8bf8
cmp ax, 0x40
ja 0x100b8bf8
cmp word [esp + 0x6c], bp
je 0x100b8bf8
mov eax, dword [esp + 0x60]
cmp ax, 0xfffe
mov dword [esp + 0x2c], eax
jne 0x100b8e5f
lea ecx, [esp + 0x78]
push ecx
call fcn.100be490
add esp, 4
mov dword [esp + 0x2c], eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x88]
cmp esi, ebp
rep stosd dword es:[edi], eax
jne 0x100b8f9d
cmp dword [ebx + 0x8c], ebp
je 0x100b8f9d
mov edx, dword [ebx + 0x20]
cmp edx, ebp
je 0x100b8e93
cmp edx, 2
jne 0x100b8f9d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x40]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 8]
push esi
lea esi, [esp + 0x24]
mov dword [esp + 0x90], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
push esi
push edx
push ecx
push eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebp
call fcn.100b94a0
add esp, 0x14
test eax, eax
jne 0x100b8f5c
mov eax, dword [ebx + 0x8c]
cdq
push edx
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.100b9b50
mov esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x64]
mov ecx, dword [ebx + 0xc]
xor edi, edi
sub esi, eax
mov eax, dword [esp + 0x60]
sbb edi, edx
mov edx, dword [ebx + 8]
add esi, eax
push ecx
adc edi, ebp
push edi
push esi
push edx
call fcn.100b95f0
add esp, 0x20
test eax, eax
je 0x100b8f5c
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add ebp, esi
lea eax, [esp + 0x40]
adc edx, edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
mov dword [esp + 0x34], ebp
call fcn.100b94a0
add esp, 0x14
test eax, eax
je 0x100b8ee0
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.100b9660
add esp, 0x10
test eax, eax
je 0x100b8bf8
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.100b9a50
add esp, 8
mov dword [esp + 0x94], 1
mov ecx, dword [ebx + 0x20]
lea edx, [esp + 0x40]
lea eax, [esp + 0x10]
push edx
mov edx, dword [ebx + 0xc]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
xor ebp, ebp
call fcn.100b94a0
add esp, 0x14
test eax, eax
jne 0x100b8bf8
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
test ecx, ecx
jne 0x100b9083
test eax, eax
je 0x100b902b
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x44]
push edx
mov edx, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [ebx]
push ecx
mov ecx, dword [esp + 0xd8]
push edx
push ecx
call eax
add esp, 0x1c
test edx, edx
ja 0x100b9009
test eax, eax
jbe 0x100b902b
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.100b9660
add esp, 0x10
test eax, eax
je 0x100b8bf8
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100b9083
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x100b9041
cmp ecx, 2
jne 0x100b9083
cdq
push edx
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.100b9b50
add esp, 0x10
test edx, edx
ja 0x100b9061
test eax, eax
jbe 0x100b9083
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.100b9660
add esp, 0x10
test eax, eax
je 0x100b8bf8
test ebp, ebp
jne 0x100b9095
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], ecx
mov eax, dword [ebx + 0x20]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
test eax, eax
je 0x100b90ce
cmp eax, 2
je 0x100b90ce
lea edx, [esp + 0x40]
push 0x100fa7ec
push edx
call fcn.100be5e0
add esp, 8
test eax, eax
je 0x100b90fb
mov ebp, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x100b90ff
lea eax, [esp + 0x40]
push str.data
push eax
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b90fb
mov eax, dword [ebx + 0x20]
mov ebp, 1
cmp eax, 2
je 0x100b90ff
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x100b90ff
test ebp, ebp
je 0x100b910b
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x100b924c
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x100b9189
lea ecx, [esp + 0x40]
push str.fact
push ecx
call fcn.100be610
add esp, 8
test eax, eax
je 0x100b91e0
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebx]
lea eax, [esp + 0x24]
push 4
push eax
push ecx
push edx
call fcn.100b9a20
add esp, 0x14
cmp eax, 4
jne 0x100b8bf8
add esi, 0xfffffffc
adc edi, 0xffffffff
xor eax, eax
cmp ebp, eax
jne 0x100b916a
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], edx
cmp word [ebx + 0x54], 2
jne 0x100b917f
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jmp 0x100b91e0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jmp 0x100b91e0
cmp eax, 1
jne 0x100b91e0
lea edx, [esp + 0x40]
push 0x100fa7dc
push edx
call fcn.100be5e0
add esp, 8
test eax, eax
je 0x100b91e0
mov edx, dword [ebx + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push 8
push ecx
push edx
push eax
call fcn.100b9a20
add esp, 0x14
cmp eax, 8
jne 0x100b8bf8
add esi, 0xfffffff8
adc edi, 0xffffffff
test ebp, ebp
jne 0x100b91e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], edx
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx + 8]
add esi, eax
mov eax, dword [ebx + 0xc]
adc edi, 0
push eax
push edi
push esi
push ecx
call fcn.100b95f0
add esp, 0x10
test eax, eax
je 0x100b924c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add edx, esi
adc ecx, edi
mov dword [esp + 0x10], edx
test ebp, ebp
mov dword [esp + 0x14], ecx
jne 0x100b921f
mov eax, ecx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x20]
lea ecx, [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebx]
push eax
push ecx
push edx
call fcn.100b94a0
add esp, 0x14
test eax, eax
je 0x100b8fc4
test ebp, ebp
je 0x100b8bf8
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
test ebp, ebp
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], ecx
je 0x100b8bf8
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x100b92a4
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.100b9660
add esp, 0x10
test eax, eax
je 0x100b8bf8
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x64]
mov ax, word [esp + 0x62]
lea edi, [ebx + 0x24]
mov ecx, 0xa
lea esi, [esp + 0x60]
mov dword [ebx + 0x4c], edx
mov dx, word [esp + 0x2c]
mov word [ebx + 0x50], ax
mov eax, dword [esp + 0x30]
mov word [ebx + 0x54], dx
rep movsd dword es:[edi], dword [esi]
mov cx, word [esp + 0x6e]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov word [ebx + 0x52], cx
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [ebx + 0x70], esi
mov dword [ebx + 0x60], esi
or edx, ecx
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x64], edi
je 0x100b9301
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
jmp 0x100b9462
push ebx
call fcn.100baf90
add esp, 4
push 0
push eax
push edi
push esi
call fcn.100e0cc0
cmp word [ebx + 0x54], 2
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jne 0x100b93b1
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x18]
and eax, 0xffff
cdq
mov esi, eax
mov eax, dword [esp + 0x1c]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x34], edx
call fcn.100e0cc0
mov ebp, edx
mov edx, dword [esp + 0x24]
mov edi, eax
push ebp
push edi
push edx
push esi
call fcn.100e0c60
cmp edx, dword [esp + 0x1c]
ja 0x100b936b
jb 0x100b9365
cmp eax, dword [esp + 0x18]
jae 0x100b936b
add edi, 1
adc ebp, 0
mov esi, dword [esp + 0x62]
push ebp
and esi, 0xffff
push edi
lea eax, [esi + esi*2]
shl eax, 1
cdq
push edx
push eax
call fcn.100e0c60
mov ecx, dword [esp + 0x18]
push 0
sub ecx, eax
mov eax, dword [esp + 0x20]
sbb eax, edx
push 2
push eax
push ecx
call fcn.100e0c60
mov ecx, eax
mov eax, esi
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.100e0cc0
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
cmp word [ebx + 0x54], 0x11
jne 0x100b9462
mov eax, dword [esp + 0x6c]
and eax, 0xffff
cdq
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], edx
push edx
mov edx, dword [esp + 0x20]
push ebp
push edx
push eax
call fcn.100e0cc0
mov ecx, dword [esp + 0x24]
mov edi, edx
mov esi, eax
push edi
push esi
push ecx
push ebp
call fcn.100e0c60
cmp edx, dword [esp + 0x1c]
ja 0x100b9402
jb 0x100b93fc
cmp eax, dword [esp + 0x18]
jae 0x100b9402
add esi, 1
adc edi, 0
mov ebp, dword [esp + 0x62]
push edi
and ebp, 0xffff
push esi
lea eax, [ebp*4]
cdq
push edx
push eax
call fcn.100e0c60
mov ecx, dword [esp + 0x18]
push 0
sub ecx, eax
mov eax, dword [esp + 0x20]
sbb eax, edx
push 2
push eax
push ecx
call fcn.100e0c60
mov ecx, eax
mov eax, ebp
mov dword [esp + 0x20], ecx
mov ecx, edx
cdq
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
call fcn.100e0cc0
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
mov ecx, dword [ebx + 0x58]
add ecx, esi
mov dword [ebx + 0x58], ecx
mov eax, dword [ebx + 0x5c]
adc eax, edi
mov dword [ebx + 0x5c], eax
mov ax, word [ebx + 0x54]
cmp ax, 2
je 0x100b9472
cmp ax, 0x11
jne 0x100b947d
cmp word [ebx + 0x50], 2
ja 0x100b8bf8
push ebx
call fcn.100baf90
add esp, 4
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0xa8
ret