Function at 0x45e9a0
Capabilities:
Check for time delay via queryperformancecounter
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4685fb
mov edx, dword [esp + 0x18]
push eax
xor eax, eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
mov esi, ecx
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x3c
jbe 0x45e9dd
mov ax, 0x429
jmp 0x45ebcd
mov eax, dword [esp + 0xac]
dec eax
je 0x45ea39
dec eax
je 0x45e9f4
mov eax, 0x43f
jmp 0x45ebcd
mov ax, word [esp + 0xb0]
cmp ax, 0xff
jle 0x45ea0c
mov eax, 0x482
jmp 0x45ebcd
movsx ecx, word [esp + 0xb4]
push 3
push edx
movsx edx, ax
push ecx
push 2
push edx
push 7
lea eax, [esp + 0x3c]
push str._c_02X_c_02X_s_c
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x20
lea edx, [esp + 0x25]
jmp 0x45ea7d
mov ax, word [esp + 0xb0]
cmp ax, 0xf
jle 0x45ea51
mov eax, 0x482
jmp 0x45ebcd
movsx ecx, word [esp + 0xb4]
movsx eax, ax
push 3
push edx
push ecx
push 2
push eax
push eax
push 4
lea edx, [esp + 0x40]
push str._c_X_X_c_02d_s_c
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea edx, [esp + 0x28]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
test edx, edx
mov edi, ecx
je 0x45eaaf
mov eax, edx
mov dl, byte [edx]
xor bl, bl
test dl, dl
je 0x45eaa8
mov cl, dl
xor bl, cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x45ea9e
mov byte [eax], bl
mov byte [eax + 1], 0
inc edi
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], vtable.CTakeSerial.0
mov dword [esp + 0x20], esi
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [esp + 0x24], 0
lea eax, [esp + 0x1a]
lea ecx, [esp + 0x28]
push eax
push 0
push 0x64
push edi
push ecx
mov ecx, dword [esi + 0x1b8]
mov dword [esp + 0xbc], 0
call fcn.00448d00
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea edx, [esp + 0x10]
push edx
call edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00465780
lea ecx, [esp + 0xf]
push 0xfa
push ecx
mov ecx, dword [esi + 0x1b8]
mov ebx, eax
mov dword [esp + 0x1c], edx
call fcn.004490e0
test ax, ax
jne 0x45eb90
mov cl, byte [esp + 0xf]
cmp cl, 0x15
je 0x45eb94
cmp cl, 6
je 0x45eb94
lea edx, [esp + 0x10]
push edx
call edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00465780
mov dword [esp + 0x10], eax
sub eax, ebx
cmp eax, 0xfa
mov dword [esp + 0x14], edx
ja 0x45ebe6
lea ecx, [esp + 0xf]
push 0xfa
push ecx
mov ecx, dword [esi + 0x1b8]
call fcn.004490e0
test ax, ax
je 0x45eb39
mov cl, byte [esp + 0xf]
lea edx, [esp + 0xf]
test edx, edx
jne 0x45eba0
mov cl, byte [esp + 0xf]
test ax, ax
mov edi, eax
jne 0x45ebb1
cmp cl, 0x15
jne 0x45ebb1
mov edi, 0x414
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0xa8], 0xffffffff
call dword [eax]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x10]
mov ax, di
pop ebx
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xa0
ret 0x10
mov edi, 0x3f2
jmp 0x45ebb1