Function at 0x140212bb0
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 0x140212c1c
cmp dword [r12], 0x40
jl 0x140212c1c
mov qword [rax + 0x20], r9
mov r12d, r9d
movzx eax, word [rsp + 0x140]
and ax, cx
jmp 0x140212c24
movzx eax, word [rsp + 0x140]
mov ecx, dword [rdx]
mov word [rsp + 0x30], ax
mov dword [rsp + 0x34], ecx
cmp ecx, 0x40
jle 0x140212c5c
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r14
call fcn.1401d5210
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 0x140212c80
mov dword [rsp + 0x34], edx
jmp 0x140212c90
cmp ecx, edx
jle 0x140212c90
imul eax, ecx, 0x70
mov dword [rsp + 0x34], ecx
add eax, 0x360
movsxd rsi, eax
mov rcx, rbp
lea rdx, [rsi + 0x70]
call fcn.1401d2700
cmp byte [rbp + 0x67], 0
mov r15, rax
mov qword [rsp + 0x50], rax
je 0x140212cc6
test rax, rax
je 0x140213e67
mov rdx, rax
mov rcx, rbp
call fcn.1401d2570
jmp 0x140213e67
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.1402a1980
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 0x140212df9
mov eax, dword [rsi + 4]
test eax, 0x82000
je 0x140212df9
bt eax, 0x13
jae 0x140212df0
mov rax, qword [rsi + 0x20]
mov rsi, qword [rax + 8]
jmp 0x140212df4
mov rsi, qword [rsi + 0x10]
test rsi, rsi
jne 0x140212dd6
mov byte [r14 + 0x10], 0x2c
test rsi, rsi
je 0x140212fe5
cmp byte [rsi], 0x2c
je 0x140212fc7
movsxd rax, dword [r14 + 0x18]
cmp ebp, eax
jl 0x140212f3a
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 0x140212e60
cmp dword [rcx + 0x1a0], 0
jne 0x140212e51
inc dword [rcx + 0x1b4]
jmp 0x140212ee7
cmp byte [rcx + 0x67], 0
jne 0x140212f10
jmp 0x140212ee7
cmp rdx, 0x80
ja 0x140212ea5
mov r9, qword [rcx + 0x1d8]
test r9, r9
je 0x140212e87
mov rax, qword [r9]
mov qword [rcx + 0x1d8], rax
inc dword [rcx + 0x1b0]
jmp 0x140212ef4
mov r9, qword [rcx + 0x1d0]
test r9, r9
je 0x140212ea5
mov rax, qword [r9]
mov qword [rcx + 0x1d0], rax
inc dword [rcx + 0x1b0]
jmp 0x140212ef4
mov r9, qword [rcx + 0x1c8]
test r9, r9
je 0x140212ec3
mov rax, qword [r9]
mov qword [rcx + 0x1c8], rax
inc dword [rcx + 0x1b0]
jmp 0x140212ef4
mov r9, qword [rcx + 0x1c0]
test r9, r9
je 0x140212ee1
mov rax, qword [r9]
inc dword [rcx + 0x1b0]
mov qword [rcx + 0x1c0], rax
jmp 0x140212ef4
inc dword [rcx + 0x1b8]
call fcn.140196510
mov r9, rax
test rax, rax
je 0x140212f07
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 0x140212f1b
mov qword [r14 + 0x20], rbp
xor ebp, ebp
jmp 0x140212fe5
movsxd rax, dword [r14 + 0x14]
mov rdx, rbp
imul r8, rax, 0x38
mov rcx, r9
call fcn.1402a12e0
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 0x140212f77
test dword [rbx + 4], 0x80000
je 0x140212f77
movsxd rcx, dword [rbx + 0x2c]
call fcn.1401e8bf0
mov ecx, 0x10e
sub ax, cx
mov word [r8 + 0x10], ax
jmp 0x140212f83
mov word [r8 + 0x10], 1
test rbx, rbx
je 0x140212fa6
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x140212fa6
bt eax, 0x13
jae 0x140212f9d
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x140212fa1
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140212f83
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 0x140212fe5
mov rdx, qword [rsi + 0x10]
mov r8b, 0x2c
mov rcx, r14
call fcn.140218ba0
mov rdx, qword [rsi + 0x18]
mov r8b, 0x2c
mov rcx, r14
call fcn.140218ba0
cmp dword [rsp + 0x34], 0
mov ecx, 0x100
mov r15, qword [rsp + 0x50]
jne 0x140213036
test r12, r12
je 0x140213004
movzx eax, byte [r12]
mov byte [r15 + 0x41], al
test word [rsp + 0x30], cx
je 0x14021301b
mov rax, qword [rsp + 0x38]
test byte [rax + 0x60], 0x10
jne 0x14021301b
mov byte [r15 + 0x43], 1
mov rbp, qword [rsp + 0x110]
lea r8, str.SCAN_CONSTANT_ROW
mov rcx, rbp
xor edx, edx
call fcn.14020c320
jmp 0x140213095
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.140218c20
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [r13]
jl 0x140213050
mov r13, qword [rsp + 0x138]
mov ebx, dword [r14 + 0x14]
sub ebx, 1
js 0x1402130c3
mov rsi, qword [rsp + 0x118]
nop word [rax + rax]
mov r8d, ebx
mov rdx, r14
mov rcx, rsi
call fcn.140197fa0
sub ebx, 1
jns 0x1402130b0
test r13, r13
je 0x1402130da
cmp qword [r13 + 0x60], 0
je 0x1402130da
mov rdx, r13
mov rcx, r14
call fcn.140212ab0
cmp dword [rbp + 0x30], 0
jne 0x140213e4e
mov rax, qword [rsp + 0x78]
xor r9d, r9d
mov ebp, r9d
cmp dword [rax + 0x1c], r9d
jle 0x14021320a
mov r13, qword [rsp + 0x110]
lea rdx, [0x14019bf80]
mov rdi, qword [rsp + 0x118]
lea r8, [0x1401faf90]
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 0x1402131d5
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x1402131d5
test r12d, r12d
je 0x1402131af
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 0x1402131af
mov rdx, rsi
lea rcx, [rsp + 0x98]
call fcn.140212780
cmp word [rsp + 0xbc], 0
je 0x1402131d5
test byte [rsi + 4], 2
je 0x1402131bb
test byte [rdi + 0x44], 0x40
jne 0x1402131d5
mov r8d, dword [r15 + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, r13
call fcn.1401da640
or word [rbx + 0x12], 4
mov rax, qword [rsp + 0x78]
lea rdx, [0x14019bf80]
inc ebp
lea r8, [0x1401faf90]
add r14, 0x38
mov r9d, 0
cmp ebp, dword [rax + 0x1c]
jl 0x140213120
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 0x140213281
test byte [rsi + 0x60], 0x10
je 0x140213251
mov ecx, 0xfeff
and r13w, cx
and word [r15 + 0x3c], cx
mov word [rsp + 0x30], r13w
jmp 0x140213281
lea r8, [r15 + 0x70]
mov r9, rbx
mov rdx, r14
mov rcx, rbp
call fcn.1401a6880
test eax, eax
je 0x14021326e
mov byte [r15 + 0x43], 1
jmp 0x140213281
test r12, r12
jne 0x140213281
mov eax, 0x80
mov qword [r15 + 0x10], rbx
or word [r15 + 0x3c], ax
mov r12d, dword [rsp + 0x34]
cmp r12d, 1
jne 0x14021329a
lea rcx, [rsp + 0x70]
call fcn.14022fc90
test eax, eax
jne 0x1402132f6
lea rcx, [rsp + 0x70]
call fcn.14022ae90
test eax, eax
jne 0x140213e4e
xor edx, edx
mov rcx, r15
call fcn.14022e670
cmp byte [rsi + 0x67], 0
jne 0x140213e4e
cmp qword [r15 + 0x10], 0
je 0x1402132e1
movzx edx, word [r15 + 0x48]
mov rcx, r15
inc dx
call fcn.14022e670
cmp byte [rsi + 0x67], 0
jne 0x140213e4e
mov r11d, 0x100
test word [r15 + 0x3c], r11w
je 0x1402132fc
add word [r15 + 0x48], 0xffe2
jmp 0x1402132fc
mov r11d, 0x100
cmp qword [r15 + 0x10], 0
jne 0x140213315
mov eax, dword [rsi + 0x30]
bt rax, 0xc
jae 0x140213315
mov rcx, r15
call fcn.14022f420
cmp dword [rbp + 0x30], 0
jne 0x140213e4e
movzx eax, byte [r15 + 0x40]
mov ecx, 0x400
cmp al, 2
jb 0x140213382
test rbx, rbx
je 0x14021336b
movzx eax, r13w
xor r9d, r9d
and ax, cx
cmp r9w, ax
jne 0x14021336b
test dword [rsi + 0x60], r11d
jne 0x14021336b
lea rdx, [r9 - 1]
mov rcx, r15
call fcn.14022d800
movzx r12d, byte [r15 + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r12b
mov dword [rsp + 0x34], r12d
cmp al, 2
jb 0x140213382
mov r8, qword [rsp + 0x38]
test dword [r8 + 0x60], 0x80000
jne 0x140213387
mov rcx, r15
call fcn.14022a8d0
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 0x140213457
mov rdx, qword [r15 + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x140213417
mov dword [rsp + 0x128], r10d
test r9b, 8
je 0x140213457
mov rax, qword [r14 + 0x28]
mov word [rsp + 0x128], r10w
cmp byte [rax + 0x3f], 1
je 0x140213457
bt ecx, 0xd
jae 0x1402133fe
mov word [rsp + 0x128], r10w
test r9b, 0x10
je 0x140213457
test dword [r8 + 0x60], 0x8000000
mov word [rsp + 0x128], r10w
jne 0x140213457
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 0x140213457
mov word [rsp + 0x128], r10w
test cl, 0x40
je 0x140213457
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 0x140213c51
jmp 0x14021348b
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 0x1402134df
mov rax, qword [r8 + 0x20]
mov r12d, r10d
add rax, 0x18
mov rdx, r10
cmp qword [rax], rcx
je 0x1402134df
nop dword [rax]
inc r12d
lea rax, [rax + 0x20]
inc rdx
cmp qword [rax], rcx
jne 0x1402134d0
test dword [r14 + 0x30], 0x4000
mov rsi, qword [rbx + 0x60]
mov qword [rsp + 0x68], rsi
jne 0x1402135cc
movzx eax, byte [r14 + 0x3f]
cmp al, 2
je 0x1402135cc
mov ecx, dword [rsi + 0x38]
bt ecx, 0xa
jae 0x140213631
mov rbx, qword [r14 + 0x50]
test rbx, rbx
je 0x14021352e
nop dword [rax]
cmp qword [rbx], r8
je 0x14021352e
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140213520
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [r13 + 0x44]
cmp dword [rdi + 0x94], edx
jg 0x14021355a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov edx, 0xad
mov rcx, rdi
call fcn.1401a4bb0
mov edx, eax
jmp 0x140213588
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 0x1402135c7
test edx, edx
jns 0x14021359d
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 0x14021361f
mov r9d, 0xfffffff5
mov r8, rbx
mov rcx, rdi
call fcn.140221b50
mov rbx, qword [rsp + 0x40]
test dword [rsi + 0x38], 0x200
je 0x14021392f
mov rax, qword [rsp + 0x48]
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rbp, qword [rsi + 0x20]
test byte [rax + 0x30], 0x80
je 0x140213761
mov eax, dword [rbp + 0x64]
and al, 3
cmp al, 2
movzx eax, word [rsp + 0x30]
jne 0x140213766
test al, 0x20
je 0x140213766
mov eax, dword [rbx + 4]
mov rbp, qword [rsp + 0x110]
mov dword [rbx + 8], eax
jmp 0x14021392a
test rbx, rbx
je 0x1402135c7
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xf5
inc dword [rbx + 0x18]
jmp 0x1402135c7
cmp al, 1
je 0x1402135cc
test cl, 0x40
jne 0x140213640
test r9b, 0x20
je 0x14021364b
test byte [r13 + 0x3c], 0x50
je 0x14021371d
cmp byte [r15 + 0x42], 0
mov ecx, reloc.WS2_32.dll_WSASetLastError
je 0x140213664
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.1401e9c20
cmp byte [r15 + 0x42], 0
jne 0x1402136f2
cmp word [r14 + 0x36], 0x40
jge 0x1402136f2
test byte [r14 + 0x30], 0xe0
jne 0x1402136f2
test dword [rsi + 0x38], 0x404000
jne 0x1402136f2
mov rax, qword [r13 + 0x50]
xor r9d, r9d
test rax, rax
je 0x1402136ad
inc r9d
shr rax, 1
jne 0x1402136a5
mov rax, qword [rdi]
movsxd r8, r9d
cmp byte [rax + 0x67], 0
jne 0x1402136f2
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 0x1402136ea
mov r9d, 0xfffffffd
mov rcx, rdi
call fcn.140221b50
jmp 0x1402136f2
mov dword [rdx + 0x10], r9d
mov byte [rdx + 1], 0xfd
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x1402135cc
mov edx, dword [rsp + 0x128]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
jmp 0x1402135cc
cmp r12d, 1
je 0x1402135cc
mov rax, qword [rbp]
shl rdx, 5
mov rcx, qword [rax + 0x20]
mov rax, qword [rdx + rcx + 8]
cmp byte [rax + 0x11], 0
je 0x1402135cc
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.1401aef50
jmp 0x1402135cc
movzx eax, word [rsp + 0x30]
cmp byte [r15 + 0x42], 0
je 0x14021379f
mov rax, qword [r13 + 0x20]
mov ebx, dword [rsp + 0x148]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140213791
cmp rcx, rbp
je 0x140213791
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x140213781
mov r14d, WSAStartup
mov dword [r15 + 0x2c], ebx
mov esi, ebx
jmp 0x14021381e
mov ecx, dword [rsp + 0x148]
test ecx, ecx
je 0x1402137ba
test al, 0x20
je 0x1402137ba
mov ebx, ecx
mov r14d, 0x65
mov esi, ecx
jmp 0x14021381e
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 0x1402137fa
mov rax, qword [rsp + 0x38]
test dword [rax + 0x60], 0x1000000
jne 0x1402137fa
mov r9, r13
mov r8d, ebx
mov rdx, rbp
call fcn.14022a0e0
mov rcx, qword [rsp + 0x110]
mov r8, qword [rbp + 0x48]
test r8, r8
je 0x14021381e
test byte [r13 + 0x3c], 0x10
jne 0x14021381e
mov qword [rsp + 0x28], r13
xor r9d, r9d
mov rdx, rbp
mov dword [rsp + 0x20], ebx
call fcn.14022da40
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 0x140213851
mov r9d, r8d
mov dword [rsp + 0x20], r12d
mov r8d, ebx
mov edx, r14d
mov rcx, rdi
call fcn.1401a4bb0
jmp 0x140213887
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.1401e7a80
mov r8, rax
test rax, rax
je 0x1402138ec
mov rax, qword [rbx]
cmp byte [rax + 0x67], 0
je 0x1402138d0
cmp qword [rax + 0x308], 0
jne 0x1402138ec
add dword [r8], 0xffffffff
jne 0x1402138ec
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401d27c0
jmp 0x1402138ec
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 0x14021392a
test eax, 0x188002
jne 0x14021392a
test byte [r15 + 0x3c], 1
jne 0x14021392a
cmp byte [r15 + 0x43], 2
je 0x14021392a
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14021392a
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 0x140213966
mov rax, qword [rbp + 0xb0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x84]
bt eax, r12d
jb 0x140213966
bts eax, r12d
mov dword [rcx + 0x84], eax
cmp r12d, 1
jne 0x140213966
call fcn.1401e9fe0
test byte [r13 + 0x3c], 0x10
je 0x140213c1a
mov rcx, qword [r15]
mov edx, 0x24
mov rcx, qword [rcx]
call fcn.1401d2700
mov rsi, rax
test rax, rax
je 0x1402139a0
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 0x140213c1a
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 0x1402139f4
mov r9d, edx
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x4d]
mov r8d, 0x10000
mov rcx, rdi
call fcn.1401a4bb0
jmp 0x140213a25
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 0x140213a56
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x4b]
call fcn.1401a4bb0
jmp 0x140213a80
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 0x140213b30
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x140213ab8
mov r9d, 1
mov dword [rsp + 0x20], r12d
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0x75]
call fcn.1401a4bb0
jmp 0x140213ae5
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.1401e7910
mov r8, rax
test rax, rax
je 0x140213c07
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x20], r12
mov byte [rcx], 0
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140213bcd
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
jmp 0x140213bfd
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x140213b52
nop dword [rax]
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x140213b52
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x140213b40
movsxd rcx, dword [rdi + 0x90]
movzx edx, word [rbx + 0x5e]
mov r8d, dword [rsi]
cmp dword [rdi + 0x94], ecx
jg 0x140213b7f
mov r9d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x76
mov rcx, rdi
call fcn.1401a4bb0
jmp 0x140213bad
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.1401e7a80
mov r8, rax
test rax, rax
je 0x140213c07
mov rax, qword [rsi]
cmp byte [rax + 0x67], 0
je 0x140213beb
cmp qword [rax + 0x308], 0
jne 0x140213c07
add dword [r8], 0xffffffff
jne 0x140213c07
mov rcx, qword [r8 + 0x10]
mov rdx, r8
call fcn.1401d27c0
jmp 0x140213c07
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 0x140213480
mov r13, qword [rsp + 0x38]
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x4c], eax
cmp byte [r13 + 0x67], 0
jne 0x140213e4e
mov r14d, r10d
test r12d, r12d
jle 0x140213ef0
lea r12, [r15 + 0x70]
lea rbx, [r15 + 0x360]
cmp dword [rbp + 0x30], 0
jne 0x140213e4e
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 0x140213e04
test al, 8
je 0x140213d16
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0x38]
mov r8d, dword [rsi + 0x3c]
cmp dword [rdi + 0x94], ecx
jg 0x140213ce3
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1401a4bb0
jmp 0x140213e04
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 0x140213e04
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x140213d43
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xf]
call fcn.1401a4bb0
mov ebp, eax
xor r10d, r10d
jmp 0x140213d74
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 0x140213da1
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0xa
mov rcx, rdi
call fcn.1401a4bb0
jmp 0x140213dcf
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 0x140213de7
lea rax, [0x14035f3b8]
jmp 0x140213df9
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 0x140213e8a
bt r15d, 0xe
jae 0x140213e31
mov r9, rbx
mov r8, rsi
mov rdx, r12
mov rcx, rbp
call fcn.140193f10
mov r15, qword [rsp + 0x50]
jmp 0x140213e47
mov r15, qword [rsp + 0x50]
mov r9, rsi
mov rcx, r15
mov r8, rbx
mov edx, r14d
call fcn.1401cffe0
cmp byte [r13 + 0x67], 0
je 0x140213e8f
movzx eax, word [r15 + 0x38]
mov rdx, r15
mov rcx, qword [rsp + 0x38]
mov word [rbp + 0xe0], ax
call fcn.14022ac00
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.140217c50
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.140213fa0
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 0x140213c82
mov eax, dword [rdi + 0x90]
mov dword [r15 + 0x50], eax
mov rax, r15
jmp 0x140213e69