Function at 0x140099270
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x6d8]
sub rsp, 0x7c0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
mov r14, rdx
mov qword [rbp + 0x38], rdx
mov dword [rsp + 0x20], 0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul rsi, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rsi, rax
mov rdi, qword [0x1402d3108]
movzx eax, byte [rdi + 0x180]
mov byte [rbp + 0x4c0], al
mov rax, qword [rdi + 0x188]
mov qword [rbp + 0x4c8], rax
lea rbx, [rdi + 0x190]
mov rdx, rbx
lea rcx, [rbp + 0x4d0]
call fcn.140029330
movss xmm0, dword [rbx + 0x20]
movss dword [rbp + 0x4f0], xmm0
movzx eax, byte [rbx + 0x24]
mov byte [rbp + 0x4f4], al
movups xmm0, xmmword [rbx + 0x28]
movups xmmword [rbp + 0x4f8], xmm0
movups xmm1, xmmword [rbx + 0x38]
movups xmmword [rbp + 0x508], xmm1
movsd xmm0, qword [rbx + 0x48]
movsd qword [rbp + 0x518], xmm0
lea rdx, [rdi + 0x1e0]
lea rcx, [rbp + 0x520]
call fcn.140099fb0
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rdx, [rax + rcx]
sub rdx, qword [rbp + 0x4c8]
movabs r15, 0x112e0be826d694b3
mov rax, r15
imul rdx
mov rbx, rdx
sar rbx, 0x1a
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov edx, 6
lea rcx, [rbp + 0x90]
call fcn.1400abb00
nop
xor edx, edx
mov rcx, r14
call fcn.1400abb00
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1400abb00
nop
lea rax, [rbp + 0x1c8]
mov qword [rsp + 0x28], rax
mov rdx, qword [str.ethminer_0.19.0_alpha.0commit.08f8697c.dirty]
lea rcx, [rbp + 0x1c8]
call fcn.1400abab0
mov rdi, rax
lea rdx, str.version
lea rcx, [rbp - 0x20]
call fcn.1400ac510
mov rcx, rax
mov rdx, rdi
call fcn.1400abe30
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rbp + 0x1f0]
call fcn.1400abc20
mov rbx, rax
lea rdx, str.runtime
lea rcx, [rbp - 0x20]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
mov edx, 0x100
lea rcx, [rbp + 0x5b0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x14009949d
lea rax, [rbp + 0x218]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x5b0]
lea rcx, [rbp + 0x218]
call fcn.1400abab0
mov rbx, rax
jmp 0x1400994bf
lea rax, [rbp + 0x240]
mov qword [rsp + 0x28], rax
mov rdx, qword [0x1402d0530]
lea rcx, [rbp + 0x240]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.name
lea rcx, [rbp - 0x20]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1400abb00
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1402d3118]
call fcn.1400561f0
nop
lea rax, [rbp + 0x268]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x48]
add rdx, 0x1a0
lea rcx, [rbp + 0x540]
call fcn.140029330
mov dword [rsp + 0x20], 3
lea rdx, [rbp + 0x540]
lea rcx, [rbp + 0x268]
call fcn.1400ab9d0
mov rbx, rax
lea rdx, [0x14027aa68]
lea rcx, [rbp + 8]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
nop
mov rdx, qword [rbp + 0x558]
cmp rdx, 0x10
jb 0x14009959a
inc rdx
mov rcx, qword [rbp + 0x540]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099595
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099595
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e507c
movdqa xmm0, xmmword [0x140282f70]
movdqu xmmword [rbp + 0x550], xmm0
mov byte [rbp + 0x540], 0
lea rax, [rbp + 0x290]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402d3118]
mov rcx, qword [rax + 0x1e8]
mov rax, qword [rcx]
call qword [rax + 0x28]
movzx edx, al
lea rcx, [rbp + 0x290]
call fcn.1400abc40
mov rbx, rax
lea rdx, str.connected
lea rcx, [rbp + 8]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x2b8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402d3118]
mov edx, dword [rax + 0x80]
lea rcx, [rbp + 0x2b8]
call fcn.1400aba50
mov rbx, rax
lea rdx, str.switches
lea rcx, [rbp + 8]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400abb00
nop
mov edx, 6
lea rcx, [rbp - 0x48]
call fcn.1400abb00
nop
lea rax, [rbp + 0x2e0]
mov qword [rsp + 0x28], rax
cvttss2si rdx, dword [rbp + 0x4f0]
lea rcx, [rbp + 0x560]
call fcn.14008d200
nop
mov rdx, rax
lea rcx, [rbp + 0x2e0]
call fcn.1400ab9d0
mov rbx, rax
lea rdx, str.hashrate
lea rcx, [rsp + 0x70]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
nop
mov rdx, qword [rbp + 0x578]
cmp rdx, 0x10
jb 0x1400996f2
inc rdx
mov rcx, qword [rbp + 0x560]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400996ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400996ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e507c
movdqa xmm0, xmmword [0x140282f70]
movdqu xmmword [rbp + 0x570], xmm0
mov byte [rbp + 0x560], 0
lea rax, [rbp + 0x308]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402d3118]
mov edx, dword [rax + 0x120]
lea rcx, [rbp + 0x308]
call fcn.1400aba20
mov rbx, rax
lea rdx, str.epoch
lea rcx, [rsp + 0x70]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x330]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402d3118]
mov edx, dword [rax + 0x1f0]
lea rcx, [rbp + 0x330]
call fcn.1400aba50
mov rbx, rax
lea rdx, str.epoch_changes
lea rcx, [rsp + 0x70]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x358]
mov qword [rsp + 0x28], rax
lea rax, [0x14027466c]
mov qword [rbp + 0x580], rax
xor eax, eax
mov qword [rbp + 0x588], rax
mov qword [rbp + 0x590], rax
mov qword [rbp + 0x598], rax
mov qword [rbp + 0x5a0], rax
mov rbx, qword [0x1402d3118]
lea rcx, [rbx + 0xd8]
lea r8d, [rax + 0x20]
lea rdx, [rbp + 0x588]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400997f4
xorps xmm0, xmm0
mov edi, dword [rsp + 0x20]
jmp 0x140099832
lea rax, [rbx + 0xb0]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 0x20
mov r9d, 1
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xb8]
call fcn.140033ee0
mov edi, 7
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0xb8]
call fcn.140085ab0
movaps xmm1, xmm0
lea rcx, [rbp + 0x358]
call fcn.1400aba80
mov rbx, rax
lea rdx, str.difficulty
lea rcx, [rsp + 0x70]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
mov edx, dword [rbp + 0x508]
lea rcx, [rbp + 0x150]
call fcn.1400aba50
nop
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x48]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x150]
call fcn.1400abd70
mov edx, dword [rbp + 0x50c]
lea rcx, [rbp + 0x178]
call fcn.1400aba50
nop
lea rdx, [rbp + 0x178]
lea rcx, [rbp - 0x48]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x178]
call fcn.1400abd70
mov edx, dword [rbp + 0x514]
lea rcx, [rbp + 0x1a0]
call fcn.1400aba50
nop
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x48]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x1a0]
call fcn.1400abd70
sub rsi, qword [rbp + 0x518]
mov rax, r15
imul rsi
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rbp + 0xd8]
call fcn.1400abc20
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rbp - 0x48]
call fcn.1400acb30
nop
lea rcx, [rbp + 0xd8]
call fcn.1400abd70
lea rax, [rbp + 0x380]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x380]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.shares
lea rcx, [rsp + 0x70]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.1400abb00
nop
mov rcx, qword [0x1402d3108]
mov rax, qword [rcx]
lea rsi, vtable.dev::eth::Farm.0
cmp rax, rsi
jne 0x140099d8b
mov ebx, dword [rcx + 0x28c]
test ebx, ebx
je 0x140099a6c
mov edx, 6
lea rcx, [rbp + 0x40]
call fcn.1400abb00
nop
mov rcx, qword [0x1402d3108]
mov rax, qword [rcx]
mov rdx, qword [rax + 8]
cmp rax, rsi
jne 0x140099d84
mov eax, dword [rcx + 0x288]
mov edx, eax
lea rcx, [rbp + 0x100]
call fcn.1400aba50
nop
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x40]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x100]
call fcn.1400abd70
mov edx, ebx
lea rcx, [rbp + 0x128]
call fcn.1400aba50
nop
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x40]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x128]
call fcn.1400abd70
lea rax, [rbp + 0x3a8]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x3a8]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.temperatures
lea rcx, [rbp + 0x68]
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
nop
lea rcx, [rbp + 0x40]
call fcn.1400abd70
mov rdx, qword [0x1402d3108]
add rdx, 0x68
lea rcx, [rsp + 0x58]
call fcn.140026e50
or edi, 8
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x58]
mov esi, 0xffffffff
cmp rdi, qword [rsp + 0x60]
je 0x140099b54
nop dword [rax]
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x140099ab1
lock inc dword [rbx + 8]
mov rbx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
test rbx, rbx
je 0x140099ad2
lock inc dword [rbx + 8]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x4c0]
lea rdx, [rbp + 0x3d0]
call fcn.140097100
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.1400acb30
nop
lea rcx, [rbp + 0x3d0]
call fcn.1400abd70
nop
test rbx, rbx
je 0x140099b40
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140099b40
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140099b40
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
cmp rdi, qword [rsp + 0x60]
jne 0x140099aa0
mov rdi, qword [rsp + 0x58]
test rdi, rdi
je 0x140099ba2
mov rdx, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400357a0
mov rdx, qword [rsp + 0x68]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x140099b9a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099b9a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401e507c
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x3f8]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.devices
mov rcx, r14
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x420]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x420]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.monitors
mov rcx, r14
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x448]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x448]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.connection
mov rcx, r14
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x470]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x470]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.host
mov rcx, r14
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
lea rax, [rbp + 0x498]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x498]
call fcn.1400ab810
mov rbx, rax
lea rdx, str.mining
mov rcx, r14
call fcn.1400ac510
mov rcx, rax
mov rdx, rbx
call fcn.1400abe30
nop
lea rcx, [rbp + 0x68]
call fcn.1400abd70
nop
lea rcx, [rbp - 0x48]
call fcn.1400abd70
nop
lea rcx, [rsp + 0x70]
call fcn.1400abd70
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140099d1c
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140099d1c
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140099d1c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 8]
call fcn.1400abd70
nop
lea rcx, [rbp - 0x20]
call fcn.1400abd70
nop
lea rcx, [rbp + 0x90]
call fcn.1400abd70
nop
lea rcx, [rbp + 0x520]
call fcn.14004d330
lea rcx, [rbp + 0x4d0]
call fcn.14002bed0
mov rax, r14
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1401e4940
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call rdx
jmp 0x1400999d0
call qword [rax + reloc.WS2_32.dll_recv]
mov ebx, eax
jmp 0x14009999c