Function at 0x1000eea0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x100b9184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 0x18]
add eax, ecx
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0xb0], ecx
mov ecx, esi
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xb8], ecx
push edi
test esi, esi
je 0x1000ef15
mov eax, dword [edx]
add eax, esi
mov dword [ebp - 0xe0], eax
jmp 0x1000ef1f
mov dword [ebp - 0xe0], 0
mov eax, dword [ebp + 0x20]
and eax, 4
mov dword [ebp - 0x100], eax
je 0x1000ef43
mov dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xbc], 0
jmp 0x1000ef61
mov eax, dword [edx]
sub eax, dword [ebp + 0x14]
add eax, esi
mov dword [ebp - 0xbc], eax
lea edx, [eax - 1]
mov dword [ebp - 0xe4], edx
test eax, edx
jne 0x10010770
cmp esi, dword [ebp + 0x14]
jb 0x10010770
mov edx, dword [ebx + 0x38]
lea eax, [ebx + 0x1840]
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x1cc0]
mov esi, dword [ebx + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebx + 0x1d40]
mov dword [ebp - 0x14], eax
lea eax, [ebx + 0x1d8c]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x1eac]
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x1ecc]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xcc], ebx
mov edi, dword [eax + 0x28]
mov dword [ebp - 0xdc], edi
mov edi, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0xec], edi
mov edi, dword [ebp - 0xb0]
cmp eax, 0x35
ja case.0x1000eff8.32
movzx eax, byte [eax + 0x10010824]
mov dword [ebp - 0xc4], 1
jmp dword [eax*4 + 0x100107a0]
mov ecx, dword [ebp - 0xa4]
xor ebx, ebx
mov eax, dword [ebp + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xa8], edx
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x10], 1
test al, 1
je 0x1000fa97
jmp 0x1000f059
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp + 0x20]
mov ebx, edi
cmp ebx, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xcc]
jb 0x1000f08c
test al, 2
mov dword [ebp - 0xd8], 1
mov eax, 0xfffffffc
mov dword [ecx], 1
cmovne eax, dword [ebp - 0xd8]
jmp 0x1001048f
movzx eax, byte [edi]
inc edi
mov dword [ecx + 8], eax
jmp 0x1000f09b
mov ecx, dword [ebp - 0xa4]
cmp edi, dword [ebp - 0xc0]
jb 0x1000f0c8
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
mov dword [ebp - 0xd8], 1
cmovne eax, dword [ebp - 0xd8]
mov dword [ecx], 2
jmp 0x1001048f
movzx ebx, byte [edi]
xor edx, edx
mov dword [ecx + 0xc], ebx
inc edi
mov ecx, dword [ecx + 8]
mov eax, ecx
shl eax, 8
add eax, ebx
mov dword [ebp - 0xd8], 0x1f
div dword [ebp - 0xd8]
mov dword [ebp - 0xb0], edi
test edx, edx
jne 0x1000f106
test bl, 0x20
jne 0x1000f106
mov eax, ecx
and al, 0xf
cmp al, 8
jne 0x1000f106
xor ebx, ebx
jmp 0x1000f10b
mov ebx, 1
cmp dword [ebp - 0x100], 0
mov dword [ebp - 0xcc], ebx
jne 0x1000f147
shr ecx, 4
mov eax, 1
add ecx, 8
shl eax, cl
cmp eax, 0x8000
ja 0x1000f13a
cmp dword [ebp - 0xbc], eax
jb 0x1000f13a
xor eax, eax
jmp 0x1000f13f
mov eax, 1
or ebx, eax
mov dword [ebp - 0xcc], ebx
mov edx, dword [ebp - 0xa8]
test ebx, ebx
jne case.0x1000eff8.23
mov ecx, dword [ebp - 0xa4]
jmp 0x1000fa97
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x24
jmp 0x100104ff
cmp edi, dword [ebp - 0xc0]
jae 0x10010367
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xdc]
add esi, 8
or edx, eax
mov dword [ebp - 0xb0], edi
cmp esi, ecx
jb case.0x1000eff8.13
mov eax, dword [ebp - 0xc4]
sub esi, ecx
shl eax, cl
dec eax
mov dword [ebp - 0xf0], esi
and eax, edx
shr edx, cl
mov dword [ebp - 0xa8], edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
movsx eax, byte [edx + 0x1005b0e0]
add ecx, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], ecx
cmp edx, 0x10
jne 0x1000f1ec
movzx edx, byte [eax + ebx + 0x1ee2]
add eax, ebx
jmp 0x1000f1f0
xor edx, edx
add eax, ebx
push ecx
push edx
add eax, 0x1ee3
push eax
call fcn.100311d0
add esp, 0xc
add ebx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
add eax, ecx
mov dword [ebp - 0xcc], ebx
cmp ebx, eax
jae 0x1000f3c2
cmp esi, 0xf
jae 0x1000f31d
mov eax, dword [ebp - 0xc0]
sub eax, edi
cmp eax, 2
jge 0x1000f2f3
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1040]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x1000f272
sar eax, 9
test eax, eax
je case.0x1000eff8.11
cmp esi, eax
jae 0x1000f323
jmp case.0x1000eff8.11
cmp esi, 0xa
jbe case.0x1000eff8.11
mov ecx, 0xa
mov dword [ebp - 0xb4], ecx
mov edi, dword [ebp - 0xa4]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xbc]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1d40]
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], eax
test ecx, ecx
jns 0x1000f31d
mov ecx, dword [ebp - 0xb4]
inc eax
cmp esi, eax
jae 0x1000f282
cmp edi, dword [ebp - 0xc0]
jae 0x100101d6
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 0xf
jb 0x1000f242
jmp 0x1000f31d
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
add edi, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0xb0], edi
or dword [ebp - 0xa8], edx
add esi, 0x10
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1040]
mov dword [ebp - 0xc8], eax
test eax, eax
js 0x1000f34e
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xc8], eax
jmp 0x1000f390
mov edi, dword [ebp - 0xa4]
mov ecx, 0xa
mov ebx, dword [ebp - 0xc8]
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 0x1000f360
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], ebx
mov ebx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xc8]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xf0], esi
cmp eax, 0x10
jae 0x100101b2
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xc8]
mov byte [eax + ebx + 0x1ee3], cl
inc ebx
jmp 0x1000f212
jne case.0x1000eff8.14
mov eax, dword [ebp - 0xa4]
push ecx
add eax, 0x1ee3
push eax
push dword [ebp - 0x10]
call fcn.10030c50
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 0x2c]
push dword [ecx + 0x30]
add eax, 0x1ee3
add eax, ecx
push eax
lea eax, [ecx + 0x1eac]
push eax
call fcn.10030c50
mov eax, dword [ebp - 0xa4]
add esp, 0x18
add eax, 0x18
dec dword [eax]
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xa8]
mov ecx, dword [eax]
test ecx, ecx
jns 0x1000fedb
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc0]
sub ecx, edi
cmp ecx, 4
jl 0x1000f597
sub eax, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb0]
cmp eax, 2
jl 0x1000f597
cmp esi, 0xf
jae 0x1000f47a
movzx edx, byte [edi + 1]
mov ecx, esi
movzx eax, byte [edi]
add edi, 2
shl edx, 8
or edx, eax
mov dword [ebp - 0xb0], edi
shl edx, cl
or dword [ebp - 0xa8], edx
add esi, 0x10
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ecx + eax*2 + 0x40]
test ebx, ebx
js 0x1000f497
mov ecx, ebx
sar ecx, 9
jmp 0x1000f4c4
mov ecx, 0xa
nop dword [eax]
mov edi, dword [ebp - 0xa4]
mov eax, edx
shr eax, cl
not ebx
and eax, 1
inc ecx
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1840]
test ebx, ebx
js 0x1000f4a0
mov edi, dword [ebp - 0xb0]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa8], edx
test ebx, 0x100
jne 0x1000f710
cmp esi, 0xf
jae 0x1000f507
movzx edx, byte [edi + 1]
mov ecx, esi
movzx eax, byte [edi]
add edi, 2
shl edx, 8
or edx, eax
mov dword [ebp - 0xb0], edi
shl edx, cl
or dword [ebp - 0xa8], edx
add esi, 0x10
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x40]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x1000f52a
mov ecx, eax
sar ecx, 9
jmp 0x1000f56b
mov ecx, 0xa
mov dword [ebp - 0xb4], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xbc]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0xa4]
movsx eax, word [ecx + eax*2 + 0x1840]
mov ecx, dword [ebp - 0xb4]
inc ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], ecx
test eax, eax
js 0x1000f535
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], edx
mov byte [ecx], bl
inc ecx
test eax, 0x100
jne 0x1000f708
add dword [ebp - 0xb8], 2
mov byte [ecx], al
jmp 0x1000f421
cmp esi, 0xf
jae 0x1000f681
cmp ecx, 2
jge 0x1000f657
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x40]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x1000f5d6
sar eax, 9
test eax, eax
je case.0x1000eff8.15
cmp esi, eax
jae 0x1000f681
jmp case.0x1000eff8.15
cmp esi, 0xa
jbe case.0x1000eff8.15
mov ecx, 0xa
mov dword [ebp - 0xb4], ecx
mov edi, dword [ebp - 0xa4]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xbc]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1840]
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], eax
test ecx, ecx
jns 0x1000f681
mov ecx, dword [ebp - 0xb4]
inc eax
cmp esi, eax
jae 0x1000f5e6
cmp edi, dword [ebp - 0xc0]
jae 0x100101e7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 0xf
jb 0x1000f5a9
jmp 0x1000f681
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
add edi, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0xb0], edi
or dword [ebp - 0xa8], edx
add esi, 0x10
mov edx, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ebx + eax*2 + 0x40]
test ebx, ebx
js 0x1000f6a4
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x1000f6d4
mov ecx, 0xa
nop dword [eax]
mov edi, dword [ebp - 0xa4]
mov eax, edx
shr eax, cl
not ebx
and eax, 1
inc ecx
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x1840]
test ebx, ebx
js 0x1000f6b0
mov edi, dword [ebp - 0xb0]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa8], edx
cmp ebx, 0x100
jae 0x1000f710
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xe0]
cmp ecx, eax
jae 0x100101f8
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0xb8], ecx
jmp 0x1000f427
mov dword [ebp - 0xb8], ecx
mov ebx, eax
and ebx, 0x1ff
mov dword [ebp - 0xcc], ebx
cmp ebx, 0x100
je 0x1000fa87
movzx ecx, byte [ebx + 0x1005af4f]
movzx ebx, word [ebx*2 + 0x1005ae0e]
mov dword [ebp - 0xdc], ecx
test ecx, ecx
je 0x1000f785
cmp esi, ecx
jae 0x1000f76e
cmp edi, dword [ebp - 0xc0]
jae 0x10010356
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xdc]
add esi, 8
or edx, eax
mov dword [ebp - 0xb0], edi
cmp esi, ecx
jb case.0x1000eff8.17
mov eax, dword [ebp - 0xc4]
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [ebp - 0xa8], edx
add ebx, eax
cmp esi, 0xf
jae 0x1000f87b
mov eax, dword [ebp - 0xc0]
sub eax, edi
cmp eax, 2
jge 0x1000f851
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x840]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x1000f7cf
sar eax, 9
test eax, eax
je case.0x1000eff8.18
cmp esi, eax
jae 0x1000f881
jmp case.0x1000eff8.18
cmp esi, 0xa
jbe case.0x1000eff8.18
mov ecx, 0xa
mov dword [ebp - 0xb4], ecx
nop
mov edi, dword [ebp - 0xa4]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xbc]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1cc0]
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], eax
test ecx, ecx
jns 0x1000f87b
mov ecx, dword [ebp - 0xb4]
inc eax
cmp esi, eax
jae 0x1000f7e0
cmp edi, dword [ebp - 0xc0]
jae 0x1001031e
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 0xf
jb 0x1000f79f
jmp 0x1000f87b
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
add edi, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0xb0], edi
or dword [ebp - 0xa8], edx
add esi, 0x10
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x840]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x1000f8a6
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x1000f8e7
mov ecx, 0xa
mov dword [ebp - 0xb4], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xbc]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0xa4]
movsx eax, word [ecx + eax*2 + 0x1cc0]
mov ecx, dword [ebp - 0xb4]
inc ecx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb4], ecx
test eax, eax
js 0x1000f8b1
shr edx, cl
sub esi, ecx
movzx ecx, byte [eax + 0x1005b0b0]
movzx eax, word [eax*2 + 0x1005b070]
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xc8], eax
test ecx, ecx
je 0x1000f958
cmp esi, ecx
jae 0x1000f93d
cmp edi, dword [ebp - 0xc0]
jae 0x1001032f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0xdc]
add esi, 8
or edx, eax
mov dword [ebp - 0xb0], edi
cmp esi, ecx
jb case.0x1000eff8.19
mov eax, dword [ebp - 0xc4]
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0xc8], eax
mov dword [ebp - 0xa8], edx
mov ecx, dword [ebp - 0xb8]
sub ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xec], ecx
test eax, eax
je 0x1000f979
cmp eax, ecx
ja 0x1000f979
test ecx, ecx
jne 0x1000f986
cmp dword [ebp - 0x100], 0
jne case.0x1000eff8.24
mov edi, dword [ebp - 0xb0]
sub ecx, eax
and ecx, dword [ebp - 0xe4]
add ecx, dword [ebp + 0x14]
cmp dword [ebp - 0xb8], ecx
mov eax, ecx
mov dword [ebp - 0xd8], ecx
cmova eax, dword [ebp - 0xb8]
add eax, ebx
cmp eax, dword [ebp - 0xe0]
jbe 0x1000fa02
mov ecx, dword [ebp - 0xb8]
mov eax, ebx
dec ebx
test eax, eax
je 0x1000f421
cmp ecx, dword [ebp - 0xe0]
jae 0x10010340
mov eax, dword [ebp - 0xec]
sub eax, dword [ebp - 0xc8]
and eax, dword [ebp - 0xe4]
mov ecx, dword [ebp + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0xb8]
mov byte [ecx], al
inc ecx
inc dword [ebp - 0xec]
mov dword [ebp - 0xb8], ecx
jmp 0x1000f9bc
cmp ebx, 2
jbe 0x1000fa51
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 0xd8]
shr edx, 1
inc edx
nop word [eax + eax]
mov edi, dword [ebp - 0xb8]
sub ebx, 3
movzx eax, byte [ecx]
add dword [ebp - 0xb8], 3
mov byte [edi], al
movzx eax, byte [ecx + 1]
mov byte [edi + 1], al
movzx eax, byte [ecx + 2]
add ecx, 3
mov byte [edi + 2], al
sub edx, 1
jne 0x1000fa20
mov edi, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa8]
test ebx, ebx
je 0x1000f421
mov edx, dword [ebp - 0xb8]
mov al, byte [ecx]
mov byte [edx], al
cmp ebx, 1
jbe 0x1000fa74
mov al, byte [ecx + 1]
mov byte [edx + 1], al
add edx, ebx
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0xa8]
jmp 0x1000f421
mov ecx, dword [ebp - 0xa4]
test byte [ecx + 0x14], 1
jne 0x100102ac
cmp esi, 3
jae 0x1000fac6
cmp edi, dword [ebp - 0xc0]
jae 0x1001020e
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 3
jb case.0x1000eff8.3
mov ecx, dword [ebp - 0xa4]
mov eax, edx
lea ecx, [ecx + 0x18]
and eax, 7
shr edx, 3
mov dword [ecx - 4], eax
sub esi, 3
shr eax, 1
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xac], ecx
mov dword [ecx], eax
jne 0x1000fd06
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x1000fb24
cmp edi, dword [ebp - 0xc0]
jae 0x1001021f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0xb0], edi
and eax, 7
cmp esi, eax
jb case.0x1000eff8.4
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa8], edx
xor ebx, ebx
cmp ebx, 4
jae 0x1000fba8
test esi, esi
je case.0x1000eff8.6
cmp esi, 8
jae 0x1000fb67
cmp edi, dword [ebp - 0xc0]
jae 0x10010230
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 8
jb case.0x1000eff8.5
mov eax, dword [ebp - 0xa4]
sub esi, 8
mov byte [eax + ebx + 0x1edf], dl
shr edx, 8
inc ebx
mov dword [ebp - 0xa8], edx
jmp 0x1000fb35
mov ecx, dword [ebp - 0xa4]
cmp edi, dword [ebp - 0xc0]
jae 0x10010241
mov al, byte [edi]
inc edi
mov byte [ecx + ebx + 0x1edf], al
inc ebx
mov dword [ebp - 0xb0], edi
jmp 0x1000fb35
mov ecx, dword [ebp - 0xa4]
movzx ebx, byte [ecx + 0x1ee0]
movzx eax, byte [ecx + 0x1edf]
movzx ecx, byte [ecx + 0x1ee2]
shl ebx, 8
or ebx, eax
shl ecx, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xcc], ebx
movzx eax, byte [eax + 0x1ee1]
or ecx, eax
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x1000eff8.26
mov ecx, dword [ebp - 0xb8]
test ebx, ebx
je 0x1000fcfb
test esi, esi
je case.0x1000eff8.7
cmp esi, 8
jae 0x1000fc29
cmp edi, dword [ebp - 0xc0]
jae 0x1001024c
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 8
jb case.0x1000eff8.29
mov ecx, dword [ebp - 0xb8]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xa8], edx
jmp 0x1000fc4c
mov eax, dword [ebp - 0xc8]
cmp ecx, dword [ebp - 0xe0]
jae 0x1001025d
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xcc], ebx
jmp 0x1000fbf4
test ebx, ebx
je 0x1000fcfb
mov edx, dword [ebp - 0xe0]
cmp ecx, edx
jb 0x1000fc9e
mov ecx, dword [ebp - 0xa4]
mov eax, 2
mov edx, dword [ebp - 0xa8]
mov dword [ecx], 9
jmp 0x100104ff
mov edx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xc0]
cmp edi, eax
jae 0x10010273
sub eax, edi
mov ecx, edx
mov edx, dword [ebp - 0xb8]
mov edi, ebx
sub ecx, edx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, ebx
cmovb edi, ecx
push edi
push dword [ebp - 0xb0]
push edx
call fcn.10030c50
mov ecx, dword [ebp - 0xb8]
add esp, 0xc
add dword [ebp - 0xb0], edi
add ecx, edi
sub ebx, edi
mov dword [ebp - 0xb8], ecx
mov edi, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], ebx
jmp 0x1000fc6a
mov edx, dword [ebp - 0xa8]
jmp 0x1000fa87
cmp eax, 3
je case.0x1000eff8.8
cmp eax, 1
jne 0x1000fd98
mov eax, dword [ebp - 0xa4]
movaps xmm0, xmmword [0x1005aff0]
mov edi, dword [ebp - 0x10]
push 0x90
mov dword [eax + 0x2c], 0x120
mov dword [eax + 0x30], 0x20
mov eax, dword [ebp - 0xc]
push 8
push edi
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
call fcn.100311d0
push 0x70
add edi, 0x90
push 9
push edi
call fcn.100311d0
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a]
add esp, 0x18
mov eax, dword [ebp - 0xac]
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0xb0]
jmp 0x1000f411
mov ecx, dword [ebp - 0xa4]
xor ebx, ebx
cmp ebx, 3
jae 0x1000fe3c
movsx eax, byte [ebx + 0x1005b0ec]
cmp esi, eax
jae 0x1000fde4
cmp edi, dword [ebp - 0xc0]
jae 0x1001028a
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0xb0], edi
movsx eax, byte [ebx + 0x1005b0ec]
add esi, 8
mov dword [ebp - 0xa8], edx
cmp esi, eax
jb case.0x1000eff8.9
mov cl, byte [ebx + 0x1005b0ec]
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xa8]
shl edx, cl
mov ecx, dword [ebp - 0xa4]
dec edx
and edx, eax
mov dword [ecx + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x1005b0ec]
shr eax, cl
sub esi, ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
movzx eax, word [ebx*2 + 0x1005b0e4]
add eax, edx
mov dword [ebp - 0xf0], esi
mov edx, dword [ebp - 0xa8]
mov dword [ecx + ebx*4 + 0x2c], eax
inc ebx
jmp 0x1000fda0
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [ecx + 0x1ecc], xmm0
mov word [ecx + 0x1edc], 0
mov byte [ecx + 0x1ede], 0
mov dword [ebp - 0xcc], ebx
cmp ebx, dword [ecx + 0x34]
jae 0x1000fec6
cmp esi, 3
jae 0x1000fe8c
cmp edi, dword [ebp - 0xc0]
jae 0x1001029b
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
add esi, 8
mov dword [ebp - 0xb0], edi
or edx, eax
cmp esi, 3
jb case.0x1000eff8.10
movzx eax, byte [ebx + 0x1005b0d0]
mov ecx, edx
mov edi, dword [ebp - 0xa4]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0xa8], edx
inc ebx
mov dword [ebp - 0xf0], esi
mov byte [eax + edi + 0x1ecc], cl
mov edi, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xa4]
jmp 0x1000fe58
lea eax, [ecx + 0x18]
mov dword [ecx + 0x34], 0x13
mov dword [ebp - 0xac], eax
jmp 0x1000f417
mov edx, dword [ebp - 0xa4]
mov eax, ecx
shl eax, 0xb
add edx, 0x40
add eax, edx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + ecx*4 - 0x1c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + ecx*4 - 0x10]
push 0x40
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.100311d0
push 0x800
push 0
push dword [ebp - 0xbc]
call fcn.100311d0
push dword [ebp - 0xa4]
call fcn.1000ee40
mov eax, dword [ebp - 0xac]
add esp, 0x1c
mov edx, dword [ebp - 0xa4]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [edx + eax*4 + 0x2c]
mov dword [ebp - 0xd4], edx
test edx, edx
je 0x1000ff69
mov eax, dword [ebp - 0x104]
movzx eax, byte [ecx + eax]
inc ecx
inc dword [ebp + eax*4 - 0xa0]
cmp ecx, edx
jb 0x1000ff53
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xe8], ecx
mov eax, dword [ebp + edx - 0xa0]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0x9c]
add dword [ebp - 0xe8], eax
mov dword [ebp + edx - 0x5c], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x98]
add ecx, ecx
add dword [ebp - 0xb4], eax
mov dword [ebp + edx - 0x58], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0x54], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x1000ff84
mov eax, dword [ebp - 0xb4]
add eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xfc], edi
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0xb0]
add ecx, eax
cmp dword [ebp - 0xf8], 0x10000
je 0x10010002
cmp ecx, 1
ja 0x100103a0
xor eax, eax
mov dword [ebp - 0xe8], 0xffffffff
cmp dword [ebp - 0xd4], eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
jbe 0x100101a2
nop word [eax + eax]
mov esi, dword [ebp - 0xb4]
xor edx, edx
mov ecx, dword [ebp - 0x104]
movzx ecx, byte [esi + ecx]
mov dword [ebp - 0xd4], ecx
test ecx, ecx
je 0x10010171
mov edi, dword [ebp + ecx*4 - 0x60]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0x60], eax
nop dword [eax]
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x10010060
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xa
ja 0x100100c3
mov edi, dword [ebp - 0xe4]
mov eax, ecx
shl eax, 9
or eax, esi
mov dword [ebp - 0xe4], edi
movzx esi, ax
cmp edx, 0x400
jae 0x1001016b
mov eax, 1
mov dword [ebp - 0xe4], edi
shl eax, cl
mov ecx, dword [ebp - 0xbc]
mov word [ecx + edx*2], si
add edx, eax
cmp edx, 0x400
jb 0x100100b0
jmp 0x1001016b
mov ebx, dword [ebp - 0xbc]
mov eax, edx
mov esi, dword [ebp - 0xe8]
and eax, 0x3ff
lea edi, [ebx + eax*2]
movsx eax, word [edi]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x100100f6
mov word [edi], si
mov edi, esi
sub esi, 2
mov dword [ebp - 0xe8], esi
jmp 0x100100fc
mov edi, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xe4]
shr edx, 9
mov dword [ebp - 0xe4], eax
cmp ecx, 0xb
jbe 0x10010153
lea ebx, [ecx - 0xb]
mov dword [ebp - 0xe4], eax
nop dword [eax]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, edi
mov edi, dword [ebp - 0xd8]
movzx ecx, word [edi + eax*2 - 2]
test cx, cx
jne 0x10010145
mov word [edi + eax*2 - 2], si
mov edi, esi
sub esi, 2
jmp 0x10010148
movsx edi, cx
sub ebx, 1
jne 0x10010120
mov dword [ebp - 0xe8], esi
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xb4]
shr edx, 1
and edx, 1
sub edx, edi
mov word [ecx + edx*2 - 2], ax
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xb4]
mov esi, dword [eax]
inc edx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], edx
cmp edx, dword [ecx + esi*4 + 0x2c]
jb 0x10010030
mov esi, dword [ebp - 0xf0]
mov ebx, dword [ebp - 0xcc]
mov edi, dword [ebp - 0xb0]
cmp dword [eax], 2
jne 0x1000f409
xor ebx, ebx
jmp 0x1000f206
jne 0x100101bc
test ebx, ebx
je case.0x1000eff8.12
movsx ecx, byte [eax + 0x1005afdc]
mov dword [ebp - 0xdc], ecx
cmp esi, ecx
jae 0x1000f199
jmp case.0x1000eff8.13
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x10
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x17
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov eax, 2
mov dword [ecx], 0x18
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 3
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 5
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 6
jmp 0x1001047f
mov dword [ecx], 7
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x33
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov eax, 2
mov dword [ecx], 0x34
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov dword [ecx], 0x26
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0xb
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0xe
jmp 0x1001047f
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x100102e2
nop word [eax + eax]
cmp edi, dword [ebp - 0xc0]
jae 0x100103f6
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
and eax, 7
cmp esi, eax
jb case.0x1000eff8.20
mov eax, dword [ebp - 0xf4]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
cmp edi, eax
jbe 0x10010302
cmp esi, 8
jb 0x10010302
dec edi
sub esi, 8
cmp edi, eax
ja 0x100102f5
or eax, 0xffffffff
mov ecx, esi
shl eax, cl
not eax
and edx, eax
test byte [ebp + 0x20], 1
je case.0x1000eff8.21
xor ebx, ebx
jmp 0x10010428
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x1a
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x1b
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov eax, 2
mov dword [ecx], 0x35
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x19
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x12
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x27
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0xa
jmp 0x100104ff
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x23
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x11
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x15
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
or eax, 0xffffffff
mov dword [ecx], 0x25
jmp 0x100104ff
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x20
jmp 0x1001047f
cmp edi, dword [ebp - 0xc0]
jae 0x10010473
movzx ecx, byte [edi]
inc edi
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x10]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp - 0xa4]
inc ebx
mov dword [ecx + 0x10], eax
cmp ebx, 4
jae case.0x1000eff8.21
test esi, esi
je case.0x1000eff8.28
cmp esi, 8
jae 0x1001045a
nop word [eax + eax]
cmp edi, dword [ebp - 0xc0]
jae 0x10010465
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
inc edi
or edx, eax
cmp esi, 8
jb case.0x1000eff8.27
movzx ecx, dl
shr edx, 8
sub esi, 8
jmp 0x10010410
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x29
jmp 0x1001047f
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], 0x2a
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
cmovne eax, dword [ebp - 0xc4]
mov dword [ebp - 0xac], eax
mov ecx, eax
cmp eax, 1
je 0x10010522
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xec], eax
mov eax, ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xd4], ebx
cmp ecx, 0xfffffffc
je 0x10010522
jmp 0x10010505
mov ecx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ecx], 0x22
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xf4]
cmp edi, ecx
jbe 0x10010522
nop
cmp esi, 8
jb 0x10010522
dec edi
sub esi, 8
cmp edi, ecx
ja 0x10010510
jmp 0x10010522
or eax, 0xffffffff
mov ecx, dword [ebp - 0xa4]
sub edi, dword [ebp - 0xf4]
mov dword [ecx + 4], esi
mov ecx, esi
or esi, 0xffffffff
shl esi, cl
mov ecx, dword [ebp - 0xa4]
not esi
and esi, edx
mov edx, dword [ebp - 0xc8]
mov dword [ecx + 0x20], edx
mov edx, dword [ebp - 0xdc]
mov dword [ecx + 0x28], edx
mov edx, dword [ebp - 0xec]
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp - 0x10c]
mov dword [ecx + 0x24], ebx
mov ebx, dword [ebp - 0xb8]
sub ebx, dword [ebp - 0xd0]
test byte [ebp + 0x20], 9
mov dword [ecx + 0x38], esi
mov dword [edx], edi
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xb8], ebx
mov dword [edx], ebx
je 0x1001078d
test eax, eax
js 0x1001078d
mov esi, dword [ecx + 0x1c]
mov eax, 0x5e6ea9af
mul ebx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
shr esi, 0x10
mov dword [ebp - 0xbc], esi
sub edx, eax
mov dword [ebp - 0xb4], edx
test ebx, ebx
je 0x10010736
nop dword [eax + eax]
xor edi, edi
cmp edx, 7
jbe 0x10010679
mov eax, dword [ebp - 0xd0]
mov ebx, 7
sub ebx, eax
movzx eax, byte [eax]
add edi, 8
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0xd0]
add eax, 8
add esi, ecx
mov dword [ebp - 0xd0], eax
add eax, ebx
cmp eax, edx
mov eax, dword [ebp - 0xd0]
jb 0x100105e8
mov dword [ebp - 0xbc], esi
xor ebx, ebx
cmp edi, edx
jae 0x100106ef
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x100106d4
mov esi, dword [ebp - 0xd0]
sub edx, edi
sub edx, 2
shr edx, 1
inc edx
lea eax, [edi + edx*2]
mov edi, ebx
mov dword [ebp - 0xd4], eax
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add ebx, ecx
add esi, 2
add ecx, eax
add edi, ecx
sub edx, 1
jne 0x100106a1
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], esi
mov esi, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xb4]
jae 0x100106ea
jmp 0x100106d6
mov edi, ebx
mov edx, dword [ebp - 0xd0]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [ebp - 0xd0], edx
lea eax, [edi + ebx]
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, dword [ebp - 0xb4]
add esi, eax
sub dword [ebp - 0xb8], edx
mov edx, 0x15b0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb4], edx
jne 0x100105d0
mov eax, dword [ebp - 0xac]
shl esi, 0x10
add esi, ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + 0x1c], esi
test eax, eax
jne 0x1001078d
test byte [ebp + 0x20], 1
je 0x1001078d
cmp esi, dword [ecx + 0x10]
mov edx, 0xfffffffe
pop edi
pop esi
cmovne eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002f2d6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x108]
mov eax, 0xfffffffd
mov dword [edx], 0
mov edx, dword [ebp - 0x10c]
mov dword [edx], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f2d6
mov esp, ebp
pop ebp
ret