Function at 0x1400a7370
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov rax, qword [0x1402ba410]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov r15, rdx
mov qword [rbp + 0x30], rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400a73cf
imul rdi, rax, 0x64
jmp 0x1400a73ea
cqo
idiv rbx
imul rdi, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rdi, rax
mov rdx, qword [0x1402c5898]
add rdx, 0x198
lea rcx, [rbp + 0x490]
call fcn.1400a50e0
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400a7423
imul rcx, rax, 0x64
jmp 0x1400a743e
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
sub rcx, qword [rbp + 0x498]
movabs r12, 0x112e0be826d694b3
mov rax, r12
imul rcx
mov rbx, rdx
sar rbx, 0x1a
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov edx, 6
lea rcx, [rbp + 0xb0]
call fcn.1400b6fc0
nop
xor edx, edx
mov rcx, r15
call fcn.1400b6fc0
mov dword [rsp + 0x20], 1
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.1400b6fc0
nop
lea rax, [rbp + 0x1e8]
mov qword [rsp + 0x28], rax
lea rdx, str.kawpowminer_1.3.0
lea rcx, [rbp + 0x1e8]
call fcn.1400b6f70
mov rsi, rax
lea rdx, str.version
lea rcx, [rbp - 0x48]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rsi
call fcn.1400b7340
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rbp + 0x210]
call fcn.1400b70f0
mov rbx, rax
lea rdx, str.runtime
lea rcx, [rbp - 0x48]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
mov edx, 0x100
lea rcx, [rbp + 0x580]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rbp + 0x60]
test eax, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
jne 0x1400a7540
lea rdx, [rbp + 0x580]
call fcn.1400b6f70
mov rbx, rax
jmp 0x1400a754f
mov rdx, qword [0x1402c1e18]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.name
lea rcx, [rbp - 0x48]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
xor edx, edx
lea rcx, [rbp + 8]
call fcn.1400b6fc0
nop
lea rdx, [rsp + 0x60]
mov rcx, qword [0x1402c58a0]
call fcn.14005d960
nop
lea rax, [rbp + 0x238]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x60]
add rdx, 0x1a0
lea rcx, [rbp + 0x510]
call fcn.1400316d0
mov dword [rsp + 0x20], 3
lea rdx, [rbp + 0x510]
lea rcx, [rbp + 0x238]
call fcn.1400b6e90
mov rbx, rax
lea rdx, [0x14027c45c]
lea rcx, [rbp + 8]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
nop
mov rdx, qword [rbp + 0x528]
cmp rdx, 0x10
jb 0x1400a762a
inc rdx
mov rcx, qword [rbp + 0x510]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7625
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a7625
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rbp + 0x520], r14
mov qword [rbp + 0x528], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x510], 0
lea rax, [rbp + 0x260]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402c58a0]
mov rcx, qword [rax + 0x240]
mov rax, qword [rcx]
call qword [rax + 0x28]
movzx edx, al
lea rcx, [rbp + 0x260]
call fcn.1400b7110
mov rbx, rax
lea rdx, str.connected
lea rcx, [rbp + 8]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x288]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402c58a0]
mov edx, dword [rax + 0x88]
lea rcx, [rbp + 0x288]
call fcn.1400b6f10
mov rbx, rax
lea rdx, str.switches
lea rcx, [rbp + 8]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400b6fc0
nop
mov edx, 6
lea rcx, [rbp - 0x20]
call fcn.1400b6fc0
nop
lea rax, [rbp + 0x2b0]
mov qword [rsp + 0x28], rax
cvttss2si rdx, dword [rbp + 0x4c0]
lea rcx, [rbp + 0x530]
call fcn.14009b740
nop
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.1400b6e90
mov rbx, rax
lea rdx, str.hashrate
lea rcx, [rsp + 0x70]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
nop
mov rdx, qword [rbp + 0x548]
cmp rdx, 0x10
jb 0x1400a7784
inc rdx
mov rcx, qword [rbp + 0x530]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a777f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a777f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401ec5cc
mov qword [rbp + 0x540], r14
mov qword [rbp + 0x548], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x530], 0
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402c58a0]
cmp byte [rax + 0x154], 0
je 0x1400a7ebc
mov edx, dword [rax + 0x150]
lea rcx, [rbp + 0x2d8]
call fcn.1400b6ee0
mov rbx, rax
lea rdx, str.epoch
lea rcx, [rsp + 0x70]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x300]
mov qword [rsp + 0x28], rax
mov rax, qword [0x1402c58a0]
mov edx, dword [rax + 0x248]
lea rcx, [rbp + 0x300]
call fcn.1400b6f10
mov rbx, rax
lea rdx, str.epoch_changes
lea rcx, [rsp + 0x70]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x328]
mov qword [rsp + 0x28], rax
mov rbx, qword [0x1402c58a0]
lea rax, [0x140276434]
mov qword [rbp + 0x550], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x558], xmm0
movups xmmword [rbp + 0x568], xmm0
lea rcx, [rbx + 0xe0]
mov r8d, 0x20
lea rdx, [rbp + 0x558]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete al
test al, al
je 0x1400a788b
xorps xmm0, xmm0
jmp 0x1400a78c8
lea rax, [rbx + 0xb8]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 0x20
mov r9d, 1
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xd8]
call fcn.14003a750
mov dword [rsp + 0x20], 7
lea rcx, [rbp + 0xd8]
call fcn.140093600
movaps xmm1, xmm0
lea rcx, [rbp + 0x328]
call fcn.1400b6f40
mov rbx, rax
lea rdx, str.difficulty
lea rcx, [rsp + 0x70]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
mov edx, dword [rbp + 0x4d8]
lea rcx, [rbp + 0xf8]
call fcn.1400b6f10
nop
lea rdx, [rbp + 0xf8]
lea rcx, [rbp - 0x20]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0xf8]
call fcn.1400b7290
mov edx, dword [rbp + 0x4dc]
lea rcx, [rbp + 0x120]
call fcn.1400b6f10
nop
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x120]
call fcn.1400b7290
mov edx, dword [rbp + 0x4e4]
lea rcx, [rbp + 0x148]
call fcn.1400b6f10
nop
lea rdx, [rbp + 0x148]
lea rcx, [rbp - 0x20]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x148]
call fcn.1400b7290
sub rdi, qword [rbp + 0x4e8]
mov rax, r12
imul rdi
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.1400b70f0
nop
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp - 0x20]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x1c0]
call fcn.1400b7290
lea rax, [rbp + 0x350]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x350]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.shares
lea rcx, [rsp + 0x70]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
xor edx, edx
lea rcx, [rbp + 0x88]
call fcn.1400b6fc0
nop
mov rcx, qword [0x1402c5898]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
je 0x1400a7ae7
mov edx, 6
lea rcx, [rbp + 0x38]
call fcn.1400b6fc0
nop
mov rcx, qword [0x1402c5898]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edx, eax
lea rcx, [rbp + 0x170]
call fcn.1400b6f10
nop
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x38]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x170]
call fcn.1400b7290
mov edx, ebx
lea rcx, [rbp + 0x198]
call fcn.1400b6f10
nop
lea rdx, [rbp + 0x198]
lea rcx, [rbp + 0x38]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x198]
call fcn.1400b7290
lea rax, [rbp + 0x378]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x378]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.temperatures
lea rcx, [rbp + 0x88]
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
nop
lea rcx, [rbp + 0x38]
call fcn.1400b7290
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov rax, qword [0x1402c5898]
mov rdi, qword [rax + 0x68]
mov rsi, qword [rax + 0x70]
cmp rdi, rsi
je 0x1400a7b7a
mov rbx, rsi
sub rbx, rdi
sar rbx, 4
mov rdx, rbx
call fcn.1400334f0
mov rcx, rax
mov qword [rsp + 0x38], rax
shl rbx, 4
add rbx, rax
mov qword [rsp + 0x48], rbx
sub rdi, rax
nop dword [rax]
nop word [rax + rax]
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov rax, qword [rcx + rdi + 8]
test rax, rax
je 0x1400a7b55
lock inc dword [rax + 8]
mov rax, qword [rcx + rdi]
mov qword [rcx], rax
mov rax, qword [rcx + rdi + 8]
mov qword [rcx + 8], rax
add rcx, 0x10
lea rax, [rcx + rdi]
cmp rax, rsi
jne 0x1400a7b40
mov qword [rsp + 0x40], rcx
mov r14, rcx
mov r12, qword [rsp + 0x40]
or dword [rsp + 0x20], 8
mov rdi, qword [rsp + 0x38]
mov esi, 0xffffffff
cmp rdi, r14
je 0x1400a7c49
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400a7ba8
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 + 0x50], xmm0
test rbx, rbx
je 0x1400a7bc9
lock inc dword [rbx + 8]
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x490]
lea rdx, [rbp + 0x3a0]
call fcn.1400a5230
nop
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1400b7dc0
nop
lea rcx, [rbp + 0x3a0]
call fcn.1400b7290
nop
test rbx, rbx
je 0x1400a7c37
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a7c37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a7c37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
cmp rdi, r14
jne 0x1400a7b97
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x1400a7cd5
cmp rdi, r12
je 0x1400a7c99
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x1400a7c89
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a7c89
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a7c89
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
add rdi, 0x10
cmp rdi, qword [rsp + 0x40]
jne 0x1400a7c57
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
and rdx, 0xfffffffffffffff0
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400a7ccd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a7ccd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401ec5cc
lea rax, [rbp + 0x3c8]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x3c8]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.devices
mov rcx, r15
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x3f0]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x3f0]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.monitors
mov rcx, r15
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x418]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x418]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.connection
mov rcx, r15
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x440]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x440]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.host
mov rcx, r15
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
lea rax, [rbp + 0x468]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x468]
call fcn.1400b6c10
mov rbx, rax
lea rdx, str.mining
mov rcx, r15
call fcn.1400b7a10
mov rcx, rax
mov rdx, rbx
call fcn.1400b7340
nop
lea rcx, [rbp + 0x88]
call fcn.1400b7290
nop
lea rcx, [rbp - 0x20]
call fcn.1400b7290
nop
lea rcx, [rsp + 0x70]
call fcn.1400b7290
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400a7e55
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400a7e55
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400a7e55
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 8]
call fcn.1400b7290
nop
lea rcx, [rbp - 0x48]
call fcn.1400b7290
nop
lea rcx, [rbp + 0xb0]
call fcn.1400b7290
nop
lea rcx, [rbp + 0x4f0]
call fcn.140057020
lea rcx, [rbp + 0x4a0]
call fcn.140032e40
mov rax, r15
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1401ebfb0
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140052f40
int3