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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0xd8
mov rdi, qword [rcx + 0x10]
mov r12, r9
mov rbp, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x68], rdi
xorps xmm0, xmm0
mov qword [rsp + 0x38], rbp
mov r14, rcx
mov rbx, r8
mov r13, rdx
mov ecx, 0xfeff
movdqu xmmword [rax - 0x80], xmm0
test r12, r12
je 0x14021061c
cmp dword [r12], 0x40
jl 0x14021061c
mov qword [rax + 0x20], r9
mov r12d, r9d
movzx eax, word [rsp + 0x140]
and ax, cx
jmp 0x140210624
movzx eax, word [rsp + 0x140]
mov ecx, dword [rdx]
mov word [rsp + 0x30], ax
mov dword [rsp + 0x34], ecx
cmp ecx, 0x40
jle 0x14021065c
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.1401d2c10
xor eax, eax
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov qword [rsp + 0x120], rsi
test al, 0x20
mov qword [rsp + 0xd0], r15
mov eax, 0x3d0
mov edx, 1
je 0x140210680
mov dword [rsp + 0x34], edx
jmp 0x140210690
cmp ecx, edx
jle 0x140210690
imul eax, ecx, 0x70
mov dword [rsp + 0x34], ecx
add eax, 0x360
movsxd rsi, eax
mov rcx, rbp
lea rdx, [rsi + 0x70]
call fcn.1401d0100
cmp byte [rbp + 0x67], 0
mov r15, rax
mov qword [rsp + 0x50], rax
je 0x1402106c6
test rax, rax
je 0x140211867
mov rdx, rax
mov rcx, rbp
call fcn.1401cff70
jmp 0x140211867
movsxd rcx, dword [rsp + 0x34]
xorps xmm0, xmm0
mov qword [rax + 8], r13
xor edx, edx
mov r13, qword [rsp + 0x138]
mov qword [rax], r14
mov qword [rax + 0x10], r12
mov rax, qword [rsp + 0x130]
mov qword [r15 + 0x18], rax
mov rax, 0xffffffffffffffff
mov qword [r15 + 0x28], rax
mov byte [r15 + 0x40], cl
mov qword [rsp + 0x60], rax
mov eax, dword [r14 + 0x44]
dec eax
mov dword [r14 + 0x44], eax
mov dword [r15 + 0x30], eax
mov dword [r15 + 0x34], eax
movzx eax, word [rsp + 0x30]
mov word [r15 + 0x3c], ax
mov eax, dword [rsp + 0x148]
mov word [r15 + 0x3e], ax
movsx eax, word [r14 + 0xe0]
mov dword [r15 + 0x38], eax
xor eax, eax
mov qword [r15 + 0x20], r13
movups xmmword [r15 + 0x41], xmm0
movups xmmword [r15 + 0x51], xmm0
mov qword [r15 + 0x61], rax
mov dword [r15 + 0x69], eax
mov word [r15 + 0x6d], ax
mov byte [r15 + 0x6f], al
lea rax, [rcx + 1]
imul r8, rax, 0x70
lea rcx, [r15 + 0x360]
call fcn.14029f290
lea r14, [r15 + 0x70]
xor ebp, ebp
mov dword [r15 + 0x25c], ebp
lea rcx, [rsi + r15]
mov dword [r15 + 0x260], 0xffffff9d
lea rax, [rcx + 0x58]
mov qword [rsp + 0x70], r15
mov rsi, rbx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rcx
mov qword [rcx + 0x48], rax
lea rax, [r14 + 0x28]
mov word [rcx + 0x3c], bp
mov word [rcx + 0x40], 3
mov dword [rcx + 0x38], ebp
mov qword [r14 + 0x20], rax
mov qword [r14], r15
mov byte [r14 + 0x11], bpl
mov qword [r14 + 8], rbp
mov dword [r14 + 0x14], ebp
mov qword [r14 + 0x18], 8
test rbx, rbx
je 0x1402107f9
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x1402107f9
bt eax, 0x13
jae 0x1402107f0
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x1402107f4
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x1402107d6
mov byte [r14 + 0x10], 0x2c
test rsi, rsi
je 0x1402109e5
cmp byte [rsi], 0x2c
je 0x1402109c7
movsxd rax, dword [r14 + 0x18]
cmp ebp, eax
jl 0x14021093a
mov rbp, qword [r14 + 0x20]
mov rsi, r15
imul r15, rax, 0x70
mov rax, qword [rsi]
mov rcx, qword [rax]
lea rdx, [r15 + 0x10]
movzx eax, word [rcx + 0x1a4]
cmp rdx, rax
jbe 0x140210860
cmp dword [rcx + 0x1a0], 0
jne 0x140210851
inc dword [rcx + 0x1b4]
jmp 0x1402108e7
cmp byte [rcx + 0x67], 0
jne 0x140210910
jmp 0x1402108e7
cmp rdx, 0x80
ja 0x1402108a5
mov r9, qword [rcx + 0x1d8]
test r9, r9
je 0x140210887
mov rax, qword [r9]
mov qword [rcx + 0x1d8], rax
inc dword [rcx + 0x1b0]
jmp 0x1402108f4
mov r9, qword [rcx + 0x1d0]
test r9, r9
je 0x1402108a5
mov rax, qword [r9]
mov qword [rcx + 0x1d0], rax
inc dword [rcx + 0x1b0]
jmp 0x1402108f4
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x1402108c3
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1b0]
jmp 0x1402108f4
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x1402108e1
mov rax, qword [r9]
inc dword [rcx + 0x1b0]
mov qword [rcx + 0x1c0], rax
jmp 0x1402108f4
inc dword [rcx + 0x1b8]
call fcn.140193f10
mov r9, rax
test rax, rax
je 0x140210907
mov rax, qword [rsi + 0x60]
mov qword [r9], rax
mov qword [r9 + 8], r15
mov qword [rsi + 0x60], r9
add r9, 0x10
mov qword [r14 + 0x20], r9
test r9, r9
jne 0x14021091b
mov qword [r14 + 0x20], rbp
xor ebp, ebp
jmp 0x1402109e5
movsxd rax, dword [r14 + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.14029ebf0
mov eax, dword [r14 + 0x18]
add eax, eax
mov dword [r14 + 0x18], eax
xor ebp, ebp
movsxd rdx, dword [r14 + 0x14]
imul r8, rdx, 0x38
lea eax, [rdx + 1]
add r8, qword [r14 + 0x20]
mov dword [r14 + 0x14], eax
mov dword [r14 + 0x1c], eax
test rbx, rbx
je 0x140210977
test dword [rbx + 4], 0x80000
je 0x140210977
movsxd rcx, dword [rbx + 0x2c]
call fcn.1401e65f0
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x140210983
mov word [r8 + 0x10], 1
test rbx, rbx
je 0x1402109a6
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1402109a6
bt eax, 0x13
jae 0x14021099d
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1402109a1
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140210983
mov qword [r8], rbx
xorps xmm0, xmm0
mov word [r8 + 0x12], bp
xor eax, eax
mov qword [r8 + 8], r14
movups xmmword [r8 + 0x14], xmm0
movups xmmword [r8 + 0x24], xmm0
mov dword [r8 + 0x34], eax
jmp 0x1402109e5
mov rdx, qword [rsi + 0x10]
mov r8b, 0x2c
mov rcx, r14
call fcn.1402165a0
mov rdx, qword [rsi + 0x18]
mov r8b, 0x2c
mov rcx, r14
call fcn.1402165a0
cmp dword [rsp + 0x34], 0
mov ecx, 0x100
mov r15, qword [rsp + 0x50]
jne 0x140210a36
test r12, r12
je 0x140210a04
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x140210a1b
mov rax, qword [rsp + 0x38]
test byte [rax + 0x60], 0x10
jne 0x140210a1b
mov byte [r15 + 0x43], 1
mov rbp, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
mov rcx, rbp
xor edx, edx
call fcn.140209d20
jmp 0x140210a95
mov r13, qword [rsp + 0x118]
mov ebx, ebp
mov rbp, qword [rsp + 0x110]
lea rsi, [r13 + 0x4c]
nop dword [rax]
movsxd rcx, dword [r15 + 0x25c]
mov r8, r14
mov eax, dword [rsi]
mov dword [r15 + rcx*4 + 0x260], eax
mov rcx, rbp
inc dword [r15 + 0x25c]
movsxd rax, ebx
imul rdx, rax, 0x68
add rdx, 8
add rdx, r13
call fcn.140216620
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x140210a50
mov r13, qword [rsp + 0x138]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x140210ac3
mov rsi, qword [rsp + 0x118]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, rsi
call fcn.1401959a0
sub ebx, 1
jns 0x140210ab0
test r13, r13
je 0x140210ada
cmp qword [r13 + 0x60], 0
je 0x140210ada
mov rdx, r13
mov rcx, r14
call fcn.1402104b0
cmp dword [rbp + 0x30], 0
jne 0x14021184e
mov rax, qword [rsp + 0x78]
xor r9d, r9d
mov ebp, r9d
cmp dword [rax + 0x1c], r9d
jle 0x140210c0a
mov r13, qword [rsp + 0x110]
lea rdx, [0x140199980]
mov rdi, qword [rsp + 0x118]
lea r8, [0x1401f8990]
mov r12d, dword [rsp + 0x34]
mov r14d, r9d
nop
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax + 0x20]
add rbx, r14
test byte [rbx + 0x12], 2
jne 0x140210bd5
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x140210bd5
test r12d, r12d
je 0x140210baf
mov qword [rsp + 0x98], r9
mov eax, 1
mov word [rsp + 0xbc], ax
mov qword [rsp + 0xb0], r9
mov dword [rsp + 0xb8], r9d
mov qword [rsp + 0xbe], r9
mov word [rsp + 0xc6], r9w
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r8
test rsi, rsi
je 0x140210baf
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.140210180
cmp word [rsp + 0xbc], 0
je 0x140210bd5
test byte [rsi + 4], 2
je 0x140210bbb
test byte [rdi + 0x44], 0x40
jne 0x140210bd5
mov r8d, dword [r15 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, r13
call fcn.1401d8040
or word [rbx + 0x12], 4
mov rax, qword [rsp + 0x78]
lea rdx, [0x140199980]
inc ebp
lea r8, [0x1401f8990]
add r14, 0x38
mov r9d, 0
cmp ebp, dword [rax + 0x1c]
jl 0x140210b20
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x128]
movzx r13d, word [rsp + 0x30]
bt r13w, 8
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x130]
mov rbp, qword [rsp + 0x110]
mov r14, qword [rsp + 0x118]
jae 0x140210c81
test byte [rsi + 0x60], 0x10
je 0x140210c51
mov ecx, 0xfeff
and r13w, cx
and word [r15 + 0x3c], cx
mov word [rsp + 0x30], r13w
jmp 0x140210c81
lea r8, [r15 + 0x70]
mov r9, rbx
mov rdx, r14
mov rcx, rbp
call fcn.1401a4280
test eax, eax
je 0x140210c6e
mov byte [r15 + 0x43], 1
jmp 0x140210c81
test r12, r12
jne 0x140210c81
mov eax, 0x80
mov qword [r15 + 0x10], rbx
or word [r15 + 0x3c], ax
mov r12d, dword [rsp + 0x34]
cmp r12d, 1
jne 0x140210c9a
lea rcx, [rsp + 0x70]
call fcn.14022d690
test eax, eax
jne 0x140210cf6
lea rcx, [rsp + 0x70]
call fcn.140228890
test eax, eax
jne 0x14021184e
xor edx, edx
mov rcx, r15
call fcn.14022c070
cmp byte [rsi + 0x67], 0
jne 0x14021184e
cmp qword [r15 + 0x10], 0
je 0x140210ce1
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.14022c070
cmp byte [rsi + 0x67], 0
jne 0x14021184e
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x140210cfc
add word [r15 + 0x48], 0xffe2
jmp 0x140210cfc
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x140210d15
mov eax, dword [rsi + 0x30]
bt rax, 0xc
jae 0x140210d15
mov rcx, r15
call fcn.14022ce20
cmp dword [rbp + 0x30], 0
jne 0x14021184e
movzx eax, byte [r15 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x140210d82
test rbx, rbx
je 0x140210d6b
movzx eax, r13w
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x140210d6b
test dword [rsi + 0x60], r11d
jne 0x140210d6b
lea rdx, [r9 - 1]
mov rcx, r15
call fcn.14022b200
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r12b
mov dword [rsp + 0x34], r12d
cmp al, 2
jb 0x140210d82
mov r8, qword [rsp + 0x38]
test dword [r8 + 0x60], 0x80000
jne 0x140210d87
mov rcx, r15
call fcn.1402282d0
mov r8, qword [rsp + 0x38]
mov rcx, qword [r15]
xor r10d, r10d
movzx eax, word [r15 + 0x48]
movzx r9d, word [rsp + 0x30]
mov word [rsp + 0x128], r10w
add word [rcx + 0xe0], ax
test r9b, 4
je 0x140210e57
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x140210e17
mov dword [rsp + 0x128], r10d
test r9b, 8
je 0x140210e57
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x128], r10w
cmp byte [rax + 0x3f], 1
je 0x140210e57
bt ecx, 0xd
jae 0x140210dfe
mov word [rsp + 0x128], r10w
test r9b, 0x10
je 0x140210e57
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x128], r10w
jne 0x140210e57
test ecx, 0x1000
sete al
mov word [rsp + 0x128], r10w
inc al
mov byte [r15 + 0x42], al
mov rax, qword [r14 + 0x28]
test byte [rax + 0x30], 0x80
jne 0x140210e57
mov word [rsp + 0x128], r10w
test cl, 0x40
je 0x140210e57
and ecx, 0xffffffbf
movzx eax, r9w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x128], ax
mov dword [rsp + 0x58], r10d
lea rbx, [r15 + 0x360]
mov qword [rsp + 0x40], rbx
test r12d, r12d
jle 0x140211651
jmp 0x140210e8b
mov r8, qword [rsp + 0x38]
movzx r9d, word [rsp + 0x30]
movzx eax, byte [rbx + 0x40]
lea r13, [r14 + 8]
imul rcx, rax, 0x68
mov rdx, 0xffffffffffff8000
add r13, rcx
mov r12d, edx
mov r14, qword [r13 + 0x20]
mov qword [rsp + 0x48], r14
mov rcx, qword [r14 + 0x60]
test rcx, rcx
je 0x140210edf
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x140210edf
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x140210ed0
test dword [r14 + 0x30], 0x4000
mov rsi, qword [rbx + 0x60]
mov qword [rsp + 0x68], rsi
jne 0x140210fcc
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x140210fcc
mov ecx, dword [rsi + 0x38]
bt ecx, 0xa
jae 0x140211031
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x140210f2e
nop dword [rax]
cmp qword [rbx], r8
je 0x140210f2e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140210f20
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [r13 + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x140210f5a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1401a25b0
mov edx, eax
jmp 0x140210f88
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xad
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140210fc7
test edx, edx
jns 0x140210f9d
mov edx, dword [rdi + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14021101f
mov r9d, 0xfffffff5
mov r8, rbx
mov rcx, rdi
call fcn.14021f550
mov rbx, qword [rsp + 0x40]
test dword [rsi + 0x38], 0x200
je 0x14021132f
mov rax, qword [rsp + 0x48]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rsi + 0x20]
test byte [rax + 0x30], 0x80
je 0x140211161
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x30]
jne 0x140211166
test al, 0x20
je 0x140211166
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x110]
mov dword [rbx + 8], eax
jmp 0x14021132a
test rbx, rbx
je 0x140210fc7
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf5
inc dword [rbx + 0x18]
jmp 0x140210fc7
cmp al, 1
je 0x140210fcc
test cl, 0x40
jne 0x140211040
test r9b, 0x20
je 0x14021104b
test byte [r13 + 0x3c], 0x50
je 0x14021111d
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x140211064
mov eax, dword [r13 + 0x44]
mov ecx, WSAStartup
mov dword [r15 + 0x28], eax
mov edx, dword [r13 + 0x44]
mov r9, r14
mov dword [rsp + 0x20], ecx
mov r8d, r12d
mov rcx, rbp
call fcn.1401e7620
cmp byte [r15 + 0x42], 0
jne 0x1402110f2
cmp word [r14 + 0x36], 0x40
jge 0x1402110f2
test byte [r14 + 0x30], 0xe0
jne 0x1402110f2
test dword [rsi + 0x38], 0x404000
jne 0x1402110f2
mov rax, qword [r13 + 0x50]
xor r9d, r9d
test rax, rax
je 0x1402110ad
inc r9d
shr rax, 1
jne 0x1402110a5
mov rax, qword [rdi]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x1402110f2
movsxd rax, dword [rdi + 0x90]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x1402110ea
mov r9d, 0xfffffffd
mov rcx, rdi
call fcn.14021f550
jmp 0x1402110f2
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140210fcc
mov edx, dword [rsp + 0x128]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x140210fcc
cmp r12d, 1
je 0x140210fcc
mov rax, qword [rbp]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x140210fcc
mov rax, qword [r14]
xor r9d, r9d
mov r8d, dword [r14 + 0x28]
mov edx, r12d
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.1401ac950
jmp 0x140210fcc
movzx eax, word [rsp + 0x30]
cmp byte [r15 + 0x42], 0
je 0x14021119f
mov rax, qword [r13 + 0x20]
mov ebx, dword [rsp + 0x148]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140211191
cmp rcx, rbp
je 0x140211191
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x140211181
mov r14d, WSAStartup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x14021121e
mov ecx, dword [rsp + 0x148]
test ecx, ecx
je 0x1402111ba
test al, 0x20
je 0x1402111ba
mov ebx, ecx
mov r14d, 0x65
mov esi, ecx
jmp 0x14021121e
mov rcx, qword [rsp + 0x110]
mov ebx, dword [rcx + 0x34]
mov esi, ebx
lea eax, [rbx + 1]
mov dword [rcx + 0x34], eax
test dword [rbp + 0x64], 0x1000
je 0x1402111fa
mov rax, qword [rsp + 0x38]
test dword [rax + 0x60], 0x1000000
jne 0x1402111fa
mov r9, r13
mov r8d, ebx
mov rdx, rbp
call fcn.140227ae0
mov rcx, qword [rsp + 0x110]
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x14021121e
test byte [r13 + 0x3c], 0x10
jne 0x14021121e
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
call fcn.14022b440
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], esi
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rbp + 0x58]
cmp dword [rdi + 0x94], ecx
jg 0x140211251
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1401a25b0
jmp 0x140211287
lea eax, [rcx + 1]
xor edx, edx
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8], r14b
mov word [rax + rcx*8 + 2], dx
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov rax, qword [rsp + 0x110]
mov rdx, rbp
mov rcx, rax
mov rbp, rax
mov rbx, qword [rax + 0x10]
call fcn.1401e5480
mov r8, rax
test rax, rax
je 0x1402112ec
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1402112d0
cmp qword [rax + 0x308], 0
jne 0x1402112ec
add dword [r8], 0xffffffff
jne 0x1402112ec
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401d01c0
jmp 0x1402112ec
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf8
mov qword [rax + rcx*8 - 8], r8
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x38]
test al, 0xf
je 0x14021132a
test eax, 0x188002
jne 0x14021132a
test byte [r15 + 0x3c], 1
jne 0x14021132a
cmp byte [r15 + 0x43], 2
je 0x14021132a
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14021132a
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], 2
mov r14, qword [rsp + 0x48]
test r12d, r12d
js 0x140211366
mov rax, qword [rbp + 0xb0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x140211366
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x140211366
call fcn.1401e79e0
test byte [r13 + 0x3c], 0x10
je 0x14021161a
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.1401d0100
mov rsi, rax
test rax, rax
je 0x1402113a0
mov rcx, qword [r15 + 0x60]
add rsi, 0x10
mov qword [rax], rcx
mov qword [rax + 8], reloc.WS2_32.dll_sendto
mov qword [r15 + 0x60], rax
mov rax, qword [rsp + 0x40]
mov qword [rax + 0x38], rsi
test rsi, rsi
je 0x14021161a
mov eax, dword [rbp + 0x34]
xor r12d, r12d
mov dword [rsi], eax
mov edx, dword [rbp + 0x38]
inc dword [rbp + 0x34]
inc edx
mov dword [rbp + 0x38], edx
mov dword [rsi + 4], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1402113f4
mov r9d, edx
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x4d]
mov r8d, 0x10000
mov rcx, rdi
call fcn.1401a25b0
jmp 0x140211425
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], 0x10000
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
inc dword [rbp + 0x38]
mov edx, dword [rbp + 0x38]
mov dword [rsi + 8], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140211456
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1401a25b0
jmp 0x140211480
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
test byte [r14 + 0x30], 0x80
jne 0x140211530
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x1402114b8
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.1401a25b0
jmp 0x1402114e5
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], r12
mov rcx, qword [rbp]
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.1401e5310
mov r8, rax
test rax, rax
je 0x140211607
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x1402115cd
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x1402115fd
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x140211552
nop dword [rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140211552
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140211540
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x14021157f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1401a25b0
jmp 0x1402115ad
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x76
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
mov rsi, qword [rbp + 0x10]
mov rdx, rbx
mov rcx, rbp
call fcn.1401e5480
mov r8, rax
test rax, rax
je 0x140211607
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x1402115eb
cmp qword [rax + 0x308], 0
jne 0x140211607
add dword [r8], 0xffffffff
jne 0x140211607
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401d01c0
jmp 0x140211607
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8 - 8], r8
mov byte [rax + rcx*8 - 0x17], 0xf8
mov rcx, qword [rsp + 0x68]
and dword [rcx + 0x38], 0xffffffbf
mov byte [r15 + 0x41], 0
mov byte [r15 + 0x43], 3
mov r9d, dword [rsp + 0x58]
mov r10d, 0
mov rbx, qword [rsp + 0x40]
inc r9d
mov r12d, dword [rsp + 0x34]
add rbx, 0x70
mov r14, qword [rsp + 0x118]
mov dword [rsp + 0x58], r9d
mov qword [rsp + 0x40], rbx
cmp r9d, r12d
jl 0x140210e80
mov r13, qword [rsp + 0x38]
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [r13 + 0x67], 0
jne 0x14021184e
mov r14d, r10d
test r12d, r12d
jle 0x1402118f0
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rbp + 0x30], 0
jne 0x14021184e
mov rax, qword [rbx + 0x60]
mov r15d, dword [rax + 0x38]
movzx eax, byte [rbx + 0x40]
imul rsi, rax, 0x68
add rsi, qword [rsp + 0x118]
mov eax, dword [rsi + 0x48]
test al, 0x10
je 0x140211804
test al, 8
je 0x140211716
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x1402116e3
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1401a25b0
jmp 0x140211804
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140211804
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x140211743
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xf]
call fcn.1401a25b0
mov ebp, eax
xor r10d, r10d
jmp 0x140211774
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov qword [rax + rcx*8], reloc.WS2_32.dll_ntohs
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x1402117a1
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1401a25b0
jmp 0x1402117cf
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1402117e7
lea rax, [0x14035b3b8]
jmp 0x1402117f9
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov rbp, qword [rsp + 0x110]
mov dword [rax + 8], edx
mov rsi, qword [rsp + 0x60]
test r15d, 0x404000
je 0x14021188a
bt r15d, 0xe
jae 0x140211831
mov r9, rbx
mov r8, rsi
mov rdx, r12
mov rcx, rbp
call fcn.140191910
mov r15, qword [rsp + 0x50]
jmp 0x140211847
mov r15, qword [rsp + 0x50]
mov r9, rsi
mov rcx, r15
mov r8, rbx
mov edx, r14d
call fcn.1401cd9e0
cmp byte [r13 + 0x67], 0
je 0x14021188f
movzx eax, word [r15 + 0x38]
mov rdx, r15
mov rcx, qword [rsp + 0x38]
mov word [rbp + 0xe0], ax
call fcn.140228600
xor eax, eax
mov rsi, qword [rsp + 0x120]
mov r15, qword [rsp + 0xd0]
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov r15, qword [rsp + 0x50]
movzx r9d, word [rsp + 0x30]
mov r8, rbx
mov rdx, qword [rsp + 0x118]
mov rcx, rbp
call fcn.140215650
mov eax, dword [rdi + 0x90]
mov r9d, r14d
mov r8, r15
mov qword [rsp + 0x28], rsi
mov rdx, rdi
mov dword [rbx + 0x20], eax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call fcn.1402119a0
mov qword [rsp + 0x60], rax
inc r14d
mov eax, dword [rbx + 0x18]
mov r10d, 0
add rbx, 0x70
mov dword [r15 + 0x30], eax
cmp r14d, dword [rsp + 0x34]
jl 0x140211682
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x140211869