Function at 0x100372b0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x100b0270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x88], edx
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
add eax, edx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x94]
push esi
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp - 0x50], edx
mov eax, dword [eax]
push edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x6c], esi
lea edx, [eax + esi]
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp + 0x18]
and edx, 4
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x98], edx
je 0x1003732e
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x60], 0
jmp 0x10037344
sub eax, dword [ebp + 0xc]
add eax, esi
mov dword [ebp - 0x60], eax
lea edx, [eax - 1]
mov dword [ebp - 0x80], edx
test eax, edx
jne 0x1003895e
cmp esi, dword [ebp + 0xc]
jb 0x1003895e
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x74], ebx
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x84], edi
mov edi, dword [eax + 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0x50]
cmp eax, 0x35
ja case.0x10037389.4
movzx eax, byte [eax + 0x10038a10]
jmp dword [eax*4 + 0x1003898c]
mov ecx, dword [ebp - 0x48]
xor ebx, ebx
mov eax, dword [ebp + 0x18]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x74], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x4c], edx
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x10], 1
test al, 1
je 0x100374b1
jmp 0x100373db
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x64]
cmp edi, edx
jb 0x100373fd
test al, 2
mov edx, 1
mov eax, 0xfffffffc
mov dword [ecx], edx
cmovne eax, edx
mov dword [ebp - 0x54], eax
mov ecx, eax
jmp 0x100386f4
movzx eax, byte [edi]
inc edi
mov dword [ebp - 0x50], edi
mov dword [ecx + 8], eax
jmp 0x1003740f
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x64]
cmp edi, edx
jb 0x10037435
mov eax, dword [ebp + 0x18]
mov edx, 1
test al, 2
mov dword [ecx], 2
mov eax, 0xfffffffc
cmovne eax, edx
mov dword [ebp - 0x54], eax
mov ecx, eax
jmp 0x100386f4
movzx ebx, byte [edi]
xor edx, edx
mov eax, dword [ecx + 8]
inc edi
shl eax, 8
add eax, ebx
mov dword [ebp - 0x70], 0x1f
div dword [ebp - 0x70]
mov dword [ebp - 0x50], edi
test edx, edx
mov dword [ecx + 0xc], ebx
mov edx, dword [ecx + 8]
jne 0x1003746b
test bl, 0x20
jne 0x1003746b
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x1003746b
xor ebx, ebx
jmp 0x10037470
mov ebx, 1
cmp dword [ebp - 0x98], 0
mov dword [ebp - 0x74], ebx
jne 0x100374a6
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x10037499
cmp dword [ebp - 0x60], eax
jb 0x10037499
xor eax, eax
jmp 0x1003749e
mov eax, 1
mov ecx, dword [ebp - 0x48]
or ebx, eax
mov dword [ebp - 0x74], ebx
test ebx, ebx
jne 0x10037588
mov edx, dword [ebp - 0x4c]
cmp esi, 3
jae 0x100374da
cmp edi, dword [ebp - 0x64]
jae 0x100383ff
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 3
jb case.0x10037389.3
mov ecx, dword [ebp - 0x48]
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [ecx + 0x14], eax
shr eax, 1
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x90], esi
mov dword [ecx + 0x18], eax
jne 0x10037f9b
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x1003752a
cmp edi, dword [ebp - 0x64]
jae 0x1003841f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0x50], edi
and eax, 7
mov dword [ebp - 0x4c], edx
cmp esi, eax
jb case.0x10037389.5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x4c], edx
xor ebx, ebx
cmp ebx, 4
jae 0x10037e60
test esi, esi
je case.0x10037389.7
cmp esi, 8
jae 0x1003756f
cmp edi, dword [ebp - 0x64]
jae 0x1003843f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 8
jb case.0x10037389.6
mov eax, dword [ebp - 0x48]
sub esi, 8
mov byte [eax + ebx + 0x2920], dl
shr edx, 8
inc ebx
mov dword [ebp - 0x4c], edx
jmp 0x10037538
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [ecx], 0x24
jmp 0x10038716
cmp edi, dword [ebp - 0x64]
jae 0x1003858f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x84]
or edx, eax
add esi, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
cmp esi, ecx
jb case.0x10037389.18
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
mov dword [ebp - 0x90], esi
and eax, edx
shr edx, cl
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
movsx eax, byte [edx + 0x100aa2a0]
add ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], ecx
cmp edx, 0x10
jne 0x10037603
movzx edx, byte [eax + ebx + 0x2923]
add eax, ebx
jmp 0x10037607
xor edx, edx
add eax, ebx
push ecx
push edx
add eax, 0x2924
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x48]
add esp, 0xc
add ebx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x2c]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x74], ebx
cmp ebx, eax
jae 0x1003777d
cmp esi, 0xf
jae 0x10037703
mov eax, dword [ebp - 0x64]
sub eax, edi
cmp eax, 2
jge 0x100376dc
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x60], eax
test eax, eax
js 0x10037672
sar eax, 9
test eax, eax
je case.0x10037389.16
cmp esi, eax
jae 0x10037703
jmp case.0x10037389.16
cmp esi, 0xa
jbe case.0x10037389.16
mov ecx, 0xa
mov dword [ebp - 0x58], ecx
nop
mov edi, dword [ebp - 0x48]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x60]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x24a0]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
test ecx, ecx
jns 0x10037700
mov ecx, dword [ebp - 0x58]
inc eax
cmp esi, eax
jae 0x10037680
cmp edi, dword [ebp - 0x64]
jae 0x100383a7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x48]
or edx, eax
add esi, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
cmp esi, 0xf
jb 0x1003764b
jmp 0x10037703
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x50]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x50], edi
shl eax, cl
or edx, eax
or dword [ebp - 0x4c], edx
add esi, 0x10
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x68], eax
test eax, eax
js 0x10037728
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x68], eax
jmp 0x10037757
mov edi, dword [ebp - 0x48]
mov ecx, 0xa
mov ebx, dword [ebp - 0x68]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x24a0]
test ebx, ebx
js 0x10037733
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x68], ebx
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x68]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x90], esi
cmp eax, 0x10
jae 0x10038383
mov ecx, dword [ebp - 0x48]
mov byte [ecx + ebx + 0x2924], al
inc ebx
jmp 0x10037620
jne 0x10038612
mov eax, dword [ecx + 0x2c]
push eax
lea eax, [ecx + 0x2924]
push eax
lea eax, [ecx + 0x40]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x2c]
push dword [ecx + 0x30]
add eax, 0x2924
add eax, ecx
push eax
lea eax, [ecx + 0xde0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 0x48]
add esp, 0x18
mov eax, dword [ecx + 0x18]
dec eax
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x18]
test eax, eax
jns 0x10038123
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x64]
sub eax, edi
mov dword [ebp - 0x70], eax
cmp eax, 4
jl 0x100378fd
mov eax, dword [ebp - 0x8c]
sub eax, ecx
cmp eax, 2
jl 0x100378fa
cmp esi, 0xf
jae 0x1003780b
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 0x10
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ecx + eax*2 + 0x160]
test ebx, ebx
js 0x10037828
mov ecx, ebx
sar ecx, 9
jmp 0x1003784e
mov ecx, 0xa
nop dword [eax]
mov edi, dword [ebp - 0x48]
mov eax, edx
shr eax, cl
not ebx
and eax, 1
inc ecx
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x10037830
mov edi, dword [ebp - 0x50]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x4c], edx
test ebx, 0x100
jne 0x10037a3f
cmp esi, 0xf
jae 0x10037878
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 0x10
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x58], eax
test eax, eax
js 0x10037898
mov ecx, eax
sar ecx, 9
jmp 0x100378c7
mov ecx, 0xa
mov dword [ebp - 0x60], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x58]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x48]
movsx eax, word [ecx + eax*2 + 0x960]
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], ecx
test eax, eax
js 0x100378a0
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], edx
mov byte [ecx], bl
lea edi, [ecx + 1]
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x50]
test eax, 0x100
jne 0x10037a37
mov edi, dword [ebp - 0x58]
add ecx, 2
mov dword [ebp - 0x5c], ecx
mov byte [edi], al
mov edi, dword [ebp - 0x50]
jmp 0x100377d2
mov eax, dword [ebp - 0x70]
cmp esi, 0xf
jae 0x100379c3
cmp eax, 2
jge 0x1003799f
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x60], eax
test eax, eax
js 0x10037939
sar eax, 9
test eax, eax
je case.0x10037389.23
cmp esi, eax
jae 0x100379c3
jmp case.0x10037389.23
cmp esi, 0xa
jbe case.0x10037389.23
mov ecx, 0xa
mov dword [ebp - 0x58], ecx
mov edi, dword [ebp - 0x48]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x60]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x960]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
test ecx, ecx
jns 0x100379c3
mov ecx, dword [ebp - 0x58]
inc eax
cmp esi, eax
jae 0x10037946
cmp edi, dword [ebp - 0x64]
jae 0x100383c7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 0xf
jb 0x1003790f
jmp 0x100379c3
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x50]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x50], edi
shl eax, cl
or edx, eax
or dword [ebp - 0x4c], edx
add esi, 0x10
mov edx, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ebx + eax*2 + 0x160]
test ebx, ebx
js 0x100379e6
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x10037a0e
mov ecx, 0xa
nop dword [eax + eax]
mov edi, dword [ebp - 0x48]
mov eax, edx
shr eax, cl
not ebx
and eax, 1
inc ecx
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x100379f0
mov edi, dword [ebp - 0x50]
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x4c], edx
cmp ebx, 0x100
jae 0x10037a3f
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x8c]
jae 0x100383e7
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0x5c], ecx
jmp 0x100377d2
mov ecx, dword [ebp - 0x58]
mov ebx, eax
mov dword [ebp - 0x5c], ecx
and ebx, 0x1ff
mov dword [ebp - 0x74], ebx
cmp ebx, 0x100
je 0x10037da4
lea eax, [ebx*4 - 0x404]
mov ecx, dword [eax + 0x100aa748]
mov ebx, dword [eax + 0x100aa848]
mov dword [ebp - 0x84], ecx
test ecx, ecx
je 0x10037aae
cmp esi, ecx
jae 0x10037a9b
cmp edi, dword [ebp - 0x64]
jae 0x1003856f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x84]
or edx, eax
add esi, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
cmp esi, ecx
jb case.0x10037389.25
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [ebp - 0x4c], edx
add ebx, eax
cmp esi, 0xf
jae 0x10037b7d
mov eax, dword [ebp - 0x64]
sub eax, edi
cmp eax, 2
jge 0x10037b59
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x60], eax
test eax, eax
js 0x10037aef
sar eax, 9
test eax, eax
je case.0x10037389.26
cmp esi, eax
jae 0x10037b80
jmp case.0x10037389.26
cmp esi, 0xa
jbe case.0x10037389.26
mov ecx, 0xa
mov dword [ebp - 0x58], ecx
nop dword [eax]
mov edi, dword [ebp - 0x48]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x60]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1700]
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], eax
test ecx, ecx
jns 0x10037b7d
mov ecx, dword [ebp - 0x58]
inc eax
cmp esi, eax
jae 0x10037b00
cmp edi, dword [ebp - 0x64]
jae 0x10038517
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 0xf
jb 0x10037ac5
jmp 0x10037b7d
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 0x50]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 0x50], edi
shl eax, cl
or edx, eax
or dword [ebp - 0x4c], edx
add esi, 0x10
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x58], eax
test eax, eax
js 0x10037ba2
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x10037bd7
mov ecx, 0xa
mov dword [ebp - 0x60], ecx
nop word [eax + eax]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x58]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x48]
movsx eax, word [ecx + eax*2 + 0x1700]
mov ecx, dword [ebp - 0x60]
inc ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], ecx
test eax, eax
js 0x10037bb0
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x100aa7c8]
mov eax, dword [eax*4 + 0x100aa6c8]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x68], eax
test ecx, ecx
je 0x10037c3d
cmp esi, ecx
jae 0x10037c26
nop dword [eax]
cmp edi, dword [ebp - 0x64]
jae 0x10038537
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x84]
or edx, eax
add esi, 8
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edx
cmp esi, ecx
jb case.0x10037389.27
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], edx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x10037c55
cmp eax, ecx
ja 0x10037c55
test ecx, ecx
jne 0x10037c62
cmp dword [ebp - 0x98], 0
jne case.0x10037389.37
mov edi, dword [ebp - 0x50]
sub ecx, eax
and ecx, dword [ebp - 0x80]
add ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x5c], ecx
mov eax, ecx
mov dword [ebp - 0x58], ecx
cmova eax, dword [ebp - 0x5c]
add eax, ebx
cmp eax, dword [ebp - 0x8c]
jbe 0x10037cba
mov ecx, dword [ebp - 0x5c]
mov eax, ebx
dec ebx
test eax, eax
je 0x100377d2
cmp ecx, dword [ebp - 0x8c]
jae 0x10038557
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x68]
and eax, dword [ebp - 0x80]
mov edx, dword [ebp + 0xc]
inc dword [ebp - 0x78]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x4c]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x5c], ecx
jmp 0x10037c86
cmp ebx, 9
jb 0x10037d35
cmp ebx, dword [ebp - 0x68]
ja 0x10037d3a
mov eax, ebx
and eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x70], eax
nop
mov eax, dword [ecx]
mov edi, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], ecx
add eax, 8
mov ecx, dword [ebp - 0x58]
add ecx, 8
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
cmp ecx, dword [ebp - 0x70]
jb 0x10037cd0
mov edi, dword [ebp - 0x50]
and ebx, 7
cmp ebx, 3
jae 0x10037d35
test ebx, ebx
je 0x100377cf
mov edx, dword [ebp - 0x5c]
mov al, byte [ecx]
mov byte [edx], al
mov edx, dword [ebp - 0x4c]
cmp ebx, 1
jbe 0x10037d28
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x5c], ecx
jmp 0x100377d2
mov ecx, dword [ebp - 0x5c]
add ecx, ebx
mov dword [ebp - 0x5c], ecx
jmp 0x100377d2
cmp ebx, 2
jbe 0x10037d7a
lea ecx, [ebx - 3]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 0x58]
mov eax, edx
mov edx, dword [ebp - 0x5c]
shr eax, 1
inc eax
mov dword [ebp - 0x60], eax
movzx eax, byte [ecx]
sub ebx, 3
mov byte [edx], al
movzx eax, byte [ecx + 1]
mov byte [edx + 1], al
movzx eax, byte [ecx + 2]
add ecx, 3
mov byte [edx + 2], al
add edx, 3
sub dword [ebp - 0x60], 1
jne 0x10037d52
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x4c]
test ebx, ebx
je 0x100377cf
mov edi, dword [ebp - 0x5c]
mov al, byte [ecx]
mov byte [edi], al
mov edi, dword [ebp - 0x50]
cmp ebx, 1
jbe 0x10037d28
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x5c]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x5c], ecx
jmp 0x100377d2
mov ecx, dword [ebp - 0x48]
test byte [ecx + 0x14], 1
je 0x100374b1
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x10037de5
nop word [eax + eax]
cmp edi, dword [ebp - 0x64]
jae 0x1003863f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 0x50], edi
and eax, 7
mov dword [ebp - 0x4c], edx
cmp esi, eax
jb case.0x10037389.32
mov eax, dword [ebp - 0x88]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x4c], edx
cmp edi, eax
jbe 0x10037e10
nop dword [eax + eax]
cmp esi, 8
jb 0x10037e0d
dec edi
sub esi, 8
cmp edi, eax
ja 0x10037e00
mov dword [ebp - 0x50], edi
mov edi, dword [ebp - 0x4c]
xor edx, edx
mov ecx, esi
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
mov eax, dword [ebp + 0x18]
dec edx
and edi, edx
mov dword [ebp - 0x4c], edi
test al, 1
je 0x10038706
mov edx, edi
xor ebx, ebx
mov edi, dword [ebp - 0x50]
jmp 0x1003867e
cmp edi, dword [ebp - 0x64]
jae 0x1003845f
mov ecx, dword [ebp - 0x48]
mov al, byte [edi]
inc edi
mov dword [ebp - 0x50], edi
mov byte [ecx + ebx + 0x2920], al
inc ebx
jmp 0x10037538
mov ecx, dword [ebp - 0x48]
movzx ebx, byte [ecx + 0x2921]
movzx eax, byte [ecx + 0x2920]
movzx ecx, byte [ecx + 0x2923]
shl ebx, 8
or ebx, eax
shl ecx, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], ebx
movzx eax, byte [eax + 0x2922]
or ecx, eax
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x10037389.39
mov ecx, dword [ebp - 0x5c]
test ebx, ebx
je 0x10037da4
test esi, esi
je case.0x10037389.9
cmp esi, 8
jae 0x10037ed2
cmp edi, dword [ebp - 0x64]
jae 0x1003847f
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 8
jb case.0x10037389.51
mov ecx, dword [ebp - 0x5c]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], edx
jmp 0x10037ee9
mov eax, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x8c]
jae 0x1003849f
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x74], ebx
jmp 0x10037ea0
mov edx, dword [ebp - 0x8c]
cmp ecx, edx
jb 0x10037f29
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 2
mov dword [eax], 9
jmp 0x10038716
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x64]
cmp edi, eax
jae 0x100384b7
sub eax, edi
mov ecx, edx
sub ecx, dword [ebp - 0x5c]
mov edi, ebx
mov edx, dword [ebp - 0x50]
cmp ecx, eax
cmovae ecx, eax
cmp ecx, ebx
cmovb edi, ecx
push edi
push edx
push dword [ebp - 0x5c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x68]
sub ebx, edi
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
add dword [ebp - 0x50], edi
add ecx, edi
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x78], eax
test ebx, ebx
jne case.0x10037389.9
jmp 0x10037da4
cmp eax, 3
je 0x100385ca
cmp eax, 1
jne 0x10038021
movaps xmm0, xmmword [0x100aaa90]
lea edi, [ecx + 0x40]
push 0x90
mov dword [ecx + 0x2c], 0x120
mov dword [ecx + 0x30], 0x20
push 8
movups xmmword [ecx + 0xde0], xmm0
push edi
movups xmmword [ecx + 0xdf0], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x70
add edi, 0x90
push 9
push edi
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [str._a_a_a_a_a_a_a_a_a_a_a_a_a_a_a_a]
add esp, 0x18
mov ecx, dword [ebp - 0x48]
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0x50]
jmp 0x100377c1
xor ebx, ebx
cmp ebx, 3
jae 0x100380a0
movsx eax, byte [ebx + 0x100aa2ac]
cmp esi, eax
jae 0x1003805a
cmp edi, dword [ebp - 0x64]
jae 0x100384d7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
movsx eax, byte [ebx + 0x100aa2ac]
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, eax
jb case.0x10037389.11
mov cl, byte [ebx + 0x100aa2ac]
mov edx, 1
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
shl edx, cl
dec edx
and edx, edi
mov dword [eax + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x100aa2ac]
mov eax, dword [ebx*4 + 0x100aa2bc]
sub esi, ecx
shr edi, cl
add eax, edx
mov ecx, dword [ebp - 0x48]
mov edx, edi
mov dword [ebp - 0x4c], edi
mov edi, dword [ebp - 0x50]
mov dword [ebp - 0x90], esi
mov dword [ecx + ebx*4 + 0x2c], eax
inc ebx
jmp 0x10038023
push 0x120
lea eax, [ecx + 0x1b80]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x4c]
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x74], ebx
cmp ebx, dword [ecx + 0x34]
jae 0x10038117
cmp esi, 3
jae 0x100380ec
cmp edi, dword [ebp - 0x64]
jae 0x100384f7
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 3
jb case.0x10037389.14
movzx eax, byte [ebx + 0x100aa8c4]
mov ecx, edx
mov edi, dword [ebp - 0x48]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x4c], edx
inc ebx
mov dword [ebp - 0x90], esi
mov byte [eax + edi + 0x1b80], cl
mov edi, dword [ebp - 0x50]
jmp 0x100380bb
mov dword [ecx + 0x34], 0x13
jmp 0x100377c1
imul eax, eax, 0xda0
add ecx, 0x40
push 0x40
push 0
add eax, ecx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x54]
push 0xc80
add eax, 0x120
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x48]
add esp, 0x18
xor ecx, ecx
mov edx, dword [eax + 0x18]
mov edx, dword [eax + edx*4 + 0x2c]
mov dword [ebp - 0x7c], edx
test edx, edx
je 0x10038180
nop dword [eax]
mov eax, dword [ebp - 0x54]
movzx eax, byte [ecx + eax]
inc ecx
inc dword [ebp + eax*4 - 0x44]
cmp ecx, edx
jb 0x10038170
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x60], ecx
nop dword [eax + eax]
mov eax, dword [ebp + edx - 0x44]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0x40]
add dword [ebp - 0x60], eax
mov dword [ebp + edx - 0xe0], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x3c]
add ecx, ecx
add dword [ebp - 0x58], eax
mov dword [ebp + edx - 0xdc], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0xd8], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x100381a0
mov eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x70], edi
mov ecx, dword [ebp - 0x70]
mov edi, dword [ebp - 0x50]
add ecx, eax
cmp dword [ebp - 0xa0], 0x10000
je 0x10038209
cmp ecx, 1
ja case.0x10037389.35
xor eax, eax
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x7c], eax
jbe 0x1003836d
nop
mov esi, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x54]
movzx ecx, byte [esi + eax]
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x10038348
mov edi, dword [ebp + ecx*4 - 0xe4]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0xe4], eax
nop word [eax + eax]
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x10038250
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xa
ja 0x100382b6
mov edi, dword [ebp - 0x80]
mov eax, ecx
shl eax, 9
or eax, esi
mov dword [ebp - 0x80], edi
movzx eax, ax
mov dword [ebp - 0x7c], eax
cmp edx, 0x400
jae 0x10038348
mov eax, dword [ebp - 0x54]
mov ebx, 1
shl ebx, cl
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
lea eax, [eax + edx*2]
add eax, 0x120
lea edi, [ebx + ebx]
mov word [eax], cx
add edx, ebx
add eax, edi
cmp edx, 0x400
jb 0x100382a2
jmp 0x10038348
mov edi, dword [ebp - 0x54]
mov eax, edx
mov ebx, dword [ebp - 0x60]
and eax, 0x3ff
lea edi, [edi + eax*2]
movsx eax, word [edi + 0x120]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x100382e5
mov word [edi + 0x120], bx
mov edi, ebx
sub ebx, 2
mov dword [ebp - 0x60], ebx
jmp 0x100382e8
mov edi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x80]
shr edx, 9
mov dword [ebp - 0x80], eax
cmp ecx, 0xb
jbe 0x10038336
lea esi, [ecx - 0xb]
mov dword [ebp - 0x80], eax
nop dword [eax]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, edi
mov edi, dword [ebp - 0x54]
movzx ecx, word [edi + eax*2 + 0x91e]
test cx, cx
jne 0x10038328
mov word [edi + eax*2 + 0x91e], bx
mov edi, ebx
sub ebx, 2
jmp 0x1003832b
movsx edi, cx
sub esi, 1
jne 0x10038300
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x54]
shr edx, 1
and edx, 1
sub edx, edi
mov word [eax + edx*2 + 0x91e], si
mov ecx, dword [ebp - 0x48]
inc esi
mov dword [ebp - 0x58], esi
mov eax, dword [ebp - 0x58]
mov esi, dword [ecx + 0x18]
cmp eax, dword [ecx + esi*4 + 0x2c]
jb 0x10038220
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x50]
jmp 0x10038370
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 0x18]
cmp eax, 2
jne 0x100377bd
xor ebx, ebx
jmp 0x1003761d
jne 0x1003838d
test ebx, ebx
je case.0x10037389.17
movsx ecx, byte [eax + 0x100aa298]
mov dword [ebp - 0x84], ecx
cmp esi, ecx
jae 0x100375c3
jmp case.0x10037389.18
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x10
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x17
jmp 0x100386f1
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 2
mov dword [eax], 0x18
jmp 0x10038716
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 3
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 5
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 6
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 7
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x33
jmp 0x100386f1
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 2
mov dword [eax], 0x34
jmp 0x10038716
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x26
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0xb
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0xe
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x1a
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x1b
jmp 0x100386f1
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 2
mov dword [eax], 0x35
jmp 0x10038716
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x19
jmp 0x100386f1
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x12
jmp 0x100386f1
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [eax], 0x27
jmp 0x10038716
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [ecx], 0xa
jmp 0x10038716
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [eax], 0x23
jmp 0x10038716
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [eax], 0x11
jmp 0x10038716
mov ecx, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [ecx], 0x15
jmp 0x10038716
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], 0xffffffff
mov dword [eax], 0x25
jmp 0x10038716
mov eax, dword [ebp + 0x18]
mov ecx, 0xfffffffc
test al, 2
mov eax, 1
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x20
jmp 0x100386f1
cmp edi, dword [ebp - 0x64]
jae 0x100386d7
movzx eax, byte [edi]
inc edi
mov dword [ebp - 0x50], edi
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ecx + 0x10]
shl eax, 8
or eax, dword [ebp - 0x70]
inc ebx
mov dword [ecx + 0x10], eax
cmp ebx, 4
jae case.0x10037389.34
test esi, esi
je case.0x10037389.42
cmp esi, 8
jae 0x100386ad
cmp edi, dword [ebp - 0x64]
jae 0x100386bb
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 0x50], edi
add esi, 8
mov dword [ebp - 0x4c], edx
cmp esi, 8
jb case.0x10037389.41
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x4c], edx
jmp 0x1003866b
test byte [ebp + 0x18], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x29
jmp 0x100386f1
test byte [ebp + 0x18], 2
mov eax, 1
mov ecx, 0xfffffffc
cmovne ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0x2a
mov dword [ebp - 0x54], ecx
mov edi, dword [ebp - 0x4c]
cmp ecx, 1
je 0x10038735
cmp ecx, 0xfffffffc
je 0x10038735
jmp 0x10038716
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], 0
mov dword [eax], 0x22
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x88]
cmp edx, eax
jbe 0x10038738
cmp esi, 8
jb 0x10038738
dec edx
sub esi, 8
cmp edx, eax
ja 0x10038723
jmp 0x10038738
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ecx + 4], esi
xor ecx, ecx
bts ecx, esi
cmp esi, 0x20
mov esi, dword [ebp - 0x48]
cmovae eax, ecx
sub edx, dword [ebp - 0x88]
xor ecx, eax
mov eax, dword [ebp - 0x68]
dec ecx
mov dword [esi + 0x20], eax
and ecx, edi
mov eax, dword [ebp - 0x84]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x9c]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x6c]
test byte [ebp + 0x18], 9
mov dword [esi + 0x24], ebx
mov dword [eax], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], ecx
mov dword [eax], ecx
je 0x10038948
cmp dword [ebp - 0x54], 0
jl 0x10038948
mov ebx, dword [esi + 0x1c]
mov eax, 0x5e6ea9af
mul ecx
movzx edi, bx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ecx
shr ebx, 0x10
mov dword [ebp - 0x58], ebx
sub edx, eax
mov dword [ebp - 0x78], edx
test ecx, ecx
je 0x10038915
mov esi, edx
nop
xor edx, edx
mov dword [ebp - 0x70], edx
cmp esi, 7
jbe 0x10038862
mov eax, 7
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov ecx, eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x6c]
add edx, 8
movzx eax, byte [eax]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 1]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 2]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 3]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 4]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 5]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 6]
add edi, eax
mov eax, dword [ebp - 0x6c]
add ebx, edi
movzx eax, byte [eax + 7]
add edi, eax
mov eax, dword [ebp - 0x6c]
add eax, 8
add ebx, edi
mov dword [ebp - 0x6c], eax
add eax, ecx
cmp eax, esi
jb 0x100387f0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x58], ebx
mov eax, dword [ebp - 0x78]
xor esi, esi
mov dword [ebp - 0x88], esi
cmp edx, eax
jae 0x100388d7
sub eax, edx
cmp eax, 2
jb 0x100388bf
mov edx, dword [ebp - 0x78]
mov ecx, esi
mov eax, dword [ebp - 0x70]
sub edx, eax
mov ebx, dword [ebp - 0x6c]
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 0x7c], eax
movzx eax, byte [ebx]
add edi, eax
movzx eax, byte [ebx + 1]
add esi, edi
add ebx, 2
add edi, eax
add ecx, edi
sub edx, 1
jne 0x10038891
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], ebx
mov ebx, dword [ebp - 0x58]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x78]
jae 0x100388cd
mov edx, dword [ebp - 0x6c]
movzx eax, byte [edx]
add edi, eax
add ebx, edi
inc edx
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x88]
add eax, esi
add ebx, eax
mov eax, 0x80078071
mov esi, 0x15b0
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
mov eax, 0x80078071
mul ebx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ebx, eax
sub ecx, dword [ebp - 0x78]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x78], esi
jne 0x100387d0
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x54]
shl ebx, 0x10
add ebx, edi
mov dword [esi + 0x1c], ebx
test ecx, ecx
jne 0x1003894b
test byte [ebp + 0x18], 1
je 0x1003894b
cmp ebx, dword [esi + 0x10]
mov eax, 0xfffffffe
pop edi
cmovne ecx, eax
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908b3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x54]
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100908b3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0x9c]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.100908b3
mov esp, ebp
pop ebp
ret