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

Disassembly:
sub esp, 0x104
mov eax, dword [0x1007c008]
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 0x100119ce
mov eax, dword [edx]
add eax, esi
mov dword [esp + 0x40], eax
jmp 0x100119d6
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x128]
and eax, 4
mov dword [esp + 0x6c], eax
je 0x100119f8
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x30], 0
jmp 0x10011a18
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 0x10012fe0
mov ecx, esi
cmp esi, dword [esp + 0x11c]
jb 0x10012fe0
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.0x10011aaa.4
movzx eax, byte [eax + 0x10013098]
jmp dword [eax*4 + 0x10013014]
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 0x1001235f
jmp 0x10011b07
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x128]
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x10011b2d
test al, 2
mov edi, 0xfffffffc
mov eax, 1
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x10012ddc
movzx eax, byte [ebp]
inc ebp
mov dword [edi + 8], eax
jmp 0x10011b3f
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x10011b68
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 0x10012ddc
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 0x10011ba1
test bl, 0x20
jne 0x10011ba1
mov eax, ecx
and al, 0xf
cmp al, 8
jne 0x10011ba1
xor ebx, ebx
jmp 0x10011ba6
mov ebx, 1
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x2c], ebx
jne 0x10011bda
shr ecx, 4
mov eax, 1
add ecx, 8
shl eax, cl
cmp eax, 0x8000
ja 0x10011bcf
cmp dword [esp + 0x30], eax
jb 0x10011bcf
xor eax, eax
jmp 0x10011bd4
mov eax, 1
or ebx, eax
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x14]
test ebx, ebx
je 0x1001235f
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x24
jmp 0x10012df8
cmp ebp, dword [esp + 0x24]
jae 0x10012bfe
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.0x10011aaa.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 0x10011c56
movzx ecx, byte [eax + ebx + 0x1ee2]
add eax, ebx
jmp 0x10011c5a
xor ecx, ecx
add eax, ebx
push edi
push ecx
add eax, 0x1ee3
push eax
call fcn.100191c0
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 0x10011dc6
cmp esi, 0xf
jae 0x10011cbe
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp eax, 2
jge 0x10011d4b
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x1040]
test edi, edi
js 0x10011cec
sar edi, 9
test edi, edi
je case.0x10011aaa.16
cmp esi, edi
jb case.0x10011aaa.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 0x10011d75
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [esp + 0x28], eax
jmp 0x10011da4
cmp esi, 0xa
jbe case.0x10011aaa.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 0x10011cba
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10011cf6
cmp ebp, dword [esp + 0x24]
jae 0x100129cf
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 0x10011c9c
jmp 0x10011cbe
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 0x10011cbe
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 0x10011d80
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 0x100129ad
mov byte [edi + ebx + 0x1ee3], al
inc ebx
jmp 0x10011c74
jne case.0x10011aaa.21
push ecx
lea eax, [edi + 0x1ee3]
push eax
lea eax, [edi + 0x1d8c]
push eax
call fcn.10021170
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.10021170
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 0x1001271c
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
sub edi, ebp
cmp edi, 4
jl 0x10011f32
sub eax, ecx
cmp eax, 2
jl 0x10011f32
cmp esi, 0xf
jae 0x10011e54
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 0x10011e6f
mov ecx, ebx
sar ecx, 9
jmp 0x10011e8c
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 0x10011e74
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
test ebx, 0x100
jne 0x10012053
cmp esi, 0xf
jae 0x10011eb9
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 0x10011ed4
mov edi, eax
sar edi, 9
jmp 0x10011f06
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 0x10011ee0
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 0x10012049
add ecx, 2
mov byte [edi], al
mov dword [esp + 0x1c], ecx
jmp 0x10011e1d
cmp esi, 0xf
jae 0x10011fdf
cmp edi, 2
jge 0x10011fba
mov ecx, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x40]
test edi, edi
js 0x10011f65
sar edi, 9
test edi, edi
je case.0x10011aaa.23
cmp esi, edi
jae 0x10011fdf
jmp case.0x10011aaa.23
cmp esi, 0xa
jbe case.0x10011aaa.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 0x10011fdf
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10011f70
cmp ebp, dword [esp + 0x24]
jae 0x100129f4
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 0x10011f40
jmp 0x10011fdf
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 0x10012000
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x1001201d
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 0x10012005
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
cmp ebx, 0x100
jae 0x10012053
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
cmp ecx, eax
jae 0x10012a19
mov byte [ecx], bl
inc ecx
mov dword [esp + 0x1c], ecx
jmp 0x10011e21
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 0x10012355
movzx ecx, byte [ebx + 0x1007717f]
movzx ebx, word [ebx*2 + 0x10076f5e]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x100120bc
cmp esi, ecx
jae 0x100120a8
cmp ebp, dword [esp + 0x24]
jae 0x10012bd9
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.0x10011aaa.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 0x10012171
mov eax, dword [esp + 0x24]
sub eax, ebp
cmp eax, 2
jge 0x1001214c
mov ecx, dword [esp + 0x10]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x840]
test edi, edi
js 0x100120f8
sar edi, 9
test edi, edi
je case.0x10011aaa.26
cmp esi, edi
jae 0x10012171
jmp case.0x10011aaa.26
cmp esi, 0xa
jbe case.0x10011aaa.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 0x10012171
lea eax, [ecx + 1]
cmp esi, eax
jae 0x10012102
cmp ebp, dword [esp + 0x24]
jae 0x10012b7b
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 0x100120d0
jmp 0x10012171
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 0x10012195
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x100121bc
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 0x100121a0
mov ebp, dword [esp + 0x20]
movzx eax, word [edi*2 + 0x100771a0]
sub esi, ecx
shr edx, cl
movzx ecx, byte [edi + 0x100771e0]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x10012221
cmp esi, ecx
jae 0x10012207
cmp ebp, dword [esp + 0x24]
jae 0x10012ba0
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.0x10011aaa.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 0x10012240
cmp eax, edi
ja 0x10012240
test edi, edi
jne 0x1001224b
cmp dword [esp + 0x6c], 0
jne case.0x10011aaa.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 0x100122a7
mov edi, dword [esp + 0x28]
mov eax, ebx
dec ebx
test eax, eax
je 0x10011e1d
jmp 0x1001227c
mov edi, dword [esp + 0x28]
cmp ecx, dword [esp + 0x40]
jae 0x10012bc5
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 0x10012267
cmp ebx, 9
jb 0x10012310
cmp ebx, dword [esp + 0x28]
ja 0x10012315
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 0x100122c0
mov edx, dword [esp + 0x14]
and ebx, 7
cmp ebx, 3
jae 0x10012310
test ebx, ebx
je 0x10011e1d
mov al, byte [edi]
mov byte [ecx], al
cmp ebx, 1
jbe 0x10012305
mov al, byte [edi + 1]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [esp + 0x1c], ecx
jmp 0x10011e1d
cmp ebx, 2
jbe 0x100122ee
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 0x10012326
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x100122ee
mov edi, dword [esp + 0x10]
test byte [edi + 0x14], 1
jne 0x10012b69
cmp esi, 3
jae 0x10012389
cmp ebp, dword [esp + 0x24]
jae 0x10012a2d
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.0x10011aaa.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 0x1001258b
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x100123dc
cmp ebp, dword [esp + 0x24]
jae 0x10012a52
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.0x10011aaa.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 0x10012452
test esi, esi
je case.0x10011aaa.7
cmp esi, 8
jae 0x1001241e
cmp ebp, dword [esp + 0x24]
jae 0x10012a77
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.0x10011aaa.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 0x100123eb
cmp ebp, dword [esp + 0x24]
jae 0x10012a9c
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 0x100123eb
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.0x10011aaa.39
mov ecx, dword [esp + 0x1c]
test ebx, ebx
je 0x10012351
test esi, esi
je case.0x10011aaa.9
cmp esi, 8
jae 0x100124c0
cmp ebp, dword [esp + 0x24]
jae 0x10012ac1
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.0x10011aaa.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 0x100124db
mov eax, dword [esp + 0x28]
cmp ecx, dword [esp + 0x40]
jae 0x10012ae6
mov byte [ecx], al
inc ecx
dec ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], ebx
jmp 0x1001248e
mov edi, dword [esp + 0x40]
cmp ecx, edi
jb 0x10012513
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 9
jmp 0x10012df8
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
cmp ebp, eax
jae 0x10012afa
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.10021170
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.0x10011aaa.9
jmp 0x10012351
cmp eax, 3
je case.0x10011aaa.10
cmp eax, 1
jne 0x10012615
mov eax, dword [esp + 0x10]
movaps xmm0, xmmword [0x10079900]
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.100191c0
push 0x70
add edi, 0x90
push 9
push edi
call fcn.100191c0
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 0x10011e0a
xor ebx, ebx
cmp ebx, 3
jae 0x1001269d
movsx eax, byte [ebx + 0x1007917c]
cmp esi, eax
jae 0x1001265a
cmp ebp, dword [esp + 0x24]
jae 0x10012b1f
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
inc ebp
or edx, eax
mov dword [esp + 0x20], ebp
movsx eax, byte [ebx + 0x1007917c]
add esi, 8
mov dword [esp + 0x14], edx
cmp esi, eax
jb case.0x10011aaa.11
mov edi, dword [esp + 0x10]
mov cl, byte [ebx + 0x1007917c]
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 + 0x1007917c]
shr eax, cl
sub esi, ecx
mov dword [esp + 0x14], eax
movzx eax, word [ebx*2 + 0x100768b4]
add eax, edx
mov dword [esp + 0x58], esi
mov edx, dword [esp + 0x14]
mov dword [edi + ebx*4 + 0x2c], eax
inc ebx
jmp 0x10012617
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 0x10012710
cmp esi, 3
jae 0x100126ec
cmp ebp, dword [esp + 0x24]
jae 0x10012b44
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.0x10011aaa.14
mov edi, dword [esp + 0x10]
movzx eax, byte [ebx + 0x10076834]
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 0x100126b9
mov dword [edi + 0x34], 0x13
jmp 0x10011e0e
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.100191c0
push 0x800
push 0
push dword [esp + 0x74]
call fcn.100191c0
add esp, 0x18
mov ecx, edi
call fcn.10011910
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 0x10012791
mov edi, dword [esp + 0x18]
movzx eax, byte [ecx + edi]
inc ecx
inc dword [esp + eax*4 + 0xd0]
cmp ecx, edx
jb 0x10012781
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 0x100127b0
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 0x10012825
cmp ecx, 1
ja 0x10012c47
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x68], 0
cmp dword [eax + edi*4 + 0x2c], 0
jbe 0x1001299d
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 0x10012983
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 0x10012880
cmp edi, 0xa
ja 0x10012903
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 0x1001297f
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 0x100128f0
jmp 0x1001297f
mov ecx, dword [esp + 0x60]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ecx + eax*2]
test ecx, ecx
jne 0x10012923
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 0x1001296f
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 0x10012967
mov ecx, dword [esp + 0x30]
mov word [ecx + eax*2 - 2], bp
mov ecx, ebp
sub ebp, 2
jmp 0x1001296a
movsx ecx, cx
sub edi, 1
jne 0x10012940
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 0x10012852
mov esi, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
cmp edi, 2
jne 0x10011e00
xor ebx, ebx
jmp 0x10011c6c
jne 0x100129b7
test ebx, ebx
je case.0x10011aaa.17
movsx eax, byte [eax + 0x10078d48]
mov dword [esp + 0x3c], eax
cmp esi, eax
jae 0x10011c1c
jmp case.0x10011aaa.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 0x10012ddc
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 0x10012ddc
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x18
jmp 0x10012df8
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 0x10012ddc
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 0x10012ddc
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 0x10012ddc
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 0x10012ddc
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 0x10012ddc
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x34
jmp 0x10012df8
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 0x10012ddc
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 0x10012ddc
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 0x10012ddc
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x10012cc1
jmp 0x10012ca0
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 0x10012ddc
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 0x10012ddc
mov eax, dword [esp + 0x10]
mov edi, 2
mov dword [eax], 0x35
jmp 0x10012df8
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 0x10012ddc
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 0x10012ddc
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x27
jmp 0x10012df8
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0xa
jmp 0x10012df8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x23
jmp 0x10012df8
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x11
jmp 0x10012df8
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x15
jmp 0x10012df8
mov eax, dword [esp + 0x10]
or edi, 0xffffffff
mov dword [eax], 0x25
jmp 0x10012df8
mov edi, dword [esp + 0x10]
nop word [eax + eax]
cmp ebp, dword [esp + 0x24]
jae 0x10012d20
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 0x10012ca0
mov eax, dword [esp + 0x5c]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
cmp ebp, eax
jbe 0x10012cdf
cmp esi, 8
jb 0x10012cdf
dec ebp
sub esi, 8
cmp ebp, eax
ja 0x10012cd2
or eax, 0xffffffff
mov ecx, esi
shl eax, cl
not eax
and edx, eax
mov dword [esp + 0x14], edx
test esi, esi
je 0x10012d0d
push 0xef3
push str.D:_axash3d_fwgsxash3d_fwgspublicminiz.h
push 0x10079184
call fcn.10045671
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x128]
test al, 1
je case.0x10011aaa.34
xor ebx, ebx
jmp 0x10012d60
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 0x10012ddc
mov edi, dword [esp + 0x10]
cmp ebp, dword [esp + 0x24]
jae 0x10012dbd
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.0x10011aaa.34
test esi, esi
je 0x10012d49
cmp esi, 8
jae 0x10012d91
jmp 0x10012d78
mov edi, dword [esp + 0x10]
cmp ebp, dword [esp + 0x24]
jae 0x10012d9c
movzx eax, byte [ebp]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebp
or edx, eax
cmp esi, 8
jb 0x10012d78
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x10012d54
test byte [esp + 0x128], 2
mov eax, 1
mov edi, 0xfffffffc
cmovne edi, eax
mov eax, dword [esp + 0x10]
mov dword [eax], 0x29
jmp 0x10012ddc
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.0x10011aaa.4
cmp edi, 0xfffffffc
je case.0x10011aaa.4
jmp 0x10012dfc
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.0x10011aaa.4
cmp esi, 8
jb case.0x10011aaa.4
dec ebp
sub esi, 8
cmp ebp, eax
ja 0x10012e04
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 0x10012fda
test edi, edi
js 0x10012fda
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 0x10012fb4
nop dword [eax + eax]
xor ebx, ebx
cmp edx, 7
jbe 0x10012f06
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 0x10012eb2
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
cmp ebx, edx
jae 0x10012f72
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x10012f5b
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 0x10012f30
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, dword [esp + 0x30]
jae 0x10012f6d
jmp 0x10012f5d
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 0x10012ea0
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 0x10012ff9
test bl, 1
je 0x10012ff9
cmp edi, dword [ecx + 0x10]
mov edx, 0xfffffffe
cmovne eax, edx
jmp 0x10012ff9
mov eax, dword [esp + 0x18]
jmp 0x10012ff9
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.100172bf
add esp, 0x104
ret