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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x14005b040]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp byte [rdx], 1
mov rsi, rdx
movsxd rax, r9d
mov r14, rcx
mov dword [rsp + 0x50], eax
movsxd r15, r8d
lea r13, [rcx + rax*8]
jne 0x14000cafa
mov r12, qword [r13]
mov qword [rsp + 0x78], r12
mov rbp, qword [r12 + 0x540]
test rbp, rbp
je 0x14000cae2
mov rcx, qword [rcx + 0x2058]
lea rbx, [rdx + 0xf0]
lea rdx, str.Settings
mov r9d, 0x43
lea r8, str.PORT_67
call fcn.140019450
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [r14 + 0x2058]
lea r8, str.RelayAgentAdvanced
mov r9d, 1
mov word [rsp + 0x40], ax
lea rdx, str.Settings
call fcn.140019450
mov rcx, qword [r14 + 0x2058]
lea r8, str.PreserveRelayIP
xor r9d, r9d
mov dword [rsp + 0x48], eax
lea rdx, str.Settings
call fcn.140019450
mov rcx, qword [r12 + 8]
mov dword [rsp + 0x44], eax
mov rcx, qword [rcx + 0x10]
call fcn.140011110
mov rcx, qword [r12 + 8]
mov edi, eax
mov rcx, qword [rcx + 0x18]
call fcn.140011110
and eax, edi
mov ecx, 0x30
mov dword [rsp + 0x54], eax
call fcn.140021130
xorps xmm0, xmm0
mov qword [rsp + 0x58], rax
mov rcx, r15
mov r12, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov dword [rax + 8], r15d
call fcn.14002c94c
mov r8, r15
mov qword [r12], rax
mov rdx, rsi
mov rcx, rax
call fcn.140045d50
mov eax, dword [rsp + 0x100]
xor ecx, ecx
mov dword [r12 + 0xc], eax
movzx eax, word [rsp + 0x108]
mov word [r12 + 0x10], ax
mov eax, dword [rsp + 0x50]
mov dword [r12 + 0x14], eax
call fcn.14002db90
mov rdi, qword [rsp + 0x58]
mov qword [r12 + 0x20], rax
mov dword [r12 + 0x28], 0x1e
xor r12d, r12d
mov edx, r12d
mov dword [rdi + 0x18], r12d
nop
movsxd rax, edx
lea rcx, [rax*8]
cmp qword [rcx + rbp + 0x5b0], r12
je 0x14000c8f7
inc edx
cmp edx, 0x80
jl 0x14000c8d0
mov r8d, 0xffffffff
jmp 0x14000c923
mov qword [rcx + rbp + 0x5b0], rdi
movzx ecx, byte [0x14005d870]
movzx eax, cx
shl ax, 8
movzx r8d, ax
movzx eax, dl
or r8d, eax
inc cl
mov dword [rdi + 0x18], r8d
mov byte [0x14005d870], cl
cmp r8d, 0xffffffff
je 0x14000caba
mov eax, dword [rsp + 0x54]
mov r15, qword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov word [rsp + 0x60], 0x402
mov dword [rsp + 0x62], r8d
mov eax, dword [r15 + 0x564]
mov dword [rsp + 0x6e], eax
movzx eax, byte [rbx]
mov word [rsp + 0x66], 0x405
mov word [rsp + 0x6c], 0x40b
cmp al, 0xff
je 0x14000c986
test al, al
jne 0x14000c96f
inc rbx
jmp 0x14000c97f
cmp byte [rbx], 0xff
je 0x14000c986
movzx eax, byte [rbx + 1]
add rbx, 2
add rbx, rax
movzx eax, byte [rbx]
cmp al, 0xff
jne 0x14000c966
mov edx, dword [rsp + 0x44]
cmp dword [rsp + 0x48], r12d
je 0x14000c9cc
movups xmm0, xmmword [rsp + 0x60]
movzx eax, word [rsp + 0x70]
mov word [rbx], 0x1252
movups xmmword [rbx + 2], xmm0
mov word [rbx + 0x12], ax
add rbx, 0x14
test edx, edx
je 0x14000c9b6
cmp dword [rsi + 0x18], r12d
jne 0x14000c9e3
mov rax, qword [r13]
mov rcx, qword [rax + 0x540]
mov eax, dword [rcx + 0x564]
mov dword [rsi + 0x18], eax
jmp 0x14000c9e3
test edx, edx
je 0x14000c9d6
cmp dword [rsi + 0x18], r12d
jne 0x14000c9e3
mov rax, qword [r13]
mov ecx, dword [rax + 0x564]
mov dword [rsi + 0x18], ecx
mov byte [rbx], 0xff
inc rbx
test edx, edx
jne 0x14000c9f1
mov dword [rsi + 4], r8d
mov eax, dword [rbp + 0x24]
sub ebx, esi
mov ecx, dword [rbp + 0x20]
add eax, ecx
mov r13d, dword [r15 + 0x538]
and eax, 0x8000000f
jge 0x14000ca10
dec eax
or eax, 0xfffffff0
inc eax
cmp ecx, 0x10
jge 0x14000ca6f
cdqe
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
add rdi, rbp
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14000ca34
cmp dword [rdi + 0x30], ebx
jge 0x14000ca46
movsxd rdx, ebx
mov rcx, rax
mov dword [rdi + 0x30], ebx
call fcn.140026cb0
mov qword [rdi + 0x28], rax
movsxd r8, ebx
mov rdx, rsi
mov rcx, rax
call fcn.140045d50
movzx eax, word [rsp + 0x40]
mov word [rdi + 0x3c], ax
mov dword [rdi + 0x34], ebx
mov dword [rdi + 0x38], r13d
mov dword [rdi + 0x40], r12d
mov qword [rdi + 0x48], r12
inc dword [rbp + 0x20]
mov eax, dword [r15 + 0x538]
lea r8, [0x14005e860]
xorps xmm0, xmm0
lea rdx, [rsp + 0x7c]
movups xmmword [rsp + 0x78], xmm0
mov r9d, 0x20
mov dword [rsp + 0x7c], eax
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [r14 + 0x2058]
lea rdx, str.Forwarding_request_to_server__s_r_n
mov r8, rax
call fcn.140019c40
jmp 0x14000cd13
mov rcx, qword [r14 + 0x2058]
lea rdx, str.Request_storage_overflow_r_n
call fcn.140019c40
mov rcx, qword [rdi]
call fcn.1400272e4
mov edx, 0x30
mov rcx, rdi
call fcn.14002116c
mov rcx, qword [r14 + 0x2058]
lea rdx, str.No_server_side_relay_agent_connection_configured_r_n
call fcn.140019c40
jmp 0x14000cd13
mov rax, qword [r13]
lea rbx, [rdx + 0xf0]
mov edi, dword [rdx + 4]
lea rdx, str.Response_from_server:_relay_down_to_client_r_n
mov rcx, qword [rcx + 0x2058]
mov rbp, qword [rax + 0x540]
mov qword [rsp + 0x48], rbp
call fcn.140019c40
test rbp, rbp
jne 0x14000cb35
mov rbp, qword [r13]
mov qword [rsp + 0x48], rbp
movzx eax, byte [rbx]
xor r12d, r12d
mov rcx, rbx
cmp al, 0xff
je 0x14000cb62
test al, al
jne 0x14000cb4b
inc rcx
jmp 0x14000cb5b
cmp byte [rcx], 0x52
je 0x14000cb65
movzx eax, byte [rcx + 1]
add rcx, 2
add rcx, rax
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x14000cb42
mov rcx, r12
test rcx, rcx
je 0x14000cbae
cmp byte [rcx + 1], 0x12
jne 0x14000cbae
cmp byte [rcx + 3], 4
jne 0x14000cba5
cmp byte [rcx + 2], 2
jne 0x14000cba5
cmp byte [rcx + 8], 5
jne 0x14000cba5
cmp byte [rcx + 9], 4
jne 0x14000cba5
cmp byte [rcx + 0xe], 0xb
jne 0x14000cba5
cmp byte [rcx + 0xf], 4
jne 0x14000cba5
mov edi, dword [rcx + 4]
mov r15d, ecx
sub r15d, esi
mov byte [rcx], 0xff
inc r15d
jmp 0x14000cbc1
lea rdx, str.Server_answer_does_not_include_proper_option_82_r_n
jmp 0x14000cbb5
lea rdx, str.Server_answer_does_not_include_option_82_r_n
mov rcx, qword [r14 + 0x2058]
call fcn.140019c40
cmp dil, 0x7f
ja 0x14000ccc8
movzx eax, dil
mov rcx, qword [rbp + rax*8 + 0x5b0]
test rcx, rcx
je 0x14000ccc8
cmp dword [rcx + 0x18], edi
jne 0x14000ccc8
mov eax, dword [rcx + 0x14]
mov rbp, rcx
test eax, eax
js 0x14000cccb
cmp eax, dword [r14 + 0x2000]
jge 0x14000cccb
mov rdx, qword [rcx]
mov dword [rsi + 0x18], r12d
test rdx, rdx
je 0x14000cc15
mov eax, dword [rdx + 4]
jmp 0x14000cc18
mov eax, r12d
mov dword [rsi + 4], eax
movzx eax, byte [rbx]
cmp al, 0xff
je 0x14000cc46
test al, al
jne 0x14000cc2b
inc rbx
jmp 0x14000cc3f
cmp byte [rbx], 0x35
je 0x14000ccc1
movzx eax, byte [rbx + 1]
add rbx, 2
add rbx, rax
movzx eax, byte [rbx]
cmp al, 0xff
jne 0x14000cc22
xor r8b, r8b
mov eax, dword [rcx + 0x14]
mov r9d, r15d
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 0xc]
mov rcx, r14
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], r8b
mov r8, rsi
call fcn.140008890
mov rcx, qword [rsp + 0x48]
movzx eax, dil
mov rdx, qword [rcx + rax*8 + 0x5b0]
test rdx, rdx
je 0x14000cd13
cmp dword [rdx + 0x18], edi
jne 0x14000cd13
mov eax, edi
shr rax, 0x10
lea rdi, [rcx + rax*8]
mov rbx, qword [rdi + 0x5b0]
test rbx, rbx
je 0x14000ccb8
mov rcx, qword [rbx]
call fcn.1400272e4
mov edx, 0x30
mov rcx, rbx
call fcn.14002116c
mov qword [rdi + 0x5b0], r12
jmp 0x14000cd13
movzx r8d, byte [rbx + 2]
jmp 0x14000cc49
mov rbp, r12
mov rcx, qword [r14 + 0x2058]
lea rdx, str.Server_answer_does_not_match_to_a_stored_client_request_r_n
call fcn.140019c40
mov rcx, qword [r14 + 0x2058]
lea rdx, str.__request_id__0x_x__pSR0x_x_r_n
mov r9, rbp
mov r8d, edi
call fcn.140019c40
test rbp, rbp
je 0x14000cd13
mov r8d, dword [rbp + 0x14]
lea rdx, str.__m_iClientConn_d_r_n
mov rcx, qword [r14 + 0x2058]
call fcn.140019c40
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140020e70
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret