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

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
mov rax, qword [0x1401ea8a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx + 0x10]
mov r12, rcx
mov r13, qword [rsp + 0x130]
xorps xmm0, xmm0
mov rcx, qword [rcx]
xorps xmm1, xmm1
mov r14, qword [rsp + 0x138]
mov r15, r9
mov qword [rsp + 0x50], rax
mov rsi, r8
xor eax, eax
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x70], rdx
mov rbp, rdx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x58], rcx
movdqu xmmword [rsp + 0xa0], xmm0
movdqu xmmword [rsp + 0xb0], xmm1
test r9, r9
je 0x140102cbc
cmp dword [r9], 0x40
cmovge r15, rax
mov qword [rsp + 0x60], r15
mov edx, dword [rdx]
cmp edx, 0x40
jle 0x140102cdf
mov r8d, 0x40
lea rdx, str.at_most__d_tables_in_a_join
mov rcx, r12
call fcn.14017cad0
xor eax, eax
jmp 0x140103719
movzx eax, word [rsp + 0x140]
test al, 0x20
mov word [rsp + 0x40], ax
mov eax, 1
mov qword [rsp + 0x128], rbx
cmovne edx, eax
mov qword [rsp + 0xd0], rdi
imul eax, edx, 0x70
mov dword [rsp + 0x48], edx
add eax, 0x360
movsxd rbx, eax
lea rdx, [rbx + 0x70]
call fcn.140180020
mov rdi, rax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
je 0x140102d3c
mov rdx, rdi
mov rcx, rax
call fcn.1401803d0
jmp 0x140103707
movsxd rdx, dword [rsp + 0x48]
mov rcx, r12
mov qword [rdi], r12
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r13
mov qword [rdi + 0x28], 0xffffffffffffffff
mov byte [rdi + 0x40], dl
call fcn.14015b680
mov dword [rdi + 0x30], eax
lea rcx, [rdi + 0x360]
mov dword [rdi + 0x34], eax
xorps xmm0, xmm0
movzx eax, word [rsp + 0x40]
mov word [rdi + 0x3c], ax
mov eax, dword [rsp + 0x148]
mov word [rdi + 0x3e], ax
mov dword [rsp + 0x80], eax
movsx eax, word [r12 + 0xe0]
mov dword [rdi + 0x38], eax
xor eax, eax
mov qword [rdi + 0x20], r14
movups xmmword [rdi + 0x41], xmm0
movups xmmword [rdi + 0x51], xmm0
mov qword [rdi + 0x61], rax
mov dword [rdi + 0x69], eax
mov word [rdi + 0x6d], ax
mov byte [rdi + 0x6f], al
lea rax, [rdx + 1]
imul r8, rax, 0x70
xor edx, edx
call fcn.1400b83c0
lea rcx, [rbx + rdi]
mov dword [rdi + 0x25c], 0
lea r9, [rdi + 0x70]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], r9
mov dword [rdi + 0x260], 0xffffff9d
mov qword [rsp + 0x98], rdi
call fcn.140107e90
mov rdx, rdi
mov rcx, r9
call fcn.140109e80
mov r8b, 0x2c
mov rdx, rsi
call fcn.14010a0c0
cmp dword [rsp + 0x48], 0
mov ecx, 0x100
jne 0x140102e55
test r15, r15
je 0x140102e2c
movzx eax, byte [r15]
mov byte [rdi + 0x41], al
test word [rsp + 0x40], cx
je 0x140102e42
mov rax, qword [rsp + 0x58]
test byte [rax + 0x60], 0x10
jne 0x140102e42
mov byte [rdi + 0x43], 1
lea r8, str.SCAN_CONSTANT_ROW
xor edx, edx
mov rcx, r12
call fcn.14015b780
jmp 0x140102e9d
xor ebx, ebx
lea rsi, [rbp + 0x4c]
nop dword [rax + rax]
mov edx, dword [rsi]
lea rcx, [rdi + 0x258]
call fcn.1401096e0
movsxd rcx, ebx
lea rdx, [rbp + 8]
imul rax, rcx, 0x68
lea r8, [rdi + 0x70]
mov rcx, r12
add rdx, rax
call fcn.140109a50
inc ebx
lea rsi, [rsi + 0x68]
cmp ebx, dword [rbp]
jl 0x140102e60
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x78]
lea rdx, [rdi + 0x70]
mov rcx, rbp
mov rsi, rbp
call fcn.140109bc0
test r14, r14
je 0x140102ec4
cmp qword [r14 + 0x60], 0
je 0x140102ec4
mov rdx, r14
lea rcx, [rdi + 0x70]
call fcn.140109eb0
cmp dword [r12 + 0x30], 0
jne 0x1401036ed
xor ebx, ebx
lea rax, [rdi + 0x70]
mov ebp, ebx
cmp dword [rax + 0x1c], ebx
jle 0x140102f67
mov r14d, ebx
mov r13, rsi
nop word [rax + rax]
mov rbx, qword [rdi + 0x90]
add rbx, r14
test byte [rbx + 0x12], 2
jne 0x140102f44
cmp qword [rbx + 0x30], 0
mov rsi, qword [rbx]
jne 0x140102f44
cmp dword [rsp + 0x48], 0
je 0x140102f1d
mov rcx, rsi
call fcn.140103c10
test eax, eax
je 0x140102f44
test byte [rsi + 4], 2
je 0x140102f2a
test byte [r13 + 0x44], 0x40
jne 0x140102f44
mov r8d, dword [rdi + 0x34]
mov r9d, reloc.WS2_32.dll_recv
mov rdx, rsi
mov rcx, r12
call fcn.1401406d0
or word [rbx + 0x12], 4
inc ebp
add r14, 0x38
cmp ebp, dword [rdi + 0x8c]
jl 0x140102ef0
mov r15, qword [rsp + 0x60]
lea rax, [rdi + 0x70]
mov r13, qword [rsp + 0x78]
xor ebx, ebx
mov rsi, qword [rsp + 0x70]
movzx ebp, word [rsp + 0x40]
bt bp, 8
mov r14, qword [rsp + 0x58]
jae 0x140102fbf
test byte [r14 + 0x60], 0x10
je 0x140102f92
mov eax, 0xfeff
and bp, ax
and word [rdi + 0x3c], ax
mov word [rsp + 0x40], bp
jmp 0x140102fbf
mov r9, r13
mov r8, rax
mov rdx, rsi
mov rcx, r12
call fcn.140109060
test eax, eax
je 0x140102fad
mov byte [rdi + 0x43], 1
jmp 0x140102fbf
test r15, r15
jne 0x140102fbf
mov eax, 0x80
mov qword [rdi + 0x10], r13
or word [rdi + 0x3c], ax
mov r15d, dword [rsp + 0x48]
cmp r15d, 1
jne 0x140102fdb
lea rcx, [rsp + 0x98]
call fcn.140103cc0
test eax, eax
jne 0x14010303a
lea rcx, [rsp + 0x98]
call fcn.140105010
test eax, eax
jne 0x1401036ed
xor edx, edx
mov rcx, rdi
call fcn.140103f30
cmp byte [r14 + 0x67], 0
jne 0x1401036ed
cmp qword [rdi + 0x10], 0
je 0x140103026
movzx edx, word [rdi + 0x48]
mov rcx, rdi
inc dx
call fcn.140103f30
cmp byte [r14 + 0x67], 0
jne 0x1401036ed
mov r11d, 0x100
test word [rdi + 0x3c], r11w
je 0x140103040
add word [rdi + 0x48], 0xffe2
jmp 0x140103040
mov r11d, 0x100
cmp qword [rdi + 0x10], 0
jne 0x14010305a
mov eax, dword [r14 + 0x30]
bt rax, 0xc
jae 0x14010305a
mov rcx, rdi
call fcn.140103750
cmp dword [r12 + 0x30], 0
jne 0x1401036ed
movzx eax, byte [rdi + 0x40]
mov ecx, 0x400
mov qword [rsp + 0x60], 0xffffffffffffffff
cmp al, 2
jb 0x1401030c3
test r13, r13
je 0x1401030b1
movzx eax, bp
and ax, cx
cmp bx, ax
jne 0x1401030b1
test dword [r14 + 0x60], r11d
jne 0x1401030b1
mov rcx, rdi
call fcn.140103a00
movzx r15d, byte [rdi + 0x40]
mov qword [rsp + 0x60], rax
movzx eax, r15b
mov dword [rsp + 0x48], r15d
cmp al, 2
jb 0x1401030c3
test dword [r14 + 0x60], 0x80000
jne 0x1401030c3
mov rcx, rdi
call fcn.140103950
mov rcx, qword [rdi]
xor r13d, r13d
movzx eax, word [rdi + 0x48]
movzx r9d, word [rsp + 0x40]
mov word [rsp + 0x44], r13w
add word [rcx + 0xe0], ax
test r9b, 4
je 0x140103175
mov rdx, qword [rdi + 0x3c0]
mov ecx, dword [rdx + 0x38]
test ecx, 0x1000
jne 0x14010313f
mov dword [rsp + 0x44], r13d
test r9b, 8
je 0x140103175
mov rax, qword [rsi + 0x28]
mov word [rsp + 0x44], r13w
cmp byte [rax + 0x3f], 1
je 0x140103175
bt ecx, 0xd
jae 0x140103129
mov word [rsp + 0x44], r13w
test r9b, 0x10
je 0x140103175
test dword [r14 + 0x60], 0x8000000
mov word [rsp + 0x44], r13w
jne 0x140103175
test ecx, 0x1000
sete al
mov word [rsp + 0x44], r13w
inc al
mov byte [rdi + 0x42], al
mov rax, qword [rsi + 0x28]
test byte [rax + 0x30], 0x80
jne 0x140103175
mov word [rsp + 0x44], r13w
test cl, 0x40
je 0x140103175
and ecx, 0xffffffbf
movzx eax, r9w
and ax, 8
mov dword [rdx + 0x38], ecx
mov word [rsp + 0x44], ax
test r15d, r15d
jle 0x140103596
mov ecx, dword [rsp + 0x48]
lea rax, [rdi + 0x3c0]
mov qword [rsp + 0x90], rcx
mov r15, rax
jmp 0x1401031a5
mov r14, qword [rsp + 0x58]
movzx eax, byte [r15 - 0x20]
lea rbp, [rsi + 8]
imul rcx, rax, 0x68
add rbp, rcx
mov rcx, r14
mov qword [rsp + 0x68], rbp
mov rbx, qword [rbp + 0x20]
mov qword [rsp + 0x78], rbx
mov rdx, qword [rbx + 0x60]
call fcn.140121580
test dword [rbx + 0x30], 0x4000
mov r10d, eax
mov rsi, qword [r15]
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x84], eax
jne 0x14010330b
movzx ecx, byte [rbx + 0x3f]
cmp cl, 2
je 0x14010330b
mov edx, dword [rsi + 0x38]
bt edx, 0xa
jae 0x14010323f
mov rdx, rbx
mov rcx, r14
call fcn.140111290
mov r8d, dword [rbp + 0x44]
xor r9d, r9d
mov rcx, qword [rsp + 0x50]
mov edx, 0xad
mov dword [rsp + 0x30], 0xfffffff5
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call fcn.14015b9a0
jmp 0x140103305
cmp cl, 1
je 0x14010330b
test dl, 0x40
jne 0x140103253
test r9b, 0x20
je 0x14010325d
test byte [rbp + 0x3c], 0x50
je 0x1401032eb
mov ecx, reloc.WS2_32.dll_WSASetLastError
cmp byte [rdi + 0x42], r13b
je 0x140103273
mov eax, dword [rbp + 0x44]
mov ecx, WSAStartup
mov dword [rdi + 0x28], eax
mov edx, dword [rbp + 0x44]
mov r9, rbx
mov dword [rsp + 0x20], ecx
mov r8d, r10d
mov rcx, r12
call fcn.14012a900
cmp byte [rdi + 0x42], r13b
jne 0x1401032d2
cmp word [rbx + 0x36], 0x40
jge 0x1401032d2
test byte [rbx + 0x30], 0xe0
jne 0x1401032d2
test dword [rsi + 0x38], 0x404000
jne 0x1401032d2
mov rax, qword [rbp + 0x50]
mov ecx, r13d
test rax, rax
je 0x1401032b7
inc ecx
shr rax, 1
jne 0x1401032b0
mov rbx, qword [rsp + 0x50]
mov edx, 0xffffffff
movsxd r8, ecx
mov rcx, rbx
lea r9d, [rdx - 2]
call fcn.14015ada0
jmp 0x1401032d7
mov rbx, qword [rsp + 0x50]
movzx edx, word [rsp + 0x44]
mov rcx, rbx
call fcn.14015b1f0
mov rbx, qword [rsp + 0x78]
jmp 0x140103305
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rbx + 0x28]
mov edx, r10d
mov rcx, r12
mov qword [rsp + 0x20], rax
call fcn.140139570
movzx r9d, word [rsp + 0x40]
test dword [rsi + 0x38], 0x200
je 0x14010333b
test byte [rbx + 0x30], 0x80
mov r14d, reloc.WS2_32.dll_WSASetLastError
mov rsi, qword [rsi + 0x20]
je 0x140103345
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, 2
jne 0x140103345
test r9b, 0x20
je 0x140103345
mov eax, dword [r15 - 0x5c]
mov dword [r15 - 0x58], eax
mov r14, qword [rsp + 0x50]
jmp 0x140103466
cmp byte [rdi + 0x42], r13b
je 0x140103380
mov rax, qword [rbp + 0x20]
mov ebx, dword [rsp + 0x80]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140103370
nop
cmp rcx, rsi
je 0x140103370
mov rcx, qword [rcx + 0x28]
inc ebx
test rcx, rcx
jne 0x140103360
mov r14d, WSAStartup
mov dword [rdi + 0x2c], ebx
mov ebp, ebx
jmp 0x140103401
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14010339d
test r9b, 0x20
je 0x14010339d
mov ebx, eax
mov r14d, 0x65
mov ebp, eax
jmp 0x140103401
mov ebx, dword [r12 + 0x34]
mov ebp, ebx
lea eax, [rbx + 1]
mov dword [r12 + 0x34], eax
test dword [rsi + 0x64], 0x800
je 0x1401033d6
mov rax, qword [rsp + 0x58]
test dword [rax + 0x60], 0x1000000
jne 0x1401033d6
mov r9, qword [rsp + 0x68]
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
call fcn.1401037b0
mov r8, qword [rsi + 0x48]
test r8, r8
je 0x140103401
mov rax, qword [rsp + 0x68]
test byte [rax + 0x3c], 0x10
jne 0x140103401
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rdx, rsi
mov dword [rsp + 0x20], ebx
mov rcx, r12
call fcn.1401065c0
mov eax, dword [rsp + 0x84]
mov edx, r14d
mov r14, qword [rsp + 0x50]
mov r8d, ebx
mov dword [r15 - 0x58], ebp
mov rcx, r14
mov r9d, dword [rsi + 0x58]
mov dword [rsp + 0x20], eax
call fcn.14015bbb0
mov rdx, rsi
mov rcx, r12
call fcn.14015ad20
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + 0x38]
test al, 0xf
je 0x140103461
test eax, 0x188002
jne 0x140103461
test byte [rdi + 0x3c], 1
jne 0x140103461
cmp byte [rdi + 0x43], 2
je 0x140103461
mov edx, 2
mov rcx, r14
call fcn.14015b1f0
mov rbp, qword [rsp + 0x68]
mov eax, dword [rsp + 0x84]
test eax, eax
js 0x14010347b
mov edx, eax
mov rcx, r12
call fcn.140132470
test byte [rbp + 0x3c], 0x10
je 0x140103578
mov edx, reloc.WS2_32.dll_sendto
mov rcx, rdi
call fcn.140109750
mov qword [r15 - 0x28], rax
mov rsi, rax
test rax, rax
je 0x140103578
mov eax, dword [r12 + 0x34]
mov edx, 0x4d
mov dword [rsi], eax
mov r8d, 0x10000
inc dword [r12 + 0x38]
mov rcx, r14
mov r9d, dword [r12 + 0x38]
inc dword [r12 + 0x34]
mov dword [rsi + 4], r9d
call fcn.14015bc30
inc dword [r12 + 0x38]
xor r8d, r8d
mov r9d, dword [r12 + 0x38]
mov rcx, r14
mov dword [rsi + 8], r9d
lea edx, [r8 + 0x4b]
call fcn.14015bc30
mov rcx, qword [rsp + 0x78]
test byte [rcx + 0x30], 0x80
jne 0x14010353c
mov r8d, dword [rsi]
mov ebx, 1
mov r9d, ebx
mov rcx, r14
lea edx, [rbx + 0x75]
call fcn.14015bc30
mov rcx, qword [r12]
xor r8d, r8d
mov edx, ebx
call fcn.14011ef30
test rax, rax
je 0x140103564
mov rcx, qword [rax + 0x18]
lea r8d, [rbx - 9]
mov qword [rax + 0x20], r13
mov rdx, rax
mov byte [rcx], r13b
mov rcx, r14
call fcn.14015ad60
jmp 0x140103564
call fcn.140138000
mov r8d, dword [rsi]
mov edx, 0x76
mov rcx, r14
mov rbx, rax
movzx r9d, word [rax + 0x5e]
call fcn.14015bc30
mov rdx, rbx
mov rcx, r12
call fcn.14015ad20
mov rax, qword [rsp + 0x88]
and dword [rax + 0x38], 0xffffffbf
mov byte [rdi + 0x41], r13b
mov byte [rdi + 0x43], 3
mov rsi, qword [rsp + 0x70]
add r15, 0x70
sub qword [rsp + 0x90], 1
movzx r9d, word [rsp + 0x40]
jne 0x1401031a0
mov r14, qword [rsp + 0x50]
lea r15, [rdi + 0x360]
mov rcx, r14
call fcn.14015b400
mov dword [rdi + 0x4c], eax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], r13b
jne 0x1401036ed
cmp dword [rsp + 0x48], r13d
jle 0x1401036dd
mov rbx, qword [rsp + 0x70]
nop dword [rax]
cmp dword [r12 + 0x30], 0
jne 0x1401036ed
mov rax, qword [r15 + 0x60]
mov ebp, dword [rax + 0x38]
movzx eax, byte [r15 + 0x40]
imul rsi, rax, 0x68
add rsi, rbx
mov eax, dword [rsi + 0x48]
test al, 0x10
je 0x140103641
mov rcx, r14
test al, 8
je 0x140103611
mov r9d, dword [rsi + 0x38]
mov edx, 0xa
mov r8d, dword [rsi + 0x3c]
call fcn.14015bc30
jmp 0x140103641
mov edx, reloc.WS2_32.dll_ntohs
call fcn.14015bc70
mov r9d, dword [rsi + 0x38]
mov edx, 0xa
mov r8d, dword [rsi + 0x3c]
mov rcx, r14
mov ebx, eax
call fcn.14015bc30
mov edx, ebx
mov rcx, r14
call fcn.14015b1a0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
test ebp, 0x404000
je 0x140103684
bt ebp, 0xe
jae 0x140103668
mov r9, r15
lea rdx, [rdi + 0x70]
mov r8, rsi
mov rcx, r12
call fcn.140108820
jmp 0x140103679
mov r9, rsi
mov r8, r15
mov edx, r13d
mov rcx, rdi
call fcn.1401084c0
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
jne 0x1401036ed
movzx r9d, word [rsp + 0x40]
mov r8, r15
mov rdx, rbx
mov rcx, r12
call fcn.14010f460
mov rcx, r14
call fcn.14015b400
mov qword [rsp + 0x28], rsi
mov r9d, r13d
mov r8, rdi
mov dword [r15 + 0x20], eax
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, r12
call fcn.14010c290
mov qword [rsp + 0x60], rax
inc r13d
mov eax, dword [r15 + 0x18]
add r15, 0x70
mov dword [rdi + 0x30], eax
cmp r13d, dword [rsp + 0x48]
jl 0x1401035d0
mov rcx, r14
call fcn.14015b400
mov dword [rdi + 0x50], eax
mov rax, rdi
jmp 0x140103709
movzx eax, word [rdi + 0x38]
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
mov word [r12 + 0xe0], ax
call fcn.140107b60
xor eax, eax
mov rbx, qword [rsp + 0x128]
mov rdi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400b5540
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret