Function at 0x67b0c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x730
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x728], 0
mov dword [esp + 0x724], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x710], xmm0
movaps xmmword [esp + 0x6f0], xmm0
movaps xmmword [esp + 0x6e0], xmm0
movaps xmmword [esp + 0x6d0], xmm0
movaps xmmword [esp + 0x6c0], xmm0
mov byte [esp + 0x700], 0
movaps xmmword [esp + 0x6b0], xmm0
lea eax, [esp + 0x4b0]
mov dword [esp], eax
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
call fcn.007ce3c0
mov dword [esp + 0x4ac], 0
mov dword [esp + 0x4a8], 0
lea eax, [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 8], 0x400
mov dword [esp + 4], 0
call fcn.007ce3c0
test ebx, ebx
sete al
mov ecx, ebx
or ecx, 2
mov edx, ebx
xor edx, 2
add edx, ecx
setne cl
cmp esi, 0x30
sbb dl, dl
imul esi, esi
and esi, 3
cmp esi, 2
sbb ah, ah
and ah, dl
xor edx, edx
mov dword [esp + 0x38], 0x66
xor esi, esi
test ah, 1
jne 0x67b96c
test edi, edi
je 0x67b97a
and al, cl
jne 0x67b97e
cmp dword [ebp + 0x14], 0
mov eax, 0
je 0x67b9c7
mov eax, dword [edi]
lea ecx, [esp + 0x728]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x724]
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00671530
xor esi, esi
test eax, eax
jne 0x67b970
mov ecx, eax
and ecx, 1
xor ecx, eax
mov dword [esp + 0x38], eax
not ecx
test ecx, ecx
mov eax, 0
mov edx, 0
je 0x67b9c7
mov eax, dword [esp + 0x728]
mov dword [esp], eax
mov dword [esp + 4], 0x118
call fcn.00493840
mov esi, eax
mov dword [esp + 0x38], 0x67
test esi, esi
jne 0x67b25c
mov eax, esi
not eax
and eax, 1
add eax, esi
jne 0x67b974
mov eax, dword [ebx + 0xc]
add eax, dword [ebx]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x28], ecx
mov dword [edi + 0x108], 0
lea eax, [ecx + eax + 0x3f7]
shr eax, 3
mov ecx, 0x20408103
mul ecx
shr edx, 4
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x728]
mov eax, edx
or eax, 2
mov ebx, edx
xor ebx, 2
add ebx, eax
setne al
movzx ebx, al
mov eax, edx
sub eax, ebx
add eax, ecx
mov dword [esp + 0x34], eax
xor edx, edx
div ecx
mov eax, ecx
mov ebx, esi
xor esi, esi
test eax, eax
je 0x67b38e
imul eax, eax
and eax, 3
cmp eax, 2
je 0x67b38e
sub dword [esp + 0x34], edx
mov dword [esp + 0x3c], 1
nop word cs:[eax + eax]
mov eax, dword [esp + 0x724]
mov eax, dword [eax + esi*4]
imul edi, esi, 0x118
lea ecx, [ebx + edi]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0x101
call fcn.007cd670
xor edx, edx
mov eax, dword [esp + 0x34]
div dword [esp + 0x728]
mov ecx, eax
imul ecx, esi
mov edx, dword [esp + 0x30]
sub edx, ecx
cmp edx, eax
cmovae edx, eax
mov dword [ebx + edi + 0x10c], edx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + edi + 0x110], ecx
lea eax, [edx + ecx - 1]
mov dword [ebx + edi + 0x114], eax
add ecx, edx
mov dword [esp + 0x3c], ecx
shl edx, 0xa
or edx, 0x200
mov dword [ebx + edi + 0x104], edx
mov edi, dword [ebp + 8]
add dword [edi + 0x108], edx
mov eax, 3
sub eax, esi
xor eax, esi
setne al
movzx eax, al
add esi, eax
cmp esi, dword [esp + 0x728]
jb 0x67b2f0
mov dword [esp + 4], 0x60
mov dword [esp], 1
call fcn.00493840
xor edx, edx
test eax, eax
je 0x67b98e
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
mov esi, ebx
je 0x67b9c7
mov ecx, dword [esp + 0x28]
add ecx, dword [esp + 0x2c]
mov dword [eax], 0x46524731
mov dword [eax + 4], ecx
lea ecx, [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 8], 0x30
mov ebx, eax
mov dword [esp + 0x3c], ebx
call fcn.007c51d0
mov word [ebx + 0x54], 1
lea eax, [ebx + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0067a980
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x67b982
lea ebx, [esp + 0x710]
mov dword [esp], ebx
mov dword [esp + 4], 0x10
call fcn.0067a980
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x67b982
mov dword [esp + 0x30], esi
lea eax, [edi + 0x110]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], 0x10
call fcn.007c51d0
mov dword [esp + 0x4a8], 0x1adfe4e3
lea edi, [esp + 0x4a8]
mov dword [esp], edi
mov dword [esp + 8], 0x1e23de34
mov dword [esp + 4], 4
call fcn.007ca970
mov dword [esp + 0x4ac], eax
mov esi, dword [esp + 0x3c]
add esi, 0x38
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 0x10], 0x10
mov dword [esp + 4], 0x10
call fcn.0067a820
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x67b992
mov dword [esp], esi
mov dword [esp + 8], 0x1e23de34
mov dword [esp + 4], 0x10
call fcn.007ca970
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x48], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esp + 8], eax
lea esi, [esp + 0x6b0]
mov dword [esp], esi
mov dword [esp + 4], 0x10
call fcn.0067a720
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 2
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x67b99d
lea eax, [edi + 0x120]
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [esp + 8], 0x10
call fcn.007c51d0
mov esi, dword [esp + 0x30]
mov eax, dword [esi + 0x104]
mov dword [esp + 4], eax
mov dword [esp], 1
call fcn.00493840
test eax, eax
je 0x67b9be
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4a8], 0x725db5a3
lea eax, [esp + 0x4a8]
mov ebx, eax
mov dword [esp], ebx
mov dword [esp + 8], 0x1e23de34
mov dword [esp + 4], 4
call fcn.007ca970
mov dword [esp + 0x4ac], eax
lea eax, [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 8], 0xf3d456ab
mov dword [esp + 4], 0x3fc
call fcn.007ca970
mov dword [esp + 0xa8], eax
lea edi, [esp + 0xa8]
mov dword [esp + 0x14], edi
lea eax, [esp + 0x710]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], edi
mov dword [esp + 0x10], 0x10
mov dword [esp + 4], 0x400
call fcn.0067a820
test eax, eax
jne 0x67b9ad
mov ebx, edi
mov ecx, dword [esi + 0x10c]
xor eax, eax
test ecx, ecx
jne 0x67b62d
mov edx, 3
sub edx, ecx
xor edx, ecx
jne 0x67b67c
mov edi, esi
mov esi, eax
shl eax, 0xa
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + eax + 0x200]
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 8], 0x400
call fcn.007c51d0
mov eax, esi
not eax
and eax, 1
add eax, esi
setne al
movzx eax, al
add eax, esi
mov esi, edi
cmp eax, dword [esi + 0x10c]
jae 0x67b67c
mov ecx, eax
or ecx, 2
mov edx, eax
xor edx, 2
add edx, ecx
jne 0x67b62d
lea eax, [esp + 0x6c0]
mov dword [esp], eax
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0
call fcn.007c51a0
mov dword [esp + 0x38], 0
cmp dword [esp + 0x728], 0
mov eax, 0
je 0x67b943
mov ebx, esi
add ebx, 0xffffffc0
xor edi, edi
mov dword [esp + 0x28], 1
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 8], 0x68
mov dword [esp + 4], 0
call fcn.007c51a0
mov dword [esp + 0x40], 0x464c4e4b
mov dword [esp + 0x44], 1
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0067a980
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x67b9ad
mov dword [esp + 0x4c], edi
mov eax, dword [ebx + 0x144]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x6c0]
mov dword [esp + 4], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 8], 0x40
call fcn.007cd670
lea eax, [ebx + 0x40]
mov dword [esp + 0x30], eax
mov dword [esp], eax
mov dword [esp + 4], 0x10000002
call fcn.0067a3f0
mov edi, eax
or eax, 2
mov ecx, edi
xor ecx, 2
add ecx, eax
setne al
movzx eax, al
add eax, edi
je 0x67ba1c
mov eax, dword [ebx + 0x144]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0067a460
cmp eax, dword [ebx + 0x144]
mov dword [esp + 0x24], ebx
jne 0x67ba0a
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ebx, [esp + 0x4b0]
mov dword [esp], ebx
mov dword [esp + 8], 0x60
call fcn.007c51d0
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x5b0]
mov dword [esp], eax
mov dword [esp + 8], 0x68
call fcn.007c51d0
mov dword [esp + 0x4a8], 0x9def3ab8
lea edi, [esp + 0x4a8]
mov dword [esp], edi
mov dword [esp + 8], 0x1e23de34
mov dword [esp + 4], 4
call fcn.007ca970
mov dword [esp + 0x4ac], eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x6b0]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp], ebx
mov dword [esp + 0x10], 0x10
mov dword [esp + 4], 0x200
call fcn.0067a820
mov edi, eax
test edi, edi
jne 0x67ba26
mov eax, edi
imul eax, eax
and eax, 3
cmp eax, 2
jae 0x67ba26
mov edi, dword [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.0067a470
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
je 0x67ba0a
mov al, 1
test al, al
je 0x67ba0a
lea eax, [esp + 0x4b0]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 0x200
call fcn.0067a460
cmp eax, 0x200
jne 0x67ba0a
mov dword [ebx + 0x148], edi
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.007c3e70
cmp eax, 0x41
jb 0x67b8f1
mov ecx, eax
and ecx, 1
xor ecx, eax
not ecx
test ecx, ecx
je 0x67b8f1
add eax, ebx
jmp 0x67b8f5
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x6c0]
mov dword [esp], eax
mov dword [esp + 8], 0x40
call fcn.007cd670
mov byte [esp + 0x700], 0
mov eax, dword [esp + 0x728]
mov edx, dword [esp + 0x28]
cmp edx, eax
jae 0x67b943
mov ecx, edx
imul ecx, ecx
and ecx, 3
add ebx, 0x118
inc edx
mov dword [esp + 0x28], edx
cmp ecx, 2
jb 0x67b6c5
mov edi, dword [ebp + 8]
mov dword [edi + 0x138], eax
mov dword [edi + 0x13c], esi
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x130], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x10c], eax
xor esi, esi
xor eax, eax
jmp 0x67b9b8
xor eax, eax
jmp 0x67b9c7
mov dword [esp + 0x38], eax
xor eax, eax
xor edx, edx
jmp 0x67b9c7
xor eax, eax
jmp 0x67b9c7
xor eax, eax
jmp 0x67b9c7
mov dword [esp + 0x38], eax
xor edx, edx
mov eax, dword [esp + 0x3c]
jmp 0x67b9c7
mov esi, ebx
jmp 0x67b9c7
mov dword [esp + 0x38], eax
xor edx, edx
mov edi, dword [ebp + 8]
jmp 0x67b9a3
mov dword [esp + 0x38], eax
xor edx, edx
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
jmp 0x67b9c7
mov dword [esp + 0x38], eax
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
jmp 0x67b9c7
xor edx, edx
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0x724]
test eax, eax
je 0x67b9e6
mov ecx, dword [edi]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov edi, edx
call fcn.006719a0
mov edx, edi
mov dword [esp], edx
call fcn.004936c0
mov dword [esp], esi
call fcn.004936c0
mov dword [esp], ebx
call fcn.004936c0
mov eax, dword [esp + 0x38]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], edi
call fcn.00648d90
mov dword [esp + 0x38], 0x6f
jmp 0x67b9b1
mov dword [esp + 0x38], 0x6f
jmp 0x67b9b1
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00648d90
mov dword [esp + 0x38], edi
jmp 0x67b9b1