Function at 0x100b8ac0
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.100b9a60
add esp, 0x14
cmp eax, 4
jne 0x100b8c38
lea ecx, [esp + 0x3c]
push str.RIFF
push ecx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b8b38
mov dword [ebx + 0x20], ebp
jmp 0x100b8bb6
lea edx, [esp + 0x3c]
push str.riff
push edx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b8b95
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.100b9a60
add esp, 0x14
cmp eax, 0xc
jne 0x100b8c38
xor eax, eax
mov cl, byte [esp + eax + 0x20]
mov dl, byte [eax + 0x100fa7b0]
cmp cl, dl
jne 0x100b8c38
inc eax
cmp eax, 0xc
jl 0x100b8b7b
jmp 0x100b8bb6
lea edx, [esp + 0x3c]
push str.RF64
push edx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b8c38
mov dword [ebx + 0x20], 2
mov eax, dword [ebx + 0x20]
cmp eax, ebp
je 0x100b8c45
cmp eax, 2
je 0x100b8c45
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.100b9a60
add esp, 0x14
cmp eax, 8
jne 0x100b8c38
lea ecx, [esp + 0x20]
push ecx
call fcn.100be540
add esp, 4
cmp edx, ebp
ja 0x100b8bfe
jb 0x100b8c38
cmp eax, 0x50
jb 0x100b8c38
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.100b9a60
add esp, 0x14
cmp eax, 0x10
jne 0x100b8c38
lea eax, [esp + 0x40]
push str.wave
push eax
call fcn.100be620
add esp, 8
test eax, eax
jne 0x100b8cd9
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.100b9a60
add esp, 0x14
cmp eax, 4
jne 0x100b8c38
cmp dword [ebx + 0x20], ebp
jne 0x100b8c89
lea edx, [esp + 0x2c]
push edx
call fcn.100be4f0
add esp, 4
cmp eax, 0x24
jae 0x100b8c9b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret
lea eax, [esp + 0x2c]
push eax
call fcn.100be4f0
add esp, 4
cmp eax, 0xffffffff
jne 0x100b8c38
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.100b9a60
add esp, 0x14
cmp eax, 4
jne 0x100b8c38
lea edx, [esp + 0x20]
push str.WAVE
push edx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b8c38
cmp dword [ebx + 0x20], 2
jne 0x100b8e06
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.100b94e0
add esp, 0x14
test eax, eax
jne 0x100b8c38
lea ecx, [esp + 0x40]
push str.ds64
push ecx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b8c38
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.100b9630
add esp, 0x10
test eax, eax
je 0x100b8c38
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.100b9a60
add esp, 0x14
cmp eax, 8
jne 0x100b8c38
lea edx, [esp + 0x20]
push edx
call fcn.100be540
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.100b9a60
add esp, 0x18
cmp eax, 8
jne 0x100b8c38
lea ecx, [esp + 0x20]
add esi, 0xffffffe8
push ecx
adc edi, 0xffffffff
call fcn.100be540
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.100b9630
add esp, 0x14
test eax, eax
je 0x100b8c38
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.100b9740
add esp, 0x18
test eax, eax
je 0x100b8c38
mov eax, dword [esp + 0x64]
cmp eax, ebp
je 0x100b8c38
cmp eax, 0x5dc00
ja 0x100b8c38
mov eax, dword [esp + 0x62]
cmp ax, bp
je 0x100b8c38
cmp ax, 0x100
ja 0x100b8c38
mov ax, word [esp + 0x6e]
cmp ax, bp
je 0x100b8c38
cmp ax, 0x40
ja 0x100b8c38
cmp word [esp + 0x6c], bp
je 0x100b8c38
mov eax, dword [esp + 0x60]
cmp ax, 0xfffe
mov dword [esp + 0x2c], eax
jne 0x100b8e9f
lea ecx, [esp + 0x78]
push ecx
call fcn.100be4d0
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 0x100b8fdd
cmp dword [ebx + 0x8c], ebp
je 0x100b8fdd
mov edx, dword [ebx + 0x20]
cmp edx, ebp
je 0x100b8ed3
cmp edx, 2
jne 0x100b8fdd
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.100b94e0
add esp, 0x14
test eax, eax
jne 0x100b8f9c
mov eax, dword [ebx + 0x8c]
cdq
push edx
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x90]
push edx
push eax
call fcn.100b9b90
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.100b9630
add esp, 0x20
test eax, eax
je 0x100b8f9c
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.100b94e0
add esp, 0x14
test eax, eax
je 0x100b8f20
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.100b96a0
add esp, 0x10
test eax, eax
je 0x100b8c38
lea eax, [ebx + 0x10]
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.100b9a90
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.100b94e0
add esp, 0x14
test eax, eax
jne 0x100b8c38
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xc0]
test ecx, ecx
jne 0x100b90c3
test eax, eax
je 0x100b906b
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 0x100b9049
test eax, eax
jbe 0x100b906b
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.100b96a0
add esp, 0x10
test eax, eax
je 0x100b8c38
mov eax, dword [ebx + 0x8c]
test eax, eax
je 0x100b90c3
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x100b9081
cmp ecx, 2
jne 0x100b90c3
cdq
push edx
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.100b9b90
add esp, 0x10
test edx, edx
ja 0x100b90a1
test eax, eax
jbe 0x100b90c3
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.100b96a0
add esp, 0x10
test eax, eax
je 0x100b8c38
test ebp, ebp
jne 0x100b90d5
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 0x100b910e
cmp eax, 2
je 0x100b910e
lea edx, [esp + 0x40]
push 0x100fa7ec
push edx
call fcn.100be620
add esp, 8
test eax, eax
je 0x100b913b
mov ebp, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x100b913f
lea eax, [esp + 0x40]
push str.data
push eax
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b913b
mov eax, dword [ebx + 0x20]
mov ebp, 1
cmp eax, 2
je 0x100b913f
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
jmp 0x100b913f
test ebp, ebp
je 0x100b914b
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x100b928c
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x100b91c9
lea ecx, [esp + 0x40]
push str.fact
push ecx
call fcn.100be650
add esp, 8
test eax, eax
je 0x100b9220
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.100b9a60
add esp, 0x14
cmp eax, 4
jne 0x100b8c38
add esi, 0xfffffffc
adc edi, 0xffffffff
xor eax, eax
cmp ebp, eax
jne 0x100b91aa
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 0x100b91bf
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
jmp 0x100b9220
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jmp 0x100b9220
cmp eax, 1
jne 0x100b9220
lea edx, [esp + 0x40]
push 0x100fa7dc
push edx
call fcn.100be620
add esp, 8
test eax, eax
je 0x100b9220
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.100b9a60
add esp, 0x14
cmp eax, 8
jne 0x100b8c38
add esi, 0xfffffff8
adc edi, 0xffffffff
test ebp, ebp
jne 0x100b9220
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.100b9630
add esp, 0x10
test eax, eax
je 0x100b928c
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 0x100b925f
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.100b94e0
add esp, 0x14
test eax, eax
je 0x100b9004
test ebp, ebp
je 0x100b8c38
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
test ebp, ebp
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x94], ecx
je 0x100b8c38
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x100b92e4
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.100b96a0
add esp, 0x10
test eax, eax
je 0x100b8c38
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 0x100b9341
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
jmp 0x100b94a2
push ebx
call fcn.100bafd0
add esp, 4
push 0
push eax
push edi
push esi
call fcn.100e0d20
cmp word [ebx + 0x54], 2
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jne 0x100b93f1
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.100e0d20
mov ebp, edx
mov edx, dword [esp + 0x24]
mov edi, eax
push ebp
push edi
push edx
push esi
call fcn.100e0cc0
cmp edx, dword [esp + 0x1c]
ja 0x100b93ab
jb 0x100b93a5
cmp eax, dword [esp + 0x18]
jae 0x100b93ab
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.100e0cc0
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.100e0cc0
mov ecx, eax
mov eax, esi
mov edi, edx
cdq
push edx
push eax
push edi
push ecx
call fcn.100e0d20
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
cmp word [ebx + 0x54], 0x11
jne 0x100b94a2
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.100e0d20
mov ecx, dword [esp + 0x24]
mov edi, edx
mov esi, eax
push edi
push esi
push ecx
push ebp
call fcn.100e0cc0
cmp edx, dword [esp + 0x1c]
ja 0x100b9442
jb 0x100b943c
cmp eax, dword [esp + 0x18]
jae 0x100b9442
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.100e0cc0
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.100e0cc0
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.100e0d20
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 0x100b94b2
cmp ax, 0x11
jne 0x100b94bd
cmp word [ebx + 0x50], 2
ja 0x100b8c38
push ebx
call fcn.100bafd0
add esp, 4
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0xa8
ret