Function at 0x1401d5c10
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rbp, qword [rcx + 0x150]
lea rsi, [rcx + 0xe8]
mov r12, qword [r8]
mov r15, r8
mov qword [rcx + 0x158], rbp
mov r14, rdx
mov r8, qword [r8]
mov rbx, rcx
mov rcx, rbp
mov qword [rsp + 0x60], r12
mov edx, 0xa
mov qword [rsp + 0x68], rbp
mov rdi, rbp
call sub.VCRUNTIME140.dll_memchr
mov qword [rbx + 0x160], rax
test rax, rax
je 0x1401d6edb
xor ebp, ebp
lea r12d, [rbp + 5]
nop dword [rax]
nop word [rax + rax]
sub rdi, rax
mov rdx, rsi
dec rdi
mov rcx, rbx
add qword [r15], rdi
mov r8, qword [rbx + 0x160]
inc r8
mov qword [rbx + 0x150], r8
sub r8, qword [rbx + 0x158]
call fcn.1401d74b0
test eax, eax
jne 0x1401d6f80
cmp dword [rbx + 0x13c], 0
mov rax, qword [rbx + 0x140]
mov qword [rbx + 0x160], rax
mov rdx, qword [rbx + 0x1118]
mov qword [rbx + 0x168], rdx
jne 0x1401d5d39
mov rax, qword [r14 + 0x698]
mov r8, qword [rbx + 0x148]
test dword [rax + 0x7c], 0x40000
je 0x1401d5d26
cmp r8, 5
lea rcx, [0x14021ced8]
mov edi, ebp
cmova r8, r12
setae dil
call fcn.1401ccd80
test eax, eax
mov ecx, 2
cmovne ecx, edi
jmp 0x1401d5d30
mov rcx, rbx
call fcn.1401d71c0
mov ecx, eax
cmp ecx, 2
je 0x1401d6f51
mov r10, qword [rbx + 0x168]
movzx eax, byte [r10]
cmp al, 0xa
je 0x1401d6af0
cmp al, 0xd
je 0x1401d6af4
mov ecx, dword [rbx + 0x13c]
lea eax, [rcx + 1]
mov dword [rbx + 0x13c], eax
test ecx, ecx
jne 0x1401d60fe
mov rax, qword [r14 + 0x698]
mov ecx, dword [rax + 0x7c]
test cl, 3
je 0x1401d5f6e
lea rax, [rsp + 0xc0]
mov rcx, r10
lea r13, [rbx + 0x178]
lea r12, [r14 + 0x488]
mov qword [rsp + 0x28], r13
mov r9, r12
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
lea rdx, [0x14021d0b8]
call fcn.1400af830
cmp eax, 1
jne 0x1401d5df7
cmp dword [rsp + 0x48], 2
jl 0x1401d6fb1
mov rcx, qword [rbx + 0x168]
lea r8, [rsp + 0x44]
mov r9, r13
lea rdx, [0x14021d0d0]
call fcn.1400af830
cmp eax, 2
jne 0x1401d6fb1
mov dword [r12], ebp
mov byte [rsp + 0xc0], reloc.WLDAP32.dll_Ordinal_32
jmp 0x1401d5e0a
cmp eax, 4
jne 0x1401d5e69
cmp byte [rsp + 0xc0], 0x20
jne 0x1401d6fb1
mov eax, dword [rsp + 0x48]
lea ecx, [rax + rax*4]
mov eax, dword [r12]
lea edx, [rax + rcx*2]
mov dword [r12], edx
mov eax, edx
cmp dword [rbx + 0x194], 2
jne 0x1401d5e3f
cmp edx, 0x14
je 0x1401d5e3f
lea rdx, [0x14021d0e0]
mov rcx, rbx
call fcn.1401c9a00
mov eax, dword [r12]
cmp eax, 0x14
jge 0x1401d5fdc
mov rax, qword [r14 + 0xb10]
lea rdx, [0x14021d108]
mov rcx, rbx
mov dword [rax], 0xffffffff
call fcn.1401c9a00
jmp 0x1401d5fdc
test eax, eax
jne 0x1401d6fb1
mov rcx, qword [rbx + 0x168]
lea rdx, [0x14021d130]
mov r8, r13
call fcn.1400af830
mov dword [r12], 0xa
test eax, eax
jne 0x1401d5fdc
mov rsi, qword [rbx + 0x148]
lea r15d, [rax + 2]
mov rdi, qword [rbx + 0xb88]
xor r14d, r14d
mov rbp, qword [rbx + 0x168]
cmp rsi, 5
setae r14b
test rdi, rdi
je 0x1401d5f14
mov rcx, qword [rdi]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1401d5ed0
cmp rax, rsi
jae 0x1401d5ef1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x1401d5ee5
jmp 0x1401d5ef4
mov r8, rsi
mov rdx, rbp
call fcn.1401ccd80
test eax, eax
jne 0x1401d5f0b
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x1401d5ec0
jmp 0x1401d5f14
mov r15d, r14d
cmp rsi, 5
jae 0x1401d5f43
mov eax, 5
lea rcx, [0x14021ced0]
cmp rsi, 5
mov rdx, rbp
cmova rsi, rax
mov r8, rsi
call fcn.1401ccd80
test eax, eax
cmovne r15d, r14d
cmp r15d, 1
jne 0x1401d7063
mov r14, qword [rsp + 0xc8]
lea rsi, [rbx + 0xe8]
mov r15, qword [rsp + 0xd0]
xor ebp, ebp
mov dword [r13], reloc.WLDAP32.dll_Ordinal_200
mov dword [r12], 0xa
jmp 0x1401d5fdc
bt ecx, 0x12
jae 0x1401d7063
lea rax, [rsp + 0x40]
mov rcx, r10
lea r13, [rbx + 0x178]
mov qword [rsp + 0x28], r13
lea r9, [r14 + 0x48c]
lea r8, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea rdx, [0x14021d168]
call fcn.1400af830
cmp eax, 4
jne 0x1401d7063
cmp byte [rsp + 0x40], 0x20
jne 0x1401d7063
mov eax, dword [rsp + 0x4c]
lea r12, [r14 + 0x488]
mov dword [r12], ntohs
lea ecx, [rax + rax*4]
add ecx, ecx
add dword [r14 + 0x48c], ecx
mov eax, dword [r13]
mov dword [rbx + 0x15f8], eax
mov eax, dword [r12]
mov dword [rbx + 0x1600], eax
mov eax, dword [rbx + 0x14e0]
test eax, eax
je 0x1401d6000
cmp eax, dword [r12]
jle 0x1401d600a
mov eax, dword [r12]
mov dword [rbx + 0x14e0], eax
cmp qword [rbx + 0x14f0], 0
je 0x1401d6030
cmp dword [rbx + 0xa08], 1
jne 0x1401d6030
cmp dword [r13], 0x1a0
jne 0x1401d6030
mov byte [rbx + 0x65b], 1
jmp 0x1401d606e
cmp byte [rbx + 0xf14], 0
je 0x1401d606e
mov eax, dword [r13]
cmp eax, 0x190
jl 0x1401d606e
cmp eax, 0x191
jne 0x1401d6055
cmp byte [r14 + 0x65c], 0
jmp 0x1401d6068
cmp eax, 0x197
jne 0x1401d6fc7
cmp byte [r14 + 0x65d], 0
je 0x1401d6fc7
mov eax, dword [r12]
cmp eax, 0xa
jne 0x1401d6095
lea rdx, [0x14021d180]
mov rcx, rbx
call fcn.1401c9a00
mov edx, 1
mov rcx, r14
call fcn.1401ca640
jmp 0x1401d60b7
cmp eax, 0x14
je 0x1401d60aa
cmp dword [rbx + 0x194], 1
jne 0x1401d60b7
cmp dword [r13], 0x65
jne 0x1401d60b7
mov rax, qword [r14 + 0xb10]
mov dword [rax], 2
mov ecx, dword [r13]
lea eax, [rcx - 0x64]
cmp eax, 0x63
setbe al
mov byte [rbx + 0x65c], al
sub ecx, 0xcc
je 0x1401d60e7
cmp ecx, 0x64
jne 0x1401d60f8
cmp dword [rbx + 0x9f8], 0
je 0x1401d60e7
mov byte [rbx + 0x16d0], 1
mov qword [rsi], rbp
mov qword [rbx + 0xf0], rbp
mov byte [rbx + 0x65c], 1
mov r12d, 5
cmp byte [rbx + 0x65c], 0
jne 0x1401d61bf
cmp byte [rbx + 0xf24], 0
jne 0x1401d61bf
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021bbf8]
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1401ccd80
test eax, eax
je 0x1401d61bf
mov rcx, qword [rbx + 0x168]
lea r9, [rsp + 0x58]
xor edx, edx
add rcx, 0xf
lea r8d, [rdx + 0xa]
call fcn.1401dab20
test eax, eax
jne 0x1401d6189
mov rax, qword [rbx + 0xb98]
mov rdx, qword [rsp + 0x58]
test rax, rax
je 0x1401d6172
cmp rdx, rax
jg 0x1401d706f
mov rcx, rbx
mov qword [rsi], rdx
mov qword [rbx + 0xf0], rdx
call fcn.1401d8290
jmp 0x1401d6a7d
cmp eax, 1
jne 0x1401d7088
cmp qword [rbx + 0xb98], 0
jne 0x1401d706f
lea edx, [rax + 1]
mov rcx, r14
call fcn.1401ca640
lea rdx, [0x14021d1a8]
mov rcx, rbx
call fcn.1401c9a00
jmp 0x1401d6a7d
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021ca40]
mov r8d, reloc.WS2_32.dll_listen
call fcn.1401ccd80
test eax, eax
je 0x1401d6220
mov rcx, qword [rbx + 0x168]
call fcn.1401d5410
mov rdi, rax
test rax, rax
je 0x1401d70a1
cmp byte [rax], 0
jne 0x1401d6207
mov rcx, rax
call qword [fcn.140203958]
jmp 0x1401d6a7d
mov rcx, qword [rbx + 0x1630]
call qword [fcn.140203958]
mov qword [rbx + 0x1630], rdi
jmp 0x1401d6a7d
cmp dword [r14 + 0x488], 0xa
jne 0x1401d62f9
cmp byte [r14 + 0x65a], 0
je 0x1401d62f9
mov rdi, qword [rbx + 0x168]
lea rdx, [0x14021bcc8]
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401ccca0
test eax, eax
je 0x1401d62f9
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x1401d6287
nop dword [rax]
movzx ecx, al
call fcn.1401cdda0
test eax, eax
je 0x1401d6287
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1401d6270
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d62bc
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d62bc
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x1401d62f9
nop word [rax + rax]
mov r8d, 0xa
lea rdx, [0x14021d1f0]
mov rcx, rdi
call fcn.1401ccca0
test eax, eax
jne 0x1401d6592
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x1401d62d0
cmp dword [r14 + 0x488], 0xb
jne 0x1401d63c6
cmp byte [r14 + 0x65a], 0
je 0x1401d63c6
mov rdi, qword [rbx + 0x168]
lea rdx, [0x14021bcc8]
mov rcx, rdi
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401ccca0
test eax, eax
je 0x1401d63c6
movzx eax, byte [rdi + 0x11]
add rdi, 0x11
test al, al
je 0x1401d635c
movzx ecx, al
call fcn.1401cdda0
test eax, eax
je 0x1401d635c
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1401d6345
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d6391
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d6391
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x1401d63c6
nop word [rax + rax]
mov r8, r12
lea rdx, [0x14021bc3c]
mov rcx, rdi
call fcn.1401ccca0
test eax, eax
jne 0x1401d65b0
dec rsi
inc rdi
cmp rsi, 5
jae 0x1401d63a0
cmp dword [r14 + 0x488], 0xa
jne 0x1401d6489
mov rdi, qword [rbx + 0x168]
lea rdx, [0x14021bc48]
mov rcx, rdi
mov r8d, ntohs
call fcn.1401ccca0
test eax, eax
je 0x1401d6489
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x1401d641b
movzx ecx, al
call fcn.1401cdda0
test eax, eax
je 0x1401d641b
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1401d6404
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d6450
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d6450
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 0xa
jb 0x1401d6489
nop dword [rax]
mov r8d, 0xa
lea rdx, [0x14021d1f0]
mov rcx, rdi
call fcn.1401ccca0
test eax, eax
jne 0x1401d65d1
dec rsi
inc rdi
cmp rsi, 0xa
jae 0x1401d6460
mov rdi, qword [rbx + 0x168]
lea rdx, [0x14021bc48]
mov rcx, rdi
mov r8d, ntohs
call fcn.1401ccca0
test eax, eax
je 0x1401d6546
movzx eax, byte [rdi + 0xb]
add rdi, 0xb
test al, al
je 0x1401d64d7
nop dword [rax]
movzx ecx, al
call fcn.1401cdda0
test eax, eax
je 0x1401d64d7
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1401d64c0
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d650c
lea edx, [rax + 0xa]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d650c
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
sub rsi, rdi
cmp rsi, 5
jb 0x1401d6546
nop word [rax + rax]
mov r8, r12
lea rdx, [0x14021bc3c]
mov rcx, rdi
call fcn.1401ccca0
test eax, eax
jne 0x1401d65ef
dec rsi
inc rdi
cmp rsi, 5
jae 0x1401d6520
cmp byte [rbx + 0x65c], 0
jne 0x1401d664c
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021bc58]
mov r8d, reloc.WS2_32.dll_select
call fcn.1401ccd80
test eax, eax
je 0x1401d6601
mov rdx, qword [rbx + 0x168]
mov r8d, 1
add rdx, 0x12
mov rcx, r14
call fcn.1401cd120
jmp 0x1401d6a75
xor edx, edx
mov rcx, r14
call fcn.1401ca640
lea rdx, [0x14021d200]
mov rcx, rbx
call fcn.1401c9a00
jmp 0x1401d6a7d
mov edx, 1
mov rcx, r14
call fcn.1401ca640
lea rdx, [0x14021d230]
mov rcx, rbx
call fcn.1401c9a00
jmp 0x1401d6a7d
xor edx, edx
mov rcx, r14
call fcn.1401ca640
lea rdx, [0x14021d258]
mov rcx, rbx
call fcn.1401c9a00
jmp 0x1401d6a7d
mov edx, 2
mov rcx, r14
call fcn.1401ca640
jmp 0x1401d6a7d
cmp byte [rbx + 0x65c], 0
jne 0x1401d664c
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d280]
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401ccd80
test eax, eax
je 0x1401d664c
cmp qword [rbx + 0xc20], 0
je 0x1401d664c
mov rdx, qword [rbx + 0x168]
xor r8d, r8d
add rdx, 0x11
mov rcx, r14
call fcn.1401cd120
jmp 0x1401d6a75
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d298]
mov r8d, ntohs
call fcn.1401ccd80
test eax, eax
je 0x1401d66ca
mov rcx, qword [rbx + 0x168]
add rcx, 0xc
mov qword [rsp + 0x50], rbp
call fcn.1401dafa0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1401d66b3
mov rcx, qword [rbx + 0x168]
lea r9, [rsp + 0x50]
add rcx, 0xc
lea r8d, [rax + 0xb]
xor edx, edx
call fcn.1401dab20
mov rdi, qword [rsp + 0x50]
mov qword [rbx + 0x1640], rdi
jmp 0x1401d6a7d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
sub rdi, rax
mov qword [rbx + 0x1640], rdi
jmp 0x1401d6a7d
cmp byte [rbx + 0x65c], 0
jne 0x1401d6781
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d2a8]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401ccd80
test eax, eax
je 0x1401d6781
mov rdi, qword [rbx + 0x168]
add rdi, 0xe
movzx eax, byte [rdi]
test al, al
je 0x1401d672c
nop word [rax + rax]
movzx ecx, al
call fcn.1401cdd20
test eax, eax
jne 0x1401d672c
cmp byte [rdi], 0x2a
je 0x1401d672c
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x1401d6710
movzx ecx, byte [rdi]
call fcn.1401cdd20
test eax, eax
je 0x1401d6775
xor edx, edx
lea r9, [rbx + 0x170]
mov rcx, rdi
lea r8d, [rdx + 0xa]
call fcn.1401dab20
test eax, eax
jne 0x1401d6a7d
mov rax, qword [rbx + 0x170]
cmp qword [rbx + 0x14f0], rax
jne 0x1401d6a7d
mov byte [rbx + 0x659], 1
jmp 0x1401d6a7d
mov qword [rbx + 0x14f0], rbp
jmp 0x1401d6a7d
cmp qword [rbx + 0xf68], 0
je 0x1401d6837
cmp byte [rbx + 0x15a3], 0
je 0x1401d6837
mov rdx, qword [rbx + 0x168]
lea rcx, [0x140219bd0]
mov r8d, ntohs
call fcn.1401ccd80
test eax, eax
je 0x1401d6837
mov edx, 2
mov rcx, rbx
mov r8d, edx
call fcn.1401cd370
mov r8, qword [r14 + 0x710]
test r8, r8
jne 0x1401d67dc
mov r8, qword [r14 + 0x340]
mov rax, qword [r14 + 0x698]
xor r9d, r9d
mov rdx, qword [rbx + 0x168]
add rdx, 0xb
mov ecx, dword [rax + 0x7c]
mov rax, qword [rbx + 0x1570]
shr ecx, 1
and cl, 1
mov byte [rsp + 0x38], cl
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
mov r8b, 1
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbx + 0xf68]
call fcn.1401bc910
mov edx, 2
mov rcx, rbx
call fcn.1401cd3b0
jmp 0x1401d6a7d
cmp byte [rbx + 0x65c], 0
jne 0x1401d689f
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d2b8]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401ccd80
test eax, eax
je 0x1401d689f
cmp dword [rbx + 0x9f8], 0
jne 0x1401d686f
cmp byte [rbx + 0xf09], 0
je 0x1401d689f
mov rcx, qword [rbx + 0x168]
add rcx, 0xe
call fcn.1401dafa0
mov qword [rbx + 0x1a0], rax
cmp byte [rbx + 0xf09], 0
je 0x1401d6a7d
mov qword [rbx + 0x1608], rax
jmp 0x1401d6a7d
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021bbc8]
mov r8d, reloc.WS2_32.dll_recvfrom
call fcn.1401ccd80
test eax, eax
je 0x1401d68ca
mov edi, dword [rbx + 0x178]
cmp edi, 0x191
je 0x1401d68f5
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021bbe0]
mov r8d, reloc.WS2_32.dll_send
call fcn.1401ccd80
test eax, eax
je 0x1401d693b
mov edi, dword [rbx + 0x178]
cmp edi, 0x197
jne 0x1401d693b
mov rcx, qword [rbx + 0x168]
call fcn.1401d5410
mov rsi, rax
test rax, rax
je 0x1401d70a1
cmp edi, 0x197
mov r8, rax
mov rcx, r14
sete dl
call fcn.1401d5830
mov rcx, rsi
mov edi, eax
call qword [fcn.140203958]
test edi, edi
je 0x1401d6a7d
mov eax, edi
jmp 0x1401d6f80
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d2c8]
mov r8d, reloc.WS2_32.dll_ntohs
call fcn.1401ccd80
test eax, eax
je 0x1401d69c7
cmp dword [rbx + 0x120c], 4
jne 0x1401d6a7d
mov rcx, qword [rbx + 0x168]
call fcn.1401d5410
mov rdi, rax
test rax, rax
je 0x1401d70a1
mov r8, r12
lea rcx, [0x14021d2d8]
mov rdx, rax
call fcn.1401ccd80
test eax, eax
mov byte [r14 + 0x939], 1
mov r9, rdi
lea rdx, [0x14021d2e0]
setne cl
mov byte [r14 + 0x938], cl
movzx r8d, cl
mov rcx, rbx
call fcn.1401c9a00
mov rcx, rdi
call qword [fcn.140203958]
jmp 0x1401d6a7d
mov eax, dword [rbx + 0x178]
sub eax, 0x12c
cmp eax, 0x63
ja 0x1401d6a56
mov rdx, qword [rbx + 0x168]
lea rcx, [0x14021d310]
mov r8d, 9
call fcn.1401ccd80
test eax, eax
je 0x1401d6a56
cmp qword [rbx + 0x1c0], 0
jne 0x1401d6a56
mov rcx, qword [rbx + 0x168]
call fcn.1401d5410
test rax, rax
je 0x1401d70a1
cmp byte [rax], 0
jne 0x1401d6a23
mov rcx, rax
call qword [fcn.140203958]
jmp 0x1401d6a7d
cmp byte [rbx + 0xf16], 0
mov qword [rbx + 0x1c0], rax
je 0x1401d6a7d
mov rcx, rax
call qword [case.0x1401bea69.0]
mov qword [rbx + 0x1c8], rax
test rax, rax
je 0x1401d70a1
mov rcx, r14
call fcn.1401d75b0
jmp 0x1401d6a75
mov rax, qword [r14 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x1401d6a7d
mov rdx, qword [rbx + 0x168]
mov rcx, r14
call fcn.1401eae90
test eax, eax
jne 0x1401d6f80
cmp byte [rbx + 0xf19], 0
mov edi, ebp
setne dil
cmp byte [rbx + 0xf1e], 0
je 0x1401d6aae
mov r9, qword [rbx + 0x148]
mov edx, 1
mov r8, qword [rbx + 0x168]
mov rcx, rbx
call fcn.1401c97c0
mov r9, qword [rbx + 0x148]
lea edx, [rdi + 2]
mov r8, qword [rbx + 0x168]
mov rcx, r14
call fcn.1401c97a0
test eax, eax
jne 0x1401d6f80
movsxd rax, dword [rbx + 0x148]
lea rsi, [rbx + 0xe8]
add qword [rbx + 0x1610], rax
add qword [rbx + 0x108], rax
jmp 0x1401d6e8f
cmp al, 0xd
jne 0x1401d6b02
inc r10
mov qword [rbx + 0x168], r10
movzx eax, byte [r10]
cmp al, 0xa
jne 0x1401d6b11
lea rax, [r10 + 1]
mov qword [rbx + 0x168], rax
mov ecx, dword [rbx + 0x178]
lea eax, [rcx - 0x64]
cmp eax, 0x63
ja 0x1401d6b83
sub ecx, 0x64
je 0x1401d6b54
cmp ecx, 1
je 0x1401d6b3b
mov byte [rbx + 0x658], 1
mov dword [rbx + 0x13c], ebp
jmp 0x1401d6be2
cmp dword [rbx + 0x194], 1
je 0x1401d70ab
mov byte [rbx + 0x658], 0
jmp 0x1401d6be2
cmp dword [rbx + 0x190], 0
mov byte [rbx + 0x658], 1
mov dword [rbx + 0x13c], ebp
jle 0x1401d6be2
or dword [rbx + 0x1b8], 2
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x190], ebp
call fcn.1401b9a50
jmp 0x1401d6be2
cmp qword [rsi], 0xffffffffffffffff
mov byte [rbx + 0x658], 0
jne 0x1401d6be2
cmp byte [rbx + 0x65d], 0
jne 0x1401d6be2
cmp byte [r14 + 0x654], 0
jne 0x1401d6be2
cmp dword [r14 + 0x488], 0xb
jne 0x1401d6be2
mov rax, qword [r14 + 0x698]
test dword [rax + 0x7c], 0x40000
jne 0x1401d6be2
cmp dword [rbx + 0xa08], 6
je 0x1401d6be2
lea rdx, [0x14021cf90]
mov rcx, rbx
call fcn.1401c9a00
mov edx, 2
mov rcx, r14
call fcn.1401ca640
movzx eax, byte [r14 + 0x654]
test al, al
je 0x1401d6c7e
mov eax, dword [rbx + 0x178]
cmp eax, 0x191
jne 0x1401d6c0b
cmp dword [r14 + 0x7c0], 2
je 0x1401d6c1c
jmp 0x1401d6c3e
cmp eax, 0x197
jne 0x1401d6c3e
cmp dword [r14 + 0x7c4], 2
jne 0x1401d6c3e
lea rdx, [0x14021cfd0]
mov rcx, rbx
call fcn.1401c9a00
mov byte [rbx + 0x1599], 1
movzx eax, byte [r14 + 0x654]
test al, al
je 0x1401d6c7e
mov eax, dword [rbx + 0x178]
cmp eax, 0x191
jne 0x1401d6c57
cmp dword [r14 + 0x8b8], 1
je 0x1401d6c68
jmp 0x1401d6c7e
cmp eax, 0x197
jne 0x1401d6c7e
cmp dword [r14 + 0x8bc], 1
jne 0x1401d6c7e
lea rdx, [0x14021cfd0]
mov rcx, rbx
call fcn.1401c9a00
mov byte [rbx + 0x1599], 1
cmp dword [r14 + 0x8b8], 3
jne 0x1401d6c9f
cmp dword [rbx + 0x178], 0x191
je 0x1401d6c9f
mov dword [r14 + 0x8b8], 4
cmp dword [r14 + 0x8bc], 3
jne 0x1401d6cc0
cmp dword [rbx + 0x178], 0x197
je 0x1401d6cc0
mov dword [r14 + 0x8bc], 4
mov rcx, r14
call fcn.1401d77b0
test eax, eax
jne 0x1401d719c
mov r8, qword [rbx + 0x1118]
mov edx, ebp
mov rdi, qword [rbx + 0x168]
sub rdi, r8
cmp byte [rbx + 0xf19], al
mov r9, rdi
setne dl
add edx, 2
call fcn.1401c97a0
test eax, eax
jne 0x1401d6f80
movsxd rax, edi
add qword [rbx + 0x108], rax
add qword [rbx + 0x1610], rax
mov eax, dword [rbx + 0x178]
mov rcx, qword [rbx + 0x108]
sub eax, 0x64
cmp eax, 0x63
cmova rcx, rbp
mov qword [rbx + 0x110], rcx
mov rcx, r14
call fcn.1401d5520
test eax, eax
jne 0x1401d6f80
cmp dword [rbx + 0x178], 0x12c
jl 0x1401d6e82
cmp byte [r14 + 0x664], al
jne 0x1401d6e62
cmp byte [r14 + 0x654], al
jne 0x1401d6e62
cmp byte [r14 + 0x665], al
jne 0x1401d6e6c
mov eax, dword [rbx + 0xa08]
add eax, 0xfffffffe
cmp eax, 3
ja 0x1401d6e62
xor edx, edx
mov rcx, rbx
call fcn.1401b9a50
cmp byte [rbx + 0x65a], 0
jne 0x1401d6e62
cmp dword [rbx + 0x178], 0x1a1
jne 0x1401d6ded
cmp byte [rbx + 0x159c], 0
je 0x1401d6ded
lea rdx, [0x14021d008]
mov rcx, rbx
call fcn.1401c9a00
mov byte [rbx + 0x159d], 1
mov rcx, qword [r14]
mov rcx, qword [rcx + 0xf40]
call qword [case.0x1401bea69.0]
mov rdx, rsi
mov rcx, r14
mov qword [rbx + 0x1c8], rax
call fcn.1401ced20
jmp 0x1401d6e62
cmp byte [rbx + 0xf15], 0
mov rcx, rbx
je 0x1401d6e1d
lea rdx, [0x14021d030]
call fcn.1401c9a00
cmp dword [rbx + 0x190], 0
jle 0x1401d6e62
or dword [rbx + 0x1b8], 2
mov dword [rbx + 0x190], ebp
jmp 0x1401d6e62
lea rdx, [0x14021d060]
call fcn.1401c9a00
mov edx, 2
mov rcx, r14
call fcn.1401ca640
mov rdx, rsi
mov rcx, r14
call fcn.1401ced20
test eax, eax
jne 0x1401d6f80
mov byte [rbx + 0x65a], 1
cmp byte [rbx + 0x159c], al
je 0x1401d6e62
mov dword [rbx + 0x190], 3
cmp byte [r14 + 0x665], 0
je 0x1401d6e82
lea rdx, [0x14021d090]
mov rcx, rbx
call fcn.1401c9a00
or dword [rbx + 0x1b8], 2
cmp byte [rbx + 0x658], 0
je 0x1401d70db
mov rax, qword [rbx + 0x1118]
mov qword [rbx + 0x140], rax
mov qword [rbx + 0x148], rbp
mov rdi, qword [rbx + 0x150]
cmp byte [rdi], 0
je 0x1401d6f7e
mov qword [rbx + 0x158], rdi
mov edx, 0xa
mov r8, qword [r15]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov qword [rbx + 0x160], rax
test rax, rax
jne 0x1401d5c90
mov r8, qword [r15]
mov rdx, rsi
mov rcx, rbx
call fcn.1401d74b0
test eax, eax
jne 0x1401d6f80
cmp dword [rbx + 0x13c], eax
jne 0x1401d6f7e
mov r9, qword [rbx + 0x148]
mov rdx, r14
mov r8, qword [rbx + 0x1118]
mov rcx, rbx
call fcn.1401d72a0
cmp eax, 2
jne 0x1401d6f7e
mov edx, eax
mov byte [rbx + 0x658], 0
mov rcx, r14
mov dword [rbx + 0x138], eax
call fcn.1401ca640
cmp byte [rbx + 0xf3a], 0
jne 0x1401d6f7e
lea rdx, [0x14021cf58]
mov rcx, rbx
call fcn.1401c9880
mov eax, 1
jmp 0x1401d6f80
mov edx, 2
mov rcx, r14
call fcn.1401ca640
cmp byte [rbx + 0xf3a], 0
je 0x1401d6f3b
mov byte [rbx + 0x658], 0
cmp qword [r15], 0
je 0x1401d6f91
mov dword [rbx + 0x138], 1
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, qword [rsp + 0x60]
mov dword [rbx + 0x138], 2
mov qword [r15], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x150], rax
jmp 0x1401d6f7e
lea rdx, [0x14021d140]
mov rcx, rbx
call fcn.1401c9880
mov eax, 1
jmp 0x1401d6f80
mov rdi, qword [rbx + 0x168]
lea rdx, [0x14021c738]
mov rcx, rdi
mov r8d, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x1401d719c
lea edx, [rax + 0x20]
mov rcx, rdi
call sub.VCRUNTIME140.dll_strchr
mov rdi, rax
test rax, rax
je 0x1401d719c
inc rdi
cmp byte [rdi], 0
je 0x1401d719c
mov edx, reloc.WS2_32.dll_listen
mov rcx, rdi
mov bpl, reloc.WS2_32.dll_listen
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
jne 0x1401d7041
lea edx, [rax + 0xa]
mov rcx, rdi
mov bpl, 0xa
call sub.VCRUNTIME140.dll_strchr
mov rsi, rax
test rax, rax
je 0x1401d719c
mov r8, rdi
mov byte [rsi], 0
lea rdx, [0x14021cf30]
mov rcx, rbx
call fcn.1401c9880
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov byte [rsi], bpl
jmp 0x1401d6f80
mov byte [rbx + 0x658], 0
jmp 0x1401d6f7e
lea rdx, [0x140218900]
mov rcx, rbx
call fcn.1401c9880
mov eax, 0x3f
jmp 0x1401d6f80
lea rdx, [0x14021d1d0]
mov rcx, rbx
call fcn.1401c9880
mov eax, 8
jmp 0x1401d6f80
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1401d6f80
lea rdx, [0x14021cf80]
mov rcx, rbx
call fcn.1401c9a00
mov eax, 1
mov dword [rbx + 0x194], 2
mov byte [rbx + 0x658], 1
mov dword [rbx + 0x13c], ebp
jmp 0x1401d6f80
cmp byte [rbx + 0xf1c], 0
jne 0x1401d7128
mov rax, qword [r14 + 0x698]
test dword [rax + 0x7c], 0x40000
je 0x1401d7103
cmp dword [rbx + 0xe60], 2
jne 0x1401d7103
cmp qword [rsi], 0xffffffffffffffff
jle 0x1401d7128
cmp byte [rbx + 0x65d], 0
mov r12, qword [rsp + 0xd8]
je 0x1401d7135
mov qword [rsi], 0xffffffffffffffff
mov qword [rbx + 0xf0], 0xffffffffffffffff
jmp 0x1401d7135
mov r12, qword [rsp + 0xd8]
mov byte [r12], 1
mov rdx, qword [rsi]
cmp rdx, 0xffffffffffffffff
je 0x1401d7152
mov rcx, rbx
call fcn.1401d8290
mov rax, qword [rsi]
mov qword [rbx + 0xf0], rax
jmp 0x1401d7159
mov rax, qword [rbx + 0xf0]
test rax, rax
jne 0x1401d7165
mov byte [r12], 1
jmp 0x1401d716c
cmp byte [r12], 0
je 0x1401d7173
and dword [rbx + 0x1b8], 0xfffffffe
cmp byte [rbx + 0xf1e], 0
je 0x1401d6f7e
mov r8, qword [rbx + 0x158]
mov r9, rdi
mov edx, 1
mov rcx, rbx
call fcn.1401c97c0
jmp 0x1401d6f7e
mov r8d, dword [rbx + 0x178]
lea rdx, [0x14021c868]
mov rcx, rbx
call fcn.1401c9880
mov eax, reloc.WLDAP32.dll_Ordinal_22
jmp 0x1401d6f80