Function at 0x4cb081
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x55b598]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0xe0], eax
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0xac], ecx
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [ebp - 0x9c], eax
mov eax, dword [edx]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xe8], edx
mov edx, dword [ebp + 0x14]
lea ecx, [eax + esi]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0xa8], ecx
and ecx, 4
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xe4], ecx
je 0x4ca45d
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xb8], 0
jmp 0x4ca478
sub eax, edx
add eax, esi
mov dword [ebp - 0xb8], eax
lea ecx, [eax - 1]
mov dword [ebp - 0xd0], ecx
test ecx, eax
jne 0x4cbee6
cmp esi, edx
jb 0x4cbee6
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x8c], ecx
cmp eax, 0x35
ja case.0x4ca4c2.4
movzx eax, byte [eax + 0x4cbf9c]
jmp dword [eax*4 + 0x4cbf14]
mov eax, dword [ebp - 0xa8]
lea ecx, [edi + 8]
xor edx, edx
mov dword [edi + 0xc], 0
xor esi, esi
mov dword [ecx], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xa0], edx
mov dword [edi + 0x1c], 1
mov dword [edi + 0x10], 1
test al, 1
je 0x4cae84
cmp ebx, dword [ebp - 0x9c]
jae 0x4ca556
mov eax, ebx
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x94], ebx
jmp 0x4ca56e
mov eax, ebx
lea ecx, [edi + 8]
cmp eax, dword [ebp - 0x9c]
jae 0x4ca550
lea ebx, [eax + 1]
movzx eax, byte [eax]
mov dword [ebp - 0x94], ebx
jmp 0x4ca56e
mov eax, dword [ebp - 0xa8]
test al, 2
je 0x4ca56c
mov ecx, 1
mov dword [ebp - 0x98], ecx
mov dword [edi], ecx
jmp 0x4cbca4
xor eax, eax
mov dword [ecx], eax
cmp ebx, dword [ebp - 0x9c]
jae 0x4ca5a1
mov al, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
movzx edx, al
jmp 0x4ca5c2
mov eax, ebx
lea ecx, [edi + 8]
cmp eax, dword [ebp - 0x9c]
jae 0x4ca5a1
movzx edx, byte [eax]
lea ebx, [eax + 1]
mov dword [ebp - 0x94], ebx
jmp 0x4ca5c2
test byte [ebp - 0xa8], 2
je 0x4ca5c0
mov ecx, 1
mov dword [edi], 2
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
xor edx, edx
mov dword [edi + 0xc], edx
mov edi, dword [ecx]
mov eax, edi
shl eax, 8
mov ecx, 0x1f
add eax, edx
mov dword [ebp - 0xbc], edx
xor edx, edx
div ecx
test edx, edx
jne 0x4ca5f6
test byte [ebp - 0xbc], 0x20
jne 0x4ca5f6
mov eax, edi
and al, 0xf
cmp al, 8
jne 0x4ca5f6
xor ecx, ecx
jmp 0x4ca5fb
mov ecx, 1
cmp dword [ebp - 0xe4], 0
mov dword [ebp - 0x8c], ecx
jne 0x4ca63d
shr edi, 4
mov eax, 1
lea ecx, [edi + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4ca62a
cmp dword [ebp - 0xb8], eax
jb 0x4ca62a
xor eax, eax
jmp 0x4ca62f
mov eax, 1
mov ecx, dword [ebp - 0x8c]
or ecx, eax
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x90]
test ecx, ecx
je 0x4cae84
or ecx, 0xffffffff
mov dword [edi], 0x24
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cae91
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4caea6
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4caef8
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4caf0d
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4caf5c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4caf71
mov eax, ebx
cmp eax, dword [ebp - 0x9c]
jae 0x4cafa9
mov al, byte [eax]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4caf3c
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cb03b
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cb050
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cb22e
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cb243
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cb2fb
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cb310
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cb70a
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cb71f
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cb81c
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cb831
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4caa29
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4caa3e
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cab49
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cab5e
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cac6d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cac82
mov edi, dword [ebp - 0xc4]
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cad04
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cad19
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xa4], eax
jae 0x4cbab2
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xb0]
and eax, dword [ebp - 0xd0]
mov edi, dword [ebp + 0x14]
mov al, byte [eax + edi]
mov edi, dword [ebp - 0xa4]
inc dword [ebp - 0xa4]
inc dword [ebp - 0xcc]
mov byte [edi], al
mov edi, dword [ebp - 0x90]
mov eax, ecx
dec ecx
mov dword [ebp - 0x8c], ecx
test eax, eax
jne case.0x4ca4c2.53
jmp 0x4ca826
mov al, byte [edi + 1]
mov edi, dword [ebp - 0xa4]
mov byte [edi + 1], al
add dword [ebp - 0xa4], ecx
mov edi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x9c]
sub ecx, ebx
cmp ecx, 4
jl 0x4ca97f
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x90]
cmp eax, 2
jl 0x4ca97f
cmp esi, 0xf
jae 0x4ca86c
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x94], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x8c], eax
test eax, eax
js 0x4ca88c
mov ecx, eax
sar ecx, 9
jmp 0x4ca8bb
mov ebx, dword [ebp - 0x8c]
mov ecx, 0xa
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x4ca897
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], edx
test ecx, 0x100
jne 0x4cab02
cmp esi, 0xf
jae 0x4ca8f1
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0x94], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0xbc], eax
test eax, eax
js 0x4ca911
mov ecx, eax
sar ecx, 9
jmp 0x4ca944
mov ebx, dword [ebp - 0xbc]
mov ecx, 0xa
nop dword [eax]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x4ca920
mov dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x8c]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], edx
mov byte [ecx], al
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xbc]
test ecx, 0x100
jne 0x4caafc
add dword [ebp - 0xa4], 2
mov byte [eax], cl
jmp 0x4ca826
cmp esi, 0xf
jae 0x4ca9b1
cmp ecx, 2
jge 0x4caa61
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0x160]
test edi, edi
js 0x4ca9e3
sar edi, 9
test edi, edi
je 0x4caa1b
cmp esi, edi
jb 0x4caa1b
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x8c], eax
test eax, eax
js 0x4caa90
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x8c], eax
jmp 0x4caac4
cmp esi, 0xa
jbe 0x4caa1b
mov ecx, 0xa
nop dword [eax]
mov ebx, dword [ebp - 0x90]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x960]
mov ebx, dword [ebp - 0x94]
test edi, edi
jns 0x4ca9ab
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4ca9f0
cmp ebx, dword [ebp - 0x9c]
jb 0x4caa3a
mov edi, dword [ebp - 0x90]
test byte [ebp - 0xa8], 2
jne 0x4cb90b
xor eax, eax
jmp 0x4caa44
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov edi, dword [ebp - 0x90]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
cmp esi, 0xf
jb 0x4ca98d
jmp 0x4ca9b1
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x94], ebx
or dword [ebp - 0xa0], edx
add esi, 0x10
mov edx, dword [ebp - 0xa0]
jmp 0x4ca9b1
mov ebx, dword [ebp - 0x8c]
mov ecx, 0xa
nop dword [eax + eax]
mov eax, edx
not ebx
shr eax, cl
inc ecx
and eax, 1
add eax, ebx
movsx ebx, word [edi + eax*2 + 0x960]
test ebx, ebx
js 0x4caaa0
mov dword [ebp - 0x8c], ebx
mov ebx, dword [ebp - 0x94]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], edx
cmp ecx, 0x100
jae 0x4cab02
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xd4]
jae 0x4cb921
mov byte [eax], cl
inc eax
mov dword [ebp - 0xa4], eax
jmp 0x4ca826
mov dword [ebp - 0xa4], eax
and ecx, 0x1ff
mov dword [ebp - 0x8c], ecx
cmp ecx, 0x100
je 0x4cae7a
lea eax, [ecx*4 - 0x404]
mov ecx, dword [eax + 0x533790]
mov eax, dword [eax + 0x533710]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x4cab91
cmp esi, ecx
jae 0x4cab77
cmp ebx, dword [ebp - 0x9c]
jb 0x4cab5a
test byte [ebp - 0xa8], 2
jne 0x4cb937
xor eax, eax
jmp 0x4cab64
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc4]
or edx, eax
cmp esi, ecx
jb 0x4cab41
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x8c], eax
mov dword [ebp - 0xa0], edx
cmp esi, 0xf
jae 0x4cabcd
mov eax, dword [ebp - 0x9c]
sub eax, ebx
cmp eax, 2
jl 0x4cac00
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x94], ebx
or dword [ebp - 0xa0], edx
add esi, 0x10
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0xf00]
test edi, edi
js 0x4cac9f
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x4cacce
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4cac20
sar edi, 9
test edi, edi
je 0x4cac5f
cmp esi, edi
jae 0x4cabcd
jmp 0x4cac5f
cmp esi, 0xa
jbe 0x4cac5f
mov ecx, 0xa
nop word [eax + eax]
mov ebx, dword [ebp - 0x90]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x1700]
mov ebx, dword [ebp - 0x94]
test edi, edi
jns 0x4cabcd
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4cac30
cmp ebx, dword [ebp - 0x9c]
jb 0x4cac7e
mov edi, dword [ebp - 0x90]
test byte [ebp - 0xa8], 2
jne 0x4cb94d
xor eax, eax
jmp 0x4cac88
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 0xf
jb 0x4cabfa
jmp 0x4cabcd
mov ebx, dword [ebp - 0x90]
mov ecx, 0xa
nop word [eax + eax]
mov eax, edx
not edi
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [ebx + eax*2 + 0x1700]
test edi, edi
js 0x4cacb0
mov ebx, dword [ebp - 0x94]
mov eax, dword [edi*4 + 0x533890]
sub esi, ecx
shr edx, cl
mov ecx, dword [edi*4 + 0x533810]
mov edi, eax
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb0], ecx
test edi, edi
je 0x4cad50
cmp esi, edi
jae 0x4cad2c
cmp ebx, dword [ebp - 0x9c]
jb 0x4cad15
test byte [ebp - 0xa8], 2
jne 0x4cb963
xor eax, eax
jmp 0x4cad1f
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, edi
jb 0x4cacfc
mov ecx, edi
mov eax, 1
shl eax, cl
sub esi, edi
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [ebp - 0xb0]
add ecx, eax
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xb0], ecx
mov edi, dword [ebp - 0xa4]
mov eax, dword [ebp + 0x14]
sub edi, eax
mov dword [ebp - 0xcc], edi
cmp ecx, edi
jbe 0x4cad72
cmp dword [ebp - 0xe4], 0
jne 0x4cbb58
sub edi, ecx
mov ecx, dword [ebp - 0x8c]
and edi, dword [ebp - 0xd0]
add edi, eax
cmp dword [ebp - 0xa4], edi
mov eax, edi
cmova eax, dword [ebp - 0xa4]
add eax, ecx
cmp eax, dword [ebp - 0xd4]
ja 0x4ca7f9
cmp ecx, 9
jb 0x4cae1b
cmp ecx, dword [ebp - 0xb0]
ja 0x4cae1b
mov edx, dword [ebp - 0xa4]
mov eax, ecx
and eax, 0xfffffff8
add eax, edi
mov dword [ebp - 0xc0], eax
mov ecx, eax
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [edx + 4], eax
add edx, 8
cmp edi, ecx
jb 0x4cadc1
mov ecx, dword [ebp - 0x8c]
and ecx, 7
mov dword [ebp - 0xa4], edx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x8c], ecx
cmp ecx, 3
jae 0x4cae1b
test ecx, ecx
je 0x4ca820
mov ebx, dword [ebp - 0xa4]
mov al, byte [edi]
mov byte [ebx], al
mov ebx, dword [ebp - 0x94]
cmp ecx, 1
jbe 0x4ca81a
jmp 0x4ca80e
mov ebx, dword [ebp - 0xa4]
movzx eax, byte [edi]
lea edi, [edi + 3]
mov byte [ebx], al
sub ecx, 3
movzx eax, byte [edi - 2]
mov byte [ebx + 1], al
movzx eax, byte [edi - 1]
mov byte [ebx + 2], al
add ebx, 3
cmp ecx, 2
jg 0x4cae21
mov dword [ebp - 0xa4], ebx
mov ebx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], ecx
test ecx, ecx
jle 0x4ca820
mov ebx, dword [ebp - 0xa4]
mov al, byte [edi]
mov byte [ebx], al
mov ebx, dword [ebp - 0x94]
cmp ecx, 1
jle 0x4ca81a
jmp 0x4ca80e
test byte [edi + 0x14], 1
jne 0x4cba92
cmp esi, 3
jae 0x4caeba
cmp ebx, dword [ebp - 0x9c]
jb 0x4caea2
test byte [ebp - 0xa8], 2
jne 0x4cb97f
xor eax, eax
jmp 0x4caeac
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x4cae89
mov eax, edx
lea edi, [edi + 0x18]
and eax, 7
shr edx, 3
mov dword [edi - 4], eax
sub esi, 3
shr eax, 1
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0x98], edi
mov dword [edi], eax
jne 0x4cb16e
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4caf25
cmp ebx, dword [ebp - 0x9c]
jb 0x4caf09
test byte [ebp - 0xa8], 2
jne 0x4cb9f3
xor eax, eax
jmp 0x4caf13
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
mov eax, esi
and eax, 7
cmp esi, eax
jb 0x4caef0
mov edi, dword [ebp - 0x90]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa0], edx
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 4
jae 0x4cafda
test esi, esi
je 0x4cafa1
cmp esi, 8
jae 0x4caf8b
cmp ebx, dword [ebp - 0x9c]
jb 0x4caf6d
test byte [ebp - 0xa8], 2
jne 0x4cba0f
xor eax, eax
jmp 0x4caf77
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4caf54
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [ebp - 0xa0], edx
jmp 0x4caf3c
cmp ebx, dword [ebp - 0x9c]
jb 0x4cafc4
test byte [ebp - 0xa8], 2
jne 0x4cba25
mov byte [edi + ecx + 0x2920], 0
inc ecx
jmp 0x4caf3c
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0x94], ebx
jmp 0x4caf3c
movzx ecx, byte [edi + 0x2921]
movzx eax, byte [edi + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2922]
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [edi + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [ebp - 0x8c], ecx
jne case.0x4ca4c2.39
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
je 0x4cb0bf
test esi, esi
je case.0x4ca4c2.9
cmp esi, 8
jae 0x4cb06a
cmp ebx, dword [ebp - 0x9c]
jb 0x4cb04c
test byte [ebp - 0xa8], 2
jne 0x4cba3b
xor eax, eax
jmp 0x4cb056
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4cb033
mov ecx, dword [ebp - 0x8c]
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], edx
jmp 0x4cb087
mov eax, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xd4]
cmp dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0x90]
jae 0x4cba51
mov ebx, dword [ebp - 0xa4]
inc dword [ebp - 0xa4]
dec ecx
mov dword [ebp - 0x8c], ecx
mov byte [ebx], al
mov ebx, dword [ebp - 0x94]
jmp 0x4cb01e
mov edx, dword [ebp - 0xa4]
test ecx, ecx
jne 0x4cb0e0
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x90]
jmp 0x4cae7a
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xd4]
cmp edx, ecx
jb 0x4cb118
mov edi, dword [ebp - 0x90]
mov ecx, 2
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x98], ecx
mov dword [edi], 9
jmp 0x4cbca4
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x9c]
cmp ebx, eax
jae 0x4cba67
mov edi, dword [ebp - 0x8c]
sub ecx, edx
sub eax, ebx
cmp ecx, eax
cmovae ecx, eax
cmp ecx, edi
cmovb edi, ecx
push edi
push ebx
push edx
call fcn.004efc50
mov edx, dword [ebp - 0xa4]
add ebx, edi
mov ecx, dword [ebp - 0x8c]
add edx, edi
add esp, 0xc
mov dword [ebp - 0x94], ebx
sub ecx, edi
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x8c], ecx
jmp 0x4cb0c5
cmp eax, 3
je 0x4cbaf0
cmp eax, 1
jne 0x4cb204
mov eax, dword [ebp - 0x90]
movaps xmm0, xmmword [0x534620]
push 0x90
push 8
lea edi, [eax + 0x40]
mov dword [eax + 0x2c], pe_nt_image_headers32
mov dword [eax + 0x30], 0x20
movups xmmword [eax + 0xde0], xmm0
push edi
movups xmmword [eax + 0xdf0], xmm0
call fcn.004f0240
push 0x70
add edi, 0x90
push 9
push edi
call fcn.004f0240
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 - 0x98]
movups xmmword [edi + 0x70], xmm0
movq qword [edi + 0x80], xmm0
mov dword [edi + 0x88], 0x8080808
mov dword [edi + 0x8c], 0x8080808
mov edi, dword [ebp - 0x90]
jmp 0x4cb362
mov edi, dword [ebp - 0x90]
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, 3
jae 0x4cb2c5
movsx eax, byte [ecx + 0x534254]
cmp esi, eax
jae 0x4cb26f
cmp ebx, dword [ebp - 0x9c]
jb 0x4cb23f
test byte [ebp - 0xa8], 2
jne 0x4cb995
xor eax, eax
jmp 0x4cb249
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0x8c]
or edx, eax
mov dword [ebp - 0xa0], edx
movsx eax, byte [ecx + 0x534254]
cmp esi, eax
jb 0x4cb226
mov edi, dword [ebp - 0x90]
mov cl, byte [ecx + 0x534254]
mov edx, 1
mov eax, dword [ebp - 0xa0]
shl edx, cl
mov ecx, dword [ebp - 0x8c]
dec edx
and edx, eax
mov dword [edi + ecx*4 + 0x2c], edx
movsx ecx, byte [ecx + 0x534254]
shr eax, cl
sub esi, ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xbc], esi
mov eax, dword [ecx*4 + 0x533924]
add eax, edx
mov edx, dword [ebp - 0xa0]
mov dword [edi + ecx*4 + 0x2c], eax
inc ecx
jmp 0x4cb20c
push pe_nt_image_headers32
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.004f0240
mov edx, dword [ebp - 0xa0]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, dword [edi + 0x34]
jae 0x4cb358
cmp esi, 3
jae 0x4cb324
cmp ebx, dword [ebp - 0x9c]
jb 0x4cb30c
test byte [ebp - 0xa8], 2
jne 0x4cb9b1
xor eax, eax
jmp 0x4cb316
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 3
jb 0x4cb2f3
mov eax, dword [ebp - 0x8c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], esi
movzx eax, byte [eax + 0x533910]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x8c]
inc ecx
jmp 0x4cb2e3
mov dword [edi + 0x34], 0x13
lea ecx, [edi + 0x18]
mov eax, dword [ecx]
mov dword [ebp - 0x98], ecx
test eax, eax
js 0x4cb900
imul eax, eax, 0xda0
push 0x40
push 0
add eax, 0x40
add edi, eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0xdc], edi
call fcn.004f0240
push 0x800
lea eax, [edi + 0x120]
push 0
push eax
call fcn.004f0240
push 0x480
lea eax, [edi + 0x920]
push 0
push eax
call fcn.004f0240
mov edi, dword [ebp - 0x98]
add esp, 0x24
mov eax, dword [ebp - 0x90]
xor ecx, ecx
mov edi, dword [edi]
mov edx, dword [eax + edi*4 + 0x2c]
test edx, edx
je 0x4cb3f0
mov ebx, dword [ebp - 0xdc]
nop word [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
inc dword [ebp + eax*4 - 0x88]
cmp ecx, edx
jb 0x4cb3e0
xor ebx, ebx
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb8], ecx
nop dword [eax + eax]
mov eax, dword [ebp + edx - 0x88]
add ecx, eax
add ecx, ecx
add ebx, eax
mov eax, dword [ebp + edx - 0x84]
add dword [ebp - 0xb8], eax
mov dword [ebp + edx - 0x44], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x80]
add ecx, ecx
add dword [ebp - 0xc8], eax
mov dword [ebp + edx - 0x40], ecx
add ecx, eax
add ecx, ecx
mov dword [ebp + edx - 0x3c], ecx
add edx, 0xc
cmp edx, 0x3c
jbe 0x4cb410
mov eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xc0], ebx
mov ecx, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0x94]
add ecx, eax
cmp dword [ebp - 0xd8], 0x10000
je 0x4cb48b
cmp ecx, 1
ja 0x4cbb0a
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0xd8], 0xffffffff
mov dword [ebp - 0xc8], eax
cmp dword [ecx + edi*4 + 0x2c], eax
mov ecx, dword [ebp - 0x98]
jbe 0x4cb5b8
mov esi, dword [ebp - 0xd8]
mov ebx, dword [ebp - 0xdc]
nop
movzx edi, byte [eax + ebx]
xor edx, edx
test edi, edi
je 0x4cb58b
mov ecx, dword [ebp + edi*4 - 0x48]
mov ebx, edi
mov dword [ebp - 0xb8], ecx
lea eax, [ecx + 1]
mov dword [ebp + edi*4 - 0x48], eax
and ecx, 1
add edx, edx
or edx, ecx
mov ecx, dword [ebp - 0xb8]
shr ecx, 1
mov dword [ebp - 0xb8], ecx
sub ebx, 1
jne 0x4cb4e1
cmp edi, 0xa
ja 0x4cb63a
mov ebx, dword [ebp - 0xd0]
mov eax, edi
shl eax, 9
or eax, dword [ebp - 0xc8]
movzx eax, ax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xd0], ebx
cmp edx, 0x400
jae 0x4cb57f
mov ecx, edi
mov dword [ebp - 0xd0], ebx
mov edi, dword [ebp - 0xb8]
mov eax, 1
shl eax, cl
mov dword [ebp - 0xd8], eax
add eax, eax
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xc0]
lea eax, [eax + edx*2]
add eax, 0x120
nop dword [eax]
mov word [eax], di
add edx, ecx
add eax, ebx
cmp edx, 0x400
jb 0x4cb570
mov ebx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xc8]
mov edi, dword [ecx]
inc edx
mov dword [ebp - 0xc8], edx
cmp edx, dword [eax + edi*4 + 0x2c]
mov eax, edx
jb 0x4cb4c0
mov esi, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0x94]
cmp edi, 2
mov edi, dword [ebp - 0x90]
jne 0x4cb8f9
xor ecx, ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
mov edi, dword [edi + 0x2c]
mov dword [ebp - 0x8c], ecx
mov eax, dword [eax + 0x30]
add eax, edi
cmp ecx, eax
jae 0x4cb8bc
cmp esi, 0xf
jae 0x4cb763
mov eax, dword [ebp - 0x9c]
sub eax, ebx
cmp eax, 2
jge 0x4cb739
mov ecx, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x1ca0]
test edi, edi
js 0x4cb6c7
sar edi, 9
test edi, edi
je 0x4cb6fc
cmp esi, edi
jae 0x4cb763
jmp 0x4cb6fc
mov ebx, dword [ebp - 0xdc]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ebx + eax*2 + 0x120]
test ecx, ecx
jne 0x4cb660
mov word [ebx + eax*2 + 0x120], si
mov ecx, esi
sub esi, 2
mov eax, dword [ebp - 0xd0]
shr edx, 9
mov dword [ebp - 0xd0], eax
cmp edi, 0xb
jbe 0x4cb6ad
add edi, 0xfffffff5
mov dword [ebp - 0xd0], eax
nop dword [eax]
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
movzx ecx, word [ebx + eax*2 + 0x91e]
test cx, cx
jne 0x4cb6a5
mov word [ebx + eax*2 + 0x91e], si
mov ecx, esi
sub esi, 2
jmp 0x4cb6a8
movsx ecx, cx
sub edi, 1
jne 0x4cb680
shr edx, 1
and edx, 1
sub edx, ecx
mov ecx, dword [ebp - 0xc8]
mov word [ebx + edx*2 + 0x91e], cx
jmp 0x4cb585
cmp esi, 0xa
jbe 0x4cb6fc
mov ecx, 0xa
mov ebx, dword [ebp - 0x90]
mov eax, edx
shr eax, cl
not edi
and eax, 1
inc ecx
add eax, edi
movsx edi, word [ebx + eax*2 + 0x24a0]
mov ebx, dword [ebp - 0x94]
test edi, edi
jns 0x4cb763
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4cb6d1
cmp ebx, dword [ebp - 0x9c]
jb 0x4cb71b
mov edi, dword [ebp - 0x90]
test byte [ebp - 0xa8], 2
jne 0x4cb9c7
xor eax, eax
jmp 0x4cb725
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 0xf
jb 0x4cb605
jmp 0x4cb763
movzx edx, byte [ebx + 1]
lea ecx, [esi + 8]
movzx eax, byte [ebx]
add ebx, 2
shl edx, cl
mov ecx, esi
shl eax, cl
or edx, eax
mov dword [ebp - 0x94], ebx
or dword [ebp - 0xa0], edx
add esi, 0x10
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1ca0]
mov dword [ebp - 0xb0], eax
test eax, eax
js 0x4cb794
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xb0], eax
jmp 0x4cb7c6
mov ecx, 0xa
nop dword [eax]
not dword [ebp - 0xb0]
mov eax, edx
shr eax, cl
inc ecx
and eax, 1
add eax, dword [ebp - 0xb0]
movsx eax, word [edi + eax*2 + 0x24a0]
mov dword [ebp - 0xb0], eax
test eax, eax
js 0x4cb7a0
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xbc], esi
cmp eax, 0x10
jae 0x4cb7ee
mov ecx, dword [ebp - 0x8c]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x4cb5cf
jne 0x4cb803
cmp dword [ebp - 0x8c], 0
je case.0x4ca4c2.17
mov eax, dword [ebp - 0xb0]
movsx ecx, byte [eax + 0x534248]
mov dword [ebp - 0xc4], ecx
cmp esi, ecx
jae 0x4cb850
cmp ebx, dword [ebp - 0x9c]
jb 0x4cb82d
test byte [ebp - 0xa8], 2
jne 0x4cb9dd
xor eax, eax
jmp 0x4cb837
movzx eax, byte [ebx]
inc ebx
mov dword [ebp - 0x94], ebx
mov ecx, esi
add esi, 8
shl eax, cl
mov ecx, dword [ebp - 0xc4]
or edx, eax
cmp esi, ecx
jb 0x4cb814
mov eax, dword [ebp - 0xb0]
movsx eax, byte [eax + 0x53424c]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [ebp - 0xbc], esi
and edi, edx
shr edx, cl
add edi, eax
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xb0], 0x10
mov eax, dword [ebp - 0x8c]
jne 0x4cb891
add eax, dword [ebp - 0x90]
movzx ecx, byte [eax + 0x2923]
jmp 0x4cb899
xor ecx, ecx
add eax, dword [ebp - 0x90]
push edi
push ecx
add eax, 0x2924
push eax
call fcn.004f0240
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
add ecx, edi
mov edi, dword [ebp - 0x90]
jmp 0x4cb5c9
jne 0x4cbb3e
push edi
mov edi, dword [ebp - 0x90]
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.004efc50
mov eax, dword [edi + 0x2c]
push dword [edi + 0x30]
add eax, 0x2924
add eax, edi
push eax
lea eax, [edi + 0xde0]
push eax
call fcn.004efc50
add esp, 0x18
lea ecx, [edi + 0x18]
dec dword [ecx]
jmp 0x4cb362
mov edx, dword [ebp - 0xa0]
jmp 0x4ca826
mov ecx, 1
mov dword [edi], 0x17
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 2
mov dword [edi], 0x18
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x19
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x1a
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
mov ecx, 1
mov dword [ebp - 0x98], ecx
mov dword [edi], 0x1b
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 3
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
mov ecx, 1
mov dword [ebp - 0x98], ecx
mov dword [edi], 0xb
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0xe
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x10
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x12
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
mov ecx, 1
mov dword [ebp - 0x98], ecx
mov dword [edi], 5
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 6
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 7
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x33
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 2
mov dword [edi], 0x34
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
test byte [ebp - 0xa8], 2
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0xa0]
je case.0x4ca4c2.40
mov ecx, 1
mov dword [edi], 0x26
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
test byte [ebp - 0xa8], 1
jne 0x4cbb98
xor ecx, ecx
mov dword [edi], 0x22
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 2
mov dword [edi], 0x35
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
or ecx, 0xffffffff
mov dword [edi], 0x27
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
or ecx, 0xffffffff
mov dword [edi], 0x28
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
or ecx, 0xffffffff
mov dword [edi], 0xa
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x90]
or ecx, 0xffffffff
mov dword [edi], 0x23
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
or ecx, 0xffffffff
mov dword [edi], 0x11
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
or ecx, 0xffffffff
mov dword [edi], 0x15
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov edi, dword [ebp - 0x90]
or ecx, 0xffffffff
mov dword [edi], 0x25
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cbb84
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cbb8f
test byte [ebp - 0xa8], 2
jne 0x4cbbbc
xor eax, eax
mov ecx, esi
shl eax, cl
or edx, eax
add esi, 8
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4cbbaf
cmp ebx, dword [ebp - 0x9c]
jae 0x4cbb84
movzx eax, byte [ebx]
inc ebx
jmp 0x4cbb8f
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
xor ecx, ecx
jmp 0x4cbc1d
mov ecx, 1
mov dword [edi], 0x20
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, ebx
cmp ecx, dword [ebp - 0x9c]
jae 0x4cbc3d
movzx eax, byte [ecx]
lea ebx, [ecx + 1]
jmp 0x4cbc4e
mov eax, ebx
cmp eax, dword [ebp - 0x9c]
jae 0x4cbbf6
movzx edi, byte [eax]
lea ebx, [eax + 1]
jmp 0x4cbc05
test byte [ebp - 0xa8], 2
jne 0x4cbc8e
xor edi, edi
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x10]
shl eax, 8
or eax, edi
mov edi, dword [ebp - 0x90]
inc ecx
mov dword [edi + 0x10], eax
mov dword [ebp - 0x8c], ecx
cmp ecx, 4
jae case.0x4ca4c2.34
test esi, esi
je 0x4cbc6d
cmp esi, 8
jae 0x4cbc62
cmp ebx, dword [ebp - 0x9c]
jb 0x4cbc4a
test byte [ebp - 0xa8], 2
jne 0x4cbc7b
xor eax, eax
jmp 0x4cbc4e
movzx eax, byte [ebx]
inc ebx
mov ecx, esi
add esi, 8
shl eax, cl
or edx, eax
cmp esi, 8
jb 0x4cbc35
mov ecx, dword [ebp - 0x8c]
movzx edi, dl
shr edx, 8
sub esi, 8
jmp 0x4cbc05
cmp ebx, dword [ebp - 0x9c]
jae 0x4cbbf6
movzx edi, byte [ebx]
inc ebx
jmp 0x4cbc05
mov ecx, 1
mov dword [edi], 0x29
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
mov ecx, 1
mov dword [edi], 0x2a
mov dword [ebp - 0x98], ecx
jmp 0x4cbca4
or ecx, 0xffffffff
mov eax, dword [ebp - 0xb0]
sub ebx, dword [ebp - 0xac]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0xc4]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xe0]
mov dword [edi + 4], esi
mov dword [edi + 0x38], edx
mov dword [eax], ebx
mov ebx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xe8]
sub ebx, dword [ebp - 0xb4]
test byte [ebp - 0xa8], 9
mov dword [ebp - 0xa4], ebx
mov dword [eax], ebx
je 0x4cbed3
test ecx, ecx
js 0x4cbed3
mov esi, dword [edi + 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 - 0xb8], esi
sub edx, eax
mov dword [ebp - 0xcc], edx
test ebx, ebx
je 0x4cbeac
nop dword [eax]
xor edi, edi
cmp edx, 7
jbe 0x4cbde9
mov eax, dword [ebp - 0xb4]
mov ebx, 7
sub ebx, eax
movzx eax, byte [eax]
add edi, 8
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0xb4]
add eax, 8
add esi, ecx
mov dword [ebp - 0xb4], eax
add eax, ebx
cmp eax, edx
mov eax, dword [ebp - 0xb4]
jb 0x4cbd58
mov dword [ebp - 0xb8], esi
xor ebx, ebx
cmp edi, edx
jae 0x4cbe5f
mov eax, edx
sub eax, edi
cmp eax, 2
jb 0x4cbe44
mov esi, dword [ebp - 0xb4]
sub edx, edi
sub edx, 2
shr edx, 1
inc edx
lea eax, [edi + edx*2]
mov edi, ebx
mov dword [ebp - 0xd8], 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 0x4cbe11
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb4], esi
mov esi, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xcc]
jae 0x4cbe5a
jmp 0x4cbe46
mov edi, ebx
mov edx, dword [ebp - 0xb4]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [ebp - 0xb4], 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 - 0xcc]
add esi, eax
sub dword [ebp - 0xa4], edx
mov edx, 0x15b0
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xcc], edx
jne 0x4cbd40
mov edi, dword [ebp - 0x90]
shl esi, 0x10
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x98]
mov dword [edi + 0x1c], eax
test ecx, ecx
jne 0x4cbed3
test byte [ebp - 0xa8], 1
je 0x4cbed3
cmp eax, dword [edi + 0x10]
mov edx, 0xfffffffe
cmovne ecx, edx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0xe0]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.004ee2fb
mov esp, ebp
pop ebp
ret