Function at 0x11cd680
Capabilities:
Get thread local storage value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r14, r9
mov r15, r8
mov rbp, rdx
mov rbx, rcx
xor r13d, r13d
mov qword [rax - 0x38], r13
mov rax, qword [0x039f1180]
mov ecx, dword [rax + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14c7134
lea rdi, [rax + 0x20]
jmp 0x11cd6d7
mov qword [rsp + 0x60], rdi
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VarBstrFromCy]
mov rsi, rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r13
mov r8, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [r8 + 0x220]
mov ebx, eax
test eax, eax
js 0x14c713c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantTimeToSystemTime]
mov ecx, dword [rax + 0x18]
shr rcx, 0x1d
test cl, 1
jne 0x14c715f
mov rax, qword [rsp + 0x30]
mov r9, r14
mov r8, r15
mov rdx, rbp
mov rcx, qword [rax + 0xd8]
call fcn.011cd7a0
mov ebx, eax
test eax, eax
js 0x14c76d7
mov ebx, r13d
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x11cd765
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
mov eax, ebx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rdi, r13
jmp 0x11cd6d7
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c714d
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov rax, qword [rsp + 0x30]
mov r10, qword [rax + 0xd8]
mov rax, qword [r10 + 0x140]
mov ecx, dword [rax]
test ecx, ecx
jne 0x14c717f
mov ecx, dword [r10 + 0x728]
cmp ecx, 2
jne 0x14c765d
lea rbx, [rbp + 0x78]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14c7635
test byte [rcx - 5], 0x40
jne 0x14c71a4
movsxd rax, dword [rcx - 4]
jmp 0x14c71af
mov rcx, qword [rcx]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov eax, eax
shr rax, 1
cmp rax, 2
jl 0x14c7635
mov rax, qword [rbx]
test rax, rax
je 0x14c71d7
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x14c71d2
test cl, 0x20
je 0x14c71da
mov rax, qword [rax]
jmp 0x14c71da
mov rax, r13
cmp word [rax + 2], 0x3a
jne 0x14c7635
mov rax, qword [r14]
mov ebp, 9
mov rdx, rbp
mov rcx, r14
call qword [rax + SafeArrayCopy]
mov r12, rax
test rax, rax
jne 0x14c723f
mov qword [rsp + 0x20], 0x1000000f
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, 0xc1030001
call fcn.0124e580
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c722d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
xor eax, eax
mov qword [r12], rax
mov byte [r12 + 8], al
mov rax, qword [rbx]
test rax, rax
je 0x14c7265
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x14c7260
test cl, 0x20
je 0x14c7268
mov rax, qword [rax]
jmp 0x14c7268
mov rax, r13
lea r13, [rax + 4]
mov rcx, rbx
call fcn.011898e0
lea rdx, [rax - 2]
mov rax, qword [rbx]
test rax, rax
je 0x14c7293
movzx ecx, byte [rax - 5]
test cl, 0x40
jne 0x14c728e
test cl, 0x20
je 0x14c7295
mov rax, qword [rax]
jmp 0x14c7295
xor eax, eax
movzx eax, word [rax]
add eax, 0xffffff9e
cmp eax, 0x12
ja case.0x14c72b8.102
cdqe
lea r8, [0x01000000]
mov ecx, dword [r8 + rax*4 + 0x4c76fc]
add rcx, r8
jmp rcx
xor ebp, ebp
jmp case.0x14c72b8.116
mov ebp, 1
jmp case.0x14c72b8.116
mov ebp, 6
jmp case.0x14c72b8.116
mov ebp, 8
jmp case.0x14c72b8.116
mov ebp, 0xa
jmp case.0x14c72b8.116
mov ebp, VariantTimeToDosDateTime
jmp case.0x14c72b8.116
mov ebp, socket
mov ecx, ebp
sub ecx, 7
je 0x14c7572
sub ecx, 1
je 0x14c74fb
cmp ecx, 1
je 0x14c7484
mov word [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
mov r9, r14
mov r8, rdx
mov rdx, r13
lea rcx, [rsp + 0x40]
call fcn.013b66c0
mov ebx, eax
test eax, eax
jns 0x14c735a
lea rcx, [rsp + 0x40]
call fcn.01187f10
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7348
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
lea rdx, [rsp + 0xa0]
mov ecx, ebp
call fcn.0120d740
mov ebx, eax
test eax, eax
jns 0x14c739d
lea rcx, [rsp + 0x40]
call fcn.01187f10
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c738b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov word [rsp + 0x50], 0
call fcn.0115c5b0
mov rbx, rax
mov qword [rsp + 0x20], 0
mov r9, r14
lea r8, [rsp + 0x50]
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.0134aa90
test eax, eax
je 0x14c7418
mov rcx, rbx
call fcn.0109c0c0
mov ebx, 0x1000001
lea rcx, [rsp + 0x50]
call fcn.01187f10
nop
lea rcx, [rsp + 0x40]
call fcn.01187f10
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7406
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.012e4b50
mov ebx, eax
test eax, eax
jns 0x14c746a
lea rcx, [rsp + 0x50]
call fcn.01187f10
nop
lea rcx, [rsp + 0x40]
call fcn.01187f10
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7458
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
lea rcx, [rsp + 0x50]
call fcn.01187f10
nop
lea rcx, [rsp + 0x40]
call fcn.01187f10
jmp 0x14c75e5
lea r8, [rsp + 0xa0]
mov rcx, r13
call fcn.018b6b00
mov ebx, eax
test eax, eax
jns 0x14c74bd
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c74ab
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
movsd xmm1, qword [rsp + 0xa0]
mov rcx, r12
call fcn.01791f00
mov ebx, eax
test eax, eax
jns 0x14c75e5
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c74e9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
lea r8, [rsp + 0xa0]
mov rcx, r13
call fcn.018b6a60
mov ebx, eax
test eax, eax
jns 0x14c7534
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7522
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
movsd xmm1, qword [rsp + 0xa0]
mov rcx, r12
call fcn.01791e70
mov ebx, eax
test eax, eax
jns 0x14c75e5
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7560
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
lea r8, [rsp + 0xa0]
mov rcx, r13
call fcn.018b6a00
mov ebx, eax
test eax, eax
jns 0x14c75ab
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7599
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
movss xmm1, dword [rsp + 0xa0]
mov rcx, r12
call fcn.01791e20
mov ebx, eax
test eax, eax
jns 0x14c75e5
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c75d3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov qword [r15], r12
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c75fb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov ebx, 0x1000001
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7623
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov ebx, 0x1000001
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c764b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov r9, r14
mov r8, r15
mov rdx, rbp
mov rcx, r10
call fcn.011cd7a0
mov ebx, eax
test eax, eax
jns 0x14c7697
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c7685
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov rcx, qword [r15]
test rcx, rcx
je 0x11cd751
xor edx, edx
call fcn.0179b2e0
mov ebx, eax
test eax, eax
jns 0x11cd751
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c76c5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14c76e8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rdi + 0x30]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x78]
jmp 0x11cd772