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

Disassembly:
push 0xffffffffffffffff
push 0x1005dcd3
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10071430]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10071430]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc4]
mov esi, dword [esp + 0xb4]
mov ebx, edx
push 0x18
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
call fcn.1004846c
mov ebp, eax
xor edi, edi
add esp, 4
cmp ebp, edi
je 0x1000eccf
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
mov dword [ebp + 4], edi
mov dword [ebp], vtable.NKZ::COutOffsetFileStream.0
mov dword [ebp + 8], edi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], eax
cmp dword [ebp + 8], esi
je 0x1000ecd1
cmp esi, edi
je 0x1000ecbb
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x1000ecca
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 8], esi
jmp 0x1000ecd1
xor ebp, ebp
mov dword [esp + 0x6c], ebp
cmp ebp, edi
je 0x1000ece2
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
push edi
push 1
push edi
mov dword [esp + 0xb8], edi
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
push 0x2a
push ebp
call eax
mov esi, eax
cmp esi, edi
je 0x1000ed17
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
jmp 0x1000f224
mov eax, dword [ebx + 0x88]
mov ebx, dword [esp + 0xc0]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
push eax
mov eax, dword [ebx + 0x10]
push edi
push ebp
push 1
push eax
push 2
push ecx
push edx
xor ecx, ecx
call fcn.10002f00
mov esi, eax
add esp, 0x20
cmp esi, edi
jne 0x1000f210
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x40]
push edx
push eax
push ebp
mov dword [esp + 0x4c], edi
call fcn.100032c0
add esp, 0xc
push 0x14
call fcn.1004846c
add esp, 4
cmp eax, edi
je 0x1000ed8a
mov dword [eax + 4], edi
mov esi, eax
mov dword [eax], vtable.NKZ::COutDynamicBufStream.0
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov dword [esp + 0x24], esi
jmp 0x1000ed90
mov dword [esp + 0x24], edi
mov esi, edi
mov dword [esp + 0x70], esi
cmp esi, edi
je 0x1000eda0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
mov byte [esp + 0xac], 1
cmp dword [ebx + 4], edi
je 0x1000ee08
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
push eax
mov eax, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
mov edx, ebp
call fcn.100102f0
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x1000f011
mov byte [esp + 0xac], 0
cmp esi, edi
je 0x1000edeb
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, dword [esp + 0x14]
jmp 0x1000f226
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.10011ec0
mov byte [esp + 0xac], 2
cmp dword [ebx + 0x34], 0
jbe 0x1000ee62
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x70]
push eax
push edi
push ecx
call fcn.1000f710
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1000eedd
inc edi
cmp edi, dword [ebx + 0x34]
jb 0x1000ee30
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], 4
mov eax, dword [edx]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x18], eax
test edi, edi
je 0x1000ee86
cmp edi, dword [esp + 0x44]
je 0x1000ee8b
call fcn.10048251
cmp dword [esp + 0x18], ebx
je 0x1000ef41
test edi, edi
jne 0x1000ef36
call fcn.10048251
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x1000eeb2
call fcn.10048251
mov edx, dword [esp + 0x18]
movzx eax, word [edx + 0x68]
add dword [esp + 0x1c], eax
test edi, edi
jne 0x1000ef3d
call fcn.10048251
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x14]
jne 0x1000eed7
call fcn.10048251
mov edx, dword [esp + 0x18]
jmp 0x1000ee72
lea ebx, [esp + 0x44]
call fcn.10012c60
mov edx, dword [esp + 0x58]
push edx
call fcn.10047eaf
mov eax, dword [esp + 0x48]
add esp, 4
xor ebx, ebx
push eax
mov dword [esp + 0x5c], ebx
call fcn.10047eaf
add esp, 4
mov byte [esp + 0xac], bl
cmp esi, ebx
je 0x1000ef19
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, dword [esp + 0x14]
jmp 0x1000f226
mov eax, dword [edi]
jmp 0x1000eea4
mov eax, dword [edi]
jmp 0x1000eec9
mov eax, dword [esi + 8]
test eax, eax
je 0x1000ef58
push eax
call fcn.1004852e
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esp + 0x1c]
xor eax, eax
push 0x100732c0
push ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.10048539
lea edx, [esp + 0x4c]
push esi
push edx
mov dword [esi + 8], eax
call fcn.10004b00
mov edi, eax
add esp, 0x10
lea ebx, [esp + 0x44]
test edi, edi
je 0x1000efd9
call fcn.10012c60
mov eax, dword [esp + 0x58]
push eax
call fcn.10047eaf
mov ecx, dword [esp + 0x48]
add esp, 4
xor ebx, ebx
push ecx
mov dword [esp + 0x5c], ebx
call fcn.10047eaf
mov byte [esp + 0xb0], bl
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 4
push esi
call eax
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov eax, edi
jmp 0x1000f226
mov byte [esp + 0xac], 1
call fcn.10012c60
mov eax, dword [esp + 0x58]
push eax
call fcn.10047eaf
mov ecx, dword [esp + 0x48]
add esp, 4
push ecx
mov dword [esp + 0x5c], 0
call fcn.10047eaf
mov ebx, dword [esp + 0xc4]
add esp, 4
xor edi, edi
lea eax, [esp + 0x38]
push eax
push 1
push edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov edx, dword [ebp]
mov ecx, dword [edx + 0x10]
push edi
push ebp
call ecx
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x1000f064
mov byte [esp + 0xac], 0
cmp esi, edi
je 0x1000f047
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov eax, dword [esp + 0x14]
jmp 0x1000f226
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x3c]
jne 0x1000f09f
mov byte [esp + 0xac], al
cmp esi, edi
je 0x1000f081
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, 1
jmp 0x1000f226
mov dword [esp + 0x28], vtable.NKZ::CBuffer_unsigned_char_.0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov edx, dword [esp + 0x20]
mov byte [esp + 0xac], 3
mov eax, dword [edx + 0x8c]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x1000f0f2
mov edi, dword [eax + 0x18]
lea esi, [esp + 0x28]
call fcn.100039d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x30]
push ecx
add eax, 4
push eax
push edx
call fcn.1004c770
mov esi, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x88]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 0x10]
push ebp
push 1
push eax
push 1
push ecx
mov ecx, dword [esp + 0x4c]
push edx
call fcn.10002f00
mov edi, eax
add esp, 0x20
test edi, edi
je 0x1000f15d
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1004852e
mov byte [esp + 0xb0], 0
mov edx, dword [esi]
mov eax, dword [edx + 8]
add esp, 4
push esi
call eax
mov dword [esp + 0xac], 0xffffffff
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov eax, edi
jmp 0x1000f226
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
push 0
push 0
push 0
push 0
push ebp
call ecx
mov edi, eax
test edi, edi
je 0x1000f1a9
mov edx, dword [esp + 0x30]
push edx
call fcn.1004852e
mov byte [esp + 0xb0], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
add esp, 4
push esi
call ecx
mov dword [esp + 0xac], 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov eax, edi
jmp 0x1000f226
push 0x2a
lea ecx, [esp + 0x78]
push 0
push ecx
call fcn.1004c5f0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + 4]
add esp, 0xc
push edx
xor edx, edx
cmp dword [ebx + 0x1c], edx
push eax
mov eax, dword [esp + 0x48]
setne dl
push ecx
mov ecx, dword [ebx + 0x20]
lea esi, [esp + 0x80]
push edx
call fcn.10001f20
push 0
mov edi, ebp
call fcn.10002070
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
call fcn.1004852e
mov eax, dword [esp + 0x28]
mov byte [esp + 0xb0], 0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov dword [esp + 0xac], 0xffffffff
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.10047eba
add esp, 0x9c
ret 0x14