Function at 0x10011500
Capabilities:
Compute adler32 checksum
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x104
mov eax, dword [0x1007b008]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, ecx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x10c]
push ebp
push esi
mov esi, dword [esp + 0x11c]
mov eax, dword [ecx]
add eax, edx
mov dword [esp + 0x6c], ecx
push edi
or edi, 0xffffffff
mov dword [esp + 0x5c], edx
mov dword [esp + 0x20], edx
mov ecx, esi
mov edx, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x1001156e
mov eax, dword [edx]
add eax, esi
mov dword [esp + 0x40], eax
jmp 0x10011576
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x128]
and eax, 4
mov dword [esp + 0x6c], eax
je 0x10011598
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x30], 0
jmp 0x100115b8
sub ecx, dword [esp + 0x11c]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x30], eax
lea edx, [eax - 1]
mov dword [esp + 0x38], edx
test edx, eax
jne 0x10012b80
mov ecx, esi
cmp esi, dword [esp + 0x11c]
jb 0x10012b80
mov edx, dword [ebx + 0x38]
lea eax, [ebx + 0x1840]
mov dword [esp + 0x80], eax
lea eax, [ebx + 0x1cc0]
mov esi, dword [ebx + 4]
mov dword [esp + 0x84], eax
lea eax, [ebx + 0x1d40]
mov dword [esp + 0x88], eax
lea eax, [ebx + 0x1d8c]
mov dword [esp + 0x74], eax
lea eax, [ebx + 0x1eac]
mov dword [esp + 0x78], eax
lea eax, [ebx + 0x1ecc]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ebx
mov ebp, dword [eax + 0x28]
mov dword [esp + 0x3c], ebp
mov ebp, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x20]
cmp eax, 0x35
ja case.0x1001164a.4
movzx eax, byte [eax + 0x10012c38]
jmp dword [eax*4 + 0x10012bb4]
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov eax, dword [esp + 0x128]
xor edx, edx
xor esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x2c], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x10011eff
jmp 0x100116a7
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x100116cd
test al, 2
mov edi, 0xfffffffc
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x1001297c
movzx eax, byte [ebp]
inc ebp
mov dword [edi + 8], eax
jmp 0x100116df
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x10011708
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 2
jmp 0x1001297c
mov ecx, dword [edi + 8]
xor edx, edx
movzx ebx, byte [ebp]
mov eax, ecx
shl eax, 8
inc ebp
add eax, ebx
mov dword [esp + 0x34], 0x1f
div dword [esp + 0x34]
mov dword [edi + 0xc], ebx
mov dword [esp + 0x20], ebp
test edx, edx
jne 0x10011741
test bl, 0x20
jne 0x10011741
mov eax, ecx
and al, 0xf
cmp al, 8
jne 0x10011741
xor ebx, ebx
jmp 0x10011746
mov ebx, 1
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x2c], ebx
jne 0x1001177a
shr ecx, 4
mov eax, 1
add ecx, 8
shl eax, cl
cmp eax, 0x8000
ja 0x1001176f
cmp dword [esp + 0x30], eax
jb 0x1001176f
xor eax, eax
jmp 0x10011774
mov eax, 1
or ebx, eax
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x10011eff
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x24
jmp 0x10012998
cmp ebp, dword [esp + 0x24]
jae 0x1001279e
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
or edx, eax
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x3c]
add esi, 8
cmp esi, eax
jb case.0x1001164a.18
mov ecx, eax
mov edi, 1
shl edi, cl
sub esi, eax
dec edi
mov dword [esp + 0x58], esi
and edi, edx
shr edx, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
movsx eax, byte [ecx + str.IEND]
add edi, eax
mov eax, dword [esp + 0x10]
cmp ecx, 0x10
jne 0x100117f6
movzx ecx, byte [eax + ebx + 0x1ee2]
add eax, ebx
jmp 0x100117fa
xor ecx, ecx
add eax, ebx
push edi
push ecx
add eax, 0x1ee3
push eax
call fcn.10018130
add esp, 0xc
add ebx, edi
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
add eax, ecx
mov dword [esp + 0x2c], ebx
cmp ebx, eax
jae 0x10011966
cmp esi, 0xf
jae 0x1001185e
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp eax, 2
jge 0x100118eb
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1040]
test edi, edi
js 0x1001188c
sar edi, 9
test edi, edi
je case.0x1001164a.16
cmp esi, edi
jb case.0x1001164a.16
mov edi, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1040]
mov dword [esp + 0x28], eax
test eax, eax
js 0x10011915
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [esp + 0x28], eax
jmp 0x10011944
cmp esi, 0xa
jbe case.0x1001164a.16
mov ecx, 0xa
mov ebp, dword [esp + 0x10]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1d40]
mov ebp, dword [esp + 0x20]
test edi, edi
jns 0x1001185a
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10011896
cmp ebp, dword [esp + 0x24]
jae 0x1001256f
movzx eax, byte [ebp]
mov ecx, esi
mov edi, dword [esp + 0x10]
inc ebp
shl eax, cl
add esi, 8
or edx, eax
mov dword [esp + 0x20], ebp
cmp esi, 0xf
jb 0x1001183c
jmp 0x1001185e
movzx edx, byte [ebp + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebp]
add ebp, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [esp + 0x20], ebp
or dword [esp + 0x14], edx
add esi, 0x10
mov edx, dword [esp + 0x14]
jmp 0x1001185e
mov ebx, dword [esp + 0x28]
mov ecx, 0xa
nop
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1d40]
test ebx, ebx
js 0x10011920
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], esi
cmp eax, 0x10
jae 0x1001254d
mov byte [edi + ebx + 0x1ee3], al
inc ebx
jmp 0x10011814
jne case.0x1001164a.21
push ecx
lea eax, [edi + 0x1ee3]
push eax
lea eax, [edi + 0x1d8c]
push eax
call fcn.100200e0
mov eax, dword [edi + 0x2c]
push dword [edi + 0x30]
add eax, 0x1ee3
add eax, edi
push eax
lea eax, [edi + 0x1eac]
push eax
call fcn.100200e0
mov edi, dword [edi + 0x18]
add esp, 0x18
lea eax, [edi - 1]
mov edi, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jns 0x100122bc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
sub edi, ebp
cmp edi, 4
jl 0x10011ad2
sub eax, ecx
cmp eax, 2
jl 0x10011ad2
cmp esi, 0xf
jae 0x100119f4
movzx eax, word [ebp]
mov ecx, esi
shl eax, cl
add ebp, 2
or edx, eax
mov dword [esp + 0x20], ebp
add esi, 0x10
mov edi, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [edi + eax*2 + 0x40]
test ebx, ebx
js 0x10011a0f
mov ecx, ebx
sar ecx, 9
jmp 0x10011a2c
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1840]
test ebx, ebx
js 0x10011a14
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
test ebx, 0x100
jne 0x10011bf3
cmp esi, 0xf
jae 0x10011a59
movzx eax, word [ebp]
mov ecx, esi
shl eax, cl
add ebp, 2
or edx, eax
mov dword [esp + 0x20], ebp
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x40]
mov dword [esp + 0x30], eax
test eax, eax
js 0x10011a74
mov edi, eax
sar edi, 9
jmp 0x10011aa6
mov edi, 0xa
nop dword [eax]
mov ecx, edi
mov eax, edx
shr eax, cl
inc edi
mov ecx, dword [esp + 0x30]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [esp + 0x10]
movsx eax, word [ecx + eax*2 + 0x1840]
mov dword [esp + 0x30], eax
test eax, eax
js 0x10011a80
mov ecx, edi
sub esi, edi
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
mov byte [ecx], bl
lea edi, [ecx + 1]
test eax, 0x100
jne 0x10011be9
add ecx, 2
mov byte [edi], al
mov dword [esp + 0x1c], ecx
jmp 0x100119bd
cmp esi, 0xf
jae 0x10011b7f
cmp edi, 2
jge 0x10011b5a
mov ecx, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x40]
test edi, edi
js 0x10011b05
sar edi, 9
test edi, edi
je case.0x1001164a.23
cmp esi, edi
jae 0x10011b7f
jmp case.0x1001164a.23
cmp esi, 0xa
jbe case.0x1001164a.23
mov ecx, 0xa
nop
mov ebp, dword [esp + 0x10]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1840]
mov ebp, dword [esp + 0x20]
test edi, edi
jns 0x10011b7f
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10011b10
cmp ebp, dword [esp + 0x24]
jae 0x10012594
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 0xf
jb 0x10011ae0
jmp 0x10011b7f
movzx edx, byte [ebp + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebp]
add ebp, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [esp + 0x20], ebp
or dword [esp + 0x14], edx
add esi, 0x10
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [edi + eax*2 + 0x40]
test ebx, ebx
js 0x10011ba0
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x10011bbd
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1840]
test ebx, ebx
js 0x10011ba5
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
cmp ebx, 0x100
jae 0x10011bf3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jae 0x100125b9
mov byte [ecx], bl
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x100119c1
mov dword [esp + 0x1c], edi
mov ebx, eax
mov edi, dword [esp + 0x10]
and ebx, 0x1ff
mov dword [esp + 0x2c], ebx
cmp ebx, 0x100
je 0x10011ef5
movzx ecx, byte [ebx + 0x1007608f]
movzx ebx, word [ebx*2 + 0x10075e3e]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x10011c5c
cmp esi, ecx
jae 0x10011c48
cmp ebp, dword [esp + 0x24]
jae 0x10012779
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
mov ecx, dword [esp + 0x3c]
add esi, 8
or edx, eax
mov dword [esp + 0x20], ebp
cmp esi, ecx
jb case.0x1001164a.25
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [esp + 0x14], edx
add ebx, eax
cmp esi, 0xf
jae 0x10011d11
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp eax, 2
jge 0x10011cec
mov ecx, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x840]
test edi, edi
js 0x10011c98
sar edi, 9
test edi, edi
je case.0x1001164a.26
cmp esi, edi
jae 0x10011d11
jmp case.0x1001164a.26
cmp esi, 0xa
jbe case.0x1001164a.26
mov ecx, 0xa
mov ebp, dword [esp + 0x10]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1cc0]
mov ebp, dword [esp + 0x20]
test edi, edi
jns 0x10011d11
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10011ca2
cmp ebp, dword [esp + 0x24]
jae 0x1001271b
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 0xf
jb 0x10011c70
jmp 0x10011d11
movzx edx, byte [ebp + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebp]
add ebp, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [esp + 0x20], ebp
or dword [esp + 0x14], edx
add esi, 0x10
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x840]
test edi, edi
js 0x10011d35
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x10011d5c
mov ebp, dword [esp + 0x10]
mov ecx, 0xa
nop
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebp + eax*2 + 0x1cc0]
test edi, edi
js 0x10011d40
mov ebp, dword [esp + 0x20]
movzx eax, word [edi*2 + 0x100760b0]
sub esi, ecx
shr edx, cl
movzx ecx, byte [edi + 0x100760f0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10011dc1
cmp esi, ecx
jae 0x10011da7
cmp ebp, dword [esp + 0x24]
jae 0x10012740
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
mov ecx, dword [esp + 0x3c]
add esi, 8
or edx, eax
mov dword [esp + 0x20], ebp
cmp esi, ecx
jb case.0x1001164a.27
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x1c]
sub edi, dword [esp + 0x11c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], edi
test eax, eax
je 0x10011de0
cmp eax, edi
ja 0x10011de0
test edi, edi
jne 0x10011deb
cmp dword [esp + 0x6c], 0
jne case.0x1001164a.37
sub edi, eax
and edi, dword [esp + 0x38]
add edi, dword [esp + 0x11c]
cmp ecx, edi
mov eax, edi
cmova eax, ecx
add eax, ebx
cmp eax, dword [esp + 0x40]
jbe 0x10011e47
mov edi, dword [esp + 0x28]
mov eax, ebx
dec ebx
test eax, eax
je 0x100119bd
jmp 0x10011e1c
mov edi, dword [esp + 0x28]
cmp ecx, dword [esp + 0x40]
jae 0x10012765
mov eax, dword [esp + 0x44]
sub eax, edi
mov edi, dword [esp + 0x11c]
and eax, dword [esp + 0x38]
mov al, byte [eax + edi]
mov byte [ecx], al
inc ecx
inc dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
jmp 0x10011e07
cmp ebx, 9
jb 0x10011eb0
cmp ebx, dword [esp + 0x28]
ja 0x10011eb5
mov eax, ebx
and eax, 0xfffffff8
add eax, edi
mov dword [esp + 0x34], eax
nop dword [eax]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [edx], eax
mov eax, edx
mov dword [eax + 4], ecx
mov ecx, edx
add ecx, 8
mov dword [esp + 0x1c], ecx
cmp edi, dword [esp + 0x34]
jb 0x10011e60
mov edx, dword [esp + 0x14]
and ebx, 7
cmp ebx, 3
jae 0x10011eb0
test ebx, ebx
je 0x100119bd
mov al, byte [edi]
mov byte [ecx], al
cmp ebx, 1
jbe 0x10011ea5
mov al, byte [edi + 1]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x100119bd
cmp ebx, 2
jbe 0x10011e8e
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [esp + 0x1c]
shr edx, 1
inc edx
movzx eax, byte [edi]
sub ebx, 3
mov byte [ecx], al
movzx eax, byte [edi + 1]
mov byte [ecx + 1], al
movzx eax, byte [edi + 2]
add edi, 3
mov byte [ecx + 2], al
add ecx, 3
sub edx, 1
jne 0x10011ec6
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x10011e8e
mov edi, dword [esp + 0x10]
test byte [edi + 0x14], 1
jne 0x10012709
cmp esi, 3
jae 0x10011f29
cmp ebp, dword [esp + 0x24]
jae 0x100125cd
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 3
jb case.0x1001164a.3
mov edi, dword [esp + 0x10]
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], esi
mov dword [edi + 0x18], eax
jne 0x1001212b
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x10011f7c
cmp ebp, dword [esp + 0x24]
jae 0x100125f2
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc ebp
mov eax, esi
mov dword [esp + 0x20], ebp
and eax, 7
cmp esi, eax
jb case.0x1001164a.5
mov edi, dword [esp + 0x10]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
xor ebx, ebx
cmp ebx, 4
jae 0x10011ff2
test esi, esi
je case.0x1001164a.7
cmp esi, 8
jae 0x10011fbe
cmp ebp, dword [esp + 0x24]
jae 0x10012617
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 8
jb case.0x1001164a.6
mov edi, dword [esp + 0x10]
mov byte [edi + ebx + 0x1edf], dl
sub esi, 8
shr edx, 8
inc ebx
mov dword [esp + 0x14], edx
jmp 0x10011f8b
cmp ebp, dword [esp + 0x24]
jae 0x1001263c
mov edi, dword [esp + 0x10]
mov al, byte [ebp]
inc ebp
mov dword [esp + 0x20], ebp
mov byte [edi + ebx + 0x1edf], al
inc ebx
jmp 0x10011f8b
movzx ebx, byte [edi + 0x1ee0]
movzx eax, byte [edi + 0x1edf]
movzx ecx, byte [edi + 0x1ee2]
shl ebx, 8
or ebx, eax
shl ecx, 8
movzx eax, byte [edi + 0x1ee1]
or ecx, eax
mov dword [esp + 0x2c], ebx
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x1001164a.39
mov ecx, dword [esp + 0x1c]
test ebx, ebx
je 0x10011ef1
test esi, esi
je case.0x1001164a.9
cmp esi, 8
jae 0x10012060
cmp ebp, dword [esp + 0x24]
jae 0x10012661
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 8
jb case.0x1001164a.51
mov ecx, dword [esp + 0x1c]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edx
jmp 0x1001207b
mov eax, dword [esp + 0x28]
cmp ecx, dword [esp + 0x40]
jae 0x10012686
mov byte [ecx], al
inc ecx
dec ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
jmp 0x1001202e
mov edi, dword [esp + 0x40]
cmp ecx, edi
jb 0x100120b3
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 9
jmp 0x10012998
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
cmp ebp, eax
jae 0x1001269a
mov edx, dword [esp + 0x1c]
mov ecx, edi
sub ecx, edx
sub eax, ebp
cmp ecx, eax
mov edi, ebx
cmovae ecx, eax
cmp ecx, ebx
cmovb edi, ecx
push edi
push ebp
push edx
call fcn.100200e0
mov eax, dword [esp + 0x34]
sub ebx, edi
mov ecx, dword [esp + 0x28]
add ebp, edi
mov edx, dword [esp + 0x20]
add ecx, edi
mov dword [esp + 0x34], eax
add esp, 0xc
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
test ebx, ebx
jne case.0x1001164a.9
jmp 0x10011ef1
cmp eax, 3
je case.0x1001164a.10
cmp eax, 1
jne 0x100121b5
mov eax, dword [esp + 0x10]
movaps xmm0, xmmword [0x100786c0]
mov edi, dword [esp + 0x74]
push 0x90
mov dword [eax + 0x2c], 0x120
mov dword [eax + 0x30], 0x20
mov eax, dword [esp + 0x7c]
push 8
push edi
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.10018130
push 0x70
add edi, 0x90
push 9
push edi
call fcn.10018130
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a]
add esp, 0x18
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [esp + 0x10]
jmp 0x100119aa
xor ebx, ebx
cmp ebx, 3
jae 0x1001223d
movsx eax, byte [ebx + 0x10077fa4]
cmp esi, eax
jae 0x100121fa
cmp ebp, dword [esp + 0x24]
jae 0x100126bf
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
or edx, eax
mov dword [esp + 0x20], ebp
movsx eax, byte [ebx + 0x10077fa4]
add esi, 8
mov dword [esp + 0x14], edx
cmp esi, eax
jb case.0x1001164a.11
mov edi, dword [esp + 0x10]
mov cl, byte [ebx + 0x10077fa4]
mov edx, 1
mov eax, dword [esp + 0x14]
shl edx, cl
dec edx
and edx, eax
mov dword [edi + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x10077fa4]
shr eax, cl
sub esi, ecx
mov dword [esp + 0x14], eax
movzx eax, word [ebx*2 + 0x100759e4]
add eax, edx
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0x14]
mov dword [edi + ebx*4 + 0x2c], eax
inc ebx
jmp 0x100121b7
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [edi + 0x1ecc], xmm0
mov word [edi + 0x1edc], 0
mov byte [edi + 0x1ede], 0
mov dword [esp + 0x2c], ebx
cmp ebx, dword [edi + 0x34]
jae 0x100122b0
cmp esi, 3
jae 0x1001228c
cmp ebp, dword [esp + 0x24]
jae 0x100126e4
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
add esi, 8
mov dword [esp + 0x20], ebp
or edx, eax
cmp esi, 3
jb case.0x1001164a.14
mov edi, dword [esp + 0x10]
movzx eax, byte [ebx + 0x10075808]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x58], esi
inc ebx
mov byte [eax + edi + 0x1ecc], cl
jmp 0x10012259
mov dword [edi + 0x34], 0x13
jmp 0x100119ae
mov eax, ecx
shl eax, 0xb
add eax, 0x40
add eax, edi
mov dword [esp + 0x60], eax
mov eax, dword [esp + ecx*4 + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [esp + ecx*4 + 0x74]
push 0x40
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xd4]
push 0
push eax
call fcn.10018130
push 0x800
push 0
push dword [esp + 0x74]
call fcn.10018130
add esp, 0x18
mov ecx, edi
call fcn.100114b0
mov edi, dword [edi + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], edi
mov edx, dword [eax + edi*4 + 0x2c]
test edx, edx
je 0x10012331
mov edi, dword [esp + 0x18]
movzx eax, byte [ecx + edi]
inc ecx
inc dword [esp + eax*4 + 0xd0]
cmp ecx, edx
jb 0x10012321
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + edx + 0xd0]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [esp + edx + 0xd4]
add dword [esp + 0x4c], eax
mov dword [esp + edx + 0x90], ecx
add ecx, eax
mov eax, dword [esp + edx + 0xd8]
add ecx, ecx
add dword [esp + 0x54], eax
mov dword [esp + edx + 0x94], ecx
add ecx, eax
add ecx, ecx
mov dword [esp + edx + 0x98], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x10012350
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x34]
add ecx, eax
cmp dword [esp + 0x50], 0x10000
je 0x100123c5
cmp ecx, 1
ja 0x100127e7
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x68], 0
cmp dword [eax + edi*4 + 0x2c], 0
jbe 0x1001253d
mov ebp, dword [esp + 0x50]
mov esi, eax
mov ebx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
movzx edi, byte [ebx + eax]
xor edx, edx
test edi, edi
je 0x10012523
mov ecx, dword [esp + edi*4 + 0x8c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], edi
lea eax, [ecx + 1]
mov dword [esp + edi*4 + 0x8c], eax
nop dword [eax]
mov eax, dword [esp + 0x38]
and ecx, 1
add edx, edx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
or edx, ecx
mov ecx, dword [esp + 0x34]
dec eax
shr ecx, 1
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x10012420
cmp edi, 0xa
ja 0x100124a3
mov eax, edi
shl eax, 9
or eax, ebx
movzx eax, ax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
cmp edx, 0x400
jae 0x1001251f
mov ecx, edi
mov eax, 1
mov edi, dword [esp + 0x60]
shl eax, cl
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x50]
nop word [eax + eax]
mov word [edi + edx*2], cx
add edx, eax
cmp edx, 0x400
jb 0x10012490
jmp 0x1001251f
mov ecx, dword [esp + 0x60]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ecx + eax*2]
test ecx, ecx
jne 0x100124c3
mov ecx, dword [esp + 0x60]
mov word [ecx + eax*2], bp
mov ecx, ebp
sub ebp, 2
mov eax, dword [esp + 0x4c]
shr edx, 9
mov dword [esp + 0x38], eax
cmp edi, 0xb
jbe 0x1001250f
add edi, 0xfffffff5
mov dword [esp + 0x38], eax
nop word [eax + eax]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x30]
movzx ecx, word [ecx + eax*2 - 2]
test cx, cx
jne 0x10012507
mov ecx, dword [esp + 0x30]
mov word [ecx + eax*2 - 2], bp
mov ecx, ebp
sub ebp, 2
jmp 0x1001250a
movsx ecx, cx
sub edi, 1
jne 0x100124e0
mov eax, dword [esp + 0x30]
shr edx, 1
and edx, 1
sub edx, ecx
mov word [eax + edx*2 - 2], bx
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x18]
inc ebx
cmp ebx, dword [esi + edi*4 + 0x2c]
jb 0x100123f2
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
cmp edi, 2
jne 0x100119a0
xor ebx, ebx
jmp 0x1001180c
jne 0x10012557
test ebx, ebx
je case.0x1001164a.17
movsx eax, byte [eax + 0x10077b70]
mov dword [esp + 0x3c], eax
cmp esi, eax
jae 0x100117bc
jmp case.0x1001164a.18
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x10
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x17
jmp 0x1001297c
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x18
jmp 0x10012998
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 3
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 5
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 6
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 7
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x33
jmp 0x1001297c
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x34
jmp 0x10012998
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x26
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0xb
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0xe
jmp 0x1001297c
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x10012861
jmp 0x10012840
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x1a
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x1b
jmp 0x1001297c
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x35
jmp 0x10012998
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x19
jmp 0x1001297c
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x12
jmp 0x1001297c
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x27
jmp 0x10012998
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0xa
jmp 0x10012998
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x23
jmp 0x10012998
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x11
jmp 0x10012998
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x15
jmp 0x10012998
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x25
jmp 0x10012998
mov edi, dword [esp + 0x10]
nop word [eax + eax]
cmp ebp, dword [esp + 0x24]
jae 0x100128c0
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc ebp
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x10012840
mov eax, dword [esp + 0x5c]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
cmp ebp, eax
jbe 0x1001287f
cmp esi, 8
jb 0x1001287f
dec ebp
sub esi, 8
cmp ebp, eax
ja 0x10012872
or eax, 0xffffffff
mov ecx, esi
shl eax, cl
not eax
and edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x100128ad
push 0xef3
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push 0x10077fac
call fcn.100445e1
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x128]
test al, 1
je case.0x1001164a.34
xor ebx, ebx
jmp 0x10012900
mov eax, dword [esp + 0x128]
mov edi, 0xfffffffc
test al, 2
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x20
jmp 0x1001297c
mov edi, dword [esp + 0x10]
cmp ebp, dword [esp + 0x24]
jae 0x1001295d
movzx ecx, byte [ebp]
inc ebp
mov eax, dword [edi + 0x10]
shl eax, 8
or eax, ecx
inc ebx
mov dword [edi + 0x10], eax
cmp ebx, 4
jae case.0x1001164a.34
test esi, esi
je 0x100128e9
cmp esi, 8
jae 0x10012931
jmp 0x10012918
mov edi, dword [esp + 0x10]
cmp ebp, dword [esp + 0x24]
jae 0x1001293c
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebp
or edx, eax
cmp esi, 8
jb 0x10012918
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x100128f4
test byte [esp + 0x128], 2
mov eax, 1
mov edi, 0xfffffffc
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x29
jmp 0x1001297c
test byte [esp + 0x128], 2
mov eax, 1
mov edi, 0xfffffffc
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x2a
mov dword [esp + 0x18], edi
cmp edi, 1
je case.0x1001164a.4
cmp edi, 0xfffffffc
je case.0x1001164a.4
jmp 0x1001299c
mov eax, dword [esp + 0x10]
xor edi, edi
mov dword [eax], 0x22
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x5c]
cmp ebp, eax
jbe case.0x1001164a.4
cmp esi, 8
jb case.0x1001164a.4
dec ebp
sub esi, 8
cmp ebp, eax
ja 0x100129a4
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ebp, dword [esp + 0x5c]
mov dword [eax + 4], esi
or esi, 0xffffffff
shl esi, cl
mov ecx, dword [esp + 0x28]
not esi
mov dword [eax + 0x20], ecx
and esi, edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x64]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x24], ebx
mov ebx, dword [esp + 0x128]
mov dword [eax + 0x38], esi
mov dword [ecx], ebp
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov dword [edx], ecx
test bl, 9
je 0x10012b7a
test edi, edi
js 0x10012b7a
mov edi, dword [eax + 0x1c]
mov eax, 0x5e6ea9af
mul ecx
movzx esi, di
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ecx
shr edi, 0x10
sub edx, eax
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x10012b54
nop dword [eax + eax]
xor ebx, ebx
cmp edx, 7
jbe 0x10012aa6
mov ecx, dword [esp + 0x48]
mov ebp, 7
sub ebp, ecx
movzx eax, byte [ecx]
add ebx, 8
add esi, eax
movzx eax, byte [ecx + 1]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 2]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 3]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 4]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 5]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 6]
add edi, esi
add esi, eax
movzx eax, byte [ecx + 7]
add ecx, 8
add edi, esi
add esi, eax
add edi, esi
lea eax, [ecx + ebp]
cmp eax, edx
jb 0x10012a52
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
cmp ebx, edx
jae 0x10012b12
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x10012afb
mov ecx, dword [esp + 0x48]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [ebx + edx*2]
mov ebx, ebp
mov dword [esp + 0x50], eax
nop word [eax + eax]
movzx eax, byte [ecx]
add esi, eax
movzx eax, byte [ecx + 1]
add ebp, esi
add ecx, 2
add esi, eax
add ebx, esi
sub edx, 1
jne 0x10012ad0
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jae 0x10012b0d
jmp 0x10012afd
mov ebx, ebp
mov edx, dword [esp + 0x48]
movzx eax, byte [edx]
add esi, eax
add edi, esi
inc edx
mov dword [esp + 0x48], edx
lea eax, [ebx + ebp]
add edi, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add edi, eax
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], edx
jne 0x10012a40
mov ebx, dword [esp + 0x128]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
shl edi, 0x10
add edi, esi
mov dword [ecx + 0x1c], edi
test eax, eax
jne 0x10012b99
test bl, 1
je 0x10012b99
cmp edi, dword [ecx + 0x10]
mov edx, 0xfffffffe
cmovne eax, edx
jmp 0x10012b99
mov eax, dword [esp + 0x18]
jmp 0x10012b99
mov edx, dword [esp + 0x64]
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x70]
mov dword [edx], 0
mov dword [ecx], 0
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10016235
add esp, 0x104
ret