Function at 0x342ecbff
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0x230
mov eax, dword [0x342226fc]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x23c]
mov edx, dword [esp + 0x244]
push ebx
push ebp
mov ebp, dword [ecx + 4]
push esi
mov esi, dword [esp + 0x244]
push edi
push 0
mov dword [esp + 0x14], ecx
push 0x6b39dac7
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
call fcn.341f52e4
push 0
push 0x6b39dac7
lea ecx, [esp + 0x138]
call fcn.341f52e4
lea eax, [ebp + 0x18]
push 0x80
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], eax
call fcn.3424fbd5
fld qword [ebp + 0x72]
lea ebx, [ebp + 0x42]
call fcn.341f5463
mov edx, 4
mov ecx, ebx
sub edx, ebx
lea esp, [esp]
xor dword [ecx], eax
add ecx, 4
lea edi, [edx + ecx]
cmp edi, 0x28
jle 0x342ecc8b
cmp dword [esp + 0x250], 0
je 0x342ecce6
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0
call fcn.34213be8
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x342eccd9
push 1
push 0xfffff88f
mov ecx, edi
call fcn.341f7675
jmp 0x342ecd90
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x342ecd90
cmp word [ebp + 0x299], 0
jne 0x342ecd78
mov eax, 0x28
mov ecx, esi
mov edx, ebx
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x342ecd15
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x342eccfd
test eax, eax
je 0x342ecd72
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x342ecd64
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x342ecd72
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x342ecd64
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x342ecd72
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x342ecd64
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x342ecd72
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x342ecd72
test esi, esi
mov eax, 1
jg 0x342ecd74
or eax, 0xffffffff
jmp 0x342ecd74
xor eax, eax
test eax, eax
je 0x342ecd8c
mov edi, dword [esp + 0x14]
push 1
push 0xfffff88f
mov ecx, edi
call fcn.341f7675
jmp 0x342ecd90
mov edi, dword [esp + 0x14]
test byte [edi], 8
jne 0x342ece48
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x342ece01
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.342ecaa6
test byte [edi], 8
jne 0x342ece48
call fcn.341f3190
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
call esi
or eax, 0xa0a00000
mov dword [ebp + 0x3e], eax
call fcn.341f3190
call esi
movzx ecx, al
mov al, cl
mov dl, al
mov dh, dl
mov eax, edx
shl eax, 0x10
mov ax, dx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
jmp 0x342ece48
mov eax, dword [esp + 0x244]
mov ecx, 0xa
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp word [eax], cx
jne 0x342ece48
cmp dword [esp + 0x250], ecx
je 0x342ece48
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x3e], ecx
mov eax, dword [eax + 4]
push 0x200
mov word [eax + 0x299], cx
push ecx
add eax, 0x29b
push eax
call sub.msvcr80.dll_memset
add esp, 0xc
fld qword [ebp + 0x72]
call fcn.341f5463
mov edx, 4
mov ecx, ebx
sub edx, ebx
mov edi, edi
xor dword [ecx], eax
add ecx, 4
lea esi, [edx + ecx]
cmp esi, 0x28
jle 0x342ece5b
mov ecx, dword [esp + 0x20]
push 0x80
push ecx
lea ecx, [esp + 0x138]
call fcn.3424fbd5
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.341f1b18
add esp, 0x230
ret 0x14