Function at 0x1400b5340
Capabilities:
Accept command line arguments
Create thread
Encode data using xor
Hash data with crc32
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
lea rcx, str.PB_DEBUGGER_Communication
mov dword [0x1402a9ff0], r15d
call fcn.140036c54
lea rsi, [0x140208e40]
mov rdi, rax
test rax, rax
je 0x1400b5482
lea edx, [r15 + 0x3b]
mov rcx, rax
call fcn.140055190
mov r11, rax
test rax, rax
je 0x1400b5398
mov byte [rax], r15b
inc r11
jmp 0x1400b539b
mov r11, rsi
lea r14, [0x1402a1db0]
mov ebx, r15d
mov r9, r14
nop dword [rax + rax]
mov r10, qword [r9]
mov r8, rdi
mov rax, qword [r10]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400b53d3
inc rax
test ecx, ecx
jne 0x1400b53c0
test edx, edx
je 0x1400b53e8
inc ebx
add r9, 8
cmp ebx, 4
jae 0x1400b58cc
jmp 0x1400b53b0
mov qword [0x1402aa8f8], r10
test r11, r11
je 0x1400b58e6
mov rcx, r11
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
je 0x1400b58e6
movsxd rax, ebx
mov dword [0x1402a9ff0], 1
mov rax, qword [r14 + rax*8]
cmp dword [rax + 8], r15d
jne 0x1400b5473
lea rcx, str.PB_DEBUGGER_Options
call fcn.140036c54
test rax, rax
je 0x1400b5473
lea rdx, [0x1402aa8d4]
mov rcx, rax
mov qword [rsp + 0x28], rdx
lea r9, [0x1402a9ff8]
lea rdx, [0x1402a9ffc]
mov qword [rsp + 0x20], rdx
lea r8, [0x1402a9ff4]
lea rdx, str._d__d__d__d
call fcn.14008d408
xor edx, edx
lea rcx, str.PB_DEBUGGER_Options
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
xor edx, edx
lea rcx, str.PB_DEBUGGER_Communication
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov qword [0x1402aad00], r15
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
test rax, rax
je 0x1400b5729
mov rdx, qword [0x1402b0840]
nop
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400b54a0
mov rbx, qword [0x1402b0840]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], r15b
jne 0x1400b54c0
lea rsi, [rbx + 1]
add rsi, rax
mov byte [rsi], r15b
movzx eax, byte [rbx]
test al, al
je 0x1400b5729
mov qword [rsp + 0x58], rbp
lea r14, str.NetworkClient
lea rbp, str.x4_
cmp al, 0x20
jne 0x1400b5508
movzx eax, byte [rbx + 1]
inc rbx
cmp al, 0x20
je 0x1400b54f5
test al, al
je 0x1400b5719
mov rdi, rbx
nop dword [rax + rax]
mov rcx, rbx
inc rbx
cmp al, 0x20
je 0x1400b5523
movzx eax, byte [rbx]
test al, al
jne 0x1400b5510
jmp 0x1400b5526
mov byte [rcx], r15b
lea rdx, [0x14022d978]
mov rcx, rdi
call fcn.1401a5100
test eax, eax
je 0x1400b5712
lea rdx, [0x14022d988]
mov rcx, rdi
call fcn.1401a5100
test eax, eax
je 0x1400b5712
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str._DEBUGLISTEN
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b5593
lea rcx, [rdi + 0xd]
mov qword [0x1402aad00], rbp
mov rdx, rsi
sub rdx, rcx
nop
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b5580
jmp 0x1400b5719
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.__debuglisten
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b55d3
lea rcx, [rdi + 0xe]
mov qword [0x1402aad00], rbp
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b55c0
jmp 0x1400b5719
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str._DEBUGCONNECT
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b5613
lea rcx, [rdi + 0xe]
mov qword [0x1402aad00], r14
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b5600
jmp 0x1400b5719
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.__debugconnect
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b5653
lea rcx, [rdi + 0xf]
mov qword [0x1402aad00], r14
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rcx + rdx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400b5640
jmp 0x1400b5719
mov r8d, 0xa
lea rdx, str._PASSWORD
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b56b2
lea rcx, [rsi - 1]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x1400b5670
movzx eax, word [0x14022d9e4]
mov word [rcx], ax
lea rcx, [rsi - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x1400b5690
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx + 0xa]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400b56a0
jmp 0x1400b5719
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, str.__password
mov rcx, rdi
call fcn.14004fe28
test eax, eax
jne 0x1400b5719
lea rcx, [rsi - 1]
nop
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x1400b56d0
movzx eax, word [0x14022d9e4]
mov word [rcx], ax
lea rcx, [rsi - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], r15b
lea rcx, [rcx + 1]
jne 0x1400b56f0
xor edx, edx
nop dword [rax]
movzx eax, byte [rdi + rdx + 0xb]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400b5700
jmp 0x1400b5719
mov qword [0x1402aad00], rbp
movzx eax, byte [rbx]
test al, al
jne 0x1400b54f1
mov rbp, qword [rsp + 0x58]
mov rax, qword [0x1402aad00]
test rax, rax
je 0x1400b575d
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test eax, eax
je 0x1400b5900
mov rax, qword [0x1402aad00]
mov qword [0x1402aa8f8], rax
mov dword [0x1402a9ff0], 1
jmp 0x1400b576a
cmp dword [0x1402a9ff0], r15d
je 0x1400b58b8
mov eax, dword [0x1402aa8d4]
lea r9, [0x1402aa900]
mov dword [0x1402aa8d0], eax
mov r8d, r15d
mov eax, r15d
cmp dword [0x1402a9ff4], eax
setne al
inc eax
mov dword [0x1402c0d20], eax
mov ecx, r8d
lea r9, [r9 + 4]
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test r8b, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
test dl, 1
cmove eax, ecx
inc r8d
mov dword [r9 - 4], eax
cmp r8d, 0x100
jl 0x1400b5794
lea rcx, [0x1402b0020]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1402c0ce0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [0x1402b08c0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea r8, [0x1400b49a0]
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1402aa8e8], rax
xor r9d, r9d
lea r8, [0x1400b4920]
xor edx, edx
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1402aa8f0], rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov rdx, rdi
lea rcx, str._Fatal_Debugger_Error__No_communication_plugin_found_for___s_._n_n
call fcn.1400a8110
mov ecx, 1
call fcn.14003575c
int3
mov rdx, rdi
lea rcx, str._Fatal_Debugger_Error__Communication_plugin_failed_to_connect:___s_._n_n
call fcn.1400a8110
mov ecx, 1
call fcn.14003575c
int3
mov ecx, 1
call fcn.14003575c
int3