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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov ebp, edx
push edi
mov dword [esp + 0x1c], ebp
test dword [esi + 8], 0x80000
je 0x1000e433
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [esp + 0x10], 1
cmp eax, dword [esi + 0x24]
jbe 0x1000e43b
mov dword [esp + 0x10], 0
cmp dword [esi], 0
jne 0x1000e45b
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x1000e45b
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x1000e461
lea eax, [esi + 0x39272]
mov dword [esp + 0x18], eax
mov dword [esi + 0x30], eax
add eax, 0x14cbc
cmp dword [esi + 0x5c], 0
mov dword [esi + 0x34], eax
je 0x1000e48d
push 0x8c1
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push str._d__m_output_flush_remaining
call fcn.10043c91
add esp, 0xc
mov eax, dword [esi + 0x2c]
mov cl, byte [esi + 0x38]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
shr byte [eax], cl
xor ecx, ecx
cmp dword [esi + 0x38], 8
sete cl
sub dword [esi + 0x28], ecx
mov ecx, dword [esi + 8]
test ecx, 0x1000
je 0x1000e59e
cmp dword [esi + 0x64], 0
jne 0x1000e59e
xor eax, eax
and ecx, 0xfff
cmp dword [eax*4 + 0x10076910], ecx
je 0x1000e4df
inc eax
cmp eax, 0xb
jb 0x1000e4d0
cmp eax, 2
jae 0x1000e4e8
xor ecx, ecx
jmp 0x1000e501
cmp eax, 6
jae 0x1000e4f4
mov ecx, 1
jmp 0x1000e501
mov ecx, 3
mov edx, 2
cmove ecx, edx
or ecx, 0x1e0
mov eax, 0x8421085
shl ecx, 6
mul ecx
sub ecx, edx
shr ecx, 1
add ecx, edx
mov edx, 0x78
shr ecx, 4
inc cl
mov bl, cl
shl bl, 5
sub bl, cl
mov ecx, dword [esi + 0x44]
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000e564
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e54d
mov byte [eax], dl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add eax, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x1000e540
movzx ebx, bl
mov ecx, eax
shl ebx, cl
add eax, 8
or ebx, edx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], ebx
cmp eax, 8
jb 0x1000e59e
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e58d
mov byte [eax], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov bl, byte [esi + 0x48]
jae 0x1000e580
mov ecx, dword [esi + 0x44]
xor eax, eax
cmp ebp, 4
sete al
shl eax, cl
lea ebp, [ecx + 1]
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ebp
cmp ebp, 8
jb 0x1000e5e8
nop dword [eax]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1000e5cd
mov byte [ecx], al
inc dword [esi + 0x30]
mov ebp, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ebp, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov al, bl
mov dword [esi + 0x44], ebp
cmp ebp, 8
jae 0x1000e5c0
jmp 0x1000e5ea
mov ebx, eax
cmp dword [esp + 0x10], 0
mov edi, dword [esi + 0x30]
jne 0x1000e63d
test dword [esi + 8], 0x40000
lea eax, [esi + 0x3c]
jne 0x1000e60d
cmp dword [eax], 0x30
mov dword [esp + 0x10], eax
jb 0x1000e60d
xor edx, edx
jmp 0x1000e616
mov edx, 1
mov dword [esp + 0x10], eax
mov ecx, esi
call fcn.1000e310
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x14], eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x1000e768
sub edx, edi
inc edx
cmp edx, ecx
jb 0x1000e768
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x1000e764
lea ecx, [ebp + 2]
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x1000e684
nop dword [eax]
cmp edi, dword [esi + 0x34]
jae 0x1000e66d
mov byte [edi], bl
inc dword [esi + 0x30]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e660
test ecx, ecx
je 0x1000e6b6
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
cmp edi, dword [esi + 0x34]
jae 0x1000e69f
mov byte [edi], bl
inc dword [esi + 0x30]
mov edi, dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e692
mov edi, 2
nop dword [eax + eax]
movzx edx, word [esi + 0x3c]
shl edx, cl
add ecx, 0x10
or edx, ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov ebx, edx
cmp ecx, 8
jb 0x1000e6fe
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e6e5
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dl, bl
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e6d8
xor dword [esi + 0x3c], 0xffff
sub edi, 1
jne 0x1000e6c0
cmp dword [esi + 0x3c], edi
jbe 0x1000e77f
nop
mov eax, dword [esi + 0x40]
add eax, edi
and eax, 0x7fff
movzx edx, byte [eax + esi + 0x90]
shl edx, cl
add ecx, 8
or edx, ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov ebx, edx
cmp ecx, 8
jb 0x1000e75c
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e743
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dl, bl
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e736
inc edi
cmp edi, dword [esi + 0x3c]
jb 0x1000e710
jmp 0x1000e77f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000e77f
lea edx, [eax + 1]
mov dword [esi + 0x30], edi
mov ecx, esi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebp
call fcn.1000e310
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000e8e8
mov ecx, dword [esi + 0x44]
cmp eax, 4
jne 0x1000e827
test ecx, ecx
je 0x1000e7ca
mov edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e7b5
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov dl, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e7a8
test dword [esi + 8], 0x1000
je 0x1000e8e8
mov edx, dword [esi + 0x18]
mov edi, 4
nop
mov eax, edx
shr eax, 0x18
shl eax, cl
add ecx, 8
or eax, dword [esi + 0x48]
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x1000e81a
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x1000e805
mov byte [ecx], al
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
shr dword [esi + 0x48], 8
add ecx, 0xfffffff8
mov al, byte [esi + 0x48]
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e7f8
shl edx, 8
sub edi, 1
jne 0x1000e7e0
jmp 0x1000e8e8
mov edx, dword [esi + 0x48]
add ecx, 3
xor ebp, ebp
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jb 0x1000e864
nop word [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e84d
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e840
test ecx, ecx
je 0x1000e896
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e87f
mov byte [eax], dl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e872
mov edi, 2
nop dword [eax + eax]
movzx ebx, bp
shl ebx, cl
add ecx, 0x10
or ebx, edx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov edx, ebx
cmp ecx, 8
jb 0x1000e8dd
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000e8c4
mov byte [eax], bl
inc dword [esi + 0x30]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x48]
add ecx, 0xfffffff8
shr edx, 8
mov dword [esi + 0x48], edx
mov bl, dl
mov dword [esi + 0x44], ecx
cmp ecx, 8
jae 0x1000e8b7
xor ebp, 0xffff
sub edi, 1
jne 0x1000e8a0
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x1000e907
push 0x928
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push str.d__m_pOutput_buf___d__m_pOutput_buf_end
call fcn.10043c91
add esp, 0xc
push 0x240
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.10017510
push 0x40
lea eax, [esi + 0x83d2]
push 0
push eax
call fcn.10017510
mov edi, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0x18
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub edi, eax
je 0x1000e9ec
cmp dword [esi], 0
je 0x1000e9a0
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push edi
push eax
mov eax, dword [esi]
call eax
add esp, 0xc
test eax, eax
jne 0x1000e9ec
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x1000e9e6
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x74]
sub ebx, ecx
cmp edi, ebx
cmovb ebx, edi
add eax, ecx
push ebx
push edx
push eax
call fcn.1001f780
add dword [esi + 0x8c], ebx
add esp, 0xc
sub edi, ebx
je 0x1000e9ec
mov dword [esi + 0x5c], edi
mov eax, edi
pop edi
mov dword [esi + 0x58], ebx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
add dword [esi + 0x8c], edi
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret