Function at 0x415158
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc4
mov edx, dword [esp + 0xf0]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
mov eax, dword [esp + 0xe4]
mov ecx, dword [ebx]
and edx, 4
mov esi, eax
not esi
add esi, ebp
add esi, ecx
neg edx
mov edi, 0
sbb edi, edi
or edi, esi
add ecx, ebp
mov dword [esp + 0x20], ecx
lea edx, [edi + 1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], edi
and edx, edi
mov ecx, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov esi, dword [esp + 0xd8]
mov ecx, dword [ecx]
add edi, ecx
cmp ebp, eax
jb 0x415296
test edx, edx
jne 0x415296
mov ebx, esi
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp], eax
mov eax, dword [esi + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
xor esi, esi
dec esi
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x1c], eax
cmp edx, 0x35
ja case.default.0x41521c
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov edi, ebp
jmp dword [edx*4 + 0x46e524]
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [esp + 4], 0
mov dword [ebx + 8], eax
xor eax, eax
inc eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp + 0xf0]
test al, 1
jne case.0x41521c.1
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 0
xor ecx, ecx
mov dword [esp + 0x18], 0
mov dword [esp], 0
jmp 0x415661
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [esp + 0xe0]
mov dword [ecx], eax
mov esi, 0xfffffffd
jmp 0x41683c
test ecx, ecx
jle 0x415485
mov eax, dword [esp + 0xdc]
lea ecx, [eax + 1]
mov dword [esp + 8], ecx
movzx eax, byte [eax]
mov dword [ebx + 8], eax
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
jae 0x415461
mov eax, ebx
movzx esi, byte [ecx]
mov dword [ebx + 0xc], esi
mov edi, ecx
mov ecx, dword [ebx + 8]
mov ebx, ecx
shl ebx, 8
or ebx, esi
mov edx, 0x8421085
mov eax, ebx
mul edx
inc edi
mov dword [esp + 8], edi
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
mov edx, eax
shl edx, 5
sub eax, edx
add eax, ebx
and esi, 0x20
xor edx, edx
inc edx
mov dword [esp + 0xc], edx
mov edx, 0x24
or esi, eax
mov edi, dword [esp + 0xe8]
jne 0x41549d
mov ebx, ecx
and ebx, 0xf
mov eax, dword [esp + 0xf0]
test al, 4
jne 0x4154f1
shr ecx, 4
mov esi, 0x100
shl esi, cl
xor ecx, ecx
cmp esi, 0x8000
mov eax, 0xffffffff
ja 0x4154a0
cmp dword [esp + 0x14], esi
jae 0x4154f6
jmp 0x4154a0
test ecx, ecx
jle 0x4154ae
mov edx, dword [esp + 0xdc]
movzx eax, byte [edx]
mov esi, dword [esp]
mov ecx, esi
shl eax, cl
mov ecx, esi
inc edx
mov dword [esp + 8], edx
mov edx, dword [esp + 4]
or edx, eax
add ecx, 8
mov edi, dword [esp + 0xe8]
mov eax, ecx
jmp 0x4156cb
test ecx, ecx
jle 0x4154c2
mov edx, dword [esp + 0xdc]
movzx eax, byte [edx]
mov esi, dword [esp]
mov ecx, esi
shl eax, cl
mov ecx, esi
inc edx
mov dword [esp + 8], edx
or dword [esp + 4], eax
add ecx, 8
mov edi, dword [esp + 0xe8]
mov dword [esp], ecx
mov edx, dword [esp]
mov ecx, edx
and cl, 7
mov ebx, dword [esp + 4]
shr ebx, cl
and edx, 0xfffffff8
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0xdc]
mov dword [esp + 4], ebx
jbe 0x415427
test edx, edx
je 0x415427
mov eax, dword [esp + 0xdc]
not eax
add eax, ecx
add edx, 0xfffffff8
mov esi, edx
shr edx, 3
cmp edx, eax
jb 0x415412
mov edx, eax
test eax, eax
je 0x415418
mov eax, edx
mov ecx, eax
not ecx
add dword [esp + 8], ecx
shl eax, 3
mov edx, esi
sub edx, eax
xor esi, esi
dec esi
mov ecx, edx
shl esi, cl
xor eax, eax
mov ecx, 0
mov dword [esp], edx
test dl, 0x20
mov ebx, dword [esp + 0xd8]
jne 0x415446
mov ecx, esi
not ecx
and dword [esp + 4], ecx
mov ecx, dword [esp + 0xf0]
test cl, 1
je case.0x41521c.34
jmp 0x41550d
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 2
lea esi, [eax + eax*4]
add esi, 0xfffffffc
mov edi, dword [esp + 0xe8]
jmp case.0x41521c.4
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 1
jmp 0x4154d4
mov edi, ebp
jmp 0x4154e1
xor eax, eax
dec eax
mov ebx, dword [esp + 0xd8]
mov esi, eax
jmp case.0x41521c.36
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 5
jmp 0x4154d4
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x20
lea esi, [eax + eax*4]
add esi, 0xfffffffc
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
jmp case.0x41521c.4
xor ecx, ecx
xor eax, eax
dec eax
cmp ebx, 8
mov ebx, dword [esp + 0xd8]
mov esi, eax
je 0x415661
jmp case.0x41521c.36
cmp eax, 3
ja 0x4155dd
mov ecx, dword [esp]
test ecx, ecx
je 0x4155a9
mov dword [esp + 0xc], eax
cmp ecx, 7
ja 0x415564
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x415583
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
lea ebx, [ecx + 8]
cmp ecx, 0xfffffff7
mov dword [esp], ebx
ja 0x415532
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
mov dword [esp], ebx
mov ebx, dword [esp + 0xd8]
mov edx, dword [esp]
mov esi, ebx
mov ebx, dword [esp + 4]
movzx ecx, bl
shr ebx, 8
add edx, 0xfffffff8
mov dword [esp + 4], ebx
mov ebx, esi
mov esi, eax
mov dword [esp], edx
jmp 0x4155ca
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov ebx, dword [esp + 0xd8]
mov dword [ebx], 0x29
jmp 0x416690
mov dword [esp + 0xc], eax
mov dword [esp], 0
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jae 0x4155ea
movzx ecx, byte [eax]
inc eax
mov dword [esp + 8], eax
mov esi, dword [esp + 0xc]
mov eax, dword [ebx + 0x10]
shl eax, 8
or eax, ecx
mov dword [ebx + 0x10], eax
inc esi
mov eax, esi
jmp 0x41550d
mov dword [esp + 0xc], eax
xor esi, esi
mov edx, 0x22
jmp case.0x41521c.36
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x2a
jmp 0x416690
mov dword [ebx], edx
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0xdc]
jbe case.0x41521c.4
mov edx, esi
mov esi, dword [esp]
cmp esi, 8
jb 0x41565a
mov eax, dword [esp + 0xdc]
not eax
add eax, ecx
add esi, 0xfffffff8
mov dword [esp], esi
mov ecx, esi
shr ecx, 3
cmp ecx, eax
jb 0x41563a
mov ecx, eax
test eax, eax
mov esi, edx
je 0x415642
mov eax, ecx
mov ecx, eax
not ecx
add dword [esp + 8], ecx
shl eax, 3
mov ecx, dword [esp]
sub ecx, eax
mov dword [esp], ecx
jmp case.0x41521c.4
mov esi, edx
jmp case.0x41521c.4
mov dword [esp + 0xc], ecx
cmp dword [esp], 2
ja 0x4156a9
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], edi
cmp ecx, dword [esp + 0x10]
jae 0x4156e3
movzx eax, byte [ecx]
mov esi, ecx
mov edi, ebx
mov ebx, dword [esp]
mov ecx, ebx
shl eax, cl
mov ecx, esi
inc ecx
or edx, eax
add ebx, 8
mov dword [esp], ebx
cmp ebx, 3
mov ebx, edi
mov edi, dword [esp + 0x14]
jb 0x415677
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
mov ecx, edx
and ecx, 7
mov dword [ebx + 0x14], ecx
shr edx, 3
add dword [esp], 0xfffffffd
mov eax, ecx
shr eax, 1
mov dword [ebx + 0x18], eax
cmp ecx, 2
jae 0x415702
mov eax, dword [esp]
mov ecx, eax
and cl, 7
shr edx, cl
and eax, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov ecx, dword [esp + 8]
jmp 0x4157d3
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 3
jmp 0x416690
mov dword [esp + 4], edx
xor edx, edx
cmp eax, 1
je 0x415720
cmp eax, 3
jne 0x4159ff
mov edx, 0xa
jmp 0x4158ce
lea eax, [ebx + 0x40]
mov dword [ebx + 0x2c], 0x120
mov dword [ebx + 0x30], 0x20
mov ecx, 0x5050505
mov dword [ebx + 0xde0], ecx
mov dword [ebx + 0xde4], ecx
mov dword [ebx + 0xde8], ecx
mov dword [ebx + 0xdec], ecx
mov dword [ebx + 0xdf0], ecx
mov dword [ebx + 0xdf4], ecx
mov dword [ebx + 0xdf8], ecx
mov dword [ebx + 0xdfc], ecx
push 0x90
push 8
push eax
call fcn.00448350
add esp, 0xc
lea eax, [ebx + 0xd0]
push 0x70
push 9
push eax
call fcn.00448350
add esp, 0xc
mov eax, 0x7070707
mov dword [ebx + 0x140], eax
mov dword [ebx + 0x144], eax
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], eax
mov eax, 0x8080808
mov dword [ebx + 0x15c], eax
mov dword [ebx + 0x158], eax
xor ecx, ecx
inc ecx
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
jmp 0x415b65
cmp eax, 3
ja 0x415862
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [esp]
test eax, eax
je 0x41588c
cmp eax, 7
ja 0x415827
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x415843
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
lea eax, [ecx + 8]
cmp ecx, 0xfffffff7
mov dword [esp], eax
ja 0x415800
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov byte [ebx + eax + 0x2920], dl
shr edx, 8
add dword [esp], 0xfffffff8
mov ecx, dword [esp + 8]
jmp 0x4158b1
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 6
jmp 0x416690
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
movzx ecx, word [ebx + 0x2920]
movzx eax, word [ebx + 0x2922]
xor eax, 0xffff
mov dword [esp + 0xc], ecx
cmp ecx, eax
je 0x4158d6
mov edx, 0x27
jmp 0x4158ce
mov dword [esp], 0
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0xc]
jae 0x4158b7
mov al, byte [ecx]
inc ecx
mov byte [ebx + esi + 0x2920], al
mov eax, esi
inc eax
jmp 0x4157d3
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 7
jmp 0x416690
xor esi, esi
dec esi
jmp case.0x41521c.36
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41597e
mov eax, dword [esp]
test eax, eax
je 0x41597a
cmp eax, 7
ja 0x415921
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x41595b
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
lea eax, [ecx + 8]
cmp ecx, 0xfffffff7
mov dword [esp], eax
ja 0x4158fa
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
movzx ecx, al
mov dword [esp + 0x18], ecx
shr eax, 8
mov dword [esp + 4], eax
add dword [esp], 0xfffffff8
mov esi, 2
mov edx, 0x34
cmp edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
jae case.0x41521c.36
mov byte [edi], al
inc edi
dec dword [esp + 0xc]
jmp 0x4158d6
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x33
jmp 0x416690
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0xc], eax
test eax, eax
je 0x4162f4
mov esi, 2
mov edx, 9
cmp edi, dword [esp + 0x20]
jae case.0x41521c.36
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jae 0x4159e8
mov esi, dword [esp + 0x20]
sub esi, edi
sub eax, ecx
cmp esi, eax
jb 0x4159ba
mov esi, eax
mov eax, dword [esp + 0xc]
cmp esi, eax
jb 0x4159c4
mov esi, eax
push esi
push ecx
push edi
mov ebx, ecx
call fcn.00447850
mov eax, dword [esp + 0x18]
add esp, 0xc
add ebx, esi
mov dword [esp + 8], ebx
add edi, esi
sub eax, esi
mov ebx, dword [esp + 0xd8]
jmp 0x41597e
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x26
jmp 0x416690
cmp edx, 2
ja 0x415ab4
mov al, byte [edx + 0x46dfe4]
movsx ecx, al
mov dword [esp + 0xc], edx
mov ebp, ecx
cmp dword [esp], ecx
jae 0x415a58
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x415a95
movzx eax, byte [esi]
inc esi
mov ecx, dword [esp]
shl eax, cl
or edx, eax
add ecx, 8
mov eax, dword [esp + 0xc]
mov al, byte [eax + 0x46dfe4]
movsx ebp, al
mov dword [esp], ecx
cmp ecx, ebp
jb 0x415a24
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc]
xor esi, esi
dec esi
mov ecx, eax
shl esi, cl
not esi
mov ebx, edi
mov edi, dword [esp + 4]
and esi, edi
mov ecx, ebp
shr edi, cl
mov dword [esp + 4], edi
mov edi, ebx
sub dword [esp], ebp
add esi, dword [edx*4 + 0x46cf24]
mov eax, dword [esp + 0xd8]
mov dword [eax + edx*4 + 0x2c], esi
mov ebx, dword [esp + 0xd8]
inc edx
jmp 0x4159ff
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0xb
jmp 0x416690
lea eax, [ebx + 0x1b80]
push 0x120
push 0
push eax
call fcn.00448350
add esp, 0xc
xor eax, eax
mov edx, dword [esp + 4]
cmp eax, dword [ebx + 0x34]
jae 0x415b5b
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
cmp dword [esp], 2
ja 0x415b13
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x415b3c
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
add ecx, 8
mov dword [esp], ecx
cmp ecx, 3
jb 0x415aef
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov edx, dword [esp + 4]
mov eax, edx
shr eax, 3
add dword [esp], 0xfffffffd
and dl, 7
mov esi, dword [esp + 0xc]
movzx ecx, byte [esi + 0x46d428]
mov byte [ebx + ecx + 0x1b80], dl
inc esi
mov edx, eax
mov eax, esi
jmp 0x415ad0
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0xe
jmp 0x416690
mov dword [ebx + 0x34], 0x13
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x14], edi
test ecx, ecx
js 0x415d62
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
imul edx, ecx, 0xda0
lea eax, [ebx + edx]
add eax, 0x40
mov ebp, ebx
mov ebx, eax
xor esi, esi
lea edi, [esp + 0x84]
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
lea eax, [edx + ebp]
add eax, 0x160
push 0xc80
push 0
push eax
call fcn.00448350
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov ebp, dword [ebp + ecx*4 + 0x2c]
test ebp, ebp
je 0x415bd2
movzx edx, byte [ebx + esi]
inc dword [esp + edx*4 + 0x84]
inc esi
cmp ebp, esi
jne 0x415bc2
xor esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
xor edi, edi
xor edx, edx
mov eax, dword [esp + esi*4 + 0x88]
add edx, eax
add edi, eax
add edi, edi
mov dword [esp + esi*4 + 0x48], edi
inc esi
cmp esi, 0xf
jne 0x415be0
cmp edi, 0x10000
je 0x415c08
cmp edx, 1
ja 0x415d6f
mov dword [esp + 0x3c], ebx
test ebp, ebp
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
je 0x415d51
mov ecx, dword [esp + 0x2c]
add ecx, ebx
add ecx, 0x160
mov dword [esp + 0x38], ecx
xor ecx, ecx
dec ecx
mov dword [esp + 0x30], ecx
xor esi, esi
mov ecx, dword [esp + 0x3c]
movzx edx, byte [ecx + esi]
test edx, edx
je 0x415d43
mov dword [esp + 0x24], esi
mov eax, dword [esp + edx*4 + 0x40]
lea ecx, [eax + 1]
mov dword [esp + edx*4 + 0x40], ecx
xor edi, edi
mov ecx, edx
mov esi, edi
mov edi, eax
and edi, 1
lea edi, [edi + esi*2]
add esi, esi
shr eax, 1
dec ecx
jne 0x415c5f
cmp dl, 0xa
mov ebx, dword [esp + 0x30]
ja 0x415cbb
mov eax, edx
shl eax, 9
or eax, dword [esp + 0x24]
cmp edi, 0x3ff
ja 0x415ca3
xor esi, esi
inc esi
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 0x38]
mov word [ecx + edi*2], ax
add edi, esi
cmp edi, 0x400
jb 0x415c95
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
jmp 0x415d43
and edi, 0x3ff
mov eax, dword [esp + 0xd8]
mov ecx, dword [esp + 0x2c]
add eax, ecx
lea ecx, [eax + edi*2]
add ecx, 0x160
movsx edi, word [ecx]
test edi, edi
jne 0x415ce6
mov word [ecx], bx
mov edi, ebx
add ebx, 0xfffffffe
shr esi, 9
cmp dl, 0xc
jb 0x415d19
mov ecx, esi
shr esi, 1
not edi
bt ecx, 1
adc edi, 0
lea ecx, [eax + edi*2]
add ecx, 0x960
movsx edi, word [ecx]
test edi, edi
jne 0x415d13
mov word [ecx], bx
mov edi, ebx
add ebx, 0xfffffffe
dec edx
cmp edx, 0xb
ja 0x415cee
mov dword [esp + 0x30], ebx
not edi
bt esi, 1
adc edi, 0
mov ecx, dword [esp + 0x24]
mov word [eax + edi*2 + 0x960], cx
mov ebx, dword [esp + 0xd8]
mov esi, ecx
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc esi
mov ecx, dword [ebx + 0x18]
cmp esi, dword [ebx + ecx*4 + 0x2c]
jb 0x415c3c
xor ebp, ebp
cmp ecx, 2
mov edx, dword [esp + 4]
jne 0x415e10
jmp 0x415d84
mov dword [esp + 4], edx
mov edi, dword [esp + 0x14]
jmp 0x416438
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov edx, 0x23
jmp 0x4158ce
mov esi, ebx
mov ebx, dword [ebx + 0x2c]
mov esi, dword [esi + 0x30]
lea eax, [esi + ebx]
cmp ebp, eax
jae 0x415dbe
mov esi, dword [esp]
cmp esi, 0xe
mov dword [esp + 4], edx
ja 0x415e19
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
sub eax, ecx
cmp eax, 1
jg 0x415e1f
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0xd8]
jmp 0x415e6f
mov dword [esp + 4], edx
jne 0x415e5a
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0xd8]
lea eax, [edi + 0x40]
lea ecx, [edi + 0x2924]
push ebx
push ecx
push eax
call fcn.00447850
add esp, 0xc
lea eax, [edi + 0xde0]
lea ecx, [edi + ebx]
add ecx, 0x2924
push esi
mov ebx, edi
mov edi, dword [esp + 0x18]
push ecx
push eax
call fcn.00447850
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov eax, ebp
mov edx, dword [esp + 4]
dec ecx
mov dword [ebx + 0x18], ecx
jmp 0x415b65
mov dword [esp + 0xc], ebp
jmp 0x415e4e
movzx eax, byte [ecx]
mov edx, esi
mov ebx, ecx
mov ecx, esi
shl eax, cl
movzx esi, byte [ebx + 1]
add cl, 8
shl esi, cl
or eax, dword [esp + 4]
or eax, esi
add ebx, 2
mov dword [esp + 8], ebx
add edx, 0x10
mov dword [esp + 4], eax
mov dword [esp + 0xc], ebp
mov dword [esp], edx
mov ebx, dword [esp + 0xd8]
jmp 0x415f00
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0xd8]
mov edx, 0x15
jmp 0x4158ce
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x1ca0]
test eax, eax
js 0x415e99
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x41521c.16
cmp dword [esp], eax
jae 0x415f00
jmp case.0x41521c.16
cmp dword [esp], 0xb
jb case.0x41521c.16
mov ecx, 0xa
not eax
mov edx, dword [esp + 4]
bt edx, ecx
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x24a0]
lea edx, [ecx + 2]
inc ecx
test eax, eax
jns 0x415ec5
cmp dword [esp], edx
jae 0x415ea4
test ax, ax
jns 0x415f00
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x416048
movzx eax, byte [ecx]
mov esi, ecx
mov ecx, dword [esp]
shl eax, cl
inc esi
mov dword [esp + 8], esi
or edx, eax
mov dword [esp + 4], edx
add ecx, 8
mov dword [esp], ecx
cmp ecx, 0xf
jb 0x415e6f
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x1ca0]
test eax, eax
js 0x415f23
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x415f3f
mov ecx, 0xa
not eax
bt edx, ecx
lea ecx, [ecx + 1]
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x24a0]
test eax, eax
js 0x415f28
shr edx, cl
sub dword [esp], ecx
cmp eax, 0xf
mov dword [esp + 0x18], eax
ja 0x415f5e
mov ebp, dword [esp + 0xc]
mov byte [ebx + ebp + 0x2924], al
inc ebp
jmp 0x415d84
mov dword [esp + 4], edx
cmp eax, 0x10
jne 0x415f72
cmp dword [esp + 0xc], 0
je 0x41605f
mov ecx, eax
add eax, 0xfffffff0
movsx ecx, byte [ecx + 0x46dfd8]
mov dword [esp + 0x1c], ecx
cmp dword [esp], ecx
jae 0x415fbf
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x416029
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
add ecx, 8
mov dword [esp], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x415f8f
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x14], edi
xor edx, edx
dec edx
mov ecx, dword [esp + 0x1c]
shl edx, cl
not edx
mov edi, dword [esp + 4]
and edx, edi
shr edi, cl
sub dword [esp], ecx
mov ecx, ebx
movsx esi, byte [eax + 0x46dfec]
add esi, edx
mov ebp, dword [esp + 0xc]
lea eax, [ebx + ebp]
add eax, 0x2924
xor ecx, ecx
cmp dword [esp + 0x18], 0x10
jne 0x416007
mov ecx, dword [esp + 0xd8]
mov cl, byte [ebp + ecx + 0x2923]
movzx ecx, cl
push esi
push ecx
push eax
call fcn.00448350
add esp, 0xc
add ebp, esi
mov ebx, dword [esp + 0xd8]
mov edx, edi
mov edi, dword [esp + 0x14]
jmp 0x415d84
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x12
jmp 0x416690
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x10
jmp 0x416690
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0x10
mov edx, 0x11
jmp 0x4158ce
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
sub ecx, edi
cmp eax, 4
jl 0x416194
cmp ecx, 1
jle 0x416194
mov ecx, dword [esp]
cmp ecx, 0xe
ja 0x4160b7
mov esi, dword [esp + 8]
movzx eax, word [esi]
shl eax, cl
or edx, eax
add esi, 2
add ecx, 0x10
mov dword [esp], ecx
jmp 0x4160bb
mov esi, dword [esp + 8]
mov dword [esp + 8], esi
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x4160d9
mov ecx, eax
sar ecx, 9
jmp 0x4160f5
mov ecx, 0xa
not eax
bt edx, ecx
lea ecx, [ecx + 1]
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x960]
test eax, eax
js 0x4160de
mov esi, eax
shr edx, cl
mov eax, dword [esp]
sub eax, ecx
mov dword [esp + 0xc], esi
bt esi, 8
jb 0x4161e3
cmp eax, 0xe
ja 0x416136
mov esi, dword [esp + 8]
mov dword [esp + 0x14], edi
mov edi, ebx
movzx ebx, word [esi]
mov ecx, eax
shl ebx, cl
mov ecx, esi
or edx, ebx
mov ebx, edi
mov edi, dword [esp + 0x14]
add ecx, 2
add eax, 0x10
mov esi, eax
jmp 0x41613c
mov esi, eax
mov ecx, dword [esp + 8]
mov dword [esp + 8], ecx
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x41615a
mov ecx, eax
sar ecx, 9
jmp 0x416176
mov ecx, 0xa
not eax
bt edx, ecx
lea ecx, [ecx + 1]
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x960]
test eax, eax
js 0x41615f
shr edx, cl
sub esi, ecx
mov dword [esp], esi
mov ecx, dword [esp + 0xc]
mov byte [edi], cl
bt eax, 8
jb 0x4161f3
mov byte [edi + 1], al
add edi, 2
jmp 0x416079
cmp dword [esp], 0xe
mov dword [esp + 4], edx
ja 0x41628e
cmp eax, 1
jle 0x4161fd
mov ebx, dword [esp + 8]
movzx eax, byte [ebx]
mov ecx, dword [esp]
mov edx, ecx
shl eax, cl
movzx esi, byte [ebx + 1]
add cl, 8
shl esi, cl
or eax, dword [esp + 4]
or eax, esi
mov esi, dword [esp + 0xd8]
add ebx, 2
mov dword [esp + 8], ebx
mov ebx, esi
add edx, 0x10
mov dword [esp + 4], eax
mov dword [esp], edx
jmp 0x41628e
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
jmp 0x4162e3
mov dword [esp + 4], edx
inc edi
jmp 0x4162e3
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x416227
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x41521c.23
cmp dword [esp], eax
jae 0x41628e
jmp case.0x41521c.23
cmp dword [esp], 0xb
jb case.0x41521c.23
mov ecx, 0xa
not eax
mov edx, dword [esp + 4]
bt edx, ecx
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x960]
lea edx, [ecx + 2]
inc ecx
test eax, eax
jns 0x416253
cmp dword [esp], edx
jae 0x416232
test ax, ax
jns 0x41628e
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x416421
movzx eax, byte [ecx]
mov esi, ecx
mov ecx, dword [esp]
shl eax, cl
inc esi
mov dword [esp + 8], esi
or edx, eax
mov dword [esp + 4], edx
add ecx, 8
mov dword [esp], ecx
cmp ecx, 0xf
jb 0x4161fd
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x4162b1
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x4162cd
mov ecx, 0xa
not eax
bt edx, ecx
lea ecx, [ecx + 1]
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x960]
test eax, eax
js 0x4162b6
shr edx, cl
mov dword [esp + 4], edx
sub dword [esp], ecx
mov ecx, eax
mov dword [esp + 0xc], eax
cmp eax, 0xff
jbe case.0x41521c.24
and eax, 0x1ff
mov ecx, 0x100
cmp eax, 0x100
jne 0x416327
test byte [ebx + 0x14], 1
mov dword [esp + 0xc], ecx
je 0x415661
jmp 0x4153d3
mov esi, 2
mov edx, 0x18
cmp edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
jae case.0x41521c.36
mov byte [edi], al
inc edi
jmp 0x416438
mov ecx, dword [eax*4 + 0x46c928]
mov dword [esp + 0xc], ecx
lea ecx, [eax - 0x11d]
mov dword [esp + 0x1c], 0
cmp ecx, 0xffffffec
jae 0x41634e
mov edx, dword [esp + 4]
mov eax, dword [esp]
jmp 0x4163ab
mov eax, dword [eax*4 + 0x46c9a4]
mov dword [esp + 0x1c], eax
cmp dword [esp], eax
jae 0x41638f
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x416402
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
add ecx, 8
mov dword [esp], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x416366
mov dword [esp + 8], esi
mov dword [esp + 4], edx
xor eax, eax
dec eax
mov ecx, dword [esp + 0x1c]
shl eax, cl
not eax
mov edx, dword [esp + 4]
and eax, edx
shr edx, cl
add dword [esp + 0xc], eax
mov eax, dword [esp]
sub eax, ecx
mov dword [esp], eax
cmp eax, 0xe
mov dword [esp + 4], edx
ja 0x4164d8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub eax, edx
cmp eax, 1
jle 0x416445
movzx eax, byte [edx]
mov esi, dword [esp]
mov ebp, esi
mov ecx, esi
shl eax, cl
movzx esi, byte [edx + 1]
add cl, 8
shl esi, cl
or eax, dword [esp + 4]
or eax, esi
mov ebx, dword [esp + 0xd8]
add edx, 2
mov dword [esp + 8], edx
add ebp, 0x10
mov dword [esp + 4], eax
mov dword [esp], ebp
jmp 0x4164d8
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x19
jmp 0x416690
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x17
jmp 0x416690
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
jmp 0x416079
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0xf00]
test eax, eax
js 0x41646f
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x41521c.26
cmp dword [esp], eax
jae 0x4164d8
jmp case.0x41521c.26
cmp dword [esp], 0xb
jb case.0x41521c.26
mov ecx, 0xa
not eax
mov edx, dword [esp + 4]
bt edx, ecx
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x1700]
lea edx, [ecx + 2]
inc ecx
test eax, eax
jns 0x41649b
cmp dword [esp], edx
jae 0x41647a
test ax, ax
jns 0x4164d8
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x4168b5
movzx eax, byte [ecx]
mov esi, ecx
mov ecx, dword [esp]
shl eax, cl
inc esi
mov dword [esp + 8], esi
or edx, eax
mov dword [esp + 4], edx
mov eax, ecx
add eax, 8
mov dword [esp], eax
cmp eax, 0xf
jb 0x416445
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0xf00]
test eax, eax
js 0x4164fb
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x416517
mov ecx, 0xa
not eax
bt edx, ecx
lea ecx, [ecx + 1]
adc eax, 0
movsx eax, word [ebx + eax*2 + 0x1700]
test eax, eax
js 0x416500
shr edx, cl
mov esi, dword [esp]
sub esi, ecx
mov ecx, dword [eax*4 + 0x46ce24]
mov dword [esp + 0x18], ecx
lea ecx, [eax - 0x1e]
mov dword [esp + 0x1c], 0
cmp ecx, 0xffffffe6
mov dword [esp + 4], edx
mov dword [esp], esi
jae 0x41654a
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
jmp 0x4165b3
mov eax, dword [eax*4 + 0x46cea4]
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x41658a
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x416676
movzx eax, byte [esi]
mov ecx, dword [esp]
shl eax, cl
inc esi
or edx, eax
add ecx, 8
mov dword [esp], ecx
cmp ecx, dword [esp + 0x1c]
jb 0x416561
mov dword [esp + 8], esi
mov dword [esp + 4], edx
xor eax, eax
dec eax
mov ecx, dword [esp + 0x1c]
shl eax, cl
not eax
mov edx, dword [esp + 4]
and eax, edx
shr edx, cl
mov dword [esp + 4], edx
mov edx, dword [esp]
mov esi, dword [esp + 0x18]
add esi, eax
sub edx, ecx
mov eax, dword [esp + 0xc]
mov dword [esp], edx
mov ecx, edi
sub ecx, dword [esp + 0xe4]
test esi, esi
setne dh
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
sub ecx, esi
setae dl
and dl, dh
mov ebx, dword [esp + 0xf0]
test bl, 4
je 0x4165e4
test dl, dl
je 0x4168a0
and ecx, dword [esp + 0x34]
add ecx, dword [esp + 0xe4]
mov esi, edi
mov edx, edi
cmp edi, ecx
mov ebx, dword [esp + 0xd8]
ja 0x416600
mov edx, ecx
add edx, eax
cmp edx, dword [esp + 0x20]
jbe 0x41660f
mov ecx, eax
jmp 0x4168cc
cmp eax, 9
jb 0x416849
cmp eax, dword [esp + 0x18]
ja 0x416849
mov edx, eax
and edx, 0xfffffff8
add edx, ecx
mov esi, dword [ecx]
mov ebx, edi
mov edi, dword [ecx + 4]
mov dword [ebx + 4], edi
mov dword [ebx], esi
add ebx, 8
mov edi, ebx
add ecx, 8
cmp ecx, edx
jb 0x416629
mov ebx, edi
and eax, 7
cmp eax, 2
ja 0x416850
test eax, eax
mov esi, dword [esp + 0xd8]
je 0x416897
mov dl, byte [ecx]
mov edi, ebx
mov byte [ebx], dl
cmp eax, 1
je 0x41666f
mov cl, byte [ecx + 1]
mov byte [edi + 1], cl
add edi, eax
jmp 0x416899
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x1b
lea esi, [eax + eax*4]
add esi, 0xfffffffc
mov ecx, dword [esp]
xor edx, edx
dec edx
shl edx, cl
mov dword [ebx + 4], ecx
xor eax, eax
test cl, 0x20
jne 0x4166aa
mov eax, edx
not eax
mov ecx, dword [esp + 4]
and ecx, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 8]
sub ecx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov dword [eax], ecx
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
sub edi, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov dword [eax], edi
mov eax, dword [esp + 0xf0]
test al, 9
je 0x41683c
test esi, esi
js 0x41683c
mov ebp, edi
mov dword [esp + 0x10], esi
mov ecx, dword [ebx + 0x1c]
movzx ebx, cx
shr ecx, 0x10
test edi, edi
je 0x41680a
mov edx, 0x5e6ea9af
mov esi, ebp
mov eax, ebp
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
sub esi, eax
xor edx, edx
cmp esi, 8
mov dword [esp + 0x14], ebp
jb 0x4167b8
xor edi, edi
mov ebp, dword [esp]
mov eax, edi
movzx edx, byte [ebp + edi]
add edx, ebx
add ecx, edx
movzx edi, byte [ebp + edi + 1]
add edi, edx
add ecx, edi
movzx edx, byte [ebp + eax + 2]
add edx, edi
add ecx, edx
movzx edi, byte [ebp + eax + 3]
add edi, edx
add ecx, edi
movzx edx, byte [ebp + eax + 4]
add edx, edi
add ecx, edx
movzx edi, byte [ebp + eax + 5]
add edi, edx
add ecx, edi
movzx edx, byte [ebp + eax + 6]
add edx, edi
add ecx, edx
movzx ebx, byte [ebp + eax + 7]
add ebx, edx
add ecx, ebx
lea edi, [eax + 8]
add eax, 0xf
cmp eax, esi
jb 0x416753
mov edx, esi
and edx, 0x1ff8
add ebp, edi
mov dword [esp], ebp
mov ebp, dword [esp + 0x14]
mov eax, esi
sub eax, edx
jbe 0x4167da
xor edx, edx
mov ebp, dword [esp]
movzx edi, byte [ebp + edx]
add ebx, edi
add ecx, ebx
inc edx
cmp eax, edx
jne 0x4167c3
add ebp, eax
mov dword [esp], ebp
mov ebp, dword [esp + 0x14]
mov eax, ebx
mov edi, 0x80078071
mul edi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ebx, eax
mov eax, ecx
mul edi
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub ebp, esi
mov esi, 0x15b0
jne 0x416743
shl ecx, 0x10
or ecx, ebx
mov edx, dword [esp + 0xd8]
mov dword [edx + 0x1c], ecx
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x41683c
xor esi, esi
mov eax, dword [esp + 0xf0]
test al, 1
je 0x41683c
xor eax, eax
cmp ecx, dword [edx + 0x10]
sete al
lea esi, [eax + eax]
add esi, 0xfffffffe
mov eax, esi
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 3
jae 0x41685b
jmp 0x416879
mov esi, dword [esp + 0xd8]
mov edi, ebx
mov ebx, esi
mov dl, byte [ecx]
mov byte [edi], dl
mov dl, byte [ecx + 1]
mov byte [edi + 1], dl
mov dl, byte [ecx + 2]
mov byte [edi + 2], dl
add edi, 3
add ecx, 3
add eax, 0xfffffffd
cmp eax, 2
ja 0x41685b
test eax, eax
je 0x416438
mov dl, byte [ecx]
mov byte [edi], dl
cmp eax, 1
je 0x416890
mov cl, byte [ecx + 1]
mov byte [edi + 1], cl
add edi, eax
jmp 0x416438
mov edi, ebx
mov ebx, esi
jmp 0x416438
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xd8]
mov edx, 0x25
jmp 0x4158ce
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x1a
jmp 0x416690
xor eax, eax
dec eax
sub ecx, 1
mov dword [esp + 0xc], ecx
jb 0x416438
mov esi, 2
mov edx, 0x35
cmp edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
jae case.0x41521c.36
lea eax, [ecx + 1]
sub ecx, dword [esp + 0x18]
and ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xe4]
mov cl, byte [edx + ecx]
mov byte [edi], cl
inc edi
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
jmp 0x4168cc