Function at 0x1000f3e0
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 0x1000f413
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
mov dword [esp + 0x10], 1
cmp eax, dword [esi + 0x24]
jbe 0x1000f41b
mov dword [esp + 0x10], 0
cmp dword [esi], 0
jne 0x1000f43b
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x1000f43b
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x1000f441
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 0x1000f46d
push 0x8c1
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push str._d__m_output_flush_remaining
call fcn.10045571
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 eax, eax
cmp dword [esi + 0x38], 8
mov ecx, dword [esi + 8]
sete al
sub dword [esi + 0x28], eax
test ecx, 0x1000
je 0x1000f57e
cmp dword [esi + 0x64], 0
jne 0x1000f57e
xor eax, eax
and ecx, 0xfff
cmp dword [eax*4 + 0x100768b0], ecx
je 0x1000f4bf
inc eax
cmp eax, 0xb
jb 0x1000f4b0
cmp eax, 2
jae 0x1000f4c8
xor ecx, ecx
jmp 0x1000f4e1
cmp eax, 6
jae 0x1000f4d4
mov ecx, 1
jmp 0x1000f4e1
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 0x1000f544
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f52d
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 0x1000f520
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 0x1000f57e
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f56d
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 0x1000f560
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 0x1000f5cb
nop dword [eax]
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x34]
jae 0x1000f5b0
mov byte [edi], al
inc dword [esi + 0x30]
mov edi, 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 0x1000f5a0
jmp 0x1000f5d0
mov edi, dword [esi + 0x30]
mov ebx, eax
cmp dword [esp + 0x10], 0
jne 0x1000f613
test dword [esi + 8], 0x40000
jne 0x1000f5ea
cmp dword [esi + 0x3c], 0x30
jb 0x1000f5ea
xor edx, edx
jmp 0x1000f5ef
mov edx, 1
mov ecx, esi
call fcn.1000f2f0
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x14], eax
test edx, edx
je 0x1000f73a
sub ecx, edi
inc ecx
cmp ecx, edx
jb 0x1000f73a
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x1000f736
lea eax, [ebp + 2]
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f657
cmp edi, dword [esi + 0x34]
jae 0x1000f63d
mov byte [edi], bl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 0x48]
add eax, 0xfffffff8
mov edi, dword [esi + 0x30]
shr ebx, 8
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x1000f633
test eax, eax
je 0x1000f683
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], 8
cmp edi, dword [esi + 0x34]
jae 0x1000f66f
mov byte [edi], bl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov edi, dword [esi + 0x30]
mov bl, byte [esi + 0x48]
jae 0x1000f665
mov eax, dword [esi + 0x3c]
mov edi, 2
nop dword [eax + eax]
mov ecx, dword [esi + 0x44]
movzx edx, ax
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 0x10]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f6ce
nop dword [eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f6bd
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x1000f6b0
mov eax, dword [esi + 0x3c]
xor eax, 0xffff
mov dword [esi + 0x3c], eax
sub edi, 1
jne 0x1000f690
test eax, eax
je 0x1000f751
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, edi
and eax, 0x7fff
movzx edx, byte [eax + esi + 0x90]
lea eax, [ecx + 8]
shl edx, cl
or edx, dword [esi + 0x48]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f72e
nop word [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f71d
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x1000f710
inc edi
cmp edi, dword [esi + 0x3c]
jb 0x1000f6e2
jmp 0x1000f751
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000f751
lea edx, [eax + 1]
mov dword [esi + 0x30], edi
mov ecx, esi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebp
call fcn.1000f2f0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1000f8a9
mov eax, dword [esi + 0x44]
cmp ecx, 4
jne 0x1000f7fb
test eax, eax
je 0x1000f795
mov cl, byte [esi + 0x48]
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f784
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov ecx, dword [esi + 0x48]
jae 0x1000f777
test dword [esi + 8], 0x1000
je 0x1000f8a9
mov edi, dword [esi + 0x18]
mov ebx, 4
nop word [eax + eax]
mov ecx, dword [esi + 0x44]
mov edx, edi
shr edx, 0x18
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 8]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f7ee
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f7dd
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x1000f7d0
shl edi, 8
sub ebx, 1
jne 0x1000f7b0
jmp 0x1000f8a9
mov ecx, dword [esi + 0x48]
add eax, 3
xor ebx, ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f834
nop dword [eax + eax]
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f81d
mov byte [eax], cl
inc dword [esi + 0x30]
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
add eax, 0xfffffff8
shr ecx, 8
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], eax
cmp eax, 8
jae 0x1000f810
test eax, eax
je 0x1000f860
mov dword [esi + 0x48], ecx
mov dword [esi + 0x44], 8
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f84f
mov byte [eax], cl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov cl, byte [esi + 0x48]
jae 0x1000f842
mov edi, 2
mov ecx, dword [esi + 0x44]
movzx edx, bx
shl edx, cl
or edx, dword [esi + 0x48]
lea eax, [ecx + 0x10]
mov dword [esi + 0x48], edx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x1000f89e
nop
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jae 0x1000f88d
mov byte [eax], dl
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
mov dl, byte [esi + 0x48]
jae 0x1000f880
xor ebx, 0xffff
sub edi, 1
jne 0x1000f865
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
jb 0x1000f8c8
push 0x928
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push str.d__m_pOutput_buf___d__m_pOutput_buf_end
call fcn.10045571
add esp, 0xc
push 0x280
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.100190c0
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0xc
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 ebx, eax
je 0x1000f99d
cmp dword [esi], 0
je 0x1000f951
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 ebx
push eax
mov eax, dword [esi]
call eax
add esp, 0xc
test eax, eax
jne 0x1000f99d
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 0x1000f997
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov edi, dword [eax]
mov eax, dword [esi + 0x74]
sub edi, ecx
cmp ebx, edi
cmovb edi, ebx
add eax, ecx
push edi
push edx
push eax
call fcn.10021070
add dword [esi + 0x8c], edi
add esp, 0xc
sub ebx, edi
je 0x1000f99d
mov dword [esi + 0x58], edi
mov eax, ebx
pop edi
mov dword [esi + 0x5c], ebx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
add dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret