Function at 0x465070
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
push edi
mov eax, dword [esi]
add eax, ecx
mov ecx, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax]
lea edx, [eax + ebx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp + 0x20]
and edx, 4
mov dword [ebp - 0x4c], edx
je 0x4650c0
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x4650d6
sub eax, dword [ebp + 0x14]
add eax, ebx
mov dword [ebp - 0x14], eax
lea edx, [eax - 1]
mov dword [ebp - 0x34], edx
test edx, eax
jne 0x466568
cmp ebx, dword [ebp + 0x14]
jb 0x466568
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x20]
mov edi, dword [eax + 0x28]
mov edx, dword [eax + 0x38]
mov esi, dword [eax + 4]
mov dword [ebp - 0x38], edi
mov edi, dword [eax + 0x3c]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], ebx
cmp eax, 0x35
ja case.0x46511f.32
movzx eax, byte [eax + 0x466608]
mov dword [ebp - 0x20], 1
jmp dword [eax*4 + 0x466584]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x20]
xor edx, edx
xor esi, esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x2c], ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], edx
mov dword [ecx + 0x1c], 1
mov dword [ecx + 0x10], 1
test al, 1
je 0x465a10
jmp 0x46516e
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
mov ebx, edi
cmp ebx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x2c]
jb 0x465195
test al, 2
mov dword [ebp - 0x28], 1
mov eax, 0xfffffffc
mov dword [ecx], 1
cmovne eax, dword [ebp - 0x28]
jmp 0x46630d
movzx eax, byte [edi]
inc edi
mov dword [ebp - 8], edi
mov dword [ecx + 8], eax
jmp 0x4651a4
mov ecx, dword [ebp + 8]
cmp edi, dword [ebp - 0x1c]
jb 0x4651c8
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
mov dword [ebp - 0x28], 1
cmovne eax, dword [ebp - 0x28]
mov dword [ecx], 2
jmp 0x46630d
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 - 0x28], 0x1f
div dword [ebp - 0x28]
mov dword [ebp - 8], edi
test edx, edx
jne 0x4651fd
test bl, 0x20
jne 0x4651fd
mov eax, ecx
and al, 0xf
cmp al, 8
jne 0x4651fd
xor ebx, ebx
jmp 0x465202
mov ebx, 1
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0x2c], ebx
jne 0x465232
shr ecx, 4
mov eax, 1
add ecx, 8
shl eax, cl
cmp eax, 0x8000
ja 0x465228
cmp dword [ebp - 0x14], eax
jb 0x465228
xor eax, eax
jmp 0x46522d
mov eax, 1
or ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
jne case.0x46511f.23
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
jmp 0x465a10
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xffffffff
mov dword [eax], 0x24
jmp 0x46635b
cmp edi, dword [ebp - 0x1c]
jae 0x4661ea
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x38]
or edx, eax
add esi, 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x46511f.13
mov eax, dword [ebp - 0x20]
sub esi, ecx
shl eax, cl
dec eax
mov dword [ebp - 0x48], esi
and eax, edx
shr edx, cl
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx eax, byte [edx + 0x5b2518]
add ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp edx, 0x10
jne 0x4652b7
movzx edx, byte [eax + ebx + 0x2923]
add eax, ebx
jmp 0x4652bb
xor edx, edx
add eax, ebx
push ecx
push edx
add eax, 0x2924
push eax
call fcn.0056c620
mov ecx, dword [ebp + 8]
add esp, 0xc
add ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0x2c]
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + 0x30]
add eax, ecx
cmp ebx, eax
jae 0x46542f
cmp esi, 0xf
jae 0x4653b5
mov eax, dword [ebp - 0x1c]
sub eax, edi
cmp eax, 2
jge 0x465391
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x46532b
sar eax, 9
test eax, eax
je case.0x46511f.11
cmp esi, eax
jae 0x4653b8
jmp case.0x46511f.11
cmp esi, 0xa
jbe case.0x46511f.11
mov ecx, 0xa
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x18]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x24a0]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
inc eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jns 0x4653b5
mov ecx, dword [ebp - 0x14]
inc eax
cmp esi, eax
jae 0x465338
cmp edi, dword [ebp - 0x1c]
jae 0x466066
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x465301
jmp 0x4653b5
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 8]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 8], edi
shl eax, cl
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x1ca0]
mov dword [ebp - 0x24], eax
test eax, eax
js 0x4653dd
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x24], eax
jmp 0x46540c
mov edi, dword [ebp + 8]
mov ecx, 0xa
mov ebx, dword [ebp - 0x24]
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 0x4653e8
mov edi, dword [ebp - 8]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x48], esi
cmp eax, 0x10
jae 0x466045
mov ecx, dword [ebp + 8]
mov byte [ebx + ecx + 0x2924], al
inc ebx
jmp 0x4652d4
jne case.0x46511f.14
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x2924]
push eax
lea eax, [ecx + 0x40]
push eax
call fcn.0056c940
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x2c]
push dword [ecx + 0x30]
add eax, 0x2924
add eax, ecx
push eax
lea eax, [ecx + 0xde0]
push eax
call fcn.0056c940
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ecx + 0x18]
dec dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [eax]
test eax, eax
jns 0x465dd6
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
sub eax, edi
mov dword [ebp - 0x28], eax
cmp eax, 4
jl 0x4655aa
mov eax, dword [ebp - 0x3c]
sub eax, ecx
cmp eax, 2
jl 0x4655a7
cmp esi, 0xf
jae 0x4654ba
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 8], edi
add esi, 0x10
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ecx + eax*2 + 0x160]
test ebx, ebx
js 0x4654d7
mov ecx, ebx
sar ecx, 9
jmp 0x4654fe
mov ecx, 0xa
lea esp, [esp]
mov edi, dword [ebp + 8]
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 0x4654e0
mov edi, dword [ebp - 8]
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
test ebx, 0x100
jne 0x4656e4
cmp esi, 0xf
jae 0x465528
movzx eax, word [edi]
mov ecx, esi
shl eax, cl
add edi, 2
or edx, eax
mov dword [ebp - 8], edi
add esi, 0x10
mov edi, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x465548
mov ecx, eax
sar ecx, 9
jmp 0x465574
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x14]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
movsx eax, word [edi + eax*2 + 0x960]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x465550
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov byte [ecx], bl
lea edi, [ecx + 1]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
test eax, 0x100
jne 0x4656dc
mov edi, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov byte [edi], al
mov edi, dword [ebp - 8]
jmp 0x465484
mov eax, dword [ebp - 0x28]
cmp esi, 0xf
jae 0x465670
cmp eax, 2
jge 0x46564c
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0x160]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x4655e6
sar eax, 9
test eax, eax
je case.0x46511f.15
cmp esi, eax
jae 0x465670
jmp case.0x46511f.15
cmp esi, 0xa
jbe case.0x46511f.15
mov ecx, 0xa
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x18]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x960]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
inc eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jns 0x465670
mov ecx, dword [ebp - 0x14]
inc eax
cmp esi, eax
jae 0x4655f3
cmp edi, dword [ebp - 0x1c]
jae 0x466074
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x4655bc
jmp 0x465670
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 8]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 8], edi
shl eax, cl
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx ebx, word [ebx + eax*2 + 0x160]
test ebx, ebx
js 0x465693
mov ecx, ebx
sar ecx, 9
and ebx, 0x1ff
jmp 0x4656b6
mov ecx, 0xa
mov edi, dword [ebp + 8]
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 0x465698
mov edi, dword [ebp - 8]
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp ebx, 0x100
jae 0x4656e4
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x3c]
jae 0x466082
mov byte [ecx], bl
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x465484
mov ecx, dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp - 0x10], ecx
and ebx, 0x1ff
mov dword [ebp - 0x2c], ebx
cmp ebx, 0x100
je 0x465a03
lea eax, [ebx*4 - 0x404]
mov ecx, dword [eax + 0x5b2380]
mov ebx, dword [eax + 0x5b2300]
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x46574b
cmp esi, ecx
jae 0x46573a
cmp edi, dword [ebp - 0x1c]
jae 0x4661dc
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x38]
or edx, eax
add esi, 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x46511f.17
mov eax, dword [ebp - 0x20]
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
mov dword [ebp - 4], edx
add ebx, eax
cmp esi, 0xf
jae 0x46581d
mov eax, dword [ebp - 0x1c]
sub eax, edi
cmp eax, 2
jge 0x4657f9
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x18], eax
test eax, eax
js 0x46578c
sar eax, 9
test eax, eax
je case.0x46511f.18
cmp esi, eax
jae 0x465820
jmp case.0x46511f.18
cmp esi, 0xa
jbe case.0x46511f.18
mov ecx, 0xa
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov edi, dword [ebp + 8]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x18]
and eax, 1
not ecx
add eax, ecx
movsx ecx, word [edi + eax*2 + 0x1700]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
inc eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
jns 0x46581d
mov ecx, dword [ebp - 0x14]
inc eax
cmp esi, eax
jae 0x4657a0
cmp edi, dword [ebp - 0x1c]
jae 0x4661a8
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 0xf
jb 0x465762
jmp 0x46581d
movzx edx, byte [edi + 1]
lea ecx, [esi + 8]
movzx eax, byte [edi]
mov edi, dword [ebp - 8]
shl edx, cl
add edi, 2
mov ecx, esi
mov dword [ebp - 8], edi
shl eax, cl
or edx, eax
or dword [ebp - 4], edx
add esi, 0x10
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ecx + eax*2 + 0xf00]
mov dword [ebp - 0x14], eax
test eax, eax
js 0x465842
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x465877
mov ecx, 0xa
mov dword [ebp - 0x18], ecx
lea ebx, [ebx]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 0x14]
and eax, 1
not ecx
add eax, ecx
mov ecx, dword [ebp + 8]
movsx eax, word [ecx + eax*2 + 0x1700]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
test eax, eax
js 0x465850
shr edx, cl
sub esi, ecx
mov ecx, dword [eax*4 + 0x5b2480]
mov eax, dword [eax*4 + 0x5b2400]
mov dword [ebp - 4], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x4658d8
cmp esi, ecx
jae 0x4658c3
lea ebx, [ebx]
cmp edi, dword [ebp - 0x1c]
jae 0x4661b6
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
mov ecx, dword [ebp - 0x38]
or edx, eax
add esi, 8
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
cmp esi, ecx
jb case.0x46511f.19
mov eax, dword [ebp - 0x20]
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x40], ecx
cmp eax, ecx
jbe 0x4658f2
cmp dword [ebp - 0x4c], 0
jne case.0x46511f.24
mov edi, dword [ebp - 8]
sub ecx, eax
and ecx, dword [ebp - 0x34]
add ecx, dword [ebp + 0x14]
cmp dword [ebp - 0x10], ecx
mov eax, ecx
cmova eax, dword [ebp - 0x10]
add eax, ebx
cmp eax, dword [ebp - 0x3c]
jbe 0x465941
mov ecx, dword [ebp - 0x10]
mov eax, ebx
dec ebx
test eax, eax
je 0x465484
cmp ecx, dword [ebp - 0x3c]
jae 0x4661c4
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x34]
mov edi, dword [ebp + 0x14]
inc dword [ebp - 0x40]
mov al, byte [eax + edi]
mov edi, dword [ebp - 8]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x10], ecx
jmp 0x465910
cmp ebx, 9
jb 0x4659b0
cmp ebx, dword [ebp - 0x24]
ja 0x4659b0
mov eax, ebx
and eax, 0xfffffff8
add eax, ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
add dword [ebp - 0x10], 8
mov dword [edx], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], eax
cmp ecx, dword [ebp - 0x28]
jb 0x465955
mov edx, dword [ebp - 4]
and ebx, 7
cmp ebx, 3
jae 0x4659b0
test ebx, ebx
je 0x465481
mov edi, dword [ebp - 0x10]
mov al, byte [ecx]
mov byte [edi], al
mov edi, dword [ebp - 8]
cmp ebx, 1
jbe 0x4659a3
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x10], ecx
jmp 0x465484
mov ecx, dword [ebp - 0x10]
add ecx, ebx
mov dword [ebp - 0x10], ecx
jmp 0x465484
mov edx, dword [ebp - 0x10]
lea ecx, [ecx + 3]
movzx eax, byte [ecx - 3]
sub ebx, 3
add dword [ebp - 0x10], 3
mov byte [edx], al
movzx eax, byte [ecx - 2]
mov byte [edx + 1], al
movzx eax, byte [ecx - 1]
mov byte [edx + 2], al
cmp ebx, 2
jg 0x4659b0
mov edx, dword [ebp - 4]
test ebx, ebx
jle 0x465481
mov edi, dword [ebp - 0x10]
mov al, byte [ecx]
mov byte [edi], al
mov edi, dword [ebp - 8]
cmp ebx, 1
jle 0x4659a3
mov al, byte [ecx + 1]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 1], al
add ecx, ebx
mov dword [ebp - 0x10], ecx
jmp 0x465484
mov ecx, dword [ebp + 8]
test byte [ecx + 0x14], 1
jne 0x466122
cmp esi, 3
jae 0x465a39
cmp edi, dword [ebp - 0x1c]
jae 0x46609a
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 3
jb case.0x46511f.3
mov ecx, dword [ebp + 8]
mov eax, edx
lea edi, [ecx + 0x18]
and eax, 7
shr edx, 3
sub esi, 3
mov dword [ecx + 0x14], eax
shr eax, 1
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 4], edx
mov dword [ebp - 0x48], esi
mov dword [ecx + 0x18], eax
jne 0x465c0d
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x465a8f
cmp edi, dword [ebp - 0x1c]
jae 0x4660a8
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 8], edi
and eax, 7
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x46511f.4
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
cmp ebx, 4
jae 0x465afe
test esi, esi
je case.0x46511f.6
cmp esi, 8
jae 0x465acc
cmp edi, dword [ebp - 0x1c]
jae 0x4660b6
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x46511f.5
mov eax, dword [ebp + 8]
sub esi, 8
mov byte [ebx + eax + 0x2920], dl
shr edx, 8
inc ebx
mov dword [ebp - 4], edx
jmp 0x465a9d
mov ecx, dword [ebp + 8]
cmp edi, dword [ebp - 0x1c]
jae 0x4660c4
mov al, byte [edi]
inc edi
mov byte [ebx + ecx + 0x2920], al
inc ebx
mov dword [ebp - 8], edi
jmp 0x465a9d
mov ecx, dword [ebp + 8]
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 + 8]
mov dword [ebp - 0x2c], ebx
movzx eax, byte [eax + 0x2922]
or ecx, eax
xor ecx, 0xffff
cmp ebx, ecx
jne case.0x46511f.26
mov ecx, dword [ebp - 0x10]
test ebx, ebx
je 0x465c05
test esi, esi
je case.0x46511f.7
cmp esi, 8
jae 0x465b70
cmp edi, dword [ebp - 0x1c]
jae 0x4660cf
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x46511f.29
mov ecx, dword [ebp - 0x10]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edx
jmp 0x465b87
mov eax, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x3c]
jae 0x4660dd
mov byte [ecx], al
inc ecx
dec ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x2c], ebx
jmp 0x465b3e
test ebx, ebx
je 0x465c05
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
jb 0x465bc2
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax], 9
jmp 0x46635b
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
cmp edi, eax
jae 0x4660f5
sub eax, edi
mov ecx, edx
sub ecx, dword [ebp - 0x10]
mov edi, ebx
mov edx, dword [ebp - 8]
cmp ecx, eax
cmovae ecx, eax
cmp ecx, ebx
cmovb edi, ecx
push edi
push edx
push dword [ebp - 0x10]
call fcn.0056c940
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add dword [ebp - 8], edi
add ecx, edi
sub ebx, edi
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
jmp 0x465b9c
mov edx, dword [ebp - 4]
jmp 0x465a03
cmp eax, 3
je 0x466213
cmp eax, 1
jne 0x465cd9
mov dword [ecx + 0x2c], 0x120
lea edi, [ecx + 0x40]
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0xde0], 0x5050505
mov dword [ecx + 0xde4], 0x5050505
mov dword [ecx + 0xde8], 0x5050505
mov dword [ecx + 0xdec], 0x5050505
mov dword [ecx + 0xdf0], 0x5050505
push 0x90
mov dword [ecx + 0xdf4], 0x5050505
push 8
mov dword [ecx + 0xdf8], 0x5050505
push edi
mov dword [ecx + 0xdfc], 0x5050505
call fcn.0056c620
push 0x70
add edi, 0x90
push 9
push edi
call fcn.0056c620
mov eax, 0x18
add edi, 0x70
push eax
push 7
push edi
call fcn.0056c620
mov ecx, dword [ebp + 8]
mov eax, 0x18
add esp, 0x24
mov dword [edi + eax], 0x8080808
mov dword [edi + eax + 4], 0x8080808
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
jmp 0x465474
xor ebx, ebx
cmp ebx, 3
jae 0x465d53
movsx eax, byte [ebx + 0x5b2520]
cmp esi, eax
jae 0x465d12
cmp edi, dword [ebp - 0x1c]
jae 0x466106
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
movsx eax, byte [ebx + 0x5b2520]
add esi, 8
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x46511f.9
mov cl, byte [ebx + 0x5b2520]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
shl edx, cl
dec edx
and edx, edi
mov dword [eax + ebx*4 + 0x2c], edx
movsx ecx, byte [ebx + 0x5b2520]
mov eax, dword [ebx*4 + 0x5b2514]
sub esi, ecx
shr edi, cl
add eax, edx
mov ecx, dword [ebp + 8]
mov edx, edi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0x48], esi
mov dword [ecx + ebx*4 + 0x2c], eax
inc ebx
jmp 0x465cdb
push 0x120
lea eax, [ecx + 0x1b80]
push 0
push eax
call fcn.0056c620
mov edx, dword [ebp - 4]
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
cmp ebx, dword [ecx + 0x34]
jae 0x465dc7
cmp esi, 3
jae 0x465d9f
cmp edi, dword [ebp - 0x1c]
jae 0x466114
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 3
jb case.0x46511f.10
movzx eax, byte [ebx + 0x5b2500]
mov ecx, edx
mov edi, dword [ebp + 8]
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 4], edx
inc ebx
mov dword [ebp - 0x48], esi
mov byte [eax + edi + 0x1b80], cl
mov edi, dword [ebp - 8]
jmp 0x465d6e
mov dword [ecx + 0x34], 0x13
lea eax, [ecx + 0x18]
jmp 0x465471
imul eax, eax, 0xda0
add ecx, 0x40
push 0x40
push 0
add eax, ecx
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0056c620
mov eax, dword [ebp - 0xc]
push 0x800
add eax, 0x120
push 0
push eax
call fcn.0056c620
mov eax, dword [ebp - 0xc]
push 0x480
add eax, 0x920
push 0
push eax
call fcn.0056c620
mov eax, dword [ebp - 0x44]
add esp, 0x24
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [edx + eax*4 + 0x2c]
mov dword [ebp - 0x30], edx
test edx, edx
je 0x465e49
mov eax, dword [ebp - 0xc]
movzx eax, byte [ecx + eax]
inc ecx
inc dword [ebp + eax*4 - 0xd4]
cmp ecx, edx
jb 0x465e36
xor edi, edi
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + edx - 0xd4]
add ecx, eax
add ecx, ecx
add edi, eax
mov eax, dword [ebp + edx - 0xd0]
add dword [ebp - 0x18], eax
mov dword [ebp + edx - 0x90], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0xcc]
add ecx, ecx
add dword [ebp - 0x14], eax
mov dword [ebp + edx - 0x8c], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0x88], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x465e64
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 8]
add ecx, eax
cmp dword [ebp - 0x50], 0x10000
je 0x465ed0
cmp ecx, 1
ja case.0x46511f.22
xor eax, eax
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x30], eax
jbe 0x46602f
mov eax, dword [ebp - 0xc]
jmp 0x465ef0
mov esi, dword [ebp - 0x14]
xor edx, edx
movzx ecx, byte [esi + eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x46600b
mov edi, dword [ebp + ecx*4 - 0x94]
mov ebx, ecx
lea eax, [edi + 1]
mov dword [ebp + ecx*4 - 0x94], eax
mov ecx, edi
add edx, edx
and ecx, 1
shr edi, 1
or edx, ecx
sub ebx, 1
jne 0x465f17
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xa
ja 0x465f77
mov edi, dword [ebp - 0x34]
mov eax, ecx
shl eax, 9
or eax, esi
mov dword [ebp - 0x34], edi
movzx esi, ax
mov eax, dword [ebp - 0xc]
cmp edx, 0x400
jae 0x46600b
mov ebx, 1
mov dword [ebp - 0x34], edi
shl ebx, cl
lea eax, [eax + edx*2]
add eax, 0x120
lea ecx, [ebx + ebx]
mov word [eax], si
add edx, ebx
add eax, ecx
cmp edx, 0x400
jb 0x465f63
jmp 0x466008
mov ebx, dword [ebp - 0xc]
mov eax, edx
mov esi, dword [ebp - 0x18]
and eax, 0x3ff
lea edi, [ebx + eax*2]
movsx eax, word [edi + 0x120]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x465fa6
mov word [edi + 0x120], si
mov edi, esi
sub esi, 2
mov dword [ebp - 0x18], esi
jmp 0x465fa9
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
shr edx, 9
mov dword [ebp - 0x34], eax
cmp ecx, 0xb
jbe 0x465ff6
lea ebx, [ecx - 0xb]
mov dword [ebp - 0x34], eax
lea ecx, [ecx]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, edi
mov edi, dword [ebp - 0xc]
movzx ecx, word [edi + eax*2 + 0x91e]
test cx, cx
jne 0x465fe8
mov word [edi + eax*2 + 0x91e], si
mov edi, esi
sub esi, 2
jmp 0x465feb
movsx edi, cx
sub ebx, 1
jne 0x465fc0
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x14]
shr edx, 1
and edx, 1
sub edx, edi
mov word [ebx + edx*2 + 0x91e], ax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
mov esi, dword [ecx]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + esi*4 + 0x2c]
jb 0x465ef0
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 8]
jmp 0x466032
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
cmp dword [eax], 2
jne 0x46546f
xor ebx, ebx
jmp 0x4652d1
jne 0x46604f
test ebx, ebx
je case.0x46511f.12
movsx ecx, byte [eax + 0x5b2514]
mov dword [ebp - 0x38], ecx
cmp esi, ecx
jae 0x46527c
jmp case.0x46511f.13
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x10
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x17
jmp 0x466300
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax], 0x18
jmp 0x46635b
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 5
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 6
jmp 0x466300
mov dword [ecx], 7
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x33
jmp 0x466300
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax], 0x34
jmp 0x46635b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx], 0x26
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xb
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0xe
jmp 0x466300
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x466155
jmp case.0x46511f.20
cmp edi, dword [ebp - 0x1c]
jae 0x466286
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc edi
mov eax, esi
mov dword [ebp - 8], edi
and eax, 7
mov dword [ebp - 4], edx
cmp esi, eax
jb case.0x46511f.20
mov eax, dword [ebp + 0xc]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 4], edx
cmp edi, eax
jbe 0x466178
cmp esi, 8
jb 0x466175
dec edi
sub esi, 8
cmp edi, eax
ja 0x466168
mov dword [ebp - 8], edi
mov edi, dword [ebp - 4]
xor edx, edx
mov ecx, esi
xor eax, eax
bts edx, ecx
cmp ecx, 0x20
cmovae eax, edx
xor edx, eax
dec edx
and edi, edx
test byte [ebp + 0x20], 1
mov dword [ebp - 4], edi
je 0x46634d
mov edx, edi
xor ebx, ebx
mov edi, dword [ebp - 8]
jmp 0x4662af
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x1a
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x1b
jmp 0x466300
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 2
mov dword [eax], 0x35
jmp 0x46635b
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x19
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x12
jmp 0x466300
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xffffffff
mov dword [eax], 0x27
jmp 0x46635b
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xffffffff
mov dword [ecx], 0xa
jmp 0x46635b
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xffffffff
mov dword [eax], 0x23
jmp 0x46635b
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], 0xffffffff
mov dword [eax], 0x11
jmp 0x46635b
mov edi, dword [ebp - 4]
or eax, 0xffffffff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x15
jmp 0x46635b
mov edi, dword [ebp - 4]
or eax, 0xffffffff
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x25
jmp 0x46635b
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x20
jmp 0x466300
cmp edi, dword [ebp - 0x1c]
jae 0x4662f7
movzx ecx, byte [edi]
inc edi
mov dword [ebp - 8], edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
inc ebx
mov dword [ecx + 0x10], eax
cmp ebx, 4
jae case.0x46511f.21
test esi, esi
je case.0x46511f.28
cmp esi, 8
jae 0x4662de
cmp edi, dword [ebp - 0x1c]
jae 0x4662ec
movzx eax, byte [edi]
mov ecx, esi
shl eax, cl
inc edi
or edx, eax
mov dword [ebp - 8], edi
add esi, 8
mov dword [ebp - 4], edx
cmp esi, 8
jb case.0x46511f.27
movzx ecx, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 4], edx
jmp 0x46629d
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x29
jmp 0x466300
mov ecx, dword [ebp + 8]
mov dword [ecx], 0x2a
test byte [ebp + 0x20], 2
mov eax, 0xfffffffc
cmovne eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov ecx, eax
cmp eax, 1
je case.0x46511f.32
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], edi
mov edi, edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], eax
cmp ecx, 0xfffffffc
je 0x466377
jmp 0x46635b
mov edi, dword [ebp - 4]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0x22
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
cmp edx, eax
jbe 0x46637a
cmp esi, 8
jb 0x46637a
dec edx
sub esi, 8
cmp edx, eax
ja 0x466365
jmp 0x46637a
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
bts ecx, esi
mov dword [eax + 4], esi
xor eax, eax
cmp esi, 0x20
cmovae eax, ecx
sub edx, dword [ebp + 0xc]
xor ecx, eax
mov eax, dword [ebp + 8]
dec ecx
and ecx, edi
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x24], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ecx], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x18]
test byte [ebp + 0x20], 9
mov dword [ebp - 0x10], ecx
mov dword [edx], ecx
je 0x46655f
test ebx, ebx
js 0x46655f
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
mov dword [ebp + 0x10], edi
sub edx, eax
mov dword [ebp + 0xc], edx
test ecx, ecx
je 0x46653e
mov ebx, edx
xor edx, edx
mov dword [ebp - 0x28], edx
cmp ebx, 7
jbe 0x466492
mov eax, 7
sub eax, dword [ebp + 0x18]
mov dword [ebp + 0x1c], eax
mov ecx, eax
mov eax, dword [ebp + 0x18]
add edx, 8
movzx eax, byte [eax]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 1]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 2]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 3]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 4]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 5]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 6]
add esi, eax
mov eax, dword [ebp + 0x18]
add edi, esi
movzx eax, byte [eax + 7]
add esi, eax
mov eax, dword [ebp + 0x18]
add eax, 8
add edi, esi
mov dword [ebp + 0x18], eax
add eax, ecx
cmp eax, ebx
jb 0x466420
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp + 0x1c], ebx
cmp edx, eax
jae 0x466500
sub eax, edx
cmp eax, 2
jb 0x4664eb
mov edx, dword [ebp + 0xc]
mov ecx, ebx
mov eax, dword [ebp - 0x28]
sub edx, eax
mov edi, dword [ebp + 0x18]
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 0x30], eax
mov edi, edi
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x4664c0
mov eax, dword [ebp - 0x30]
mov dword [ebp + 0x18], edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jae 0x4664f9
mov edx, dword [ebp + 0x18]
movzx eax, byte [edx]
add esi, eax
add edi, esi
inc edx
mov dword [ebp + 0x18], edx
mov eax, dword [ebp + 0x1c]
add eax, ebx
add edi, eax
mov eax, 0x80078071
mov ebx, 0x15b0
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xffff000f
add edi, eax
sub ecx, dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp + 0xc], ebx
jne 0x466405
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
shl edi, 0x10
lea eax, [edi + esi]
mov dword [ecx + 0x1c], eax
test ebx, ebx
jne 0x46655f
test byte [ebp + 0x20], 1
je 0x46655f
cmp eax, dword [ecx + 0x10]
mov edx, 0xfffffffe
cmovne ebx, edx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [eax], 0
mov eax, 0xfffffffd
mov dword [esi], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret