Function at 0x41819d
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 0x4182db
test edx, edx
jne 0x4182db
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.0x418261
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0xdc]
mov dword [esp + 8], eax
mov edi, ebp
jmp dword [edx*4 + 0x477670]
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.0x418261.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 0x4186a6
xor eax, eax
mov dword [ebx], eax
mov ecx, dword [esp + 0xe0]
mov dword [ecx], eax
mov esi, 0xfffffffd
jmp 0x419881
test ecx, ecx
jle 0x4184ca
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 0x4184a6
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 0x4184e2
mov ebx, ecx
and ebx, 0xf
mov eax, dword [esp + 0xf0]
test al, 4
jne 0x418536
shr ecx, 4
mov esi, 0x100
shl esi, cl
xor ecx, ecx
cmp esi, 0x8000
mov eax, 0xffffffff
ja 0x4184e5
cmp dword [esp + 0x14], esi
jae 0x41853b
jmp 0x4184e5
test ecx, ecx
jle 0x4184f3
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 0x418710
test ecx, ecx
jle 0x418507
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 0x41846c
test edx, edx
je 0x41846c
mov eax, dword [esp + 0xdc]
not eax
add eax, ecx
add edx, 0xfffffff8
mov esi, edx
shr edx, 3
cmp edx, eax
jb 0x418457
mov edx, eax
test eax, eax
je 0x41845d
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 0x41848b
mov ecx, esi
not ecx
and dword [esp + 4], ecx
mov ecx, dword [esp + 0xf0]
test cl, 1
je case.0x418261.34
jmp 0x418552
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.0x418261.4
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 1
jmp 0x418519
mov edi, ebp
jmp 0x418526
xor eax, eax
dec eax
mov ebx, dword [esp + 0xd8]
mov esi, eax
jmp case.0x418261.36
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 5
jmp 0x418519
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.0x418261.4
xor ecx, ecx
xor eax, eax
dec eax
cmp ebx, 8
mov ebx, dword [esp + 0xd8]
mov esi, eax
je 0x4186a6
jmp case.0x418261.36
cmp eax, 3
ja 0x418622
mov ecx, dword [esp]
test ecx, ecx
je 0x4185ee
mov dword [esp + 0xc], eax
cmp ecx, 7
ja 0x4185a9
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x4185c8
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 0x418577
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 0x41860f
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 0x4196d5
mov dword [esp + 0xc], eax
mov dword [esp], 0
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x10]
jae 0x41862f
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 0x418552
mov dword [esp + 0xc], eax
xor esi, esi
mov edx, 0x22
jmp case.0x418261.36
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x2a
jmp 0x4196d5
mov dword [ebx], edx
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0xdc]
jbe case.0x418261.4
mov edx, esi
mov esi, dword [esp]
cmp esi, 8
jb 0x41869f
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 0x41867f
mov ecx, eax
test eax, eax
mov esi, edx
je 0x418687
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.0x418261.4
mov esi, edx
jmp case.0x418261.4
mov dword [esp + 0xc], ecx
cmp dword [esp], 2
ja 0x4186ee
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x14], edi
cmp ecx, dword [esp + 0x10]
jae 0x418728
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 0x4186bc
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 0x418747
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 0x418818
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 0x4196d5
mov dword [esp + 4], edx
xor edx, edx
cmp eax, 1
je 0x418765
cmp eax, 3
jne 0x418a44
mov edx, 0xa
jmp 0x418913
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.00450b60
add esp, 0xc
lea eax, [ebx + 0xd0]
push 0x70
push 9
push eax
call fcn.00450b60
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 0x418baa
cmp eax, 3
ja 0x4188a7
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov eax, dword [esp]
test eax, eax
je 0x4188d1
cmp eax, 7
ja 0x41886c
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x418888
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 0x418845
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 0x4188f6
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 0x4196d5
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 0x41891b
mov edx, 0x27
jmp 0x418913
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 0x4188fc
mov al, byte [ecx]
inc ecx
mov byte [ebx + esi + 0x2920], al
mov eax, esi
inc eax
jmp 0x418818
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 7
jmp 0x4196d5
xor esi, esi
dec esi
jmp case.0x418261.36
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4189c3
mov eax, dword [esp]
test eax, eax
je 0x4189bf
cmp eax, 7
ja 0x418966
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x4189a0
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 0x41893f
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.0x418261.36
mov byte [edi], al
inc edi
dec dword [esp + 0xc]
jmp 0x41891b
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 0x4196d5
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov dword [esp + 0xc], eax
test eax, eax
je 0x419339
mov esi, 2
mov edx, 9
cmp edi, dword [esp + 0x20]
jae case.0x418261.36
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jae 0x418a2d
mov esi, dword [esp + 0x20]
sub esi, edi
sub eax, ecx
cmp esi, eax
jb 0x4189ff
mov esi, eax
mov eax, dword [esp + 0xc]
cmp esi, eax
jb 0x418a09
mov esi, eax
push esi
push ecx
push edi
mov ebx, ecx
call fcn.00450060
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 0x4189c3
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x26
jmp 0x4196d5
cmp edx, 2
ja 0x418af9
mov al, byte [edx + 0x477118]
movsx ecx, al
mov dword [esp + 0xc], edx
mov ebp, ecx
cmp dword [esp], ecx
jae 0x418a9d
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x418ada
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 + 0x477118]
movsx ebp, al
mov dword [esp], ecx
cmp ecx, ebp
jb 0x418a69
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 + 0x476044]
mov eax, dword [esp + 0xd8]
mov dword [eax + edx*4 + 0x2c], esi
mov ebx, dword [esp + 0xd8]
inc edx
jmp 0x418a44
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 0x4196d5
lea eax, [ebx + 0x1b80]
push 0x120
push 0
push eax
call fcn.00450b60
add esp, 0xc
xor eax, eax
mov edx, dword [esp + 4]
cmp eax, dword [ebx + 0x34]
jae 0x418ba0
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
cmp dword [esp], 2
ja 0x418b58
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x418b81
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 0x418b34
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 + 0x476548]
mov byte [ebx + ecx + 0x1b80], dl
inc esi
mov edx, eax
mov eax, esi
jmp 0x418b15
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 0x4196d5
mov dword [ebx + 0x34], 0x13
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x14], edi
test ecx, ecx
js 0x418da7
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.00450b60
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov ebp, dword [ebp + ecx*4 + 0x2c]
test ebp, ebp
je 0x418c17
movzx edx, byte [ebx + esi]
inc dword [esp + edx*4 + 0x84]
inc esi
cmp ebp, esi
jne 0x418c07
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 0x418c25
cmp edi, 0x10000
je 0x418c4d
cmp edx, 1
ja 0x418db4
mov dword [esp + 0x3c], ebx
test ebp, ebp
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
je 0x418d96
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 0x418d88
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 0x418ca4
cmp dl, 0xa
mov ebx, dword [esp + 0x30]
ja 0x418d00
mov eax, edx
shl eax, 9
or eax, dword [esp + 0x24]
cmp edi, 0x3ff
ja 0x418ce8
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 0x418cda
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
jmp 0x418d88
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 0x418d2b
mov word [ecx], bx
mov edi, ebx
add ebx, 0xfffffffe
shr esi, 9
cmp dl, 0xc
jb 0x418d5e
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 0x418d58
mov word [ecx], bx
mov edi, ebx
add ebx, 0xfffffffe
dec edx
cmp edx, 0xb
ja 0x418d33
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 0x418c81
xor ebp, ebp
cmp ecx, 2
mov edx, dword [esp + 4]
jne 0x418e55
jmp 0x418dc9
mov dword [esp + 4], edx
mov edi, dword [esp + 0x14]
jmp 0x41947d
mov ebx, dword [esp + 0xd8]
mov edi, dword [esp + 0x14]
mov edx, 0x23
jmp 0x418913
mov esi, ebx
mov ebx, dword [ebx + 0x2c]
mov esi, dword [esi + 0x30]
lea eax, [esi + ebx]
cmp ebp, eax
jae 0x418e03
mov esi, dword [esp]
cmp esi, 0xe
mov dword [esp + 4], edx
ja 0x418e5e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
sub eax, ecx
cmp eax, 1
jg 0x418e64
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0xd8]
jmp 0x418eb4
mov dword [esp + 4], edx
jne 0x418e9f
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.00450060
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.00450060
add esp, 0xc
mov ecx, dword [ebx + 0x18]
mov eax, ebp
mov edx, dword [esp + 4]
dec ecx
mov dword [ebx + 0x18], ecx
jmp 0x418baa
mov dword [esp + 0xc], ebp
jmp 0x418e93
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 0x418f45
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0xd8]
mov edx, 0x15
jmp 0x418913
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x1ca0]
test eax, eax
js 0x418ede
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x418261.16
cmp dword [esp], eax
jae 0x418f45
jmp case.0x418261.16
cmp dword [esp], 0xb
jb case.0x418261.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 0x418f0a
cmp dword [esp], edx
jae 0x418ee9
test ax, ax
jns 0x418f45
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x41908d
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 0x418eb4
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x1ca0]
test eax, eax
js 0x418f68
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x418f84
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 0x418f6d
shr edx, cl
sub dword [esp], ecx
cmp eax, 0xf
mov dword [esp + 0x18], eax
ja 0x418fa3
mov ebp, dword [esp + 0xc]
mov byte [ebx + ebp + 0x2924], al
inc ebp
jmp 0x418dc9
mov dword [esp + 4], edx
cmp eax, 0x10
jne 0x418fb7
cmp dword [esp + 0xc], 0
je 0x4190a4
mov ecx, eax
add eax, 0xfffffff0
movsx ecx, byte [ecx + 0x47710c]
mov dword [esp + 0x1c], ecx
cmp dword [esp], ecx
jae 0x419004
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x41906e
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 0x418fd4
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 + 0x477120]
add esi, edx
mov ebp, dword [esp + 0xc]
lea eax, [ebx + ebp]
add eax, 0x2924
xor ecx, ecx
cmp dword [esp + 0x18], 0x10
jne 0x41904c
mov ecx, dword [esp + 0xd8]
mov cl, byte [ebp + ecx + 0x2923]
movzx ecx, cl
push esi
push ecx
push eax
call fcn.00450b60
add esp, 0xc
add ebp, esi
mov ebx, dword [esp + 0xd8]
mov edx, edi
mov edi, dword [esp + 0x14]
jmp 0x418dc9
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 0x4196d5
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x10
jmp 0x4196d5
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 0x10
mov edx, 0x11
jmp 0x418913
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
sub ecx, edi
cmp eax, 4
jl 0x4191d9
cmp ecx, 1
jle 0x4191d9
mov ecx, dword [esp]
cmp ecx, 0xe
ja 0x4190fc
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 0x419100
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 0x41911e
mov ecx, eax
sar ecx, 9
jmp 0x41913a
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 0x419123
mov esi, eax
shr edx, cl
mov eax, dword [esp]
sub eax, ecx
mov dword [esp + 0xc], esi
bt esi, 8
jb 0x419228
cmp eax, 0xe
ja 0x41917b
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 0x419181
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 0x41919f
mov ecx, eax
sar ecx, 9
jmp 0x4191bb
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 0x4191a4
shr edx, cl
sub esi, ecx
mov dword [esp], esi
mov ecx, dword [esp + 0xc]
mov byte [edi], cl
bt eax, 8
jb 0x419238
mov byte [edi + 1], al
add edi, 2
jmp 0x4190be
cmp dword [esp], 0xe
mov dword [esp + 4], edx
ja 0x4192d3
cmp eax, 1
jle 0x419242
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 0x4192d3
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp + 0xc]
jmp 0x419328
mov dword [esp + 4], edx
inc edi
jmp 0x419328
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x41926c
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x418261.23
cmp dword [esp], eax
jae 0x4192d3
jmp case.0x418261.23
cmp dword [esp], 0xb
jb case.0x418261.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 0x419298
cmp dword [esp], edx
jae 0x419277
test ax, ax
jns 0x4192d3
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x419466
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 0x419242
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0x160]
test eax, eax
js 0x4192f6
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x419312
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 0x4192fb
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.0x418261.24
and eax, 0x1ff
mov ecx, 0x100
cmp eax, 0x100
jne 0x41936c
test byte [ebx + 0x14], 1
mov dword [esp + 0xc], ecx
je 0x4186a6
jmp 0x418418
mov esi, 2
mov edx, 0x18
cmp edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
jae case.0x418261.36
mov byte [edi], al
inc edi
jmp 0x41947d
mov ecx, dword [eax*4 + 0x475a48]
mov dword [esp + 0xc], ecx
lea ecx, [eax - 0x11d]
mov dword [esp + 0x1c], 0
cmp ecx, 0xffffffec
jae 0x419393
mov edx, dword [esp + 4]
mov eax, dword [esp]
jmp 0x4193f0
mov eax, dword [eax*4 + 0x475ac4]
mov dword [esp + 0x1c], eax
cmp dword [esp], eax
jae 0x4193d4
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x419447
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 0x4193ab
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 0x41951d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub eax, edx
cmp eax, 1
jle 0x41948a
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 0x41951d
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 0x4196d5
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x17
jmp 0x4196d5
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
jmp 0x4190be
mov eax, dword [esp + 4]
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0xf00]
test eax, eax
js 0x4194b4
movzx ecx, ax
sar eax, 9
cmp ecx, 0x200
jb case.0x418261.26
cmp dword [esp], eax
jae 0x41951d
jmp case.0x418261.26
cmp dword [esp], 0xb
jb case.0x418261.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 0x4194e0
cmp dword [esp], edx
jae 0x4194bf
test ax, ax
jns 0x41951d
mov ecx, dword [esp + 8]
cmp ecx, dword [esp + 0x10]
mov edx, dword [esp + 4]
jae 0x4198fa
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 0x41948a
mov edx, dword [esp + 4]
mov eax, edx
and eax, 0x3ff
movsx eax, word [ebx + eax*2 + 0xf00]
test eax, eax
js 0x419540
mov ecx, eax
sar ecx, 9
and eax, 0x1ff
jmp 0x41955c
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 0x419545
shr edx, cl
mov esi, dword [esp]
sub esi, ecx
mov ecx, dword [eax*4 + 0x475f44]
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 0x41958f
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
jmp 0x4195f8
mov eax, dword [eax*4 + 0x475fc4]
mov dword [esp + 0x1c], eax
cmp esi, eax
jae 0x4195cf
mov edx, dword [esp + 4]
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0x10]
jae 0x4196bb
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 0x4195a6
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 0x419629
test dl, dl
je 0x4198e5
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 0x419645
mov edx, ecx
add edx, eax
cmp edx, dword [esp + 0x20]
jbe 0x419654
mov ecx, eax
jmp 0x419911
cmp eax, 9
jb 0x41988e
cmp eax, dword [esp + 0x18]
ja 0x41988e
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 0x41966e
mov ebx, edi
and eax, 7
cmp eax, 2
ja 0x419895
test eax, eax
mov esi, dword [esp + 0xd8]
je 0x4198dc
mov dl, byte [ecx]
mov edi, ebx
mov byte [ebx], dl
cmp eax, 1
je 0x4196b4
mov cl, byte [ecx + 1]
mov byte [edi + 1], cl
add edi, eax
jmp 0x4198de
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 0x4196ef
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 0x419881
test esi, esi
js 0x419881
mov ebp, edi
mov dword [esp + 0x10], esi
mov ecx, dword [ebx + 0x1c]
movzx ebx, cx
shr ecx, 0x10
test edi, edi
je 0x41984f
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 0x4197fd
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 0x419798
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 0x41981f
xor edx, edx
mov ebp, dword [esp]
movzx edi, byte [ebp + edx]
add ebx, edi
add ecx, ebx
inc edx
cmp eax, edx
jne 0x419808
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 0x419788
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 0x419881
xor esi, esi
mov eax, dword [esp + 0xf0]
test al, 1
je 0x419881
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 0x4198a0
jmp 0x4198be
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 0x4198a0
test eax, eax
je 0x41947d
mov dl, byte [ecx]
mov byte [edi], dl
cmp eax, 1
je 0x4198d5
mov cl, byte [ecx + 1]
mov byte [edi + 1], cl
add edi, eax
jmp 0x41947d
mov edi, ebx
mov ebx, esi
jmp 0x41947d
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xd8]
mov edx, 0x25
jmp 0x418913
mov eax, dword [esp + 0xf0]
and eax, 2
shr eax, 1
mov dword [ebx], 0x1a
jmp 0x4196d5
xor eax, eax
dec eax
sub ecx, 1
mov dword [esp + 0xc], ecx
jb 0x41947d
mov esi, 2
mov edx, 0x35
cmp edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
jae case.0x418261.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 0x419911