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

Disassembly:
test rdx, rdx
je 0x14012d6b2
mov r11, rsp
push rbp
lea rbp, [r11 - 0x28]
sub rsp, 0x120
mov rax, qword [0x1402c57e8]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [r11 + 8], rbx
lea rax, [rbp - 0x5e]
mov qword [r11 + 0x20], rdi
xor edi, edi
mov qword [rsp + 0x30], rdx
xor edx, edx
mov dword [rsp + 0x38], r8d
lea r8, [rbp - 0x80]
mov qword [rbp - 0x80], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x3c], rdi
mov qword [rsp + 0x44], rdi
mov qword [rsp + 0x4c], rdi
mov qword [rsp + 0x54], rdi
mov qword [rsp + 0x5c], rdi
mov qword [rsp + 0x64], rdi
mov qword [rsp + 0x6c], rdi
mov dword [rsp + 0x74], edi
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x60], 1
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 0x64
call fcn.14012daa0
movzx eax, byte [rbp - 0x5f]
test al, al
jne 0x14012d614
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx + 8]
test byte [rax + 8], 8
je 0x14012d4b7
lea rcx, [rbp - 0x80]
call fcn.14012d2f0
jmp 0x14012d67f
cmp byte [rbp - 0x60], dil
je 0x14012d4d9
cmp qword [rbp - 0x68], 0x7fffffff
ja 0x14012d543
mov rdx, qword [rbp - 0x78]
mov qword [rsp + 0x20], 0xffffffffffffffff
jmp 0x14012d5f0
mov rcx, qword [rbp - 0x68]
cmp rcx, qword [rbp - 0x70]
jb 0x14012d4f4
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.140128b20
mov rax, qword [rbp - 0x68]
jmp 0x14012d503
mov rax, qword [rbp - 0x78]
mov byte [rcx + rax], dil
mov rax, qword [rbp - 0x68]
inc rax
dec rax
mov qword [rbp - 0x68], rax
cmp byte [rbp - 0x5f], dil
jne 0x14012d609
mov rdx, qword [rbp - 0x78]
lea rax, [fcn.140186220]
inc qword [rdx - 8]
cmp qword [rbp - 0x68], 0x7fffffff
mov rbx, qword [rbp - 0x80]
jbe 0x14012d5eb
cmp rax, 0xffffffffffffffff
je 0x14012d543
mov rcx, rdx
call fcn.140186220
mov dword [rbx + 0x24], setsockopt
mov rbx, qword [rbx]
mov rax, qword [rbx + 0x18]
movzx ecx, word [rbx + 0x14]
test rax, rax
je 0x14012d5ac
cmp dword [rax + 0x88], 0x16
jge 0x14012d5ac
mov eax, 0x9000
test ax, cx
je 0x14012d577
mov rcx, rbx
call fcn.1401bb040
jmp 0x14012d580
mov eax, 1
mov word [rbx + 0x14], ax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x14012d67f
mov rax, qword [rax + 0x160]
test rax, rax
je 0x14012d67f
mov dword [rax + 0x18], setsockopt
inc dword [rax + 0x30]
jmp 0x14012d67f
mov eax, 0x9000
test ax, cx
jne 0x14012d5bb
cmp dword [rbx + 0x20], edi
je 0x14012d5c3
mov rcx, rbx
call fcn.1401baff0
lea rax, str.string_or_blob_too_big
mov qword [rbx + 8], rax
mov eax, 0x2202
mov qword [rbx + 0x30], rdi
mov dword [rbx + 0x10], socket
mov word [rbx + 0x14], ax
mov byte [rbx + 0x16], 1
jmp 0x14012d67f
mov qword [rsp + 0x20], rax
mov r8d, dword [rbp - 0x68]
mov r9b, 1
mov rcx, rbx
call fcn.1401490e0
mov rcx, qword [rbx]
call fcn.1401a3bd0
jmp 0x14012d67f
mov rcx, qword [rbp - 0x80]
call fcn.1400c7a90
jmp 0x14012d67f
test al, 1
je 0x14012d64f
mov rbx, qword [rbp - 0x80]
mov eax, 0x9000
mov rcx, qword [rbx]
test word [rcx + 0x14], ax
je 0x14012d631
call fcn.1401bb040
jmp 0x14012d63a
mov eax, 1
mov word [rcx + 0x14], ax
mov rcx, qword [rbx]
mov dword [rbx + 0x24], 7
mov rcx, qword [rcx + 0x18]
call fcn.14017aa20
jmp 0x14012d67f
test al, 2
je 0x14012d67f
mov rcx, qword [rbp - 0x80]
lea rdx, str.malformed_JSON
mov eax, 1
mov qword [rsp + 0x20], 0xffffffffffffffff
movzx r9d, al
mov dword [rcx + 0x24], eax
mov rcx, qword [rcx]
lea r8, [rax - 2]
call fcn.1401a31d0
cmp byte [rbp - 0x60], 0
mov rdi, qword [rsp + 0x148]
mov rbx, qword [rsp + 0x130]
jne 0x14012d69e
mov rcx, qword [rbp - 0x78]
call fcn.140186220
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1401d56b0
add rsp, 0x120
pop rbp
ret