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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005e10b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], edi
cmp esi, ebx
je 0x1000c6bf
cmp word [esi], bx
je 0x1000c6bf
cmp edi, ebx
je 0x1000c6bf
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edi
mov dword [esp + 0x44], edi
call edx
lea eax, [esp + 0x14]
mov dword [esp + 0x80], ebx
push eax
lea ecx, [esp + 0x3c]
mov eax, esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], ebx
call fcn.1000ad00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000c093
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, ebx
jmp 0x1000c6c4
cmp dword [esp + 0x38], 0x7ea5a6b
je 0x1000c0ba
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, 0xe00e1001
jmp 0x1000c6c4
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
xor ecx, ecx
push 0xc
mov dword [eax + 0xc8], edx
mov dword [eax + 0xcc], ecx
call fcn.1004846c
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x1000c0f2
mov dword [eax + 4], ebx
mov dword [eax], vtable.NKZ::CInFileStream.0
mov dword [eax + 8], 0xffffffff
mov ebx, eax
mov dword [esp + 0x3c], ebx
test ebx, ebx
je 0x1000c102
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
push esi
mov esi, ebx
mov byte [esp + 0x84], 1
call fcn.10007350
mov esi, eax
test esi, esi
je 0x1000c146
mov byte [esp + 0x80], 0
test ebx, ebx
je 0x1000c12c
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
call eax
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, esi
jmp 0x1000c6c4
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx]
push 0
push 0
xor eax, eax
push eax
mov eax, dword [ecx + 0x10]
push edx
push ebx
call eax
mov esi, eax
test esi, esi
je 0x1000c18a
mov byte [esp + 0x80], 0
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, esi
jmp 0x1000c6c4
push 0x2a
lea edx, [esp + 0x48]
push 0
push edx
call fcn.1004c5f0
add esp, 0xc
mov eax, ebx
lea esi, [esp + 0x44]
call fcn.10001fd0
mov esi, eax
test esi, esi
jne 0x1000c525
movzx eax, word [esp + 0x4e]
mov esi, dword [esp + 0x1c]
mov ecx, eax
and ecx, 2
and eax, 4
cmp word [esp + 0x64], 0
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], eax
je 0x1000c2fb
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push ebx
mov dword [esp + 0x40], 0
call eax
push 0x30
call fcn.1004846c
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
mov byte [esp + 0x80], 2
test ebx, ebx
je 0x1000c228
lea ecx, [ebx + 8]
mov dword [ebx + 4], 0
push ecx
mov dword [ebx], vtable.NKZ::CInStreamVolume.0
call fcn.10012020
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x24], eax
jmp 0x1000c22a
xor ebx, ebx
mov byte [esp + 0x80], 1
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x1000c242
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
push edi
lea ecx, [esi + 0x10]
push ecx
lea edx, [esi + 0x14]
push edx
lea eax, [esi + 0xac]
push eax
mov byte [esp + 0x90], 3
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
push eax
lea edx, [esi + 0x20]
lea ecx, [esi + 0x94]
push ebx
call fcn.100097a0
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000c2ab
mov byte [esp + 0x80], 1
test ebx, ebx
je 0x1000c28f
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x20]
jmp 0x1000c6c4
push esi
call fcn.1000bf00
lea edi, [esi + 0x18]
mov esi, ebx
call fcn.1000ae20
mov edx, dword [esp + 0x1c]
mov dword [edx + 0xb8], 1
mov byte [esp + 0x80], 1
test ebx, ebx
je 0x1000c2dd
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x1000c6c4
push 0x18
call fcn.1004846c
add esp, 4
test eax, eax
je 0x1000c328
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x18]
push ecx
mov edi, ebx
mov esi, eax
call fcn.1000ae50
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jmp 0x1000c334
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
test eax, eax
je 0x1000c348
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 4
test byte [esp + 0x4e], 1
je 0x1000c3c2
push 0
push edi
push 2
lea eax, [esi + 0xac]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
push eax
call fcn.10002630
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
mov eax, dword [esp + 0x18]
je 0x1000c3c2
mov byte [esp + 0x80], 1
test eax, eax
je 0x1000c396
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x80], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov eax, dword [esp + 0x14]
jmp 0x1000c6c4
mov edx, dword [esp + 0x6a]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [esp + 0x72]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
xor ecx, ecx
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x1000c3f0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 1
jmp 0x1000c38e
mov dword [esp + 0x2c], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
push 1
push edi
push 1
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x28]
lea edx, [esi + 0x10]
lea ecx, [esi + 0x14]
push eax
mov byte [esp + 0x94], 5
call fcn.10002630
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x1000c47a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004852e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x80], 0
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x14]
jmp 0x1000c6c4
push 0x14
call fcn.1004846c
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x1000c4aa
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax], vtable.NKZ::CInBufStream.0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x1000c4b0
mov dword [esp + 0x14], ecx
mov eax, ecx
mov dword [esp + 0x24], eax
cmp eax, ecx
je 0x1000c4c6
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [esp + 0x80], 6
cmp dword [esi + 0xbc], ecx
je 0x1000c5c4
mov ecx, dword [esp + 0x14]
add esi, 0x20
call fcn.10006fd0
mov esi, eax
test esi, esi
je 0x1000c54f
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c504
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
push eax
call fcn.1004852e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov byte [esp + 0x80], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov dword [esp + 0x80], 0xffffffff
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov eax, esi
jmp 0x1000c6c4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edx, 0x94
call fcn.10004340
mov esi, eax
test esi, esi
jne 0x1000c4ec
mov esi, dword [esp + 0x1c]
push esi
call fcn.1000bf00
lea edi, [esi + 0x18]
lea eax, [esp + 0x20]
call fcn.10011a50
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c596
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x34]
push eax
call fcn.1004852e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov byte [esp + 0x80], 0
jmp 0x1000c2d5
push eax
lea ecx, [esi + 0x94]
push ecx
call fcn.10003c90
add esp, 8
mov dword [esp + 0x24], eax
test eax, eax
je 0x1000c641
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c5f4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004852e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x80], 0
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x24]
jmp 0x1000c6c4
lea edi, [esi + 0x18]
lea eax, [esp + 0x20]
call fcn.10011a50
mov edi, dword [esp + 0x1c]
add edi, 0x1c
mov esi, ebx
call fcn.1000ae20
mov byte [esp + 0x80], 5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c673
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004852e
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov byte [esp + 0x80], 0
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x1000c6c4
mov eax, 0x80070057
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10047eba
mov esp, ebp
pop ebp
ret 4