Function at 0x1401e9210
Capabilities:
Check http status code

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0xa0
mov rbx, qword [rcx]
movsxd rbp, edx
xor edi, edi
mov rax, qword [rcx + rbp*8 + 0x210]
mov r13d, r9d
mov rsi, r8
mov qword [rsp + 0x70], rax
xor eax, eax
cmp dword [rcx + rbp*4 + 0xa48], 2
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0xe0], eax
mov r15, rcx
mov dword [rsp + 0x68], 0
mov r12, rbp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], edi
je 0x1401e9cec
mov qword [rsp + 0x98], r14
mov dword [rcx + 0x5a0], eax
nop
cmp dword [r15 + r12*4 + 0xa48], 0
jne 0x1401e9525
lea rdx, [0x14029a1e8]
mov r9d, r13d
mov r8, rsi
mov rcx, rbx
call fcn.1401c7350
mov rcx, qword [rbx + 0x180]
call qword [fcn.1401a0974]
mov qword [rbx + 0x180], 0
call fcn.1401e42d0
mov rbp, rax
test rax, rax
je 0x1401e9b96
lea rcx, [0x14029a1e0]
mov r8d, r13d
mov rdx, rsi
call fcn.1401cd2a0
mov rsi, rax
test rax, rax
je 0x1401e9b8e
lea rdx, [0x14029a1d8]
mov r9d, 1
mov r8, rax
mov rcx, r15
call fcn.1401e3dc0
mov rcx, rsi
mov edi, eax
call qword [fcn.1401a0974]
test edi, edi
jne 0x1401e9502
mov rdi, qword [rsp + 0xf0]
mov ecx, dword [r15 + 0x560]
xor r12d, r12d
cmp dword [r15 + 0x14c], 1
lea r14, [0x140298c78]
lea rax, [0x140281180]
lea rsi, [0x14023a805]
cmove r14, rax
mov r13, rsi
cmp rdi, qword [r15 + 0xb8]
je 0x1401e937a
lea edx, [r12 + 0x3a]
mov rcx, rdi
call fcn.1401ae420
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
lea rax, [0x140291184]
mov r9, rsi
cmovne r9, rax
lea rax, [0x140291180]
mov rdx, rsi
cmovne rdx, rax
mov eax, dword [rsp + 0xf8]
lea rcx, [0x14029a1c8]
mov r8, rdi
mov dword [rsp + 0x20], eax
call fcn.1401cd2a0
mov rsi, rax
test rax, rax
je 0x1401e9b8e
lea rdx, [0x140298da8]
mov rcx, r15
call fcn.1401e3750
test rax, rax
jne 0x1401e93ed
lea rcx, [0x14029a1b8]
mov rdx, rsi
call fcn.1401cd2a0
mov r12, rax
test rax, rax
je 0x1401e9b85
lea rdx, [0x140299008]
mov rcx, r15
call fcn.1401e3750
lea rdi, [0x140298fe8]
lea rdx, [0x1402955f8]
test rax, rax
lea rax, [0x14023a805]
mov rcx, r15
cmovne rdi, rax
call fcn.1401e3750
test rax, rax
jne 0x1401e9435
cmp qword [rbx + 0x718], rax
je 0x1401e9435
mov r13, qword [r15 + 0x610]
mov rax, qword [r15 + 0x608]
lea rdx, [0x14023a805]
mov qword [rsp + 0x38], rdi
test rax, rax
mov rcx, rdx
mov qword [rsp + 0x30], r13
cmovne rcx, rax
mov rax, rdx
test r12, r12
mov qword [rsp + 0x28], rcx
cmovne rax, r12
lea rdx, [0x14029a198]
mov r9, r14
mov r8, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1401e4e00
mov edi, eax
test r12, r12
je 0x1401e9490
mov rcx, r12
call qword [fcn.1401a0974]
mov rcx, rsi
call qword [fcn.1401a0974]
test edi, edi
jne 0x1401e94e8
lea edx, [rdi + 1]
mov r8, rbp
mov rcx, r15
call fcn.1401e4fc0
mov edi, eax
test eax, eax
jne 0x1401e94e8
lea rdx, [0x140250018]
mov rcx, rbp
call fcn.1401e4e00
mov edi, eax
test eax, eax
jne 0x1401e94e8
mov eax, dword [rsp + 0xe8]
lea r8, [rbx + 0x4d38]
xor r9d, r9d
mov rdx, r15
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.1401e4310
mov edi, eax
xor ebp, ebp
test edi, edi
je 0x1401e94fd
lea rdx, [0x14029a178]
mov rcx, rbx
call fcn.1401c7400
mov r12, qword [rsp + 0x40]
mov rcx, rbp
call fcn.1401e42e0
test edi, edi
jne 0x1401e9ba0
mov ebp, dword [rsp + 0xe8]
mov dword [r15 + r12*4 + 0xa48], 1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 1]
call fcn.1401c9f30
test rax, rax
jle 0x1401e9cd0
cmp dword [rsp + 0x100], 0
jne 0x1401e9558
mov edx, ebp
mov rcx, r15
call fcn.1401cacb0
test eax, eax
je 0x1401e9cc5
mov rsi, qword [rbx + 0x9f8]
xor eax, eax
xor r12d, r12d
mov r14d, 1
xor r13d, r13d
mov rbp, rsi
mov qword [rsp + 0x50], rax
test r14d, r14d
je 0x1401e9677
mov rcx, r15
call fcn.1401d0f60
test eax, eax
jne 0x1401e9cc9
mov rax, qword [rbx + 0x9f8]
mov rcx, rbx
add rax, 0x4000
cmp rsi, rax
jae 0x1401e9ba7
xor edx, edx
lea r8d, [rdx + 1]
call fcn.1401c9f30
mov rdi, rax
test rax, rax
jle 0x1401e9aed
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov r9d, 1
mov r8, rsi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1401c7020
cmp eax, 0x51
jne 0x1401e9627
mov rcx, qword [rsp + 0x70]
mov r9d, 0x3e8
cmp rdi, r9
cmovl r9, rdi
or r8, 0xffffffffffffffff
or rdx, r8
call fcn.1401ba3c0
cmp eax, 0xffffffff
jne 0x1401e99b5
lea rdx, [0x14029a148]
mov esi, 1
mov rcx, rbx
mov dword [rsp + 0xe0], esi
call fcn.1401c7400
jmp 0x1401e967e
test eax, eax
jne 0x1401e9677
cmp qword [rsp + 0x78], 0
jle 0x1401e9a9c
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
cmp r14d, 1
jle 0x1401e9723
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rbx + 0x9f8]
xor eax, eax
mov qword [rsp + 0x50], rax
test rdi, rdi
je 0x1401e96d1
dec rdi
mov qword [rsp + 0x60], rdi
test rdi, rdi
jg 0x1401e9575
mov esi, dword [rsp + 0xe0]
mov rcx, r15
call fcn.1401d0f60
test eax, eax
jne 0x1401e9cc9
test esi, esi
jne 0x1401e9cdf
cmp dword [rbx + 0x4d24], 0xc8
je 0x1401e9b0d
mov rcx, r15
call fcn.1401e4c00
test eax, eax
jne 0x1401e9ce4
cmp dword [r15 + 0x53c], eax
je 0x1401e9b0d
mov edi, 1
mov dword [rsp + 0x48], edi
jmp 0x1401e9b15
lea r9, [rsp + 0x80]
mov r8d, 1
mov rdx, rsi
mov rcx, r15
mov qword [rsp + 0x80], rax
call fcn.1401f4030
cmp eax, 0xffffffff
jne 0x1401e9575
lea rdx, [0x14029a130]
mov rcx, rbx
call fcn.1401c7350
xor r14d, r14d
mov rax, qword [rsp + 0x40]
mov dword [r15 + rax*4 + 0xa48], 2
jmp 0x1401e9575
inc r12d
inc r13
cmp byte [rsi], 0xa
je 0x1401e9736
inc rsi
jmp 0x1401e99ba
cmp dword [rbx + 0x59c], 0
je 0x1401e9757
movsxd r9, r12d
mov r8, rbp
mov edx, 1
mov rcx, rbx
mov qword [rsp + 0x20], r15
call fcn.1401c7230
cmp dword [rbx + 0x83c], 0
jne 0x1401e978a
cmp dword [rbx + 0x584], 0
mov edx, 2
mov eax, 3
movsxd r9, r12d
mov r8, rbp
mov rcx, r15
cmovne edx, eax
call fcn.1401c7860
test eax, eax
jne 0x1401e9ce4
add dword [rbx + 0x4d34], r12d
add dword [rbx + 0xc0], r12d
movzx eax, byte [rbp]
cmp al, 0xd
je 0x1401e99cb
cmp al, 0xa
je 0x1401e99cb
lea rcx, [0x140299310]
mov r8d, reloc.WS2_32.dll_recvfrom
mov rdx, rbp
mov byte [r13 + rbp], 0
call fcn.1401ce800
test eax, eax
je 0x1401e97d8
mov eax, dword [rbx + 0x128]
cmp eax, 0x191
je 0x1401e97fe
lea rcx, [0x1402992f8]
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbp
call fcn.1401ce800
test eax, eax
je 0x1401e9844
mov eax, dword [rbx + 0x128]
cmp eax, 0x197
jne 0x1401e9844
xor esi, esi
cmp eax, 0x197
mov rcx, rbp
sete sil
call fcn.1401e37e0
mov rdi, rax
test rax, rax
je 0x1401e9b96
mov r8, rax
mov edx, esi
mov rcx, r15
call fcn.1401e3f10
mov rcx, rdi
mov esi, eax
call qword [fcn.1401a0974]
test esi, esi
je 0x1401e99a5
mov eax, esi
jmp 0x1401e9ce4
lea rcx, [0x1402954f8]
mov r8d, reloc.WS2_32.dll_ntohs
mov rdx, rbp
call fcn.1401ce800
test eax, eax
je 0x1401e98a8
mov r8d, dword [rbx + 0x128]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x1401e988f
lea rdx, [0x14029a0f8]
mov rcx, rbx
call fcn.1401c7350
jmp 0x1401e99a5
xor edx, edx
lea rcx, [rbp + 0xf]
lea r8d, [rdx + 0xa]
call fcn.1401b209c
mov qword [rsp + 0x60], rax
jmp 0x1401e99a5
lea r8, [0x1402993c8]
lea rdx, [0x140299390]
mov rcx, rbp
call fcn.1401e4610
test eax, eax
je 0x1401e98cf
mov dword [rsp + 0x48], 1
jmp 0x1401e99a5
lea rcx, [0x140298d70]
mov r8d, reloc.WS2_32.dll_select
mov rdx, rbp
call fcn.1401ce800
test eax, eax
je 0x1401e9955
mov r8d, dword [rbx + 0x128]
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 2
jne 0x1401e991a
lea rdx, [0x14029a0c0]
mov rcx, rbx
call fcn.1401c7350
jmp 0x1401e99a5
lea r8, [0x1402991b0]
lea rdx, [0x140298d70]
mov rcx, rbp
call fcn.1401e4610
test eax, eax
je 0x1401e99a5
lea rdx, [0x14029a0a0]
mov rcx, rbx
call fcn.1401c7350
mov rcx, r15
mov dword [rsp + 0x58], 1
call fcn.1401f4020
jmp 0x1401e99a5
lea r8, [0x1402993c8]
lea rdx, [0x140299008]
mov rcx, rbp
call fcn.1401e4610
test eax, eax
je 0x1401e9979
mov dword [rsp + 0x48], 1
jmp 0x1401e99a5
lea r9, [rbx + 0x128]
lea r8, [rsp + 0x68]
lea rdx, [0x14029a090]
mov rcx, rbp
call fcn.1401a4dc8
cmp eax, 2
jne 0x1401e99a5
mov eax, dword [rbx + 0x128]
mov dword [rbx + 0x4d24], eax
mov rsi, qword [rbx + 0x9f8]
xor r12d, r12d
xor r13d, r13d
mov rbp, rsi
mov rax, qword [rsp + 0x50]
cmp rax, 0x4000
jb 0x1401e9575
jmp 0x1401e9677
mov rsi, qword [rbx + 0x9f8]
xor eax, eax
cmp dword [rbx + 0x128], 0x197
mov qword [rsp + 0x50], rax
jne 0x1401e970a
cmp dword [rbx + 0x4bd8], eax
jne 0x1401e970a
mov rdi, qword [rsp + 0x60]
lea r14d, [rax + 2]
test rdi, rdi
je 0x1401e9a1a
lea rdx, [0x14029a068]
mov r8, rdi
mov rcx, rbx
call fcn.1401c7350
jmp 0x1401e970d
cmp dword [rsp + 0x58], eax
je 0x1401e970a
lea rdx, [0x14029a048]
mov rcx, rbx
call fcn.1401c7350
lea rax, [rbp + 1]
mov dword [rbx + 0x170], 1
cmp byte [rax], 0xa
lea r9, [rsp + 0x78]
mov r8d, 1
cmove rbp, rax
mov rcx, r15
lea rdx, [rbp + 1]
call fcn.1401f4030
cmp eax, 0xffffffff
jne 0x1401e970d
lea rdx, [0x14029a130]
mov rcx, rbx
call fcn.1401c7350
mov rax, qword [rsp + 0x40]
xor r14d, r14d
mov dword [r15 + rax*4 + 0xa48], 2
mov dword [r15 + rax*4 + 0xa48], 2
jmp 0x1401e9575
cmp dword [rbx + 0x1f8], 0
je 0x1401e9acd
cmp dword [rbx + 0x4bc8], 0
je 0x1401e9acd
lea rdx, [0x14029a020]
mov rcx, rbx
mov dword [r15 + 0x5a0], 1
call fcn.1401c7350
jmp 0x1401e9677
lea rdx, [0x14029a008]
mov esi, 1
mov rcx, rbx
mov dword [rsp + 0xe0], esi
call fcn.1401c7400
jmp 0x1401e967e
lea rdx, [0x140299fe0]
mov rcx, rbx
call fcn.1401c7400
mov esi, 2
mov dword [rsp + 0xe0], esi
jmp 0x1401e967e
mov edi, dword [rsp + 0x48]
test edi, edi
je 0x1401e9b23
cmp qword [rbx + 0x180], 0
jne 0x1401e9bb3
cmp qword [rbx + 0x180], 0
mov r12, qword [rsp + 0x40]
je 0x1401e9bd4
cmp dword [r15 + r12*4 + 0xa48], 2
jne 0x1401e9b5f
lea rdx, [0x140299fc0]
xor r8d, r8d
mov rcx, rbx
mov dword [r15 + r12*4 + 0xa48], 0
call fcn.1401c7350
cmp qword [rbx + 0x180], 0
je 0x1401e9bd4
mov rsi, qword [rsp + 0xf0]
mov ebp, dword [rsp + 0xe8]
mov r13d, dword [rsp + 0xf8]
jmp 0x1401e9290
mov rcx, rsi
call qword [fcn.1401a0974]
mov rcx, rbp
call fcn.1401e42e0
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401e9ce4
mov eax, edi
jmp 0x1401e9ce4
lea rdx, [0x140299fa0]
jmp 0x1401e9cda
mov r12, qword [rsp + 0x40]
mov rcx, r15
mov rdx, qword [r15 + r12*8 + 0x210]
call fcn.1401cab20
mov qword [r15 + r12*8 + 0x210], 0xffffffffffffffff
cmp dword [rbx + 0x128], 0xc8
je 0x1401e9c7d
test edi, edi
je 0x1401e9c0e
cmp qword [rbx + 0x180], 0
je 0x1401e9c0e
lea rdx, [0x140299f80]
mov rcx, rbx
mov dword [r15 + 0x5a0], 1
call fcn.1401c7350
jmp 0x1401e9c4f
mov rcx, qword [rbx + 0x180]
call qword [fcn.1401a0974]
mov edx, 2
mov rcx, r15
mov qword [rbx + 0x180], 0
call fcn.1401cac60
mov rdx, qword [r15 + r12*8 + 0x210]
mov rcx, r15
call fcn.1401cab20
mov qword [r15 + r12*8 + 0x210], 0xffffffffffffffff
mov dword [r15 + r12*4 + 0xa48], 0
cmp dword [r15 + 0x5a0], 0
jne 0x1401e9cc5
mov r8d, dword [rbx + 0x128]
lea rdx, [0x140299f50]
mov rcx, rbx
call fcn.1401c7400
jmp 0x1401e9cdf
mov dword [r15 + r12*4 + 0xa48], 2
mov rcx, qword [r15 + 0x608]
call qword [fcn.1401a0974]
xor edi, edi
lea rdx, [0x140299f28]
mov qword [r15 + 0x608], rdi
mov rcx, rbx
mov dword [rbx + 0x4bcc], 1
call fcn.1401c7350
mov dword [rbx + 0x170], edi
mov dword [r15 + 0x584], edi
xor eax, eax
jmp 0x1401e9ce4
mov eax, Ordinal_46
jmp 0x1401e9ce4
lea rdx, [0x140299fe0]
mov rcx, rbx
call fcn.1401c7400
mov eax, gethostname
mov r14, qword [rsp + 0x98]
add rsp, 0xa0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret