Function at 0x10012390
Capabilities:
Check for time delay via gettickcount
Encode data using base64 via winapi
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069dab
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x100891f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x154], edi
mov dword [ebp - 0x150], edi
call fcn.10011b80
push str.header
push 4
lea eax, [ebp - 0x144]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x140]
mov dword [ebp - 0x144], 0x10080
call fcn.10011e80
push str.host_type
push 8
push str.pendant
lea ecx, [ebp - 0x140]
call fcn.10011e80
push 0xc8
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10043b10
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call esi
push eax
lea eax, [ebp - 0xd8]
push str.34AA0C62_580B_4EFE_B9AD_EEB2EB81D705__d
push eax
call fcn.10011b20
lea ecx, [ebp - 0xd8]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10012455
sub ecx, edx
sar ecx, 1
push 0x1006e834
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x140]
call fcn.10011e80
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea eax, [ebp - 0xd8]
push eax
push 1
push 0
call ebx
push 0xc8
mov dword [0x1008c334], eax
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.10043b10
add esp, 0xc
call esi
inc eax
push eax
lea eax, [ebp - 0xd8]
push str.AF7E5F56_7690_4082_8AAD_C8429FBC5F5D__d
push eax
call fcn.10011b20
lea ecx, [ebp - 0xd8]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100124d2
sub ecx, edx
sar ecx, 1
push 0x1006e88c
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x140]
call fcn.10011e80
lea eax, [ebp - 0xd8]
push eax
push 0
push 0
call ebx
mov ebx, dword [ebp - 0xe0]
mov dword [0x1008c338], eax
mov eax, dword [ebp - 0xe4]
sub ebx, eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x150], ebx
jne 0x10012535
xor ebx, ebx
jmp 0x1001266d
push ebx
mov dword [ebp - 0x148], 0
call fcn.100534f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x14c], esi
test esi, esi
jne 0x1001255b
xor ebx, ebx
jmp 0x1001266d
push ebx
push dword [ebp - 0x144]
push esi
call fcn.10043010
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x100125fc
nop word [eax + eax]
mov eax, 0xd41d41d5
lea esi, [ebp - 0x10c]
mul edi
mov eax, edi
lea ecx, [ebp - 0x127]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
imul eax, eax, 0x23
sub esi, eax
mov eax, 0x2f684bdb
mul edi
mov bl, byte [esi + edi]
mov eax, edi
sub eax, edx
mov esi, dword [ebp - 0x14c]
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1b
sub ecx, eax
mov eax, 0xf0f0f0f1
mul edi
xor bl, byte [ecx + edi]
lea eax, [ebp - 0x138]
shr edx, 4
mov ecx, edx
shl ecx, 4
add ecx, edx
sub eax, ecx
xor bl, byte [eax + edi]
mov eax, edi
and eax, 7
xor bl, byte [ebp + eax - 0x140]
xor byte [edi + esi], bl
inc edi
mov ebx, dword [ebp - 0x150]
cmp edi, ebx
jb 0x10012580
lea eax, [ebp - 0x148]
push eax
push 0
push 0x40000001
push ebx
push esi
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
call esi
push dword [ebp - 0x148]
call fcn.10026535
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
add esp, 4
mov dword [ebp - 0x144], eax
push ecx
push eax
push 0x40000001
push ebx
push edi
call esi
mov esi, dword [ebp - 0x144]
test eax, eax
je 0x10012656
push esi
call fcn.1005342c
add esp, 4
mov ebx, eax
jmp 0x10012658
xor ebx, ebx
push edi
call fcn.10046fa0
push esi
call fcn.1002653e
mov edi, dword [ebp - 0x154]
add esp, 8
mov ecx, ebx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10012683
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.10004f40
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe4]
push eax
push 0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100119e0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], 0
test ecx, ecx
je 0x100126f8
mov edx, dword [ebp - 0xdc]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100126ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012716
push edx
push ecx
call fcn.1002615b
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100264cc
mov esp, ebp
pop ebp
ret
call fcn.10046ec3
int3