Function at 0x683fca
Capabilities:
Encode data using xor
Encrypt data using tea
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov eax, dword [ebx + 8]
bswap eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xc]
bswap eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
bswap eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x14]
bswap eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
sub esp, 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 4]
mov dword [ebp - 8], eax
lea eax, [esp + 0x10]
mov dword [ebp - 0xc], eax
add esp, 0x3c
mov edx, 0x20
mov eax, dword [ebp + 0x10]
xor edx, eax
mov eax, dword [ebp - 8]
mov byte [eax], dl
xor ecx, ecx
mov ebx, dword [ebp - 8]
inc ecx
cmp ecx, dword [ebp + 0x10]
jg 0x6840e9
rdtsc
xor edx, edx
mov dl, al
inc ebx
mov byte [ebx], dl
jmp 0x6840d8
inc dword [ebp + 0x10]
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 8
jge 0x684114
rdtsc
xor edx, edx
mov dl, al
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp - 8]
mov byte [eax + ebx], dl
inc dword [ebp + 0x10]
inc dword [ebp - 0x10]
jmp 0x68423e
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x684153
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
xor eax, eax
add edx, 8
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x684156
mov ebx, dword [ebp - 4]
mov al, byte [edx + ebx]
mov ebx, 7
sub ebx, ecx
xor byte [ebx + edi], al
inc dword [ebp - 4]
jmp 0x684138
mov edi, dword [ebp - 8]
mov eax, dword [edi]
bswap eax
cdq
xor edx, edx
push eax
mov eax, dword [edi + 4]
bswap eax
cdq
xor edx, edx
push eax
push 0
push 0
push 0
mov ecx, 0x10
mov eax, dword [ebp - 0x84]
add eax, 0x9e3779b9
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
shl eax, 4
add eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x80]
shr eax, 5
add eax, dword [ebp - 0x20]
xor edx, eax
mov eax, dword [ebp - 0x7c]
add eax, edx
mov dword [ebp - 0x7c], eax
shl eax, 4
add eax, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x7c]
shr eax, 5
add eax, dword [ebp - 0x30]
xor edx, eax
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0x80], eax
loop 0x684172
mov eax, dword [ebp - 0x7c]
bswap eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
bswap eax
mov dword [ebp - 0x50], eax
add esp, 0x14
mov eax, dword [ebp - 0x4c]
push eax
lea edi, [esp]
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x68420f
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x6841fe
pop eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 8
mov ecx, dword [ebp - 4]
push dword [edi]
push dword [edi + 4]
pop dword [ecx + ebx + 4]
pop dword [ecx + ebx]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [eax]
push dword [eax + 4]
pop dword [ebx + 4]
pop dword [ebx]
mov dword [ebp + 0x10], 0
cmp dword [ebp - 0x10], 3
jl 0x6840f4
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x14], 0
jle 0x6843b2
cmp dword [ebp + 0x10], 8
jge 0x684283
mov edi, dword [ebp + 8]
mov edi, dword [edi]
add edi, 8
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov al, byte [ecx + edi]
mov ebx, dword [ebp + 0x10]
mov byte [ebx + esi], al
inc dword [ebp + 0x10]
dec dword [ebp + 0x14]
inc dword [ebp - 0x54]
jmp 0x68424f
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x6842c2
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
xor eax, eax
add edx, 8
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x6842c5
mov ebx, dword [ebp - 4]
mov al, byte [edx + ebx]
mov ebx, 7
sub ebx, ecx
xor byte [ebx + edi], al
inc dword [ebp - 4]
jmp 0x6842a7
mov edi, dword [ebp - 8]
mov eax, dword [edi]
bswap eax
cdq
xor edx, edx
push eax
mov eax, dword [edi + 4]
bswap eax
cdq
xor edx, edx
push eax
push 0
push 0
push 0
mov ecx, 0x10
mov eax, dword [ebp - 0x84]
add eax, 0x9e3779b9
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
shl eax, 4
add eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x80]
shr eax, 5
add eax, dword [ebp - 0x20]
xor edx, eax
mov eax, dword [ebp - 0x7c]
add eax, edx
mov dword [ebp - 0x7c], eax
shl eax, 4
add eax, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x7c]
shr eax, 5
add eax, dword [ebp - 0x30]
xor edx, eax
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0x80], eax
loop 0x6842e1
mov eax, dword [ebp - 0x7c]
bswap eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
bswap eax
mov dword [ebp - 0x50], eax
add esp, 0x14
mov eax, dword [ebp - 0x4c]
push eax
lea edi, [esp]
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x68437e
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x68436d
pop eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 8
mov ecx, dword [ebp - 4]
push dword [edi]
push dword [edi + 4]
pop dword [ecx + ebx + 4]
pop dword [ecx + ebx]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [eax]
push dword [eax + 4]
pop dword [ebx + 4]
pop dword [ebx]
mov dword [ebp + 0x10], 0
jmp 0x68424f
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 8
jge 0x684502
cmp dword [ebp + 0x10], 8
jge 0x6843db
mov esi, dword [ebp - 8]
xor eax, eax
mov ebx, dword [ebp + 0x10]
mov byte [ebx + esi], 0
inc dword [ebp - 0x10]
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 8
je 0x6843e6
jmp 0x6844fd
mov edi, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
mov edx, dword [edx]
add edx, 8
xor ebx, ebx
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x684415
xor eax, eax
mov ebx, dword [ebp - 4]
mov al, byte [edx + ebx]
mov ebx, 7
sub ebx, ecx
xor byte [ebx + edi], al
inc dword [ebp - 4]
jmp 0x6843f8
mov eax, dword [edi]
bswap eax
cdq
xor edx, edx
push eax
mov eax, dword [edi + 4]
bswap eax
cdq
xor edx, edx
push eax
push 0
push 0
push 0
mov ecx, 0x10
mov eax, dword [ebp - 0x84]
add eax, 0x9e3779b9
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
shl eax, 4
add eax, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x80]
shr eax, 5
add eax, dword [ebp - 0x20]
xor edx, eax
mov eax, dword [ebp - 0x7c]
add eax, edx
mov dword [ebp - 0x7c], eax
shl eax, 4
add eax, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x7c]
add eax, dword [ebp - 0x84]
xor edx, eax
mov eax, dword [ebp - 0x7c]
shr eax, 5
add eax, dword [ebp - 0x30]
xor edx, eax
mov eax, dword [ebp - 0x80]
add eax, edx
mov dword [ebp - 0x80], eax
loop 0x684431
mov eax, dword [ebp - 0x7c]
bswap eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x80]
bswap eax
mov dword [ebp - 0x50], eax
add esp, 0x14
mov eax, dword [ebp - 0x4c]
push eax
lea edi, [esp]
mov eax, dword [ebp - 0x50]
mov dword [edi + 4], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov ecx, 8
dec ecx
cmp ecx, 0xffffffff
je 0x6844ce
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x6844bd
pop eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
add ebx, 8
mov ecx, dword [ebp - 4]
push dword [edi]
push dword [edi + 4]
pop dword [ecx + ebx + 4]
pop dword [ecx + ebx]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
push dword [eax]
push dword [eax + 4]
pop dword [ebx + 4]
pop dword [ebx]
mov dword [ebp + 0x10], 0
jmp 0x6843b9
mov eax, 0
leave
ret 4