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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x58d984]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0xdc], eax
mov ebx, ecx
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0xc0], ecx
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0xa4], eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x90], edi
mov dword [ebp - 0xac], edx
mov dword [ebp - 0xd8], esi
lea ecx, [eax + edx]
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp + 0x20]
and ecx, 4
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x9c], edx
je 0x4e7ab6
or esi, 0xffffffff
jmp 0x4e7abd
sub eax, ecx
lea esi, [edx - 1]
add esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0xc4], esi
test esi, eax
jne 0x4e92b2
cmp edx, ecx
jb 0x4e92b2
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 4]
mov dword [ebp - 0xa8], eax
mov eax, dword [edi + 0x28]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0xd0], eax
mov eax, dword [edi]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x94], ecx
cmp eax, 0x35
ja case.default.0x4e7b18
movzx eax, byte [eax + 0x4e9364]
jmp dword [eax*4 + 0x4e92e0]
mov edx, dword [ebp - 0x90]
xor esi, esi
mov eax, dword [ebp + 0x20]
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
xor edi, edi
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x8c], edi
mov dword [edx + 0x1c], 1
mov dword [edx + 0x10], 1
test al, 1
jne 0x4e7c8f
mov edi, edx
mov edx, dword [ebp - 0x8c]
cmp esi, 3
jae 0x4e7bb1
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e14
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 3
jb case.0x4e7b18.3
mov edi, dword [ebp - 0x90]
mov eax, edx
sub esi, 3
and eax, 7
shr edx, 3
mov dword [edi + 0x14], eax
shr eax, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xb4], esi
mov dword [edi + 0x18], eax
jne 0x4e854b
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4e7c0d
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e25
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc ebx
mov eax, esi
mov dword [ebp - 0xa0], ebx
and eax, 7
mov dword [ebp - 0x8c], edx
cmp esi, eax
jb case.0x4e7b18.5
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x8c], edx
xor ecx, ecx
mov dword [ebp - 0x94], ecx
cmp ecx, 4
jae 0x4e83c0
test esi, esi
je case.0x4e7b18.7
cmp esi, 8
jae 0x4e7c6a
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e30
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 8
jb case.0x4e7b18.6
mov ecx, dword [ebp - 0x94]
mov byte [edi + ecx + 0x2920], dl
sub esi, 8
shr edx, 8
inc ecx
mov dword [ebp - 0x8c], edx
jmp 0x4e7c1e
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp - 0xa4]
cmp ebx, ecx
jb 0x4e7ca4
mov dword [edx], 1
jmp 0x4e8ff0
movzx eax, byte [ebx]
inc ebx
mov dword [edx + 8], eax
jmp 0x4e7cbf
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa4]
cmp ebx, ecx
jb 0x4e7cce
mov dword [edx], 2
jmp 0x4e8fed
mov eax, dword [edx + 8]
movzx ecx, byte [ebx]
inc ebx
mov dword [ebp - 0xb4], eax
shl eax, 8
mov dword [edx + 0xc], ecx
add eax, ecx
xor edx, edx
mov dword [ebp - 0xb0], 0x1f
div dword [ebp - 0xb0]
mov dword [ebp - 0xa0], ebx
test edx, edx
mov edx, dword [ebp - 0xb4]
jne 0x4e7d16
test cl, 0x20
jne 0x4e7d16
mov eax, edx
and al, 0xf
cmp al, 8
jne 0x4e7d16
xor ecx, ecx
jmp 0x4e7d1b
mov ecx, 1
cmp dword [ebp - 0xd4], 0
mov dword [ebp - 0x94], ecx
jne 0x4e7d60
shr edx, 4
mov eax, 1
lea ecx, [edx + 8]
shl eax, cl
cmp eax, 0x8000
ja 0x4e7d4d
mov ecx, dword [ebp - 0xc4]
inc ecx
cmp ecx, eax
jb 0x4e7d4d
xor eax, eax
jmp 0x4e7d52
mov eax, 1
mov ecx, dword [ebp - 0x94]
or ecx, eax
mov dword [ebp - 0x94], ecx
test ecx, ecx
jne 0x4e7d75
mov edi, dword [ebp - 0x90]
jmp 0x4e7b76
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [eax], 0x24
jmp 0x4e9027
mov edi, dword [ebp - 0x9c]
jmp 0x4e7f07
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8ec5
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 0xf
jb 0x4e8d33
jmp 0x4e7dd1
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4e7df1
mov ecx, edi
sar ecx, 9
and edi, 0x1ff
jmp 0x4e7e1e
mov ebx, dword [ebp - 0x90]
mov ecx, 0xa
lea esp, [esp]
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 0x4e7e00
mov ebx, dword [ebp - 0xa0]
mov eax, dword [edi*4 + 0x561728]
sub esi, ecx
shr edx, cl
mov ecx, dword [edi*4 + 0x5616a8]
mov edi, eax
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xa8], ecx
test edi, edi
je 0x4e7ea1
cmp esi, edi
jae 0x4e7e7d
jmp 0x4e7e54
mov edi, dword [ebp - 0xb8]
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8eb4
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, edi
jb 0x4e7e54
mov ecx, edi
mov eax, 1
shl eax, cl
sub esi, edi
dec eax
and eax, edx
shr edx, cl
mov ecx, dword [ebp - 0xa8]
add ecx, eax
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xa8], ecx
mov edi, dword [ebp - 0x9c]
sub edi, dword [ebp + 0x14]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xd0], edi
test ecx, ecx
je 0x4e7ec2
cmp ecx, edi
ja 0x4e7ec2
test edi, edi
jne 0x4e7ecf
cmp dword [ebp - 0xd4], 0
jne 0x4e8f45
sub edi, ecx
and edi, dword [ebp - 0xc4]
add edi, dword [ebp + 0x14]
cmp eax, edi
ja 0x4e7ee0
mov eax, edi
mov ecx, dword [ebp - 0x94]
add eax, ecx
cmp eax, dword [ebp - 0xc8]
jbe 0x4e7f42
mov edi, dword [ebp - 0x9c]
mov eax, ecx
dec ecx
mov dword [ebp - 0x94], ecx
test eax, eax
je 0x4e801a
cmp edi, dword [ebp - 0xc8]
jae 0x4e8dd9
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0xa8]
and eax, dword [ebp - 0xc4]
mov edi, dword [ebp + 0x14]
mov al, byte [eax + edi]
mov edi, dword [ebp - 0x9c]
mov byte [edi], al
inc edi
inc dword [ebp - 0xd0]
mov dword [ebp - 0x9c], edi
jmp 0x4e7ef6
cmp ecx, 9
jb 0x4e7f98
cmp ecx, dword [ebp - 0xa8]
ja 0x4e7f98
mov eax, ecx
mov ecx, dword [ebp - 0x9c]
and eax, 0xfffffff8
add eax, edi
mov dword [ebp - 0xb0], eax
mov edx, eax
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
add edi, 8
mov dword [ecx + 4], eax
add ecx, 8
cmp edi, edx
jb 0x4e7f64
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x94]
and ecx, 7
mov dword [ebp - 0x94], ecx
cmp ecx, 3
jb 0x4e7fef
cmp ecx, 2
jbe 0x4e7fef
mov ebx, dword [ebp - 0x9c]
add ecx, 0xfffffffd
mov eax, 0xaaaaaaab
mul ecx
mov ecx, dword [ebp - 0x94]
shr edx, 1
inc edx
movzx eax, byte [edi]
sub ecx, 3
mov byte [ebx], al
movzx eax, byte [edi + 1]
mov byte [ebx + 1], al
movzx eax, byte [edi + 2]
add edi, 3
mov byte [ebx + 2], al
add ebx, 3
sub edx, 1
jne 0x4e7fb6
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x94], ecx
test ecx, ecx
je 0x4e801a
mov ebx, dword [ebp - 0x9c]
mov al, byte [edi]
mov byte [ebx], al
mov ebx, dword [ebp - 0xa0]
cmp ecx, 1
jbe 0x4e8014
mov al, byte [edi + 1]
mov edi, dword [ebp - 0x9c]
mov byte [edi + 1], al
add dword [ebp - 0x9c], ecx
mov edi, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xa4]
sub ecx, ebx
cmp ecx, 4
jl 0x4e8175
mov eax, dword [ebp - 0xc8]
sub eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x90]
cmp eax, 2
jl 0x4e8175
cmp esi, 0xf
jae 0x4e8066
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x94], eax
test eax, eax
js 0x4e8086
mov ecx, eax
sar ecx, 9
jmp 0x4e80b5
mov ebx, dword [ebp - 0x94]
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 0x4e8091
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0xa0]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
test ecx, 0x100
jne 0x4e82f2
cmp esi, 0xf
jae 0x4e80eb
movzx eax, word [ebx]
mov ecx, esi
shl eax, cl
add ebx, 2
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 0x10
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x4e810b
mov ecx, eax
sar ecx, 9
jmp 0x4e813a
mov ebx, dword [ebp - 0xb4]
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 0x4e8116
mov dword [ebp - 0xb4], ebx
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x94]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x8c], edx
mov byte [ecx], al
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xb4]
test ecx, 0x100
jne 0x4e82ec
add dword [ebp - 0x9c], 2
mov byte [eax], cl
jmp 0x4e8020
cmp esi, 0xf
jae 0x4e81a9
cmp ecx, 2
jge 0x4e8249
mov ecx, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x160]
test edi, edi
js 0x4e81db
sar edi, 9
test edi, edi
je 0x4e8210
cmp esi, edi
jb 0x4e8210
mov edi, ecx
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x160]
mov dword [ebp - 0x94], eax
test eax, eax
js 0x4e827e
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0x94], eax
jmp 0x4e82b4
cmp esi, 0xa
jbe 0x4e8210
mov ecx, 0xa
mov eax, edx
not edi
mov edx, dword [ebp - 0x90]
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [edx + eax*2 + 0x960]
mov edx, dword [ebp - 0x8c]
test edi, edi
jns 0x4e8273
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4e81e5
mov edi, dword [ebp - 0x90]
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8df4
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 0xf
jb 0x4e8183
jmp 0x4e81a9
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 - 0xa0], ebx
or dword [ebp - 0x8c], edx
add esi, 0x10
mov edx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
jmp 0x4e81a9
mov ebx, dword [ebp - 0x94]
mov ecx, 0xa
lea esp, [esp]
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 0x4e8290
mov dword [ebp - 0x94], ebx
mov ebx, dword [ebp - 0xa0]
shr edx, cl
sub esi, ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x8c], edx
cmp ecx, 0x100
jae 0x4e82f2
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xc8]
jae 0x4e8dff
mov byte [eax], cl
inc eax
mov dword [ebp - 0x9c], eax
jmp 0x4e8020
mov dword [ebp - 0x9c], eax
and ecx, 0x1ff
mov dword [ebp - 0x94], ecx
cmp ecx, 0x100
jne 0x4e8ca3
test byte [edi + 0x14], 1
je 0x4e7b76
mov eax, esi
and eax, 7
cmp esi, eax
jae 0x4e8348
lea ecx, [ecx]
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8f60
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc ebx
mov eax, esi
mov dword [ebp - 0x8c], edx
and eax, 7
cmp esi, eax
jb case.0x4e7b18.32
mov eax, dword [ebp - 0xc0]
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x8c], edx
cmp ebx, eax
jbe 0x4e836e
cmp esi, 8
jb 0x4e836e
dec ebx
sub esi, 8
cmp ebx, eax
ja 0x4e8361
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.004ee0a0
mov edx, dword [ebp - 0x8c]
dec eax
mov ecx, dword [ebp + 0x20]
and edx, eax
mov dword [ebp - 0x8c], edx
test cl, 1
je case.0x4e7b18.34
xor ecx, ecx
jmp 0x4e8fb5
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e3b
mov al, byte [ebx]
inc ebx
mov byte [edi + ecx + 0x2920], al
inc ecx
mov dword [ebp - 0xa0], ebx
jmp 0x4e7c1e
movzx ecx, byte [edi + 0x2921]
movzx eax, byte [edi + 0x2920]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0x2922]
mov dword [ebp - 0x94], ecx
movzx ecx, byte [edi + 0x2923]
shl ecx, 8
or ecx, eax
xor ecx, 0xffff
cmp dword [ebp - 0x94], ecx
jne case.0x4e7b18.39
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x4e830a
test esi, esi
je 0x4e8498
cmp esi, 8
jae 0x4e8443
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e46
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 8
jb case.0x4e7b18.51
movzx eax, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x8c], edx
jmp 0x4e8460
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xc8]
cmp dword [ebp - 0x9c], edi
mov edi, dword [ebp - 0x90]
jae 0x4e8e51
mov ecx, dword [ebp - 0x9c]
inc dword [ebp - 0x9c]
mov byte [ecx], al
mov ecx, dword [ebp - 0x94]
dec ecx
mov dword [ebp - 0x94], ecx
jmp 0x4e8404
mov edx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x4e84b9
mov edx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
jmp 0x4e830a
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xc8]
cmp edx, edi
jb 0x4e84ea
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 9
jmp case.0x4e7b18.4
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xa4]
cmp ebx, eax
jae 0x4e8e66
sub edi, edx
sub eax, ebx
mov edx, edi
cmp edi, eax
jb 0x4e8504
mov edx, eax
cmp edx, ecx
jae 0x4e8510
cmp edi, eax
jb 0x4e8512
mov edi, eax
jmp 0x4e8512
mov edi, ecx
push edi
push ebx
push dword [ebp - 0x9c]
call fcn.0050c8e0
mov edx, dword [ebp - 0x9c]
add ebx, edi
mov ecx, dword [ebp - 0x94]
add edx, edi
add esp, 0xc
mov dword [ebp - 0xa0], ebx
sub ecx, edi
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x94], ecx
jmp 0x4e849e
cmp eax, 3
je case.0x4e7b18.10
cmp eax, 1
jne 0x4e862f
mov dword [edi + 0x2c], 0x120
lea edx, [edi + 0x40]
mov dword [edi + 0x30], 0x20
mov eax, 0x8080808
mov dword [edi + 0xde0], 0x5050505
mov ecx, 0x24
mov dword [edi + 0xde4], 0x5050505
mov dword [edi + 0xde8], 0x5050505
mov dword [edi + 0xdec], 0x5050505
mov dword [edi + 0xdf0], 0x5050505
mov dword [edi + 0xdf4], 0x5050505
mov dword [edi + 0xdf8], 0x5050505
mov dword [edi + 0xdfc], 0x5050505
mov edi, edx
rep stosd dword es:[edi], eax
add edx, 0x90
mov ecx, 0x1c
mov eax, 0x9090909
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x90]
mov dword [edx + 0x70], 0x7070707
mov dword [edx + 0x74], 0x7070707
mov dword [edx + 0x78], 0x7070707
mov dword [edx + 0x7c], 0x7070707
mov dword [edx + 0x80], 0x7070707
mov dword [edx + 0x84], 0x7070707
mov dword [edx + 0x88], 0x8080808
mov dword [edx + 0x8c], 0x8080808
jmp 0x4e8772
xor ecx, ecx
mov dword [ebp - 0x94], ecx
cmp ecx, 3
jae 0x4e86df
movsx eax, byte [ecx + 0x5617c8]
cmp esi, eax
jae 0x4e8681
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e77
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp - 0x94]
or edx, eax
add esi, 8
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x8c], edx
movsx eax, byte [ecx + 0x5617c8]
cmp esi, eax
jb case.0x4e7b18.11
mov cl, byte [ecx + 0x5617c8]
mov edx, 1
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x8c]
shl edx, cl
mov ecx, dword [ebp - 0x90]
dec edx
and edx, edi
mov dword [ecx + eax*4 + 0x2c], edx
movsx ecx, byte [eax + 0x5617c8]
shr edi, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0xb4], esi
mov eax, dword [ecx*4 + 0x5617bc]
add eax, edx
mov edx, dword [ebp - 0x8c]
mov dword [edi + ecx*4 + 0x2c], eax
inc ecx
jmp 0x4e8631
push 0x120
lea eax, [edi + 0x1b80]
push 0
push eax
call fcn.0050ce60
mov edx, dword [ebp - 0x8c]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x94], ecx
cmp ecx, dword [edi + 0x34]
jae 0x4e876b
cmp esi, 3
jae 0x4e8737
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e82
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 3
jb case.0x4e7b18.14
mov eax, dword [ebp - 0x94]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xb4], esi
movzx eax, byte [eax + 0x5617a8]
mov byte [eax + edi + 0x1b80], cl
mov ecx, dword [ebp - 0x94]
inc ecx
jmp 0x4e86fd
mov dword [edi + 0x34], 0x13
mov eax, dword [edi + 0x18]
test eax, eax
js 0x4e8c98
imul eax, eax, 0xda0
push 0x40
push 0
add eax, 0x40
add edi, eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x98], edi
call fcn.0050ce60
push 0xc80
lea eax, [edi + 0x120]
push 0
push eax
call fcn.0050ce60
mov eax, dword [ebp - 0x90]
add esp, 0x18
xor ecx, ecx
mov edi, dword [eax + 0x18]
mov edx, dword [eax + edi*4 + 0x2c]
test edx, edx
je 0x4e87e0
mov ebx, dword [ebp - 0x98]
lea ecx, [ecx]
movzx eax, byte [ecx + ebx]
inc ecx
inc dword [ebp + eax*4 - 0x88]
cmp ecx, edx
jb 0x4e87d0
xor ebx, ebx
mov edx, 4
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb0], ecx
jmp 0x4e8800
mov eax, dword [ebp + edx - 0x88]
add ecx, eax
add ecx, ecx
add ebx, eax
mov eax, dword [ebp + edx - 0x84]
add dword [ebp - 0xb0], eax
mov dword [ebp + edx - 0x44], ecx
add ecx, eax
mov eax, dword [ebp + edx - 0x80]
add ecx, ecx
add dword [ebp - 0xbc], 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 0x4e8800
mov eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0xb0]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xe0], ebx
mov ecx, dword [ebp - 0xe0]
mov ebx, dword [ebp - 0xa0]
add ecx, eax
cmp dword [ebp - 0xcc], 0x10000
je 0x4e887b
cmp ecx, 1
ja 0x4e8efa
mov ecx, dword [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0xbc], eax
cmp dword [ecx + edi*4 + 0x2c], eax
jbe 0x4e8973
mov esi, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0x98]
lea esp, [esp]
movzx edi, byte [eax + ebx]
xor edx, edx
test edi, edi
je 0x4e8945
mov ecx, dword [ebp + edi*4 - 0x48]
mov ebx, edi
mov dword [ebp - 0xb0], 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 - 0xb0]
shr ecx, 1
mov dword [ebp - 0xb0], ecx
sub ebx, 1
jne 0x4e88d1
cmp edi, 0xa
ja 0x4e89f7
mov eax, edi
shl eax, 9
or eax, dword [ebp - 0xbc]
movzx ebx, ax
cmp edx, 0x400
jae 0x4e893f
mov ecx, edi
mov eax, 1
shl eax, cl
mov dword [ebp - 0xcc], eax
mov ecx, eax
lea edi, [eax + eax]
mov eax, dword [ebp - 0x98]
lea eax, [eax + edx*2]
add eax, 0x120
lea esp, [esp]
mov word [eax], bx
add edx, ecx
add eax, edi
cmp edx, 0x400
jb 0x4e8930
mov ebx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xbc]
inc edx
mov dword [ebp - 0xbc], edx
mov edi, dword [eax + 0x18]
cmp edx, dword [eax + edi*4 + 0x2c]
mov eax, edx
jb 0x4e88b0
mov esi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xa0]
cmp edi, 2
jne 0x4e8c87
xor ecx, ecx
mov edi, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov edi, dword [edi + 0x2c]
mov dword [ebp - 0x94], ecx
mov eax, dword [eax + 0x30]
add eax, edi
cmp ecx, eax
jae 0x4e8c4a
cmp esi, 0xf
jae 0x4e8b0b
mov eax, dword [ebp - 0xa4]
sub eax, ebx
cmp eax, 2
jge 0x4e8ae1
mov ecx, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx edi, word [ecx + eax*2 + 0x1ca0]
test edi, edi
js 0x4e8a6f
sar edi, 9
test edi, edi
je 0x4e8aab
cmp esi, edi
jb 0x4e8aab
mov edi, ecx
jmp 0x4e8b11
mov ebx, dword [ebp - 0x98]
mov eax, edx
and eax, 0x3ff
movsx ecx, word [ebx + eax*2 + 0x120]
test ecx, ecx
jne 0x4e8a1d
mov word [ebx + eax*2 + 0x120], si
mov ecx, esi
sub esi, 2
shr edx, 9
cmp edi, 0xb
jbe 0x4e8a55
add edi, 0xfffffff5
shr edx, 1
mov eax, edx
and eax, 1
sub eax, ecx
movzx ecx, word [ebx + eax*2 + 0x91e]
test cx, cx
jne 0x4e8a4d
mov word [ebx + eax*2 + 0x91e], si
mov ecx, esi
sub esi, 2
jmp 0x4e8a50
movsx ecx, cx
sub edi, 1
jne 0x4e8a28
shr edx, 1
and edx, 1
sub edx, ecx
mov ecx, dword [ebp - 0xbc]
mov word [ebx + edx*2 + 0x91e], cx
jmp 0x4e8945
cmp esi, 0xa
jbe 0x4e8aab
mov ecx, 0xa
lea esp, [esp]
mov eax, edx
not edi
mov edx, dword [ebp - 0x90]
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [edx + eax*2 + 0x24a0]
mov edx, dword [ebp - 0x8c]
test edi, edi
jns 0x4e8b0b
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4e8a80
mov edi, dword [ebp - 0x90]
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e8d
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, 0xf
jb 0x4e89c0
jmp 0x4e8b11
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 - 0xa0], ebx
or dword [ebp - 0x8c], edx
add esi, 0x10
mov edx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov eax, edx
and eax, 0x3ff
movsx eax, word [edi + eax*2 + 0x1ca0]
mov dword [ebp - 0xa8], eax
test eax, eax
js 0x4e8b3c
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
mov dword [ebp - 0xa8], eax
jmp 0x4e8b67
mov ecx, 0xa
not dword [ebp - 0xa8]
mov eax, edx
shr eax, cl
inc ecx
and eax, 1
add eax, dword [ebp - 0xa8]
movsx eax, word [edi + eax*2 + 0x24a0]
mov dword [ebp - 0xa8], eax
test eax, eax
js 0x4e8b41
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0xb4], esi
cmp eax, 0x10
jae 0x4e8b8f
mov ecx, dword [ebp - 0x94]
mov byte [edi + ecx + 0x2924], al
inc ecx
jmp 0x4e898a
jne 0x4e8ba4
cmp dword [ebp - 0x94], 0
je case.0x4e7b18.17
mov eax, dword [ebp - 0xa8]
movsx ecx, byte [eax + 0x561590]
mov dword [ebp - 0xb8], ecx
cmp esi, ecx
jae 0x4e8bea
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8e98
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [ebp - 0xb8]
or edx, eax
add esi, 8
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x8c], edx
cmp esi, ecx
jb case.0x4e7b18.18
mov eax, dword [ebp - 0xa8]
movsx eax, byte [eax + 0x5617bc]
mov edi, 1
shl edi, cl
sub esi, ecx
dec edi
mov dword [ebp - 0xb4], esi
and edi, edx
shr edx, cl
add edi, eax
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0x90]
cmp dword [ebp - 0xa8], 0x10
jne 0x4e8c2b
movzx ecx, byte [eax + 0x2923]
jmp 0x4e8c2d
xor ecx, ecx
push edi
push ecx
add eax, 0x2924
push eax
call fcn.0050ce60
mov ecx, dword [ebp - 0x94]
add esp, 0xc
add ecx, edi
jmp 0x4e897e
jne 0x4e8f2a
push edi
mov edi, dword [ebp - 0x90]
lea eax, [edi + 0x2924]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.0050c8e0
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.0050c8e0
mov edi, dword [edi + 0x18]
add esp, 0x18
lea eax, [edi - 1]
mov edi, dword [ebp - 0x90]
mov dword [edi + 0x18], eax
jmp 0x4e8772
mov edx, dword [ebp - 0x8c]
jmp 0x4e8020
lea eax, [ecx*4 - 0x404]
mov edi, dword [eax + 0x561628]
mov eax, dword [eax + 0x5615a8]
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x94], eax
test edi, edi
je 0x4e8d17
cmp esi, edi
jae 0x4e8cfb
jmp 0x4e8cd2
mov edi, dword [ebp - 0xb8]
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8ea3
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
or edx, eax
mov dword [ebp - 0xa0], ebx
add esi, 8
mov dword [ebp - 0x8c], edx
cmp esi, edi
jb 0x4e8cd2
mov ecx, edi
mov eax, 1
shl eax, cl
sub esi, edi
dec eax
and eax, edx
shr edx, cl
add dword [ebp - 0x94], eax
mov dword [ebp - 0x8c], edx
mov edi, dword [ebp - 0x90]
cmp esi, 0xf
jae 0x4e7dd1
mov eax, dword [ebp - 0xa4]
sub eax, ebx
cmp eax, 2
jge 0x4e8daa
mov eax, edx
and eax, 0x3ff
movsx edi, word [edi + eax*2 + 0xf00]
test edi, edi
js 0x4e8d60
sar edi, 9
test edi, edi
je 0x4e8d55
cmp esi, edi
jae 0x4e7dcb
mov edi, dword [ebp - 0x90]
jmp case.0x4e7b18.26
cmp esi, 0xa
jbe 0x4e8d55
mov ecx, 0xa
lea ebx, [ebx]
mov eax, edx
not edi
mov edx, dword [ebp - 0x90]
shr eax, cl
inc ecx
and eax, 1
add eax, edi
movsx edi, word [edx + eax*2 + 0x1700]
mov edx, dword [ebp - 0x8c]
test edi, edi
jns 0x4e7dcb
lea eax, [ecx + 1]
cmp esi, eax
jae 0x4e8d70
mov edi, dword [ebp - 0x90]
jmp case.0x4e7b18.26
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 - 0xa0], ebx
or dword [ebp - 0x8c], edx
add esi, 0x10
mov edx, dword [ebp - 0x8c]
jmp 0x4e7dd1
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], 2
mov dword [eax], 0x35
jmp case.0x4e7b18.4
mov dword [edi], 0x17
jmp 0x4e8fe7
mov dword [ebp - 0x98], 2
mov dword [edi], 0x18
jmp case.0x4e7b18.4
mov ecx, dword [ebp - 0x90]
mov dword [ecx], 3
jmp 0x4e8fe7
mov dword [edi], 5
jmp 0x4e8fe7
mov dword [edi], 6
jmp 0x4e8fe7
mov dword [edi], 7
jmp 0x4e8fe7
mov dword [edi], 0x33
jmp 0x4e8fe7
mov dword [ebp - 0x98], 2
mov dword [edi], 0x34
jmp case.0x4e7b18.4
mov ecx, dword [ebp - 0x90]
mov dword [ecx], 0x26
jmp 0x4e8fe7
mov dword [edi], 0xb
jmp 0x4e8fe7
mov dword [edi], 0xe
jmp 0x4e8fe7
mov dword [edi], 0x10
jmp 0x4e8fe7
mov dword [edi], 0x12
jmp 0x4e8fe7
mov ecx, dword [ebp - 0x90]
mov dword [ecx], 0x19
jmp 0x4e8fe7
mov ecx, dword [ebp - 0x90]
mov dword [ecx], 0x1b
jmp 0x4e8fe7
mov dword [edi], 0x1a
jmp 0x4e8fe7
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0x27
jmp case.0x4e7b18.4
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0xa
jmp case.0x4e7b18.4
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0x23
jmp case.0x4e7b18.4
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0x11
jmp case.0x4e7b18.4
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0x15
jmp case.0x4e7b18.4
mov edi, dword [ebp - 0x90]
mov dword [ebp - 0x98], 0xffffffff
mov dword [edi], 0x25
jmp case.0x4e7b18.4
mov dword [edi], 0x20
jmp 0x4e8fe7
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8fe1
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
or edx, eax
inc ebx
mov dword [ebp - 0x8c], edx
cmp esi, 8
jb case.0x4e7b18.41
mov ecx, dword [ebp - 0x94]
movzx edi, dl
shr edx, 8
sub esi, 8
mov dword [ebp - 0x8c], edx
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 - 0x94], ecx
cmp ecx, 4
jae case.0x4e7b18.34
test esi, esi
jne 0x4e8fd2
cmp ebx, dword [ebp - 0xa4]
jae 0x4e8fd9
movzx edi, byte [ebx]
inc ebx
jmp 0x4e8f9d
cmp esi, 8
jae 0x4e8f8e
jmp case.0x4e7b18.41
mov dword [edi], 0x2a
jmp 0x4e8fe7
mov dword [edi], 0x29
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x20]
and al, 2
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
add eax, 0xfffffffc
mov dword [ebp - 0x98], eax
cmp eax, 1
je 0x4e9046
cmp eax, 0xfffffffc
je 0x4e9046
jmp 0x4e9027
mov dword [ebp - 0x98], 0
mov dword [edi], 0x22
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc0]
cmp ebx, eax
jbe 0x4e9046
cmp esi, 8
jb 0x4e9046
dec ebx
sub esi, 8
cmp ebx, eax
ja 0x4e9031
jmp 0x4e9046
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
xor edx, edx
mov ecx, esi
mov dword [eax + 4], esi
mov eax, 1
call fcn.004ee0a0
mov ecx, dword [ebp - 0x90]
dec eax
sub ebx, dword [ebp - 0xc0]
and eax, edi
mov edi, dword [ebp - 0x98]
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x94]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0xb8]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0xdc]
mov dword [eax], ebx
mov ebx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xd8]
sub ebx, dword [ebp - 0xac]
test byte [ebp + 0x20], 9
mov dword [ebp - 0x9c], ebx
mov dword [eax], ebx
je 0x4e929f
test edi, edi
js 0x4e929f
mov esi, dword [ecx + 0x1c]
mov eax, 0x5e6ea9af
mul ebx
movzx ecx, si
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
shr esi, 0x10
mov dword [ebp - 0xc4], esi
sub edx, eax
mov dword [ebp - 0xc0], edx
test ebx, ebx
je 0x4e927b
mov edi, edi
xor ebx, ebx
cmp edx, 7
jbe 0x4e91a9
mov eax, dword [ebp - 0xac]
mov edi, 7
sub edi, eax
movzx eax, byte [eax]
add ebx, 8
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 4]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [ebp - 0xac]
add esi, ecx
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [ebp - 0xac]
add eax, 8
add esi, ecx
mov dword [ebp - 0xac], eax
add eax, edi
cmp eax, edx
mov eax, dword [ebp - 0xac]
jb 0x4e9118
mov dword [ebp - 0xc4], esi
xor edi, edi
mov dword [ebp - 0xb0], edi
cmp ebx, edx
jae 0x4e922e
mov eax, edx
sub eax, ebx
cmp eax, 2
jb 0x4e920c
mov esi, dword [ebp - 0xac]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea ebx, [ebx + edx*2]
mov dword [ebp - 0xcc], ebx
mov ebx, edi
movzx eax, byte [esi]
add ecx, eax
movzx eax, byte [esi + 1]
add edi, ecx
add esi, 2
add ecx, eax
add ebx, ecx
sub edx, 1
jne 0x4e91d7
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], esi
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0xcc]
cmp ebx, edx
jae 0x4e9224
mov edx, dword [ebp - 0xac]
movzx eax, byte [edx]
add ecx, eax
add esi, ecx
inc edx
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xb0]
add eax, edi
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 - 0xc0]
add esi, eax
sub dword [ebp - 0x9c], edx
mov edx, 0x15b0
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], edx
jne 0x4e9100
mov edi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
shl esi, 0x10
add esi, ecx
mov dword [eax + 0x1c], esi
test edi, edi
jne 0x4e929f
mov ecx, dword [ebp + 0x20]
test cl, 1
je 0x4e929f
cmp esi, dword [eax + 0x10]
je 0x4e929f
mov edi, 0xfffffffe
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eda39
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
mov eax, dword [ebp - 0xdc]
pop ebx
mov dword [eax], 0
mov eax, 0xfffffffd
call fcn.004eda39
mov esp, ebp
pop ebp
ret