Function at 0x6d2310
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f5bbd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x70b414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [edi]
mov dword [ebp - 0x68], esi
mov eax, dword [eax + 4]
call eax
test al, al
je 0x6d2692
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
jl 0x6d2692
jg 0x6d2385
test eax, eax
jb 0x6d2692
mov edx, dword [edi + 0x20]
sub edx, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
sbb esi, dword [edi + 0x2c]
cmp ecx, esi
jl 0x6d23c5
jg 0x6d239b
cmp eax, edx
jbe 0x6d23c5
mov byte [edi + 0x38], 1
test esi, esi
jg 0x6d23b9
jl 0x6d23a9
test edx, edx
jae 0x6d23b9
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
jmp 0x6d23bd
mov eax, edx
mov ecx, esi
mov edx, dword [ebp - 0x68]
mov dword [edx], eax
mov dword [edx + 4], ecx
test ecx, ecx
jl 0x6d2660
jg 0x6d23da
cmp eax, 0x3e800000
jbe 0x6d2660
mov dword [ebp - 0x44], 0
push 0x30
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
call fcn.006ba460
mov edx, eax
mov dword [ebp - 0x30], 0x2f
mov dword [ebp - 0x34], 0x28
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
movq qword [edx + 0x20], xmm0
mov byte [edx + 0x28], 0
cmp dword [ebp - 0x30], 0x10
mov dword [ebp - 0x44], edx
jb 0x6d2435
movsx ecx, byte [edx]
jmp 0x6d243b
movsx ecx, byte [eax]
lea edx, [ebp - 0x44]
mov eax, 0x705770
add ecx, 0xa86050
sub eax, edx
mov esi, 0x28
mov dword [ebp - 0x60], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xe0f5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x88d37a9
sub esi, 1
jne 0x6d2452
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
push 0x20
mov byte [ebp - 4], 1
call fcn.006ba460
mov edx, eax
mov dword [ebp - 0x4c], 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x1f
mov dword [ebp - 0x5c], edx
mov eax, 0x705830
mov esi, 0x18
movups xmmword [edx], xmm0
movq qword [edx + 0x10], xmm0
mov byte [edx + 0x18], 0
movsx ecx, byte [edx]
add ecx, 0xa86050
sub eax, edx
mov dword [ebp - 0x60], eax
nop dword [eax]
mov edi, dword [ebp - 0x60]
lea edx, [edx + 1]
mov eax, ecx
imul ecx, ecx, 0xd0f5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x88d37a9
sub esi, 1
jne 0x6d24d0
cmp dword [ebp - 0x48], 0x10
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2c], esi
cmovae eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], eax
push 0x30
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 3
call fcn.006ba460
mov edx, eax
mov dword [ebp - 0x18], 0x2f
mov dword [ebp - 0x1c], 0x26
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x20], esi
mov word [edx + 0x24], si
mov byte [edx + 0x26], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x2c], edx
jb 0x6d2553
movsx ecx, byte [edx]
jmp 0x6d2559
movsx ecx, byte [eax]
lea edx, [ebp - 0x2c]
mov eax, 0x7057d0
add ecx, 0xa86050
sub eax, edx
mov esi, 0x26
mov dword [ebp - 0x60], eax
mov edi, eax
mov eax, ecx
lea edx, [edx + 1]
imul ecx, ecx, 0xdef5
shr eax, 6
xor al, byte [edi + edx - 1]
mov byte [edx - 1], al
add ecx, 0x88d37a9
sub esi, 1
jne 0x6d2570
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
push 0x6e
push dword [ebp - 0x74]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0x10
push 2
cmovae ecx, dword [ebp - 0x2c]
push 1
call int.006bcde0
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov edi, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x6d25ea
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6d25e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d26b4
push edx
push ecx
call fcn.006df222
add esp, 8
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x6d2630
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6d2626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d26b4
push edx
push ecx
call fcn.006df222
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x6d2660
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6d2656
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x6d26b4
push edx
push ecx
call fcn.006df222
add esp, 8
mov esi, dword [ebp - 0x68]
mov eax, dword [edi + 0x10]
add eax, dword [edi + 0x28]
push dword [esi]
push eax
push dword [ebp - 0x78]
call fcn.006e1ac0
mov eax, dword [esi]
add esp, 0xc
add dword [edi + 0x28], eax
mov eax, dword [esi + 4]
adc dword [edi + 0x2c], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [edi + 8], eax
mov al, 1
mov dword [edi + 0xc], ecx
jmp 0x6d2694
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.006df1da
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.006e3ec2
int3