Function at 0x411b10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0x63df30
push 0x63def8
mov edi, ecx
push 0
push ebx
mov dword [esp + 0x68], edi
mov byte [ebx + 4], 1
call fcn.005b50f7
add esp, 0x14
push 0
push 0x63df14
push 0x63def8
mov esi, eax
push 0
push ebx
mov dword [esp + 0x34], esi
call fcn.005b50f7
add esp, 0x14
test esi, esi
mov dword [esp + 0x14], eax
je 0x4155a0
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x6c], ecx
lea ecx, [eax + edx]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + 0xc]
add edx, ecx
mov dword [esp + 0x74], edx
mov edx, dword [ebx]
mov dword [esp + 0x78], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx]
add edx, eax
mov eax, dword [ebx + 4]
add eax, ecx
cmp byte [esi + 0x53], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
je 0x412995
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411bdf
cmp dword [eax + 0x70], 0
jne 0x412995
cmp byte [edi + 0x75], 0
jne 0x412995
mov eax, dword [ebp + 0x18]
call fcn.00404a40
test al, al
je 0x412995
mov eax, dword [esi + 0x48]
test eax, eax
mov dword [esp + 0x34], eax
jne 0x4122c0
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
cmp byte [edi + 0x75], 0
mov esi, eax
jne 0x4155a0
mov eax, edi
call fcn.0040c530
mov eax, dword [edi]
mov edx, dword [eax + 0xbc]
mov ecx, edi
call edx
test al, al
je 0x4155a0
mov eax, dword [edi + 0xd4]
cmp eax, 0x10
jne 0x411ffe
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0xa4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 8]
imul eax, dword [ecx + 0x24]
add eax, dword [ebx]
mov dword [esp + 0x28], edx
lea edx, [esi + eax*4]
mov eax, dword [edi + 0xd8]
mov esi, dword [edi + 0xdc]
mov edi, dword [edi + 0xe0]
mov dword [esp + 0x10], eax
shr eax, 1
mov dword [esp + 0x48], eax
mov eax, esi
shr eax, 1
mov dword [esp + 0x2c], eax
mov eax, edi
shr eax, 1
cmp byte [0x6405bb], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
je 0x411ea9
cmp esi, 0x7e0
jne 0x411db1
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x4122a9
mov esi, ebx
mov ecx, dword [esi + 8]
test ecx, ecx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], 0
jle 0x411d5b
movzx eax, word [edi]
mov ecx, dword [ebx]
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, ecx
and eax, 0xfc00
shl eax, 0xb
mov esi, ecx
shr esi, 3
and esi, 0x1f
add eax, esi
mov esi, ecx
shr esi, 8
and esi, 0xf800
add eax, esi
mov esi, dword [ebp + 0x14]
shr ecx, 0x1b
and edx, 0x7e0f81f
sub eax, edx
imul eax, ecx
shr eax, 5
add eax, edx
and eax, 0x7e0f81f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
mov word [edi], cx
mov ecx, dword [esi + 8]
add eax, 1
add ebx, 4
add edi, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x411cf1
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
jl 0x411cdd
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp esi, 0x3e0
jne 0x411ea9
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x4122a9
mov esi, ebx
mov ecx, dword [esi + 8]
test ecx, ecx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], 0
jle 0x411e53
movzx eax, word [edi]
mov ecx, dword [ebx]
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, ecx
shr eax, 3
and eax, 0x1f
mov esi, ecx
shr esi, 9
and esi, 0x7c00
add eax, esi
mov esi, ecx
and esi, 0xf800
shl esi, 0xa
add eax, esi
mov esi, dword [ebp + 0x14]
shr ecx, 0x1b
and edx, 0x3e07c1f
sub eax, edx
imul eax, ecx
shr eax, 5
add eax, edx
and eax, 0x3e07c1f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
mov word [edi], cx
mov ecx, dword [esi + 8]
add eax, 1
add ebx, 4
add edi, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x411de8
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0x38]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
jl 0x411dd4
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x34], 0
jle 0x4122a9
mov ecx, ebx
mov ecx, dword [ecx + 8]
mov ebx, dword [esp + 0x28]
mov edi, edx
test ecx, ecx
mov eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], 0
jle 0x411fad
jmp 0x411ee4
mov edi, dword [esp + 0x24]
mov edx, dword [edi]
movzx eax, word [eax]
add edi, 4
mov dword [esp + 0x24], edi
mov ecx, edx
shr ecx, 0x18
mov edi, 0x100
sub edi, ecx
mov dword [esp + 0x20], edi
movzx edi, dh
imul edi, ecx
imul edi, esi
mov ebx, eax
and ebx, esi
imul ebx, dword [esp + 0x20]
mov esi, edx
shr esi, 0x10
and esi, 0xff
imul esi, ecx
shr edi, 8
add edi, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x10]
add ebx, edi
imul esi, edx
mov edi, eax
and edi, edx
imul edi, dword [esp + 0x20]
shr esi, 8
add esi, dword [esp + 0x48]
shr ebx, 8
add edi, esi
shr edi, 8
and edi, edx
movzx edx, byte [esp + 0x58]
imul edx, ecx
mov ecx, dword [esp + 0x5c]
and ebx, dword [esp + 0x30]
imul edx, ecx
and eax, ecx
imul eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
shr edx, 8
add edx, dword [esp + 0x60]
add ebx, edi
add eax, edx
mov edx, dword [esp + 0x14]
shr eax, 8
and eax, ecx
mov ecx, dword [ebp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x18]
mov word [eax], bx
mov ecx, dword [ecx + 8]
add edx, 1
add eax, 2
cmp edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x411ee0
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
sar eax, 1
lea ebx, [ebx + eax*2]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [esp + 0x34]
lea edi, [edi + edx*4]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], eax
jl 0x411ec6
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x20
jne 0x4122a9
mov ecx, edi
mov eax, dword [ecx + 0x90]
imul eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
lea edi, [edx + eax*4]
mov edx, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 4]
imul eax, dword [ebx + 0x24]
add eax, dword [edx]
mov ebx, dword [ecx + 0xdc]
lea esi, [esi + eax*4]
mov eax, dword [ecx + 0xd8]
mov ecx, dword [ecx + 0xe0]
mov dword [esp + 0x10], eax
shr eax, 1
mov dword [esp + 0x2c], eax
mov eax, ebx
shr eax, 1
mov dword [esp + 0x24], eax
mov eax, ecx
shr eax, 1
cmp byte [0x6405bb], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
je 0x41216f
cmp dword [edx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x4122a9
mov ebx, edx
mov ecx, dword [ebx + 8]
test ecx, ecx
mov dword [esp + 0x10], 0
jle 0x41211d
sub esi, edi
mov dword [esp + 0x20], esi
jmp 0x4120b5
mov esi, dword [esp + 0x20]
mov eax, dword [esi + edi]
mov ecx, dword [edi]
mov ebx, eax
mov edx, eax
and ebx, 0xff00ff
and eax, 0xff00
mov esi, ecx
and ecx, 0xff00
sub eax, ecx
and esi, 0xff00ff
sub ebx, esi
shr edx, 0x18
imul ebx, edx
imul eax, edx
shr ebx, 8
shr eax, 8
add eax, ecx
add ebx, esi
and eax, 0xff00
and ebx, 0xff00ff
or ebx, eax
mov eax, dword [esp + 0x10]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx + 8]
add eax, 1
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4120b1
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edi, [edi + eax*4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
lea esi, [esi + edx*4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], eax
jl 0x412099
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [edx + 0xc], 0
mov dword [esp + 0x38], 0
jle 0x4122a9
mov eax, edx
mov ecx, dword [eax + 8]
test ecx, ecx
mov eax, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], 0
jle 0x41226b
mov ecx, esi
sub ecx, edi
mov dword [esp + 0x20], ecx
jmp 0x4121aa
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + eax]
mov eax, dword [eax]
mov ecx, edx
shr ecx, 0x18
mov esi, 0x100
sub esi, ecx
mov dword [esp + 0x30], esi
movzx esi, dh
imul esi, ecx
shr esi, 8
imul esi, ebx
add esi, dword [esp + 0x24]
mov edi, eax
and edi, ebx
imul edi, dword [esp + 0x30]
add edi, esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
imul esi, ecx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x10]
mov ebx, eax
and ebx, edx
imul ebx, dword [esp + 0x30]
shr esi, 8
imul esi, edx
add esi, dword [esp + 0x2c]
shr edi, 8
add ebx, esi
shr ebx, 8
and ebx, edx
movzx edx, byte [esp + 0x48]
imul edx, ecx
mov ecx, dword [esp + 0x58]
and edi, dword [esp + 0x40]
and eax, ecx
imul eax, dword [esp + 0x30]
shr edx, 8
imul edx, ecx
add edx, dword [esp + 0x5c]
add edi, ebx
mov ebx, dword [esp + 0x40]
add eax, edx
mov edx, dword [esp + 0x28]
shr eax, 8
and eax, ecx
mov ecx, dword [ebp + 0x14]
add edi, eax
mov eax, dword [esp + 0x18]
mov dword [eax], edi
mov ecx, dword [ecx + 8]
add edx, 1
add eax, 4
cmp edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
jl 0x4121a6
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edi, [edi + eax*4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov eax, dword [esp + 0x38]
lea esi, [esi + edx*4]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
jl 0x412186
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov esi, dword [esi + 0x4c]
mov eax, edi
mov dword [esp + 0x24], esi
call fcn.0040c530
mov eax, dword [edi]
mov edx, dword [eax + 0xbc]
mov ecx, edi
call edx
test al, al
je 0x4155a0
mov eax, dword [edi + 0xd4]
cmp eax, 0x10
jne 0x4126c1
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0xa4]
mov esi, dword [ebx + 4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
imul esi, dword [eax + 0x24]
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
add esi, dword [ebx]
mov edi, dword [edi + 0xe0]
add esi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
shr eax, 1
mov dword [esp + 0x48], eax
mov eax, ecx
shr eax, 1
mov dword [esp + 0x2c], eax
mov eax, edi
shr eax, 1
cmp byte [0x6405bb], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
je 0x412566
cmp ecx, 0x7e0
jne 0x412465
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x41297e
mov ecx, dword [ebx + 8]
test ecx, ecx
mov edi, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x10], 0
jle 0x41241a
jmp 0x4123a4
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + ecx*4]
add eax, 1
mov dword [esp + 0x24], eax
movzx eax, word [edi]
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, ecx
and eax, 0xfc00
shl eax, 0xb
mov ebx, ecx
shr ebx, 3
and ebx, 0x1f
add eax, ebx
mov ebx, ecx
shr ebx, 8
and ebx, 0xf800
add eax, ebx
mov ebx, dword [ebp + 0x14]
shr ecx, 0x1b
and edx, 0x7e0f81f
sub eax, edx
imul eax, ecx
shr eax, 5
add eax, edx
and eax, 0x7e0f81f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
mov word [edi], cx
mov ecx, dword [ebx + 8]
add eax, 1
add edi, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4123a0
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
add esi, dword [edx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
jl 0x412386
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ecx, 0x3e0
jne 0x412566
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x41297e
mov ecx, dword [ebx + 8]
test ecx, ecx
mov edi, dword [esp + 0x28]
mov eax, esi
mov dword [esp + 0x10], 0
jle 0x41251b
jmp 0x4124a4
mov eax, dword [esp + 0x24]
movzx ecx, byte [eax]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + ecx*4]
add eax, 1
mov dword [esp + 0x24], eax
movzx eax, word [edi]
mov edx, eax
shl edx, 0x10
or edx, eax
mov eax, ecx
shr eax, 3
and eax, 0x1f
mov ebx, ecx
shr ebx, 9
and ebx, 0x7c00
add eax, ebx
mov ebx, ecx
and ebx, 0xf800
shl ebx, 0xa
add eax, ebx
mov ebx, dword [ebp + 0x14]
shr ecx, 0x1b
and edx, 0x3e07c1f
sub eax, edx
imul eax, ecx
shr eax, 5
add eax, edx
and eax, 0x3e07c1f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x10]
mov word [edi], cx
mov ecx, dword [ebx + 8]
add eax, 1
add edi, 2
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4124a0
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
add esi, dword [edx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
jl 0x412486
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x38], 0
jle 0x41297e
mov eax, ebx
mov ecx, dword [eax + 8]
lea ecx, [ecx]
test ecx, ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jle 0x41266f
jmp 0x4125a4
mov esi, dword [esp + 0x24]
movzx ecx, byte [esi]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + ecx*4]
movzx eax, word [eax]
add esi, 1
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], esi
mov ecx, edx
shr ecx, 0x18
mov esi, 0x100
sub esi, ecx
mov dword [esp + 0x30], esi
movzx esi, dh
imul esi, ecx
imul esi, edi
mov ebx, eax
and ebx, edi
imul ebx, dword [esp + 0x30]
shr esi, 8
add esi, dword [esp + 0x2c]
mov dword [esp + 0x58], edx
add ebx, esi
mov esi, edx
mov edx, dword [esp + 0x10]
shr esi, 0x10
and esi, 0xff
imul esi, ecx
imul esi, edx
shr ebx, 8
and ebx, edi
mov edi, eax
and edi, edx
imul edi, dword [esp + 0x30]
shr esi, 8
add esi, dword [esp + 0x48]
add edi, esi
shr edi, 8
and edi, edx
movzx edx, byte [esp + 0x58]
imul edx, ecx
mov ecx, dword [esp + 0x5c]
imul edx, ecx
and eax, ecx
imul eax, dword [esp + 0x30]
shr edx, 8
add edx, dword [esp + 0x60]
add ebx, edi
add eax, edx
mov edx, dword [esp + 0x14]
shr eax, 8
and eax, ecx
mov ecx, dword [ebp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x18]
mov word [eax], bx
mov ecx, dword [ecx + 8]
add edx, 1
add eax, 2
cmp edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x4125a0
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
add esi, dword [edx + 0x24]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
jl 0x412580
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x20
jne 0x41297e
mov ecx, edi
mov eax, dword [ecx + 0x90]
imul eax, dword [ebp + 0x10]
mov edi, dword [ecx + 0xdc]
cdq
and edx, 3
add eax, edx
mov edx, dword [ecx + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
mov dword [esp + 0x30], edi
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, ebx
mov ebx, dword [edx + 4]
imul ebx, dword [eax + 0x24]
mov eax, dword [ecx + 0xd8]
mov ecx, dword [ecx + 0xe0]
add ebx, dword [edx]
mov dword [esp + 0x10], eax
shr eax, 1
mov dword [esp + 0x48], eax
mov eax, edi
shr eax, 1
mov dword [esp + 0x2c], eax
mov eax, ecx
add ebx, esi
shr eax, 1
cmp byte [0x6405bb], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
je 0x41283a
cmp dword [edx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x41297e
mov esi, edx
mov ecx, dword [esi + 8]
test ecx, ecx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], 0
jle 0x4127e7
jmp 0x412775
mov ebx, dword [esp + 0x24]
movzx ecx, byte [ebx]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + ecx*4]
mov ecx, dword [edi]
add ebx, 1
mov dword [esp + 0x24], ebx
mov ebx, eax
mov edx, eax
and eax, 0xff00
and ebx, 0xff00ff
mov esi, ecx
and esi, 0xff00ff
sub ebx, esi
and ecx, 0xff00
sub eax, ecx
shr edx, 0x18
imul eax, edx
imul ebx, edx
shr eax, 8
shr ebx, 8
add eax, ecx
add ebx, esi
mov esi, dword [ebp + 0x14]
and eax, 0xff00
and ebx, 0xff00ff
or ebx, eax
mov eax, dword [esp + 0x10]
mov dword [edi], ebx
mov ecx, dword [esi + 8]
add eax, 1
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x412771
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [ebp + 8]
add ebx, dword [edx + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esi + 0xc]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], eax
jl 0x41275b
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [edx + 0xc], 0
mov dword [esp + 0x38], 0
jle 0x41297e
mov eax, edx
mov ecx, dword [eax + 8]
test ecx, ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov esi, ebx
mov dword [esp + 0x28], 0
jle 0x41293f
jmp 0x412874
mov esi, dword [esp + 0x24]
movzx ecx, byte [esi]
mov edx, dword [esp + 0x34]
mov edx, dword [edx + ecx*4]
mov eax, dword [eax]
add esi, 1
mov dword [esp + 0x24], esi
mov ecx, edx
shr ecx, 0x18
mov esi, 0x100
sub esi, ecx
mov dword [esp + 0x20], esi
movzx esi, dh
imul esi, ecx
shr esi, 8
imul esi, edi
add esi, dword [esp + 0x2c]
mov ebx, eax
and ebx, edi
imul ebx, dword [esp + 0x20]
add ebx, esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
imul esi, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x10]
mov edi, eax
and edi, edx
imul edi, dword [esp + 0x20]
shr esi, 8
imul esi, edx
add esi, dword [esp + 0x48]
shr ebx, 8
add edi, esi
shr edi, 8
and edi, edx
movzx edx, byte [esp + 0x58]
imul edx, ecx
mov ecx, dword [esp + 0x5c]
and ebx, dword [esp + 0x30]
and eax, ecx
imul eax, dword [esp + 0x20]
shr edx, 8
imul edx, ecx
add edx, dword [esp + 0x60]
add ebx, edi
mov edi, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x28]
shr eax, 8
and eax, ecx
mov ecx, dword [ebp + 0x14]
add ebx, eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov ecx, dword [ecx + 8]
add edx, 1
add eax, 4
cmp edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
jl 0x412870
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [ebp + 8]
add ebx, dword [edx + 0x24]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], eax
jl 0x412851
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc0]
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x52], 0
jne 0x413073
mov ecx, dword [ebp + 0x18]
mov eax, 0x6408f8
call fcn.00404a80
test al, al
jne 0x413073
mov eax, dword [esp + 0x14]
test eax, eax
je 0x412a8b
cmp dword [eax + 0x70], 0
je 0x412a8b
cmp byte [edi + 0x76], 0
jne 0x4129da
cmp byte [eax + 0x76], 0
jne 0x412a8b
cmp dword [edi + 0x7c], 0
jle 0x4129f0
mov eax, dword [edi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x80]
push 0
push eax
call edx
push 0x64
lea eax, [esp + 0x8c]
push 0
push eax
call fcn.005b30e0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp byte [ecx + 0x51], 0
mov dword [esp + 0x88], 0x64
mov ebx, 0x1000000
je 0x412a23
mov ebx, 0x1008000
mov eax, edi
call fcn.0040c530
lea edx, [esp + 0x88]
push edx
mov esi, eax
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push ecx
call fcn.0040c530
add esp, 4
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14]
lea edx, [esp + 0x78]
push edx
push esi
call eax
cmp dword [edi + 0x7c], 0
jle 0x4155a0
mov eax, dword [edi + 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x64]
push 0
push 1
add edi, 0x80
push edi
push 0
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [edi + 0x75], 0
jne 0x4155a0
mov eax, edi
call fcn.0040c530
mov eax, dword [edi]
mov edx, dword [eax + 0xbc]
mov ecx, edi
call edx
test al, al
je 0x4155a0
mov ecx, dword [edi + 0x6c]
mov eax, dword [esi]
mov edx, dword [eax + 0x44]
push ecx
mov ecx, esi
call edx
cmp dword [esi + 0x48], 0
mov dword [esp + 0x40], eax
jne 0x412d8c
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 4]
imul eax, dword [ecx + 0x24]
add eax, dword [ebx]
mov edx, dword [esp + 0x40]
lea ecx, [edx + eax*4]
mov eax, dword [edi + 0xd4]
cmp eax, 0x10
jne 0x412c2e
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
sub eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 1
add eax, dword [ebp + 0xc]
cmp byte [esi + 0x51], 0
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
je 0x412bac
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x412d77
mov esi, eax
lea ebx, [ebx]
cmp dword [ebx + 8], 0
mov edx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
jle 0x412b6c
mov esi, ecx
mov eax, dword [esi]
add esi, 4
test eax, 0xff000000
je 0x412b55
mov word [edx], ax
mov eax, dword [esp + 0x10]
add eax, 1
add edx, 2
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
jl 0x412b46
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x90]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
lea esi, [esi + eax*2]
mov eax, dword [edx + 0x24]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jl 0x412b30
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x10], 0
jle 0x412d77
mov edi, edi
cmp dword [ebx + 8], 0
mov edx, ecx
mov dword [esp + 0x20], 0
jle 0x412bea
mov si, word [edx]
add dword [esp + 0x20], 1
mov word [eax], si
mov esi, dword [ebx + 8]
add eax, 2
add edx, 4
cmp dword [esp + 0x20], esi
jl 0x412bd0
mov eax, dword [edi + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x24]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x412bc0
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x20
jne 0x412d77
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
cmp byte [esi + 0x51], 0
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
je 0x412cff
cmp dword [ebx + 0xc], 0
jle 0x412d77
mov esi, eax
jmp 0x412c80
cmp dword [ebx + 8], 0
mov edx, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0
jle 0x412cbb
mov esi, ecx
mov eax, dword [esi]
add esi, 4
test eax, 0xff000000
je 0x412ca4
mov dword [edx], eax
mov eax, dword [esp + 0x10]
add eax, 1
add edx, 4
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
jl 0x412c96
mov esi, dword [esp + 0x14]
mov eax, dword [edi + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp + 8]
sar eax, 2
lea esi, [esi + eax*4]
mov eax, dword [edx + 0x24]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
jl 0x412c80
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
jle 0x412d77
mov esi, dword [ebx + 8]
test esi, esi
mov eax, ecx
mov dword [esp + 0x10], 0
jle 0x412d44
mov edx, dword [esp + 0x14]
sub edx, ecx
mov dword [esp + 0x24], edx
jmp 0x412d2a
mov edx, dword [esp + 0x24]
mov esi, dword [eax]
mov dword [edx + eax], esi
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 8]
add edx, 1
add eax, 4
cmp edx, esi
mov dword [esp + 0x10], edx
jl 0x412d26
mov eax, dword [edi + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x14]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x24]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
jl 0x412d0c
mov edx, dword [edi]
mov eax, dword [edx + 0xc0]
mov ecx, edi
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx + 4]
mov edx, dword [ebp + 8]
imul ecx, dword [edx + 0x24]
add ecx, dword [esi + 0x4c]
mov eax, dword [edi + 0xd4]
add ecx, dword [ebx]
cmp eax, 0x10
jne 0x412f08
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
sub eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 1
add eax, dword [ebp + 0xc]
cmp byte [esi + 0x51], 0
lea eax, [edx + eax*2]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
je 0x412e7a
cmp dword [ebx + 0xc], 0
jle 0x41305e
mov esi, eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x14], esi
mov edx, ecx
mov dword [esp + 0x10], 0
jle 0x412e3d
jmp 0x412e00
movzx eax, byte [edx]
mov esi, dword [esp + 0x40]
mov eax, dword [esi + eax*4]
add edx, 1
test eax, 0xff000000
je 0x412e24
mov esi, dword [esp + 0x14]
mov word [esi], ax
add esi, 2
mov dword [esp + 0x14], esi
jmp 0x412e29
add dword [esp + 0x14], 2
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
jl 0x412e00
mov esi, dword [esp + 0x34]
mov eax, dword [edi + 0x90]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x24]
sar eax, 1
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], eax
jl 0x412de7
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
jle 0x41305e
mov esi, dword [ebx + 8]
test esi, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
jle 0x412ec7
mov edx, dword [esp + 0x14]
movzx edx, byte [edx]
mov esi, dword [esp + 0x40]
mov dx, word [esi + edx*4]
add dword [esp + 0x14], 1
mov word [eax], dx
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 8]
add edx, 1
add eax, 2
cmp edx, esi
mov dword [esp + 0x10], edx
jl 0x412e9b
mov eax, dword [edi + 0x90]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
jl 0x412e87
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x20
jne 0x41305e
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
cmp byte [esi + 0x51], 0
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
je 0x412fe3
cmp dword [ebx + 0xc], 0
jle 0x41305e
mov esi, eax
cmp dword [ebx + 8], 0
mov dword [esp + 0x14], esi
mov edx, ecx
mov dword [esp + 0x10], 0
jle 0x412fa2
movzx eax, byte [edx]
mov esi, dword [esp + 0x40]
mov eax, dword [esi + eax*4]
add edx, 1
test eax, 0xff000000
je 0x412f89
mov esi, dword [esp + 0x14]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x14], esi
jmp 0x412f8e
add dword [esp + 0x14], 4
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
jl 0x412f66
mov esi, dword [esp + 0x34]
mov eax, dword [edi + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x24]
sar eax, 2
lea esi, [esi + eax*4]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], eax
jl 0x412f52
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 0xc], 0
jle 0x41305e
mov esi, dword [ebx + 8]
test esi, esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
jle 0x41302e
mov edx, dword [esp + 0x14]
movzx edx, byte [edx]
mov esi, dword [esp + 0x40]
mov edx, dword [esi + edx*4]
add dword [esp + 0x14], 1
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 8]
add edx, 1
add eax, 4
cmp edx, esi
mov dword [esp + 0x10], edx
jl 0x413004
mov eax, dword [edi + 0x90]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x34]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [ebp + 8]
add ecx, dword [edx + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
jl 0x412ff0
mov eax, dword [edi]
mov edx, dword [eax + 0xc0]
mov ecx, edi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [edi + 0x75], 0
jne 0x4155a0
mov eax, edi
call fcn.0040c530
mov eax, dword [edi]
mov edx, dword [eax + 0xbc]
mov ecx, edi
call edx
test al, al
je 0x4155a0
mov edx, dword [edi + 0x6c]
mov ecx, esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov esi, eax
mov eax, dword [edx + 0x48]
mov dword [esp + 0x5c], esi
call eax
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x48], 0
mov dword [esp + 0x30], eax
jne 0x4142e6
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 4]
imul edx, dword [eax + 0x24]
mov ecx, dword [ebx]
mov eax, dword [edi + 0xd4]
add ecx, edx
cmp eax, 0x10
lea edx, [esi + ecx*4]
mov dword [esp + 0x3c], edx
jne 0x413c7e
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
mov esi, dword [edi + 0xd8]
cdq
sub eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 1
add eax, dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0xdc]
mov edi, dword [edi + 0xe0]
add ecx, edx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], edi
call fcn.00404a40
test al, al
je 0x413672
mov eax, dword [esp + 0x28]
cmp eax, 0x7e0
jne 0x4132ea
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x415592
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 8]
test eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
jle 0x41329f
jmp 0x413194
mov eax, dword [esp + 0x14]
mov esi, dword [edx]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
mov bl, byte [esi]
movzx esi, bl
cmp esi, eax
jle 0x4131ab
mov bl, byte [esp + 0x14]
mov eax, dword [esp + 0x10]
shr eax, 0x18
mov esi, 0x100
sub esi, eax
cmp esi, 1
jne 0x4131e6
movzx esi, bl
test esi, esi
jle 0x413289
mov eax, esi
jmp 0x4131d0
mov di, word [edx]
mov word [ecx], di
add ecx, 2
add edx, 4
sub eax, 1
jne 0x4131d0
jmp 0x413289
cmp esi, 0x100
jne 0x4131fc
movzx esi, bl
lea ecx, [ecx + esi*2]
lea edx, [edx + esi*4]
jmp 0x413289
movzx edi, word [ecx]
mov eax, edi
shl eax, 0x10
or eax, edi
sar esi, 3
and eax, 0x7e0f81f
imul eax, esi
sar eax, 5
and eax, 0x7e0f81f
mov esi, eax
shr esi, 0x10
or esi, eax
add esi, dword [esp + 0x10]
add edx, 4
mov word [ecx], si
movzx esi, bl
add ecx, 2
cmp esi, 1
mov dword [esp + 0x24], esi
jle 0x413289
add esi, 0xffffffff
mov dword [esp + 0x10], esi
mov esi, dword [edx]
movzx edi, word [ecx]
mov ebx, esi
shr ebx, 0x18
mov eax, 0x100
sub eax, ebx
mov ebx, edi
shl ebx, 0x10
or ebx, edi
shr eax, 3
and ebx, 0x7e0f81f
imul eax, ebx
sar eax, 5
and eax, 0x7e0f81f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, esi
mov word [ecx], di
add edx, 4
add ecx, 2
sub dword [esp + 0x10], 1
jne 0x413240
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], esi
sub eax, esi
test eax, eax
mov dword [esp + 0x14], eax
jg 0x413190
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x44], eax
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], eax
jl 0x413164
jmp 0x415592
cmp eax, 0x3e0
jne 0x41348a
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x18], 0
jle 0x415592
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x14], eax
jle 0x41343f
jmp 0x413334
mov eax, dword [esp + 0x14]
mov esi, dword [edx]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x20]
mov bl, byte [esi]
movzx esi, bl
cmp esi, eax
jle 0x41334b
mov bl, byte [esp + 0x14]
mov eax, dword [esp + 0x10]
shr eax, 0x18
mov esi, 0x100
sub esi, eax
cmp esi, 1
jne 0x413386
movzx esi, bl
test esi, esi
jle 0x413429
mov eax, esi
jmp 0x413370
mov di, word [edx]
mov word [ecx], di
add ecx, 2
add edx, 4
sub eax, 1
jne 0x413370
jmp 0x413429
cmp esi, 0x100
jne 0x41339c
movzx esi, bl
lea ecx, [ecx + esi*2]
lea edx, [edx + esi*4]
jmp 0x413429
movzx edi, word [ecx]
mov eax, edi
shl eax, 0x10
or eax, edi
sar esi, 3
and eax, 0x3e07c1f
imul eax, esi
sar eax, 5
and eax, 0x3e07c1f
mov esi, eax
shr esi, 0x10
or esi, eax
add esi, dword [esp + 0x10]
add edx, 4
mov word [ecx], si
movzx esi, bl
add ecx, 2
cmp esi, 1
mov dword [esp + 0x24], esi
jle 0x413429
add esi, 0xffffffff
mov dword [esp + 0x10], esi
mov esi, dword [edx]
movzx edi, word [ecx]
mov ebx, esi
shr ebx, 0x18
mov eax, 0x100
sub eax, ebx
mov ebx, edi
shl ebx, 0x10
or ebx, edi
shr eax, 3
and ebx, 0x3e07c1f
imul eax, ebx
sar eax, 5
and eax, 0x3e07c1f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, esi
mov word [ecx], di
add edx, 4
add ecx, 2
sub dword [esp + 0x10], 1
jne 0x4133e0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], esi
sub eax, esi
test eax, eax
mov dword [esp + 0x14], eax
jg 0x413330
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x4c]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x44], eax
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], eax
jl 0x413307
jmp 0x415592
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x34], 0
jle 0x415592
mov ecx, dword [esp + 0x4c]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x44]
mov ebx, dword [edx + 8]
test ebx, ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x30], ebx
jle 0x41362b
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov dl, byte [edx]
mov byte [esp + 0x1f], dl
movzx edx, dl
cmp edx, ebx
jle 0x4134dd
mov byte [esp + 0x1f], bl
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
mov edx, 0x100
sub edx, ebx
cmp edx, 1
mov dword [esp + 0x18], edx
jne 0x413521
movzx edx, byte [esp + 0x1f]
test edx, edx
jle 0x413611
mov dword [esp + 0x10], edx
mov bx, word [eax]
mov word [ecx], bx
add ecx, 2
add eax, 4
sub dword [esp + 0x10], 1
jne 0x413505
mov dword [esp + 0x14], ecx
jmp 0x413611
cmp edx, 0x100
jne 0x41353d
movzx edx, byte [esp + 0x1f]
lea ecx, [ecx + edx*2]
mov dword [esp + 0x14], ecx
lea eax, [eax + edx*4]
jmp 0x413611
add eax, 4
mov dword [esp + 0x38], eax
movzx eax, word [ecx]
mov ecx, eax
and ecx, edi
imul ecx, edx
mov edx, eax
and edx, dword [esp + 0x28]
and eax, esi
imul edx, dword [esp + 0x18]
imul eax, dword [esp + 0x18]
shr edx, 8
and edx, dword [esp + 0x28]
shr ecx, 8
add edx, dword [esp + 0x10]
and ecx, edi
shr eax, 8
add edx, ecx
mov ecx, dword [esp + 0x14]
and eax, esi
add eax, edx
movzx edx, byte [esp + 0x1f]
mov word [ecx], ax
add ecx, 2
cmp edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
jle 0x41360d
add edx, 0xffffffff
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x38]
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
shr eax, 0x18
mov edx, 0x100
sub edx, eax
movzx eax, word [ecx]
mov ecx, eax
mov dword [esp + 0x10], edx
and ecx, edi
imul ecx, edx
mov edx, eax
and edx, dword [esp + 0x28]
and eax, esi
imul edx, dword [esp + 0x10]
imul eax, dword [esp + 0x10]
shr edx, 8
and edx, dword [esp + 0x28]
shr ecx, 8
add edx, dword [esp + 0x24]
and ecx, edi
shr eax, 8
add edx, ecx
mov ecx, dword [esp + 0x14]
and eax, esi
add eax, edx
mov word [ecx], ax
add ecx, 2
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ecx
jne 0x4135a0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
add dword [esp + 0x20], edx
sub ebx, edx
test ebx, ebx
mov dword [esp + 0x30], ebx
jg 0x4134c2
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
lea ecx, [ecx + eax*2]
mov eax, dword [edx + 0x24]
mov edx, dword [esp + 0x3c]
add dword [esp + 0x44], eax
lea edx, [edx + eax*4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], eax
jl 0x4134a0
jmp 0x415592
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
imul ecx, eax
mov dword [esp + 0x40], eax
mov eax, 0x80808081
imul ecx
mov eax, dword [ebp + 0x18]
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [eax + 4]
imul edx, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 8]
imul edx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x24]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, dword [esp + 0x30]
mov dword [esp + 0x60], eax
jne 0x413a69
cmp dword [esp + 0x30], eax
jne 0x413a69
mov eax, dword [esp + 0x28]
cmp eax, 0x7e0
jne 0x4138b8
sar ecx, 3
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], 0
jle 0x415592
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx + 8]
test ebx, ebx
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
jle 0x41386d
mov edx, dword [esp + 0x20]
mov al, byte [edx]
mov ecx, dword [edi]
movzx edx, al
cmp edx, ebx
jle 0x413757
mov al, bl
shr ecx, 0x18
cmp ecx, 0xff
jne 0x4137bb
cmp dword [esp + 0x40], ecx
jne 0x4137cd
movzx edx, al
test edx, edx
jle 0x41385b
mov ebx, edx
lea esp, [esp]
mov ecx, dword [edi]
mov eax, ecx
shl eax, 0x10
and ecx, 0xf81f
or eax, ecx
and eax, 0x7e0f81f
imul eax, dword [esp + 0x34]
shr eax, 5
and eax, 0x7e0f81f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov word [esi], cx
add edi, 4
add esi, 2
sub ebx, 1
jne 0x413780
jmp 0x413857
test ecx, ecx
jne 0x4137cd
movzx edx, al
lea esi, [esi + edx*2]
lea edi, [edi + edx*4]
jmp 0x41385b
movzx edx, al
test edx, edx
mov dword [esp + 0x24], edx
jle 0x41385b
mov dword [esp + 0x10], edx
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x40]
movzx ebx, word [esi]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
and ecx, 0xffff
mov edx, 0x100
sub edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xf81f
or eax, ecx
mov ecx, ebx
shl ecx, 0x10
sar edx, 3
and eax, 0x7e0f81f
imul eax, dword [esp + 0x34]
or ecx, ebx
and ecx, 0x7e0f81f
imul ecx, edx
add eax, ecx
shr eax, 5
and eax, 0x7e0f81f
mov edx, eax
shr edx, 0x10
or edx, eax
mov word [esi], dx
add edi, 4
add esi, 2
sub dword [esp + 0x10], 1
jne 0x4137e0
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
add dword [esp + 0x20], edx
sub ebx, edx
test ebx, ebx
mov dword [esp + 0x30], ebx
jg 0x413746
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
jl 0x413724
jmp 0x415592
cmp eax, 0x3e0
jne 0x413a69
sar ecx, 3
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], 0
jle 0x415592
lea esp, [esp]
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 8]
test ebx, ebx
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ebx
jle 0x413a1e
mov edx, dword [esp + 0x20]
mov al, byte [edx]
mov ecx, dword [edi]
movzx edx, al
cmp edx, ebx
jle 0x413913
mov al, bl
shr ecx, 0x18
cmp ecx, 0xff
jne 0x41396c
cmp dword [esp + 0x40], ecx
jne 0x41397e
movzx edx, al
test edx, edx
jle 0x413a0c
mov ebx, edx
mov ecx, dword [edi]
mov eax, ecx
shl eax, 0x10
and ecx, 0x7c1f
or eax, ecx
and eax, 0x3e07c1f
imul eax, dword [esp + 0x34]
shr eax, 5
and eax, 0x3e07c1f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov word [esi], cx
add edi, 4
add esi, 2
sub ebx, 1
jne 0x413931
jmp 0x413a08
test ecx, ecx
jne 0x41397e
movzx edx, al
lea esi, [esi + edx*2]
lea edi, [edi + edx*4]
jmp 0x413a0c
movzx edx, al
test edx, edx
mov dword [esp + 0x24], edx
jle 0x413a0c
mov dword [esp + 0x10], edx
mov ecx, dword [edi]
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x40]
movzx ebx, word [esi]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
and ecx, 0xffff
mov edx, 0x100
sub edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0x7c1f
or eax, ecx
mov ecx, ebx
shl ecx, 0x10
sar edx, 3
and eax, 0x3e07c1f
imul eax, dword [esp + 0x34]
or ecx, ebx
and ecx, 0x3e07c1f
imul ecx, edx
add eax, ecx
shr eax, 5
and eax, 0x3e07c1f
mov edx, eax
shr edx, 0x10
or edx, eax
mov word [esi], dx
add edi, 4
add esi, 2
sub dword [esp + 0x10], 1
jne 0x413991
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
add dword [esp + 0x20], edx
sub ebx, edx
test ebx, ebx
mov dword [esp + 0x30], ebx
jg 0x413902
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
jl 0x4138e0
jmp 0x415592
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x48], 0
jle 0x415592
jmp 0x413a80
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax + 8]
test ecx, ecx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x58], ecx
jle 0x413c33
mov eax, dword [edx]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov byte [esp + 0x1f], al
movzx eax, al
cmp eax, ecx
jg 0x413ac1
mov cl, byte [esp + 0x1f]
mov eax, dword [esp + 0x24]
shr eax, 0x18
cmp eax, 0xff
jne 0x413b4b
cmp dword [esp + 0x40], eax
jne 0x413b61
movzx eax, cl
test eax, eax
mov dword [esp + 0x20], eax
jle 0x413c1d
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [edx]
add edx, 4
mov dword [esp + 0x38], edx
mov edx, eax
and edx, edi
imul edx, dword [esp + 0x60]
mov ebx, eax
and ebx, ecx
imul ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
and eax, esi
imul eax, dword [esp + 0x34]
shr edx, 8
shr ebx, 8
and edx, edi
and ebx, ecx
add edx, ebx
mov ebx, dword [esp + 0x14]
shr eax, 8
and eax, esi
add edx, eax
mov word [ebx], dx
mov edx, dword [esp + 0x38]
add ebx, 2
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
jne 0x413af4
jmp 0x413c19
test eax, eax
jne 0x413b61
movzx eax, cl
lea ebx, [ebx + eax*2]
mov dword [esp + 0x14], ebx
lea edx, [edx + eax*4]
jmp 0x413c1d
movzx eax, cl
test eax, eax
mov dword [esp + 0x20], eax
jle 0x413c1d
mov dword [esp + 0x10], eax
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x38], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x40]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
mov edx, 0x100
sub edx, eax
movzx eax, word [ebx]
mov esi, eax
and esi, edi
imul esi, edx
mov ebx, ecx
and ebx, edi
imul ebx, dword [esp + 0x60]
add esi, ebx
shr esi, 8
and esi, edi
mov edi, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x28]
and edi, esi
imul edi, edx
mov edx, ecx
and edx, esi
imul edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
add edi, edx
mov edx, dword [esp + 0x24]
shr edi, 8
and edi, esi
mov esi, dword [esp + 0x2c]
and eax, esi
imul eax, dword [esp + 0x50]
and ecx, esi
imul ecx, dword [esp + 0x34]
add eax, ecx
add edx, edi
mov edi, dword [esp + 0x5c]
shr eax, 8
and eax, esi
add edx, eax
mov word [ebx], dx
mov edx, dword [esp + 0x38]
add ebx, 2
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
jne 0x413b74
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
add dword [esp + 0x18], eax
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x58], ecx
jg 0x413aa6
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x48], eax
jl 0x413a80
jmp 0x415592
cmp eax, 0x20
jne 0x415592
mov esi, edi
mov eax, dword [esi + 0x90]
imul eax, dword [ebp + 0x10]
mov ebx, dword [esi + 0xe0]
cdq
and edx, 3
add eax, edx
mov edx, dword [esi + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ebx
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xd8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0xdc]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x60], eax
mov eax, esi
mov dword [esp + 0x30], ecx
call fcn.00404a40
test al, al
je 0x413e81
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x58], 0
jle 0x415592
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
test eax, eax
mov dword [esp + 0x20], eax
jle 0x413e32
jmp 0x413d24
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov bl, byte [edi]
mov edx, dword [esi]
movzx edi, bl
cmp edi, eax
mov dword [esp + 0x50], edx
jle 0x413d39
mov bl, al
mov eax, edx
shr eax, 0x18
mov edx, 0x100
sub edx, eax
cmp edx, 1
jne 0x413d6b
movzx eax, bl
test eax, eax
jle 0x413e1c
mov edx, eax
mov edi, dword [esi]
mov dword [ecx], edi
add ecx, 4
add esi, 4
sub edx, 1
jne 0x413d57
jmp 0x413e1c
cmp edx, 0x100
jne 0x413d86
movzx eax, bl
lea edx, [eax*4]
add ecx, edx
add esi, edx
jmp 0x413e1c
mov eax, dword [ecx]
mov edi, eax
and edi, 0xff00ff
and eax, 0xff00
imul edi, edx
imul eax, edx
shr edi, 8
shr eax, 8
and edi, 0xff00ff
add edi, dword [esp + 0x50]
and eax, 0xff00
add eax, edi
mov dword [ecx], eax
movzx eax, bl
add esi, 4
add ecx, 4
cmp eax, 1
mov dword [esp + 0x50], eax
jle 0x413e1c
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov edi, dword [esi]
mov eax, edi
shr eax, 0x18
mov edx, 0x100
sub edx, eax
mov eax, dword [ecx]
mov ebx, eax
and ebx, 0xff00ff
and eax, 0xff00
imul ebx, edx
imul eax, edx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00
add ebx, edi
add eax, ebx
mov dword [ecx], eax
add esi, 4
add ecx, 4
sub dword [esp + 0x48], 1
jne 0x413dd1
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
add dword [esp + 0x18], eax
sub edx, eax
test edx, edx
mov dword [esp + 0x20], edx
jg 0x413d20
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x28]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x44], eax
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x58]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
jl 0x413cfb
jmp 0x415592
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
imul ecx, eax
mov dword [esp + 0x14], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
mov ecx, dword [esi + 4]
imul ecx, dword [esp + 0x14]
mov esi, dword [esi + 8]
imul esi, dword [esp + 0x14]
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x80808081
imul esi
add edx, esi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
jne 0x4140bb
cmp ecx, eax
jne 0x4140bb
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x58], 0
jle 0x415592
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
jle 0x41406c
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov ecx, dword [edx]
movzx ebx, al
cmp ebx, dword [esp + 0x30]
jle 0x413f45
mov al, byte [esp + 0x30]
shr ecx, 0x18
cmp ecx, 0xff
jne 0x413fac
cmp dword [esp + 0x14], ecx
jne 0x413fc3
movzx ecx, al
test ecx, ecx
jle 0x414056
mov dword [esp + 0x48], ecx
lea esp, [esp]
mov eax, dword [edx]
mov ebx, eax
and ebx, 0xff00ff
and eax, 0xff00
imul ebx, edi
imul eax, edi
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00
add ebx, eax
mov dword [esi], ebx
add edx, 4
add esi, 4
sub dword [esp + 0x48], 1
jne 0x413f70
jmp 0x414056
test ecx, ecx
jne 0x413fc3
movzx ecx, al
lea eax, [ecx*4]
add esi, eax
add edx, eax
jmp 0x414056
movzx ecx, al
test ecx, ecx
mov dword [esp + 0x50], ecx
jle 0x414056
mov dword [esp + 0x48], ecx
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x38], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x14]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
mov edx, 0x100
sub edx, eax
mov eax, dword [esi]
mov ebx, eax
and ebx, 0xff00ff
mov edi, ecx
imul ebx, edx
and edi, 0xff00ff
imul edi, dword [esp + 0x40]
add ebx, edi
mov edi, dword [esp + 0x40]
and eax, 0xff00
imul eax, edx
mov edx, dword [esp + 0x38]
and ecx, 0xff00
imul ecx, edi
add eax, ecx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00
add ebx, eax
mov dword [esi], ebx
add esi, 4
sub dword [esp + 0x48], 1
jne 0x413fd6
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
add dword [esp + 0x18], ecx
sub eax, ecx
test eax, eax
mov dword [esp + 0x30], eax
jg 0x413f30
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x28]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x44], eax
lea ecx, [edx + eax*4]
mov eax, dword [esp + 0x58]
mov edx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
jl 0x413f07
jmp 0x415592
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x2c], 0
jle 0x415592
mov ecx, dword [esp + 0x44]
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], ecx
jle 0x414297
jmp 0x414104
mov ecx, dword [esp + 0x20]
mov eax, dword [edx]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx edi, al
cmp edi, ecx
jle 0x41411b
mov al, byte [esp + 0x20]
mov ecx, dword [esp + 0x50]
shr ecx, 0x18
cmp ecx, 0xff
jne 0x4141aa
cmp dword [esp + 0x14], ecx
jne 0x4141c5
movzx edi, al
test edi, edi
mov dword [esp + 0x18], edi
jle 0x414281
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x30]
nop
mov eax, dword [edx]
mov ecx, eax
and ecx, ebx
imul ecx, dword [esp + 0x58]
shr ecx, 8
and ecx, ebx
mov ebx, eax
and ebx, edi
imul ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
shr ebx, 8
and ebx, edi
add ecx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x60]
and eax, ecx
imul eax, dword [esp + 0x40]
shr eax, 8
and eax, ecx
mov ecx, dword [esp + 0x50]
add ecx, eax
mov dword [esi], ecx
add edx, 4
add esi, 4
sub dword [esp + 0x48], 1
jne 0x414150
mov dword [esp + 0x4c], esi
jmp 0x41427d
test ecx, ecx
jne 0x4141c5
movzx edi, al
lea eax, [edi*4]
add esi, eax
mov dword [esp + 0x4c], esi
add edx, eax
jmp 0x414281
movzx edi, al
test edi, edi
mov dword [esp + 0x18], edi
jle 0x414281
mov dword [esp + 0x48], edi
jmp 0x4141e0
mov ecx, dword [edx]
add edx, 4
mov dword [esp + 0x38], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x14]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
mov edx, 0x100
sub edx, eax
mov eax, dword [esi]
mov edi, eax
and edi, ebx
imul edi, edx
mov esi, ecx
and esi, ebx
imul esi, dword [esp + 0x58]
add edi, esi
mov esi, dword [esp + 0x30]
mov ebx, eax
and ebx, esi
imul ebx, edx
mov dword [esp + 0x50], edx
mov edx, ecx
and edx, esi
imul edx, dword [esp + 0x5c]
add ebx, edx
mov edx, dword [esp + 0x60]
and eax, edx
imul eax, dword [esp + 0x50]
and ecx, edx
imul ecx, dword [esp + 0x40]
shr edi, 8
and edi, dword [esp + 0x34]
shr ebx, 8
and ebx, esi
mov esi, dword [esp + 0x4c]
add eax, ecx
shr eax, 8
add edi, ebx
mov ebx, dword [esp + 0x34]
and eax, edx
mov edx, dword [esp + 0x38]
add edi, eax
mov dword [esi], edi
add esi, 4
sub dword [esp + 0x48], 1
mov dword [esp + 0x4c], esi
jne 0x4141e0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], edi
sub eax, edi
test eax, eax
mov dword [esp + 0x20], eax
jg 0x414100
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x28]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x3c]
add dword [esp + 0x44], eax
mov dword [esp + 0x28], edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
jl 0x4140d0
jmp 0x415592
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
imul ecx, dword [edx + 0x24]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebx]
add eax, ecx
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xd4]
cmp eax, 0x10
jne 0x414ef4
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
sub eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 1
add eax, dword [ebp + 0xc]
lea eax, [edx + eax*2]
mov edx, dword [ebx]
mov dword [esp + 0x44], eax
lea eax, [ecx + edx]
add eax, dword [esp + 0x30]
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xd8]
mov edi, dword [edi + 0xe0]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x5c], edi
call fcn.00404a40
test al, al
je 0x4148b3
mov eax, dword [esp + 0x28]
cmp eax, 0x7e0
jne 0x414517
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x48], 0
jle 0x415592
jmp 0x414390
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x38]
mov ebx, dword [eax + 8]
test ebx, ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
jle 0x4144d3
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx edi, al
cmp edi, ebx
mov byte [esp + 0x1f], al
jle 0x4143d5
mov al, byte [esp + 0x18]
mov byte [esp + 0x1f], al
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
mov edi, 0x100
sub edi, ebx
cmp edi, 1
jne 0x41440f
movzx edi, al
test edi, edi
jle 0x4144bd
mov eax, edi
movzx ebx, byte [edx]
mov bx, word [esi + ebx*4]
mov word [ecx], bx
add ecx, 2
add edx, 1
sub eax, 1
jne 0x4143f5
jmp 0x4144bd
cmp edi, 0x100
jne 0x414424
movzx edi, al
lea ecx, [ecx + edi*2]
add edx, edi
jmp 0x4144bd
movzx ebx, word [ecx]
mov eax, ebx
shl eax, 0x10
or eax, ebx
sar edi, 3
and eax, 0x7e0f81f
imul eax, edi
sar eax, 5
and eax, 0x7e0f81f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, dword [esp + 0x2c]
add edx, 1
mov word [ecx], di
movzx edi, byte [esp + 0x1f]
add ecx, 2
cmp edi, 1
mov dword [esp + 0x24], edi
jle 0x4144bd
add edi, 0xffffffff
mov dword [esp + 0x2c], edi
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
movzx edi, word [ecx]
mov ebx, eax
mov dword [esp + 0x50], eax
shr ebx, 0x18
mov eax, 0x100
sub eax, ebx
mov ebx, edi
shl ebx, 0x10
or ebx, edi
shr eax, 3
and ebx, 0x7e0f81f
imul eax, ebx
sar eax, 5
and eax, 0x7e0f81f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, dword [esp + 0x50]
add edx, 1
mov word [ecx], di
add ecx, 2
sub dword [esp + 0x2c], 1
jne 0x41446a
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add dword [esp + 0x10], edi
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x18], ebx
jg 0x4143b2
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x48], eax
jl 0x414390
jmp 0x415592
cmp eax, 0x3e0
jne 0x4146c2
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x48], 0
jle 0x415592
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 8]
test ebx, ebx
mov dword [esp + 0x18], ebx
jle 0x41467e
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx edi, al
cmp edi, ebx
mov byte [esp + 0x1f], al
jle 0x414579
mov al, byte [esp + 0x18]
mov byte [esp + 0x1f], al
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
mov edi, 0x100
sub edi, ebx
cmp edi, 1
jne 0x4145ba
movzx edi, al
test edi, edi
jle 0x414668
mov eax, edi
lea esp, [esp]
movzx ebx, byte [edx]
mov bx, word [esi + ebx*4]
mov word [ecx], bx
add ecx, 2
add edx, 1
sub eax, 1
jne 0x4145a0
jmp 0x414668
cmp edi, 0x100
jne 0x4145cf
movzx edi, al
lea ecx, [ecx + edi*2]
add edx, edi
jmp 0x414668
movzx ebx, word [ecx]
mov eax, ebx
shl eax, 0x10
or eax, ebx
sar edi, 3
and eax, 0x3e07c1f
imul eax, edi
sar eax, 5
and eax, 0x3e07c1f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, dword [esp + 0x2c]
add edx, 1
mov word [ecx], di
movzx edi, byte [esp + 0x1f]
add ecx, 2
cmp edi, 1
mov dword [esp + 0x24], edi
jle 0x414668
add edi, 0xffffffff
mov dword [esp + 0x2c], edi
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
movzx edi, word [ecx]
mov ebx, eax
mov dword [esp + 0x50], eax
shr ebx, 0x18
mov eax, 0x100
sub eax, ebx
mov ebx, edi
shl ebx, 0x10
or ebx, edi
shr eax, 3
and ebx, 0x3e07c1f
imul eax, ebx
sar eax, 5
and eax, 0x3e07c1f
mov edi, eax
shr edi, 0x10
or edi, eax
add edi, dword [esp + 0x50]
add edx, 1
mov word [ecx], di
add ecx, 2
sub dword [esp + 0x2c], 1
jne 0x414615
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x18]
add dword [esp + 0x10], edi
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x18], ebx
jg 0x414556
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x44]
sar eax, 1
lea eax, [edx + eax*2]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x48], eax
jl 0x414534
jmp 0x415592
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x5c], 0
jle 0x415592
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x38]
mov ebx, dword [edx + 8]
test ebx, ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x58], ebx
jle 0x41486f
movzx edx, byte [eax]
mov edx, dword [esi + edx*4]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov dl, byte [edx]
mov byte [esp + 0x1f], dl
movzx edx, dl
cmp edx, ebx
jle 0x414719
mov byte [esp + 0x1f], bl
mov ebx, dword [esp + 0x2c]
shr ebx, 0x18
mov edx, 0x100
sub edx, ebx
cmp edx, 1
jne 0x414760
movzx edx, byte [esp + 0x1f]
test edx, edx
jle 0x414859
mov dword [esp + 0x2c], edx
lea ecx, [ecx]
movzx ebx, byte [eax]
mov bx, word [esi + ebx*4]
mov word [ecx], bx
add ecx, 2
add eax, 1
sub dword [esp + 0x2c], 1
jne 0x414740
mov dword [esp + 0x14], ecx
jmp 0x414859
cmp edx, 0x100
jne 0x41477b
movzx edx, byte [esp + 0x1f]
lea ecx, [ecx + edx*2]
mov dword [esp + 0x14], ecx
add eax, edx
jmp 0x414859
add eax, 1
mov dword [esp + 0x4c], eax
movzx eax, word [ecx]
mov ebx, eax
and ebx, dword [esp + 0x28]
mov ecx, eax
and eax, dword [esp + 0x40]
imul ebx, edx
and ecx, edi
imul eax, edx
imul ecx, edx
movzx edx, byte [esp + 0x1f]
shr ebx, 8
and ebx, dword [esp + 0x28]
shr ecx, 8
add ebx, dword [esp + 0x2c]
and ecx, edi
shr eax, 8
and eax, dword [esp + 0x40]
add ebx, ecx
mov ecx, dword [esp + 0x14]
add eax, ebx
mov word [ecx], ax
add ecx, 2
cmp edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], edx
jle 0x414855
add edx, 0xffffffff
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x4c]
movzx edx, byte [eax]
mov edx, dword [esi + edx*4]
movzx ecx, word [ecx]
mov ebx, edx
add eax, 1
shr ebx, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov eax, 0x100
sub eax, ebx
mov ebx, dword [esp + 0x40]
and ebx, ecx
mov ecx, dword [esp + 0x28]
imul ebx, eax
and ecx, dword [esp + 0x2c]
shr ebx, 8
imul ecx, eax
and ebx, dword [esp + 0x40]
shr ecx, 8
and ecx, dword [esp + 0x28]
mov dword [esp + 0x50], eax
add ecx, edx
mov edx, edi
and edx, dword [esp + 0x2c]
add ecx, ebx
imul edx, eax
shr edx, 8
and edx, edi
add edx, ecx
mov ecx, dword [esp + 0x14]
mov word [ecx], dx
add ecx, 2
sub dword [esp + 0x48], 1
mov dword [esp + 0x14], ecx
jne 0x4147de
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x58]
add dword [esp + 0x10], edx
sub ebx, edx
test ebx, ebx
mov dword [esp + 0x58], ebx
jg 0x4146fa
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], eax
jl 0x4146d4
jmp 0x415592
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
imul ecx, eax
mov dword [esp + 0x34], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp + 0x18]
mov edx, dword [edx + 4]
imul edx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [eax + 8]
imul edx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x50]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
jne 0x414cc2
cmp dword [esp + 0x20], eax
jne 0x414cc2
mov eax, dword [esp + 0x28]
cmp eax, 0x7e0
jne 0x414b00
sar ecx, 3
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], 0
jle 0x415592
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
test eax, eax
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jle 0x414abc
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
movzx ebx, al
cmp ebx, dword [esp + 0x20]
jle 0x4149a0
mov al, byte [esp + 0x20]
shr ecx, 0x18
cmp ecx, 0xff
jne 0x414a00
cmp dword [esp + 0x34], ecx
jne 0x414a11
movzx ebx, al
test ebx, ebx
jle 0x414aa6
mov dword [esp + 0x2c], ebx
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
mov eax, ecx
and eax, 0xf81f
shl ecx, 0x10
or eax, ecx
and eax, 0x7e0f81f
imul eax, dword [esp + 0x14]
shr eax, 5
and eax, 0x7e0f81f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov word [edi], cx
add edx, 1
add edi, 2
sub dword [esp + 0x2c], 1
jne 0x4149c0
jmp 0x414aa6
test ecx, ecx
jne 0x414a11
movzx ebx, al
lea edi, [edi + ebx*2]
add edx, ebx
jmp 0x414aa6
movzx ebx, al
test ebx, ebx
mov dword [esp + 0x50], ebx
jle 0x414aa6
mov dword [esp + 0x2c], ebx
movzx eax, byte [edx]
mov ecx, dword [esi + eax*4]
add edx, 1
mov dword [esp + 0x4c], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x34]
movzx ebx, word [edi]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
and ecx, 0xffff
mov edx, 0x100
sub edx, eax
mov eax, ecx
and eax, 0xf81f
shl ecx, 0x10
or eax, ecx
mov ecx, ebx
shl ecx, 0x10
sar edx, 3
and eax, 0x7e0f81f
imul eax, dword [esp + 0x14]
or ecx, ebx
and ecx, 0x7e0f81f
imul ecx, edx
add eax, ecx
shr eax, 5
and eax, 0x7e0f81f
mov edx, eax
shr edx, 0x10
or edx, eax
mov word [edi], dx
mov edx, dword [esp + 0x4c]
add edi, 2
sub dword [esp + 0x2c], 1
jne 0x414a24
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], ebx
sub eax, ebx
test eax, eax
mov dword [esp + 0x20], eax
jg 0x414987
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jl 0x414965
jmp 0x415592
cmp eax, 0x3e0
jne 0x414cc2
sar ecx, 3
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x48], 0
jle 0x415592
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 8]
test eax, eax
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
jle 0x414c7e
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
movzx ebx, al
cmp ebx, dword [esp + 0x20]
jle 0x414b5f
mov al, byte [esp + 0x20]
shr ecx, 0x18
cmp ecx, 0xff
jne 0x414bc1
cmp dword [esp + 0x34], ecx
jne 0x414bd2
movzx ebx, al
test ebx, ebx
jle 0x414c68
mov dword [esp + 0x2c], ebx
nop
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
mov eax, ecx
shl eax, 0x10
and ecx, 0x7c1f
or eax, ecx
and eax, 0x3e07c1f
imul eax, dword [esp + 0x14]
shr eax, 5
and eax, 0x3e07c1f
mov ecx, eax
shr ecx, 0x10
or ecx, eax
mov word [edi], cx
add edx, 1
add edi, 2
sub dword [esp + 0x2c], 1
jne 0x414b80
jmp 0x414c68
test ecx, ecx
jne 0x414bd2
movzx ebx, al
lea edi, [edi + ebx*2]
add edx, ebx
jmp 0x414c68
movzx ebx, al
test ebx, ebx
mov dword [esp + 0x50], ebx
jle 0x414c68
mov dword [esp + 0x2c], ebx
movzx eax, byte [edx]
mov ecx, dword [esi + eax*4]
add edx, 1
mov dword [esp + 0x4c], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x34]
movzx ebx, word [edi]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
and ecx, 0xffff
mov edx, 0x100
sub edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0x7c1f
or eax, ecx
mov ecx, ebx
shl ecx, 0x10
sar edx, 3
and eax, 0x3e07c1f
imul eax, dword [esp + 0x14]
or ecx, ebx
and ecx, 0x3e07c1f
imul ecx, edx
add eax, ecx
shr eax, 5
and eax, 0x3e07c1f
mov edx, eax
shr edx, 0x10
or edx, eax
mov word [edi], dx
mov edx, dword [esp + 0x4c]
add edi, 2
sub dword [esp + 0x2c], 1
jne 0x414be5
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], ebx
sub eax, ebx
test eax, eax
mov dword [esp + 0x20], eax
jg 0x414b46
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jl 0x414b24
jmp 0x415592
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x24], 0
jle 0x415592
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [edx + 8]
test ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x60], ebx
jle 0x414eb0
movzx edx, byte [eax]
mov edx, dword [esi + edx*4]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
mov dl, byte [edx]
mov byte [esp + 0x1f], dl
movzx edx, dl
cmp edx, ebx
jg 0x414d19
mov bl, byte [esp + 0x1f]
mov edx, dword [esp + 0x50]
shr edx, 0x18
cmp edx, 0xff
jne 0x414db3
cmp dword [esp + 0x34], edx
jne 0x414dc8
movzx edx, bl
test edx, edx
mov dword [esp + 0x10], edx
jle 0x414e9a
mov dword [esp + 0x2c], edx
lea esp, [esp]
movzx edx, byte [eax]
mov edx, dword [esi + edx*4]
mov ebx, dword [esp + 0x28]
add eax, 1
mov dword [esp + 0x4c], eax
and ebx, edx
imul ebx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov eax, edi
and eax, edx
imul eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
and edx, dword [esp + 0x50]
shr eax, 8
imul edx, dword [esp + 0x14]
shr ebx, 8
and ebx, dword [esp + 0x28]
and eax, edi
shr edx, 8
and edx, dword [esp + 0x40]
add eax, ebx
add eax, edx
mov word [ecx], ax
mov eax, dword [esp + 0x4c]
add ecx, 2
sub dword [esp + 0x2c], 1
jne 0x414d50
mov dword [esp + 0x30], ecx
jmp 0x414e96
test edx, edx
jne 0x414dc8
movzx edx, bl
lea ecx, [ecx + edx*2]
mov dword [esp + 0x30], ecx
add eax, edx
jmp 0x414e9a
movzx edx, bl
test edx, edx
mov dword [esp + 0x10], edx
jle 0x414e9a
mov dword [esp + 0x58], edx
jmp 0x414de0
movzx edx, byte [eax]
mov ebx, dword [esi + edx*4]
movzx ecx, word [ecx]
mov edx, ebx
shr edx, 0x18
imul edx, dword [esp + 0x34]
add eax, 1
mov dword [esp + 0x4c], eax
mov eax, 0x80808081
mul edx
shr edx, 7
mov dword [esp + 0x50], ecx
mov eax, 0x100
sub eax, edx
mov edx, edi
and edx, ecx
mov ecx, edi
imul edx, eax
and ecx, ebx
imul ecx, dword [esp + 0x48]
add edx, ecx
mov ecx, dword [esp + 0x28]
shr edx, 8
and edx, edi
mov edi, ecx
and edi, dword [esp + 0x50]
and ecx, ebx
imul ecx, dword [esp + 0x20]
imul edi, eax
add edi, ecx
mov ecx, dword [esp + 0x30]
shr edi, 8
and edi, dword [esp + 0x28]
add ecx, 2
add edx, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x50], edx
movzx edx, word [ecx - 2]
and edi, edx
mov edx, dword [esp + 0x40]
imul edi, eax
mov eax, dword [esp + 0x50]
and edx, ebx
imul edx, dword [esp + 0x14]
add edi, edx
shr edi, 8
and edi, dword [esp + 0x40]
mov dword [esp + 0x2c], ebx
add eax, edi
sub dword [esp + 0x58], 1
mov edi, dword [esp + 0x5c]
mov word [ecx - 2], ax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
jne 0x414de0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x60]
add dword [esp + 0x18], edx
sub ebx, edx
test ebx, ebx
mov dword [esp + 0x60], ebx
jg 0x414cfa
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x44]
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], eax
jl 0x414cd4
jmp 0x415592
cmp eax, 0x20
jne 0x415592
mov eax, dword [edi + 0x90]
imul eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
mov edx, dword [edi + 0xa4]
sar eax, 2
add eax, dword [ebp + 0xc]
lea eax, [edx + eax*4]
mov edx, dword [ebx]
mov ebx, dword [edi + 0xe0]
mov dword [esp + 0x40], eax
lea eax, [ecx + edx]
add eax, dword [esp + 0x30]
mov ecx, dword [edi + 0xdc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], ebx
call fcn.00404a40
test al, al
je 0x415101
mov edx, dword [ebp + 0x14]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x48], 0
jle 0x415592
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
test edx, edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
jle 0x4150b9
movzx eax, byte [edi]
mov eax, dword [esi + eax*4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
movzx ebx, al
cmp ebx, edx
mov byte [esp + 0x1f], al
jle 0x414fb3
mov al, dl
mov byte [esp + 0x1f], al
mov ebx, dword [esp + 0x24]
shr ebx, 0x18
mov edx, 0x100
sub edx, ebx
cmp edx, 1
jne 0x414feb
movzx eax, al
test eax, eax
jle 0x4150a3
mov edx, eax
movzx ebx, byte [edi]
mov ebx, dword [esi + ebx*4]
mov dword [ecx], ebx
add ecx, 4
add edi, 1
sub edx, 1
jne 0x414fd3
jmp 0x4150a3
cmp edx, 0x100
jne 0x415000
movzx eax, al
lea ecx, [ecx + eax*4]
add edi, eax
jmp 0x4150a3
mov eax, dword [ecx]
mov ebx, eax
and ebx, 0xff00ff
and eax, 0xff00
imul ebx, edx
imul eax, edx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
add ebx, dword [esp + 0x24]
and eax, 0xff00
add eax, ebx
mov dword [ecx], eax
movzx eax, byte [esp + 0x1f]
add edi, 1
add ecx, 4
cmp eax, 1
mov dword [esp + 0x58], eax
jle 0x4150a3
add eax, 0xffffffff
mov dword [esp + 0x24], eax
lea esp, [esp]
movzx edx, byte [edi]
mov eax, dword [esi + edx*4]
mov dword [esp + 0x50], eax
shr eax, 0x18
mov edx, 0x100
sub edx, eax
mov eax, dword [ecx]
mov ebx, eax
and ebx, 0xff00ff
imul ebx, edx
and eax, 0xff00
imul eax, edx
shr ebx, 8
and ebx, 0xff00ff
add ebx, dword [esp + 0x50]
shr eax, 8
and eax, 0xff00
add eax, ebx
mov dword [ecx], eax
add edi, 1
add ecx, 4
sub dword [esp + 0x24], 1
jne 0x415050
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x2c]
add dword [esp + 0x10], eax
sub edx, eax
test edx, edx
mov dword [esp + 0x2c], edx
jg 0x414f92
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x40]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], eax
jl 0x414f70
jmp 0x415592
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
imul ecx, eax
mov dword [esp + 0x14], eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + 4]
imul ecx, dword [esp + 0x14]
mov eax, 0x80808081
imul ecx
mov eax, dword [ebp + 0x18]
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [eax + 8]
imul edx, dword [esp + 0x14]
mov dword [esp + 0x50], edx
mov eax, 0x80808081
imul edx
add edx, dword [esp + 0x50]
mov dword [esp + 0x34], edi
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], eax
jne 0x41535c
cmp ecx, eax
jne 0x41535c
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x2c], 0
jle 0x415592
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 8]
test eax, eax
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
jle 0x415314
lea esp, [esp]
mov eax, dword [esp + 0x18]
mov al, byte [eax]
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
movzx ebx, al
cmp ebx, dword [esp + 0x30]
jle 0x4151d9
mov al, byte [esp + 0x30]
shr ecx, 0x18
cmp ecx, 0xff
jne 0x415245
cmp dword [esp + 0x14], ecx
jne 0x41525a
movzx eax, al
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4152fe
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
mov ebx, eax
and ebx, 0xff00ff
and eax, 0xff00
imul ebx, ecx
imul eax, ecx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00
add ebx, eax
mov dword [edi], ebx
add edx, 1
add edi, 4
sub dword [esp + 0x24], 1
jne 0x415201
mov dword [esp + 0x20], edi
jmp 0x4152fa
test ecx, ecx
jne 0x41525a
movzx eax, al
lea edi, [edi + eax*4]
mov dword [esp + 0x20], edi
add edx, eax
jmp 0x4152fe
movzx eax, al
test eax, eax
mov dword [esp + 0x10], eax
jle 0x4152fe
mov dword [esp + 0x24], eax
lea ecx, [ecx]
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
add edx, 1
mov dword [esp + 0x4c], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x14]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
mov edx, 0x100
sub edx, eax
mov eax, dword [edi]
mov ebx, eax
and ebx, 0xff00ff
mov edi, ecx
imul ebx, edx
and eax, 0xff00
and edi, 0xff00ff
imul eax, edx
imul edi, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
and ecx, 0xff00
imul ecx, dword [esp + 0x34]
add ebx, edi
mov edi, dword [esp + 0x20]
add eax, ecx
shr ebx, 8
shr eax, 8
and ebx, 0xff00ff
and eax, 0xff00
add ebx, eax
mov dword [edi], ebx
add edi, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], edi
jne 0x415270
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
add dword [esp + 0x18], eax
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x30], ecx
jg 0x4151c0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 0x90]
mov ecx, dword [ebp + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x40]
sar eax, 2
lea eax, [edx + eax*4]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [edx + 0xc]
mov dword [esp + 0x2c], eax
jl 0x415196
jmp 0x415592
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xc], 0
mov dword [esp + 0x44], 0
jle 0x415592
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x60], ecx
jle 0x41554f
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov al, byte [eax]
mov byte [esp + 0x1f], al
movzx eax, al
cmp eax, ecx
jg 0x4153b6
mov cl, byte [esp + 0x1f]
mov eax, dword [esp + 0x50]
shr eax, 0x18
cmp eax, 0xff
jne 0x415456
cmp dword [esp + 0x14], eax
jne 0x41546b
movzx eax, cl
test eax, eax
mov dword [esp + 0x10], eax
jle 0x415539
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
lea esp, [esp]
movzx eax, byte [edx]
mov eax, dword [esi + eax*4]
add edx, 1
mov dword [esp + 0x4c], edx
mov edx, eax
and edx, ebx
imul edx, dword [esp + 0x2c]
shr edx, 8
and edx, ebx
mov ebx, eax
and ebx, ecx
imul ebx, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
shr ebx, 8
and ebx, ecx
add edx, ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x58]
and eax, edx
imul eax, dword [esp + 0x34]
shr eax, 8
and eax, edx
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [edi], edx
mov edx, dword [esp + 0x4c]
add edi, 4
sub dword [esp + 0x24], 1
jne 0x4153f0
mov dword [esp + 0x30], edi
jmp 0x415535
test eax, eax
jne 0x41546b
movzx eax, cl
lea edi, [edi + eax*4]
mov dword [esp + 0x30], edi
add edx, eax
jmp 0x415539
movzx eax, cl
test eax, eax
mov dword [esp + 0x10], eax
jle 0x415539
mov dword [esp + 0x24], eax
mov edi, edi
movzx ecx, byte [edx]
mov ecx, dword [esi + ecx*4]
add edx, 1
mov dword [esp + 0x4c], edx
mov edx, ecx
shr edx, 0x18
imul edx, dword [esp + 0x14]
mov eax, 0x80808081
mul edx
shr edx, 7
mov eax, edx
mov edx, 0x100
sub edx, eax
mov eax, dword [edi]
mov esi, eax
and esi, ebx
imul esi, edx
mov edi, ecx
and edi, ebx
imul edi, dword [esp + 0x2c]
add esi, edi
shr esi, 8
and esi, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x20]
and edi, esi
imul edi, edx
mov dword [esp + 0x64], edx
mov edx, ecx
and edx, esi
imul edx, dword [esp + 0x48]
add edi, edx
mov edx, dword [esp + 0x50]
shr edi, 8
and edi, esi
add edx, edi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x58]
and eax, edx
imul eax, dword [esp + 0x64]
and ecx, edx
imul ecx, dword [esp + 0x34]
add eax, ecx
mov ecx, dword [esp + 0x50]
shr eax, 8
and eax, edx
mov edx, dword [esp + 0x4c]
add ecx, eax
mov dword [edi], ecx
add edi, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x30], edi
jne 0x415480
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
add dword [esp + 0x18], eax
sub ecx, eax
test ecx, ecx
mov dword [esp + 0x60], ecx
jg 0x415397
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x90]
mov ecx, dword [esp + 0x40]
cdq
and edx, 3
add eax, edx
sar eax, 2
lea edx, [ecx + eax*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [esp + 0x3c], eax
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [ebp + 0x14]
add eax, 1
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jl 0x415371
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc0]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14