Function at 0x1400833c0
Capabilities:
Get hostname
Get session user name
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
movzx eax, byte [rcx + 0x60]
test al, al
jne 0x140083d45
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp + 0x3a0]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x140083440
lea rdx, [rbp + 0x3a0]
lea rcx, [0x1403b91a8]
call fcn.140011a50
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x3a0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rax, [rbp + 0x3a0]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140083475
mov r8, rbx
lea rdx, [rbp + 0x3a0]
lea rcx, [0x1403b9188]
call fcn.140011a50
xor ecx, ecx
call fcn.1402876c4
mov rcx, rax
call fcn.140280ee4
call fcn.140280eb8
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
add ecx, ecx
sub r8d, ecx
sub r8d, 5
mov dword [0x1403ca0c8], r8d
mov r12d, 1
cmp qword [0x1403b91f8], r13
je 0x1400836f7
lea rdx, [0x1403b91e8]
lea rcx, [rbp + 0x180]
call fcn.1400118f0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rax + 0x10]
inc rcx
call fcn.140251710
mov rsi, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14008351a
mov rcx, qword [rbx]
mov rdx, rsi
sub rdx, rcx
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140083520
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x340]
call fcn.14007b9a0
mov r14d, r12d
mov dword [rsp + 0x20], r12d
mov rcx, rsi
call fcn.140250e10
nop
mov rcx, rbx
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
lea rcx, [0x1403b91e8]
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
movups xmm0, xmmword [rbp + 0x340]
movups xmmword [0x1403b91e8], xmm0
movups xmm1, xmmword [rbp + 0x350]
movups xmmword [0x1403b91f8], xmm1
mov qword [rbp + 0x350], r13
mov qword [rbp + 0x358], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x340], 0
movq rax, xmm1
test rax, rax
je 0x1400836fc
lea rcx, [0x1403ca5f8]
call fcn.140047b50
lea rdx, [0x1403b91e8]
lea rcx, [rbp + 0x1e0]
call fcn.140085b10
nop
mov qword [rbp + 0x2f0], r13
mov qword [rbp + 0x2f8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2e0], 0
mov r8b, 0x2c
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x1e0]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14008368f
nop dword [rax]
mov rdx, qword [0x1403ca600]
cmp rdx, qword [0x1403ca608]
je 0x140083658
movups xmm0, xmmword [rbp + 0x2e0]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x2f0]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp + 0x2f0], r13
mov qword [rbp + 0x2f8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2e0], 0
add qword [0x1403ca600], 0x20
jmp 0x14008366b
lea r8, [rbp + 0x2e0]
lea rcx, [0x1403ca5f8]
call fcn.1400509c0
mov r8b, 0x2c
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x1e0]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140083610
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0x10
jb 0x1400836d0
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400836cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083d7b
call fcn.140250e10
mov qword [rbp + 0x2f0], r13
mov qword [rbp + 0x2f8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x2e0], 0
lea rcx, [rbp + 0x1e0]
call fcn.140014fa0
jmp 0x1400836fc
mov r14d, dword [rsp + 0x20]
mov rdx, qword [rdi]
lea rcx, [0x1403ca880]
call fcn.140085a80
mov rcx, rdi
call fcn.14007c460
mov dword [rdi + 0x8c], r13d
cmp qword [0x1403b9238], 0
je 0x1400839e0
lea rsi, [0x1403b9228]
mov rdx, rsi
lea rcx, [rbp + 0x1a0]
call fcn.1400118f0
mov rbx, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rax + 0x10]
inc rcx
call fcn.140251710
mov r15, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140083762
mov rcx, qword [rbx]
mov rdx, r15
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140083770
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0x360]
call fcn.14007b9a0
or r14d, 2
mov rcx, r15
call fcn.140250e10
nop
mov rcx, rbx
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
mov rcx, rsi
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
movups xmm0, xmmword [rbp + 0x360]
movups xmmword [0x1403b9228], xmm0
movups xmm1, xmmword [rbp + 0x370]
movups xmmword [0x1403b9238], xmm1
mov qword [rbp + 0x370], r13
mov qword [rbp + 0x378], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x360], 0
lea rbx, [0x140000000]
lea rax, [rbx + 0x35cba0]
mov qword [rsp + 0x60], rax
lea rax, [rbx + 0x35be60]
mov qword [rsp + 0x70], rax
or r14d, 4
mov dword [rsp + 0x20], r14d
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0x80
mov qword [rsp + 0x68], r13
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 8]
call fcn.14004abb0
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x6c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rsp + rcx + 0x5c], edx
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x78]
call fcn.140046a70
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x78], rax
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1403b9228]
xor r9d, r9d
mov r8, qword [0x1403b9238]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14004ccd0
nop
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x300], 0
mov r8b, 0x2c
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x60]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x14008397c
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp + 0x300]
lea rdx, [rbp + 0x160]
lea rcx, [0x1403ca840]
call fcn.1400899e0
mov r8b, 0x2c
lea rdx, [rbp + 0x300]
lea rcx, [rsp + 0x60]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140083940
mov rdx, qword [rbp + 0x318]
cmp rdx, 0x10
jb 0x1400839bd
inc rdx
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400839b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083d81
call fcn.140250e10
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x300], 0
lea rcx, [rsp + 0x60]
call fcn.140014fa0
cmp qword [0x1403b9278], 0
je 0x140083c8e
lea rsi, [0x1403b9268]
mov rdx, rsi
lea rcx, [rbp + 0x1c0]
call fcn.1400118f0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rcx, qword [rax + 0x10]
inc rcx
call fcn.140251710
mov r15, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140083a28
mov rcx, qword [rbx]
mov rdx, r15
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140083a30
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0x380]
call fcn.14007b9a0
or r14d, 0x40
mov rcx, r15
call fcn.140250e10
nop
mov rcx, rbx
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
mov rcx, rsi
call sym.ethminer.exe_public:_void___cdecl_Json::PathArgument::destructor_void____ptr64
movups xmm0, xmmword [rbp + 0x380]
movups xmmword [0x1403b9268], xmm0
movups xmm1, xmmword [rbp + 0x390]
movups xmmword [0x1403b9278], xmm1
mov qword [rbp + 0x390], r13
mov qword [rbp + 0x398], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x380], 0
lea rcx, [0x140000000]
lea rax, [rcx + 0x35cba0]
mov qword [rbp + 0x60], rax
lea rax, [rcx + 0x35be60]
mov qword [rbp + 0x70], rax
bts r14d, 7
mov dword [rsp + 0x20], r14d
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0xf4], 0x80
mov qword [rbp + 0x68], r13
xor r8d, r8d
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0xf8]
call fcn.14004abb0
nop
lea rax, [rbp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x70], rax
mov rax, qword [rbp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x6c], edx
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x5c], edx
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x60], rax
mov rax, qword [rbp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x5c], edx
lea rax, [rbp + 0x78]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x78]
call fcn.140046a70
nop
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x78], rax
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rsi, qword [0x1403b9268]
xor r9d, r9d
mov r8, qword [0x1403b9278]
mov rdx, rsi
lea rcx, [rbp + 0x78]
call fcn.14004ccd0
nop
mov qword [rbp + 0x330], r13
mov qword [rbp + 0x338], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x320], 0
mov r8b, 0x2c
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x60]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x140083c2b
nop dword [rax]
lea r8, [rbp + 0x320]
lea rdx, [rbp + 0x170]
lea rcx, [0x1403ca7d0]
call fcn.1400899e0
mov r8b, 0x2c
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x60]
call fcn.140057260
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x140083bf0
mov rdx, qword [rbp + 0x338]
cmp rdx, 0x10
jb 0x140083c6c
inc rdx
mov rcx, qword [rbp + 0x320]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083c67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083d75
call fcn.140250e10
mov qword [rbp + 0x330], r13
mov qword [rbp + 0x338], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x320], 0
lea rcx, [rbp + 0x60]
call fcn.140014fa0
mov byte [rdi + 0x60], 1
mov byte [rdi + 0x62], 1
lock xadd dword [rdi + 0x88], r12d
lea rax, [0x140083d90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
movups xmm1, xmmword [rdi + 0x160]
movups xmmword [rsp + 0x40], xmm1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm0
psrldq xmm1, 8
movq rbx, xmm1
mov ecx, dword [0x1403caaf0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140083cef
cmp qword [rax], rbx
je 0x140083cef
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140083ce1
lea rdx, [rsp + 0x50]
mov ecx, 0x60
call fcn.140034dd0
mov qword [rax + 0x20], r13
lea rcx, [0x14008fe80]
mov qword [rax + 0x28], rcx
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov dword [rax + 0x30], r13d
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x38], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x48], xmm1
mov rcx, qword [0x1403ca188]
lock inc dword [rcx + 0x30]
mov rdx, rax
call fcn.140035df0
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14027fd34
nop
call fcn.14027fd34
nop
call fcn.14027fd34
int3