Function at 0x1400b1a50
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6b8]
sub rsp, 0x790
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402bdaf8]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov r12, rdx
mov qword [rbp + 0x10], rdx
xor r13d, r13d
mov dword [rsp + 0x28], r13d
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 rbx, qword [0x1402c99f8]
movzx eax, byte [rbx + 0x188]
mov byte [rbp + 0x4c0], al
mov rax, qword [rbx + 0x190]
mov qword [rbp + 0x4c8], rax
lea rdx, [rbx + 0x198]
lea rcx, [rbp + 0x4d0]
call fcn.14002bf70
nop
lea rdx, [rbx + 0x1f0]
lea rcx, [rbp + 0x528]
call fcn.1400b2940
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]
mov qword [rbp + 0x18], rdx
sub rdx, qword [rbp + 0x4c8]
movabs r14, 0x112e0be826d694b3
mov rax, r14
imul rdx
mov rbx, rdx
sar rbx, 0x1a
mov rax, rbx
shr rax, 0x3f
add rbx, rax
lea edx, [r13 + 6]
lea rcx, [rbp + 0x80]
call fcn.1400cca80
nop
xor edx, edx
mov rcx, r12
call fcn.1400cca80
mov dword [rsp + 0x28], 1
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400cca80
nop
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
mov rdx, qword [str.ethminer_0.18.0_alpha.3commit.756ec8ec]
lea rcx, [rbp + 0x198]
call fcn.1400cca30
mov rdi, rax
lea rdx, str.version
lea rcx, [rbp - 0x48]
call fcn.1400cd460
mov rcx, rax
mov rdx, rdi
call fcn.1400ccd20
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rbp + 0x1c0]
call fcn.1400ccb70
mov rbx, rax
lea rdx, str.runtime
lea rcx, [rbp - 0x48]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
mov edx, 0x100
lea rcx, [rbp + 0x580]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400b1c48
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x580]
lea rcx, [rbp + 0x1e8]
call fcn.1400cca30
mov rbx, rax
jmp 0x1400b1c6a
lea rax, [rbp + 0x210]
mov qword [rsp + 0x20], rax
mov rdx, qword [0x1402c55b8]
lea rcx, [rbp + 0x210]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.name
lea rcx, [rbp - 0x48]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1400cca80
nop
lea rdx, [rsp + 0x58]
mov rcx, qword [0x1402c9a08]
call fcn.14006dbf0
nop
lea rax, [rbp + 0x238]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x540]
mov rcx, qword [rsp + 0x58]
call fcn.14006b600
nop
mov rdx, rax
lea rcx, [rbp + 0x238]
call fcn.1400cc950
mov rbx, rax
lea rdx, [0x140257a70]
lea rcx, [rbp - 0x20]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
nop
mov r8, qword [rbp + 0x558]
cmp r8, 0x10
jb 0x1400b1d12
inc r8
mov rdx, qword [rbp + 0x540]
lea rcx, [rbp + 0x540]
call fcn.14003b660
mov qword [rbp + 0x558], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x550], r13
mov byte [rbp + 0x540], 0
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1402c9a08]
mov rcx, qword [rax + 0x228]
mov rax, qword [rcx]
call qword [rax + 0x28]
movzx edx, al
lea rcx, [rbp + 0x260]
call fcn.1400ccb90
mov rbx, rax
lea rdx, str.connected
lea rcx, [rbp - 0x20]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x288]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1402c9a08]
mov edx, dword [rax + 0xb8]
lea rcx, [rbp + 0x288]
call fcn.1400cc9d0
mov rbx, rax
lea rdx, str.switches
lea rcx, [rbp - 0x20]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400cca80
nop
mov edx, 6
lea rcx, [rbp - 0x70]
call fcn.1400cca80
nop
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x20], rax
cvttss2si rdx, dword [rbp + 0x4f0]
lea rcx, [rbp + 0x560]
call fcn.1400a9190
nop
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.1400cc950
mov rbx, rax
lea rdx, str.hashrate
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
nop
mov r8, qword [rbp + 0x578]
cmp r8, 0x10
jb 0x1400b1e4b
inc r8
mov rdx, qword [rbp + 0x560]
lea rcx, [rbp + 0x560]
call fcn.14003b660
mov qword [rbp + 0x578], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x570], r13
mov byte [rbp + 0x560], 0
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1402c9a08]
mov edx, dword [rax + 0x158]
lea rcx, [rbp + 0x2d8]
call fcn.1400cc9a0
mov rbx, rax
lea rdx, str.epoch
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x300]
mov qword [rsp + 0x20], rax
mov rax, qword [0x1402c9a08]
mov edx, dword [rax + 0x230]
lea rcx, [rbp + 0x300]
call fcn.1400cc9d0
mov rbx, rax
lea rdx, str.epoch_changes
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x328]
mov qword [rsp + 0x20], rax
mov rcx, qword [0x1402c9a08]
call fcn.14006eb80
movaps xmm1, xmm0
lea rcx, [rbp + 0x328]
call fcn.1400cca00
mov rbx, rax
lea rdx, str.difficulty
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x350]
mov qword [rsp + 0x20], rax
mov edx, dword [rbp + 0x520]
lea rcx, [rbp + 0x350]
call fcn.1400ccb70
mov rbx, rax
lea rdx, str.jobs
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
mov edx, dword [rbp + 0x508]
lea rcx, [rbp + 0xf8]
call fcn.1400cc9d0
nop
lea rdx, [rbp + 0xf8]
lea rcx, [rbp - 0x70]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0xf8]
call fcn.1400ccc60
mov edx, dword [rbp + 0x50c]
lea rcx, [rbp + 0x120]
call fcn.1400cc9d0
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x70]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0x120]
call fcn.1400ccc60
mov edx, dword [rbp + 0x514]
lea rcx, [rbp + 0x148]
call fcn.1400cc9d0
nop
lea rdx, [rbp + 0x148]
lea rcx, [rbp - 0x70]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0x148]
call fcn.1400ccc60
sub rsi, qword [rbp + 0x518]
mov rax, r14
imul rsi
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rbp + 0x170]
call fcn.1400ccb70
nop
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x70]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0x170]
call fcn.1400ccc60
lea rax, [rbp + 0x378]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x378]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.shares
lea rcx, [rsp + 0x68]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
xor edx, edx
lea rcx, [rbp + 0x58]
call fcn.1400cca80
nop
mov rcx, qword [0x1402c99f8]
mov rax, qword [rcx]
lea rdi, vtable.dev::eth::Farm.0
cmp rax, rdi
jne 0x1400b20a9
mov ebx, dword [rcx + 0x2a8]
jmp 0x1400b20ae
call qword [rax + reloc.WS2_32.dll_recv]
mov ebx, eax
test ebx, ebx
je 0x1400b217e
mov edx, 6
lea rcx, [rbp + 0x30]
call fcn.1400cca80
nop
mov rcx, qword [0x1402c99f8]
mov rax, qword [rcx]
mov rdx, qword [rax + 8]
cmp rax, rdi
jne 0x1400b20e0
mov eax, dword [rcx + 0x2a4]
jmp 0x1400b20e2
call rdx
mov edx, eax
lea rcx, [rbp + 0xa8]
call fcn.1400cc9d0
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x30]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0xa8]
call fcn.1400ccc60
mov edx, ebx
lea rcx, [rbp + 0xd0]
call fcn.1400cc9d0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x30]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0xd0]
call fcn.1400ccc60
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x3a0]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.temperatures
lea rcx, [rbp + 0x58]
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
nop
lea rcx, [rbp + 0x30]
call fcn.1400ccc60
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1402c99f8]
call fcn.1400a9370
nop
mov rsi, qword [rsp + 0x40]
or r14d, 0xffffffff
cmp rsi, qword [rsp + 0x48]
je 0x1400b2287
mov rbx, qword [rsi + 8]
mov r15, qword [rsi]
test rbx, rbx
je 0x1400b21b4
lock inc dword [rbx + 8]
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x20], r15
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
test rbx, rbx
je 0x1400b2203
lock inc dword [rbx + 8]
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400b2203
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400b2203
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r14d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x1400b2203
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x4c0]
lea rdx, [rbp + 0x3c8]
call fcn.1400afd70
nop
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400cd9a0
nop
lea rcx, [rbp + 0x3c8]
call fcn.1400ccc60
nop
test rbx, rbx
je 0x1400b2273
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b2273
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b2273
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
add rsi, 0x10
cmp rsi, qword [rsp + 0x48]
jne 0x1400b21a4
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400b235a
cmp rsi, qword [rsp + 0x48]
je 0x1400b22e7
add rsi, 8
nop dword [rax + rax]
mov rbx, qword [rsi]
test rbx, rbx
je 0x1400b22d3
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400b22d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400b22d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
add rsi, 0x10
lea rax, [rsi - 8]
cmp rax, qword [rsp + 0x48]
jne 0x1400b22a0
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
sub rax, rsi
sar rax, 4
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
jbe 0x1400b2309
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
shl rax, 4
cmp rax, 0x1000
jb 0x1400b2352
test sil, 0x1f
je 0x1400b2322
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400b2332
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400b2342
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rsi, 0x27
jbe 0x1400b234f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rsi, rax
mov rcx, rsi
call fcn.1401cfdc4
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x3f0]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.devices
mov rcx, r12
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x418]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x418]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.monitors
mov rcx, r12
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x440]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x440]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.connection
mov rcx, r12
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x468]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x468]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.host
mov rcx, r12
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
lea rax, [rbp + 0x490]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x490]
call fcn.1400cc790
mov rbx, rax
lea rdx, str.mining
mov rcx, r12
call fcn.1400cd460
mov rcx, rax
mov rdx, rbx
call fcn.1400ccd20
nop
lea rcx, [rbp + 0x58]
call fcn.1400ccc60
nop
lea rcx, [rbp - 0x70]
call fcn.1400ccc60
nop
lea rcx, [rsp + 0x68]
call fcn.1400ccc60
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400b24d7
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400b24d7
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400b24d7
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp - 0x20]
call fcn.1400ccc60
nop
lea rcx, [rbp - 0x48]
call fcn.1400ccc60
nop
lea rcx, [rbp + 0x80]
call fcn.1400ccc60
nop
mov rcx, qword [rbp + 0x528]
test rcx, rcx
je 0x1400b25bc
mov rdx, qword [rbp + 0x530]
call fcn.140063be0
mov rcx, qword [rbp + 0x538]
mov r8, qword [rbp + 0x528]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movabs rax, 0x2e8ba2e8ba2e8ba
cmp rdx, rax
jbe 0x1400b2556
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
imul rax, rdx, 0x58
cmp rax, 0x1000
jb 0x1400b25a2
test byte [rbp + 0x528], 0x1f
je 0x1400b2572
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [r8 - 8]
cmp rax, r8
jb 0x1400b2582
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub r8, rax
cmp r8, 8
jae 0x1400b2592
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp r8, 0x27
jbe 0x1400b259f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, rax
mov rcx, r8
call fcn.1401cfdc4
mov qword [rbp + 0x528], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x530], xmm0
mov rax, qword [rbp + 0x4e8]
cmp rax, 0x10
jb 0x1400b261c
inc rax
mov rcx, qword [rbp + 0x4d0]
cmp rax, 0x1000
jb 0x1400b2617
test cl, 0x1f
je 0x1400b25e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400b25f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400b2607
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x1400b2614
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1401cfdc4
mov rax, r12
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1401cf6b0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret