Function at 0x41e04e
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 0x41e16d
rdtsc
xor edx, edx
mov dl, al
inc ebx
mov byte [ebx], dl
jmp 0x41e15c
inc dword [ebp + 0x10]
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x10], 8
jge 0x41e198
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 0x41e2c2
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x41e1d7
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 0x41e1da
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 0x41e1bc
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 0x41e1f6
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 0x41e293
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x41e282
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 0x41e178
mov dword [ebp - 0x54], 0
cmp dword [ebp + 0x14], 0
jle 0x41e436
cmp dword [ebp + 0x10], 8
jge 0x41e307
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 0x41e2d3
mov dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
cmp dword [ebx + 8], 0
je 0x41e346
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 0x41e349
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 0x41e32b
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 0x41e365
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 0x41e402
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x41e3f1
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 0x41e2d3
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 8
jge 0x41e586
cmp dword [ebp + 0x10], 8
jge 0x41e45f
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 0x41e46a
jmp 0x41e581
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 0x41e499
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 0x41e47c
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 0x41e4b5
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 0x41e552
xor eax, eax
mov al, byte [edx + ebx]
xor byte [ebx + edi], al
inc ebx
jmp 0x41e541
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 0x41e43d
mov eax, 0
leave
ret 4