Function at 0x1400ff170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov rsi, qword [rcx + 8]
mov rbx, rcx
mov r13, qword [rcx]
xor r12d, r12d
mov rdi, qword [rcx + 0x10]
mov ebp, r8d
mov rcx, r13
mov dword [rsp + 0x34], r12d
movzx eax, byte [rsi + 0x20]
mov r14d, edx
mov byte [rsp + 0x88], al
call fcn.14015b680
mov dword [rsp + 0x80], eax
mov r9d, eax
mov dword [rsp + 0x30], r12d
cmp edx, 2
jne 0x1400ff1dd
cmp byte [rsi + 0x21], 0x5a
jne 0x1400ff1dd
xor eax, eax
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r10d, reloc.WS2_32.dll_gethostname
test ebp, ebp
jle 0x1400ff260
cmp byte [rsi + 0x20], 0x59
mov rcx, rdi
jne 0x1400ff24e
call fcn.14015b400
mov dword [rsp + 0x30], eax
cmp r14d, 2
jne 0x1400ff22c
cmp byte [rsi + 0x21], 0x56
jne 0x1400ff20b
mov r8d, dword [rbx + 0x34]
jmp 0x1400ff20f
mov r8d, dword [rbx + 0x2c]
mov edx, gethostname
mov eax, 0x2c
cmovne edx, r10d
mov r10d, gethostname
cmovne eax, r10d
mov ecx, dword [rax + rbx]
jmp 0x1400ff238
mov r8d, dword [rbx + 0x3c]
mov edx, gethostname
mov ecx, dword [rbx + 0x34]
mov dword [rsp + 0x28], r9d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call fcn.1400ff530
jmp 0x1400ff260
mov edx, 0x3b
mov dword [rsp + 0x20], 1
call fcn.14015bbb0
cmp r14d, 1
jne 0x1400ff279
cmp dword [rsi + 0x84], r12d
jne 0x1400ff279
xor edx, edx
mov rcx, rbx
call fcn.140100120
mov rcx, rdi
mov qword [rsp + 0x90], r15
call fcn.14015b400
mov dword [rsp + 0x38], eax
movzx eax, byte [rsi + 0x22]
cmp byte [rsi + 0x21], al
jne 0x1400ff33a
test ebp, ebp
je 0x1400ff33a
cmp byte [rsi + 0x20], 0x59
jne 0x1400ff33a
mov rcx, r13
call fcn.14013f250
mov ebp, eax
call fcn.14013f250
mov r15d, eax
cmp r14d, 2
jne 0x1400ff2f1
mov r8d, dword [rbx + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rdi
call fcn.14015bc30
mov r8d, dword [rbx + 0x3c]
mov r9d, r15d
mov edx, 0x87
mov rcx, rdi
call fcn.14015bc30
mov r8d, r15d
jmp 0x1400ff30f
cmp dword [rbx + 0x28], r12d
je 0x1400ff328
mov r8d, dword [rbx + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rdi
call fcn.14015bc30
mov r8d, dword [rbx + 0x28]
mov r9d, dword [rsp + 0x80]
mov edx, reloc.WS2_32.dll_gethostname
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.14015bbb0
mov edx, ebp
mov rcx, r13
call fcn.14013f230
mov edx, r15d
call fcn.14013f230
mov ecx, r14d
sub ecx, 1
je 0x1400ff3ce
cmp ecx, 1
je 0x1400ff390
mov ebp, dword [rbx + 0x3c]
mov r15d, dword [rbx + 0x40]
cmp dword [rsi + 0x84], r12d
je 0x1400ff376
mov r8d, dword [rsi + 0x88]
mov r9d, 1
mov rcx, rdi
lea edx, [r9 + 0x55]
call fcn.14015bc30
jmp 0x1400ff3dd
mov eax, dword [rbx + 0x20]
xor r9d, r9d
mov r8d, ebp
mov dword [rsp + 0x20], eax
mov rdx, rsi
mov rcx, rbx
call fcn.140100270
jmp 0x1400ff3dd
mov r8d, dword [rsi + 0x84]
mov r9d, 1
mov ebp, dword [rbx + 0x2c]
mov r15d, dword [rbx + 0x30]
test r8d, r8d
je 0x1400ff3b7
lea edx, [r9 + 0x55]
mov rcx, rdi
call fcn.14015bc30
jmp 0x1400ff3dd
mov eax, dword [rbx + 0x20]
mov r8d, ebp
mov rdx, rsi
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.140100270
jmp 0x1400ff3dd
mov ebp, dword [rbx + 0x34]
mov rcx, rbx
mov r15d, dword [rbx + 0x38]
call fcn.1400ffa80
cmp r14d, dword [rbx + 0x24]
jne 0x1400ff400
mov r8d, ebp
mov edx, 0x82
mov rcx, rdi
call fcn.14015bc50
mov edx, 2
mov rcx, rdi
call fcn.14015b1f0
mov rcx, rdi
call fcn.14015b400
mov r8d, ebp
mov edx, 0x27
cmp dword [rsp + 0x98], r12d
je 0x1400ff444
lea r9d, [rax + 2]
call fcn.14015bc30
mov edx, 9
mov rcx, rdi
call fcn.14015bc70
cmp byte [rsp + 0x88], 0x4c
mov dword [rsp + 0x34], eax
je 0x1400ff4d8
jmp 0x1400ff47f
cmp byte [rsp + 0x88], 0x4c
mov r9d, r12d
setne r9b
inc r9d
add r9d, eax
call fcn.14015bc30
cmp byte [rsp + 0x88], 0x4c
je 0x1400ff4d8
mov r9d, dword [rsp + 0x80]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 9]
call fcn.14015bc30
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1400ff4a0
mov r14d, dword [rax]
test r14d, r14d
je 0x1400ff4a3
mov edx, r14d
mov rcx, r13
call fcn.14013f1e0
mov r12d, eax
jmp 0x1400ff4a3
mov r14d, r12d
mov r8d, r12d
mov edx, ebp
mov rcx, rbx
call fcn.140100690
mov eax, dword [rsp + 0x38]
mov r9d, r15d
mov rdx, qword [rsi + 0x18]
mov r8d, r12d
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.1400ff7f0
mov r8d, r14d
mov edx, r12d
mov rcx, r13
call fcn.14013f1c0
mov eax, dword [rsp + 0x30]
mov r15, qword [rsp + 0x90]
test eax, eax
je 0x1400ff4fa
xor r8d, r8d
mov r9d, eax
mov rcx, rdi
lea edx, [r8 + 9]
call fcn.14015bc30
mov edx, dword [rsp + 0x80]
mov rcx, rdi
call fcn.14015b590
mov eax, dword [rsp + 0x34]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret