Function at 0x140169650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rbp + 0xa8], rax
movabs r13, 0x7fffffffffffffff
cmp byte [0x140542403], 0
jne 0x140169717
movabs rdi, 0x7ffffffffa0a1eff
call fcn.1403874a4
mov rbx, rax
call fcn.140387488
mov r8, rax
cmp rbx, 0x989680
jne 0x1401696c4
imul rax, r8, 0x64
jmp 0x1401696e7
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
mov rax, r8
cqo
idiv rbx
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rdi
jge 0x1401696fb
add rax, 0x5f5e100
mov qword [rbp + 0xa0], rax
jmp 0x140169702
mov qword [rbp + 0xa0], r13
lea rcx, [rbp + 0xa0]
call fcn.14015efe0
cmp byte [0x140542403], 0
je 0x1401696a5
cmp byte [0x140542401], 0
je 0x14016974f
cmp byte [0x140542402], 0
je 0x14016974f
lea rdx, [0x140520328]
lea rcx, [rbp - 0x58]
call fcn.14015f650
lea r8, [0x140520368]
lea rdx, [0x140520348]
mov rcx, rax
call fcn.140168cd0
xor r12d, r12d
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
mov qword [rbp], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x18], r12b
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x38], r12b
lea rdx, [0x140520248]
lea rcx, [rbp - 0x58]
call fcn.14015f650
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1401688d0
mov ecx, 0x98
call fcn.14038a538
mov r14, rax
mov qword [rbp + 0xa0], rax
lea r15d, [r12 + 0x16]
test rax, rax
je 0x140169944
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rsi, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rsi, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x28]
cmp rdi, r13
ja 0x140169dc4
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x140169817
mov qword [rsp + 0x70], rdi
lea r8d, [r12 + 0x10]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.14038cc40
jmp 0x14016985c
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x140169828
mov rbx, r13
jmp 0x14016982f
cmp rbx, r15
cmovb rbx, r15
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x60]
call fcn.140165820
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14038cc40
nop
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea rsi, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae rsi, qword [rbp - 0x18]
mov rdi, qword [rbp - 8]
cmp rdi, r13
ja 0x140169dca
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1401698b2
mov qword [rbp - 0x68], rdi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14038cc40
jmp 0x1401698f4
mov rbx, rdi
or rbx, 0xf
cmp rbx, r13
jbe 0x1401698c3
mov rbx, r13
jmp 0x1401698cb
cmp rbx, 0x16
cmovb rbx, r15
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x78]
call fcn.140165820
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rbx
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14038cc40
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x1405202a8]
lea rcx, [rbp - 0x58]
call fcn.14015f650
mov rbx, rax
lea rdx, [0x1405202c8]
lea rcx, [rbp + 8]
call fcn.14015f650
nop
mov byte [rsp + 0x28], 1
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x78]
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.14015feb0
jmp 0x140169947
mov rax, r12
mov qword [0x140542408], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x48], rax
lea rdx, [0x140520368]
lea rcx, [rbp + 8]
call fcn.14015f650
mov rdi, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x140520348]
lea rcx, [rbp - 0x58]
call fcn.14015f650
mov rbx, rax
lea rdx, [0x140520308]
lea rcx, [rbp - 0x78]
call fcn.14015f650
movzx ecx, byte [0x140542401]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], cl
movzx r9d, byte [0x14054244a]
movzx r8d, byte [0x140542448]
xor edx, edx
mov rcx, qword [0x140542408]
call fcn.140310980
lea rcx, [0x140520268]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140520268]
mov r8, qword [reloc.WS2_32.dll_connect]
cmp r8, 4
jne 0x140169a02
lea rdx, [0x14041ece4]
call fcn.14038cb40
test eax, eax
je 0x140169a21
lea rdx, [0x140520268]
lea rcx, [rbp + 8]
call fcn.14015f650
mov rdx, rax
mov rcx, qword [0x140542408]
call fcn.1403102b0
lea rcx, [0x140520288]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x140520288]
mov r8, qword [reloc.WS2_32.dll_connect]
cmp r8, 4
jne 0x140169a55
lea rdx, [0x14041ece4]
call fcn.14038cb40
test eax, eax
je 0x140169a74
lea rdx, [0x140520288]
lea rcx, [rbp + 8]
call fcn.14015f650
mov rdx, rax
mov rcx, qword [0x140542408]
call fcn.1403102b0
mov dword [rbp + 0xa0], 0x47350d03
mov byte [rbp + 0xa4], 0x53
mov r8, r12
mov r10d, 5
lea r11, str.ghG_brtQ5_uT1a7_E64p_Bu____5y4V2oa
lea r15, [0x1405200e8]
nop dword [rax]
mov rax, r8
cmp r8, 0x42
jge 0x140169ada
movzx r9d, byte [rbp + r8 + 0xa0]
movzx edx, r9b
xor dl, byte [rax + r11]
mov rcx, r15
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rcx, qword [0x1405200e8]
mov byte [rcx + rax], dl
add rax, 5
cmp rax, 0x42
jl 0x140169ab2
inc r8
sub r10, 1
jne 0x140169aa0
mov rdx, qword [0x140542538]
mov rax, qword [0x140542540]
sub rax, rdx
cmp rax, 0x20
jb 0x140169dd0
lea rcx, [rbp + 8]
call fcn.14015f650
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x18]
mov rcx, rax
call fcn.1401688d0
mov ecx, 0x98
call fcn.14038a538
mov r14, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140169ba6
lea rax, [rbp + 8]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
call fcn.14015f650
mov rsi, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x58]
call fcn.14015f650
mov rdi, rax
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
lea rdx, [0x1405200c8]
lea rcx, [rbp - 0x78]
call fcn.14015f650
mov rbx, rax
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.14015f650
nop
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov r9, rdi
mov r8, rbx
mov rdx, rax
mov rcx, r14
call fcn.14015feb0
jmp 0x140169ba9
mov rax, r12
mov qword [0x140542410], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x48], rax
lea rdx, [0x140520368]
lea rcx, [rbp + 8]
call fcn.14015f650
mov rdi, rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x58], rax
lea rdx, [0x140520348]
lea rcx, [rbp - 0x58]
call fcn.14015f650
mov rbx, rax
lea rdx, [0x140520308]
lea rcx, [rbp - 0x78]
call fcn.14015f650
movzx ecx, byte [0x140542401]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], cl
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, qword [0x140542410]
call fcn.140310980
mov r15d, 1
mov rax, qword [0x140542540]
mov rdx, qword [0x140542538]
sub rax, rdx
sar rax, 5
cmp rax, r15
jbe 0x140169d1b
mov r14d, 0x20
lea rdi, [r14 + rdx]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140169c6e
mov rdi, qword [rdi]
cmp rsi, r13
ja 0x140169eb0
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x140169c9d
mov qword [rbp - 0x68], rsi
mov r8d, reloc.WS2_32.dll_recv
mov rdx, rdi
lea rcx, [rbp - 0x78]
call fcn.14038cc40
jmp 0x140169ce3
mov rbx, rsi
or rbx, 0xf
cmp rbx, r13
jbe 0x140169cae
mov rbx, r13
jmp 0x140169cbb
cmp rbx, 0x16
mov eax, reloc.WS2_32.dll_shutdown
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x78]
call fcn.140165820
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rbx
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call fcn.14038cc40
lea rdx, [rbp - 0x78]
mov rcx, qword [0x140542410]
call fcn.1403102b0
inc r15d
add r14, 0x20
mov rcx, qword [0x140542540]
mov rdx, qword [0x140542538]
sub rcx, rdx
sar rcx, 5
movsxd rax, r15d
cmp rax, rcx
jb 0x140169c50
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140169d57
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140169d51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140169eaa
call fcn.14038a574
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140169d8e
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140169d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140169dbe
call fcn.14038a574
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.14038a8e0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14039178c
nop
call fcn.140165580
nop
call fcn.140165580
nop
mov byte [rsp + 0x40], 6
lea rdx, [rsp + 0x40]
lea rcx, [0x140545f60]
call fcn.140162350
mov rbx, rax
lea rcx, [rbp + 8]
call fcn.1401607a0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140161ff0
mov rbx, rax
lea rcx, [rsp + 0x48]
call fcn.14016a7b0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1401607d0
mov rdx, rax
mov rcx, rbx
call fcn.140162160
mov rbx, rax
lea rdx, str.C:deroCminiportminer.cpp
lea rcx, [rbp - 0x58]
call fcn.14015f720
nop
lea rdx, str.initPool
lea rcx, [rbp - 0x78]
call fcn.14015f720
nop
mov r9d, 0xcb
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x40]
call fcn.1401600a0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140161f30
mov rcx, rax
lea rdx, str.Unable_to_connect_to_any_community_nodes__exitting..._n
call fcn.14015cb70
nop
lea rcx, [rbp + 0x40]
call fcn.140161350
nop
lea rcx, [rbp - 0x78]
call fcn.140161040
nop
lea rcx, [rbp - 0x58]
call fcn.140161040
nop
lea rcx, [rbp + 8]
call fcn.140161580
xor ecx, ecx
call fcn.140391afc
nop
call fcn.14039178c
nop
call fcn.140165580
int3