Function at 0x577978
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 0x577a97
rdtsc
xor edx, edx
mov dl, al
inc ebx
mov byte [ebx], dl
jmp 0x577a86
inc dword [ebp + 0x10]
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 8
jge 0x577ac2
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 0x577bec
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x577b01
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 0x577b04
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 0x577ae6
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 0x577b20
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 0x577bbd
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x577bac
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 0x577aa2
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x14], 0
jle 0x577d60
cmp dword [ebp + 0x10], 8
jge 0x577c31
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 0x577bfd
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x577c70
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 0x577c73
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 0x577c55
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 0x577c8f
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 0x577d2c
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x577d1b
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 0x577bfd
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 8
jge 0x577eb0
cmp dword [ebp + 0x10], 8
jge 0x577d89
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 0x577d94
jmp 0x577eab
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 0x577dc3
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 0x577da6
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 0x577ddf
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 0x577e7c
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x577e6b
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 0x577d67
mov eax, 0
leave
ret 4