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

Disassembly:
push 0xffffffffffffffff
push 0x1005da66
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x18], esi
cmp eax, 0xffffffff
jne 0x1000cf4d
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x18]
push ecx
push ebp
call edx
cmp eax, esi
je 0x1000cf51
jmp 0x1000d50a
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x28], edi
cmp edi, esi
je 0x1000cf68
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.10011e30
mov byte [esp + 0xa4], 1
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x18], esi
ja 0x1000d024
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
push edx
push eax
push edi
call ecx
mov ebx, eax
cmp ebx, esi
je 0x1000d26d
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], esi
cmp eax, ecx
je 0x1000cfe9
mov esi, dword [eax]
push eax
call fcn.10047eaf
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x1000cfd2
xor esi, esi
push ecx
call fcn.10047eaf
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
mov dword [esp + 0x70], esi
call fcn.10047eaf
mov dword [esp + 0xa8], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
push edi
call ecx
jmp 0x1000d508
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0xb8], 0xffffffff
jne 0x1000d036
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x1000d046
mov ecx, dword [esp + 0xb4]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x14], edx
mov esi, edx
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x1000d06c
call fcn.10048251
mov ecx, dword [ebp + 0xa0]
mov eax, esi
imul eax, eax, 0x68
mov edx, dword [eax + ecx + 8]
or edx, dword [eax + ecx + 0xc]
jne 0x1000d0d3
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x14]
push ecx
push edx
mov byte [esp + 0xac], 2
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push esi
push edi
call eax
mov edi, eax
test edi, edi
je 0x1000d0b2
cmp edi, 1
jne 0x1000d21a
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000d1f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1000d1f9
cmp ebx, esi
ja 0x1000d200
mov edi, ebx
imul edi, edi, 0x68
jmp 0x1000d0e6
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xa4]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
cmp ebx, esi
sete al
sub ecx, dword [ebp + 0xa0]
mov dword [esp + 0x3c], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1000d12f
call fcn.10048251
mov edx, dword [ebp + 0xa0]
movzx eax, word [edi + edx + 0x32]
mov ecx, dword [ebp + 0xa4]
and eax, 0x10
sub ecx, edx
mov dword [esp + 0x40], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1000d163
call fcn.10048251
mov eax, dword [ebp + 0xa0]
mov edx, dword [edi + eax + 8]
mov eax, dword [edi + eax + 0xc]
mov ecx, dword [ebp + 0xa4]
sub ecx, dword [ebp + 0xa0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x1000d19f
call fcn.10048251
mov edx, dword [ebp + 0xa0]
mov eax, dword [edx + edi + 4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ecx]
push ecx
push eax
lea esi, [esp + 0x44]
call fcn.10012b70
lea ecx, [esp + 0x58]
mov esi, eax
call fcn.10012bc0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov dword [edx], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x4c]
add dword [esp + 0x34], eax
adc dword [esp + 0x38], ecx
inc ebx
add edi, 0x68
cmp ebx, dword [esp + 0x14]
jbe 0x1000d0e2
mov edi, dword [esp + 0xbc]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x18]
jb 0x1000d020
xor esi, esi
jmp 0x1000cf9b
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000d232
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea esi, [esp + 0x58]
call fcn.100125b0
mov ecx, dword [esp + 0x58]
push ecx
call fcn.10047eaf
mov eax, dword [esp + 0xc0]
add esp, 4
mov dword [esp + 0xa4], 0xffffffff
test eax, eax
je 0x1000d266
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, edi
jmp 0x1000d50a
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
push ecx
mov ecx, dword [ebp + 0x78]
push ecx
push eax
call edx
mov ebx, eax
cmp ebx, esi
jne 0x1000d4df
push 0x20
call fcn.1004846c
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x1000d2ff
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
mov dword [esi + 4], ebx
mov dword [esi], vtable.NKZ::CInStreamWithSize.0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esi + 8], ebx
cmp eax, ebx
je 0x1000d2e5
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
cmp ecx, ebx
je 0x1000d2e2
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x14], esi
jmp 0x1000d305
mov dword [esp + 0x14], ebx
mov esi, ebx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x1000d315
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
push 0x40
mov byte [esp + 0xa8], 3
call fcn.1004846c
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x1000d34a
mov eax, dword [esp + 0xb0]
push eax
lea eax, [esp + 0x5c]
mov ebx, edi
call fcn.10013370
mov esi, eax
mov dword [esp + 0x1c], esi
xor ebx, ebx
jmp 0x1000d350
mov dword [esp + 0x1c], ebx
mov esi, ebx
mov dword [esp + 0x2c], esi
cmp esi, ebx
je 0x1000d360
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov dword [esp + 0x3c], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0xa4], 5
cmp dword [ebp + 0x44], 1
jne 0x1000d3b4
mov al, byte [ebp + 0x48]
test al, al
je 0x1000d3b4
movzx edi, al
lea esi, [esp + 0x3c]
call fcn.100039d0
movzx eax, byte [ebp + 0x48]
mov edx, dword [esp + 0x44]
push eax
lea ecx, [ebp + 0x49]
push ecx
push edx
call fcn.1004c770
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xc8]
add esp, 0xc
xor ebx, ebx
movzx edx, byte [ebp + 0x42]
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x34]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [ebp + 0x44]
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x40]
push esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
movzx ebx, byte [ebp + 0x41]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x88], ebx
push ebp
mov ecx, edi
lea ebx, [esp + 0x34]
mov dword [esp + 0x94], 0
call fcn.1000caa0
mov ebx, eax
cmp ebx, 0xe00e0004
jne 0x1000d4a6
mov ecx, dword [edi]
mov edx, dword [ecx + 0x14]
push eax
push edi
call edx
mov ebx, eax
mov eax, dword [esp + 0x44]
push eax
call fcn.1004852e
add esp, 4
mov byte [esp + 0xa4], 3
test ebx, ebx
jne 0x1000d4bb
test esi, esi
je 0x1000d461
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000d479
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x58]
call fcn.100125b0
mov eax, dword [esp + 0x58]
push eax
call fcn.10047eaf
mov dword [esp + 0xa8], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
add esp, 4
push edi
call edx
xor eax, eax
jmp 0x1000d50a
mov eax, dword [esp + 0x44]
push eax
call fcn.1004852e
add esp, 4
mov byte [esp + 0xa4], 3
test esi, esi
je 0x1000d4c7
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000d4df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x58]
call fcn.100125b0
mov eax, dword [esp + 0x58]
push eax
call fcn.10047eaf
mov dword [esp + 0xa8], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
add esp, 4
push edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x14