Function at 0x1400c13f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x10], 0
lea rcx, str.combase.dll
xor ebx, ebx
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x1400c1621
mov rdi, rax
lea rdx, str.RoInitialize
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rbx
mov r14, rax
lea rdx, str.RoUninitialize
mov rcx, rdi
call rbx
test r14, r14
je 0x1400c1648
mov rbx, rax
test rax, rax
je 0x1400c1648
mov ecx, 1
call r14
mov r14d, eax
test eax, eax
jns 0x1400c149b
cmp r14d, 0x80010106
jne 0x1400c1648
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], 0
lea rdx, str.RoActivateInstance
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c1631
mov r13, rax
lea rdx, str.WindowsCreateStringReference
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c1631
mov r15, rax
lea rdx, str.WindowsDeleteString
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x38], rax
test rax, rax
je 0x1400c1631
lea rdx, str.WindowsGetStringRawBuffer
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c1631
mov r12, rax
lea rcx, str.Windows.Globalization.Calendar
lea r8, [rbp - 0x20]
lea r9, [rbp + 0x48]
mov edx, 0x1e
call r15
test eax, eax
js 0x1400c1631
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp - 8]
call r13
test eax, eax
js 0x1400c1631
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [0x140150e80]
lea r8, [rbp - 0x30]
call qword [rax]
test eax, eax
js 0x1400c1627
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
call qword [rax + 0x30]
test eax, eax
js 0x1400c160b
mov rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x44]
call r12
mov r12, rax
test rax, rax
je 0x1400c1604
mov r9d, dword [rbp + 0x44]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov ecx, 0xfde9
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r15d, eax
movsxd rdx, eax
lea r13, [rbp + 0x20]
mov rcx, r13
xor r8d, r8d
call fcn.1400488d0
cmp byte [rbp + 0x37], 0
jns 0x1400c15de
mov r13, qword [rbp + 0x20]
mov r9d, dword [rbp + 0x44]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r13
mov ecx, 0xfde9
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [rbp - 0x28]
call qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400c1631
xor eax, eax
xor ecx, ecx
jmp 0x1400c165d
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [rbp + 0x20]
movaps xmmword [rbp], xmm0
test r14d, r14d
js 0x1400c1648
call rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx ecx, byte [rbp + 0x17]
mov rax, qword [rbp]
mov rbx, qword [rbp + 8]
test cl, cl
movzx ecx, cl
cmovs rcx, rbx
mov rdx, rbp
cmovs rdx, rax
test rcx, rcx
lea rbx, str.:localtime
cmovne rbx, rdx
mov qword [rbp + 0x20], 0
lea r8, [0x1401897cd]
lea rcx, [rbp + 0x20]
xor edx, edx
call fcn.140126224
mov rax, qword [rbp + 0x20]
test rax, rax
cmovne rbx, rax
cmp byte [rbx], 0x3a
lea rdi, [rbx + 1]
cmovne rdi, rbx
mov qword [rbp + 0x48], 0
lea rdx, str.localtime
mov rcx, rdi
call fcn.1401318b0
test eax, eax
jne 0x1400c16e3
lea r8, str.LOCALTIME
lea rcx, [rbp + 0x48]
xor edx, edx
call fcn.140126224
mov rax, qword [rbp + 0x48]
test rax, rax
cmovne rdi, rax
mov rcx, rdi
call fcn.140131bf0
mov rbx, rax
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
jae 0x1400c17b8
cmp rbx, 0x17
jae 0x1400c1715
mov byte [rbp - 9], bl
lea r14, [rbp - 0x20]
test rbx, rbx
jne 0x1400c1743
jmp 0x1400c1751
mov r15, rbx
or r15, 0xf
inc r15
mov rcx, r15
call fcn.14010e7c0
mov r14, rax
mov qword [rbp - 0x20], rax
movabs rax, 0x8000000000000000
or r15, rax
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], rbx
mov rcx, r14
mov rdx, rdi
mov r8, rbx
call fcn.140111410
mov byte [r14 + rbx], 0
mov rcx, qword [rbp + 0x48]
call fcn.14012f53c
mov rcx, qword [rbp + 0x20]
call fcn.14012f53c
mov qword [rsi], 0
lea rcx, [rbp - 0x20]
mov rdx, rsi
call fcn.1400d6f00
cmp byte [rbp - 9], 0
js 0x1400c179e
cmp byte [rbp + 0x17], 0
js 0x1400c17ad
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x20]
call fcn.14010e7fc
cmp byte [rbp + 0x17], 0
jns 0x1400c1787
mov rcx, qword [rbp]
call fcn.14010e7fc
jmp 0x1400c1787
lea rcx, [rbp - 0x20]
call fcn.1400132f0
int3