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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov eax, dword [rsp + 0x120]
mov rdi, rdx
mov r15, qword [rcx + 0x10]
mov rbp, rcx
mov r13, qword [rcx]
mov r12b, 1
mov dword [rsp + 0x40], eax
inc eax
mov dword [rsp + 0x120], eax
mov qword [rsp + 0xa8], r13
lea r14d, [rax + 1]
mov eax, dword [rcx + 0x38]
mov dword [rsp + 0x7c], r14d
mov dword [rsp + 0x6c], r14d
inc r14d
mov esi, r14d
mov dword [rsp + 0x38], r14d
inc r14d
mov dword [rsp + 0x58], r14d
inc r14d
mov dword [rsp + 0x78], r14d
inc r14d
mov dword [rsp + 0x54], r14d
inc r14d
cmp eax, r14d
mov dword [rsp + 0x3c], r14d
cmovle eax, r14d
mov dword [rcx + 0x38], eax
test r15, r15
je 0x1400670d4
mov qword [rsp + 0x48], r15
jmp 0x1400670ea
call fcn.1400956f0
mov qword [rsp + 0x48], rax
mov r15, rax
test rax, rax
je 0x140068341
test rdi, rdi
je 0x140068341
cmp dword [rdi + 0x38], 0
je 0x140068341
mov qword [rsp + 0xb8], rbx
lea r8, [0x140191920]
mov rbx, qword [rdi]
lea rcx, str.sqlite__
mov rdx, rbx
xor r9d, r9d
call fcn.140079a10
test eax, eax
jne 0x140068339
mov rdx, qword [rdi + 0x68]
mov edi, 0xfff0bdc0
mov dword [rsp + 0x68], edi
test rdx, rdx
je 0x140067164
mov ecx, dword [r13 + 0x28]
xor edi, edi
mov dword [rsp + 0x68], edi
test ecx, ecx
jle 0x140067164
mov rax, qword [r13 + 0x20]
add rax, 0x18
cmp qword [rax], rdx
je 0x140067160
inc edi
add rax, 0x20
cmp edi, ecx
jl 0x140067151
mov dword [rsp + 0x68], edi
mov rax, qword [r13 + 0x20]
xor r9d, r9d
movsxd rcx, edi
mov r8, rbx
shl rcx, 5
lea edx, [r9 + 0x1c]
mov rcx, qword [rcx + rax]
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call fcn.14006a580
test eax, eax
jne 0x140068339
mov r13, qword [rsp + 0x108]
xor r9d, r9d
mov edx, edi
mov rcx, rbp
mov rax, qword [r13]
mov r8d, dword [r13 + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14006a640
mov ebx, dword [rsp + 0x128]
mov r9, r13
mov eax, dword [rbp + 0x34]
mov edx, ebx
mov dword [rsp + 0x88], ebx
mov r8d, edi
inc ebx
mov dword [rsp + 0x20], WSAGetLastError
mov dword [rsp + 0x128], ebx
lea ecx, [rbx + 1]
cmp eax, ecx
cmovle eax, ecx
mov rcx, rbp
mov dword [rbp + 0x34], eax
call fcn.140080be0
mov r8, qword [r13]
mov rcx, r15
mov edx, dword [rsp + 0x58]
call fcn.140042e50
mov rdx, r13
lea r13, [0x1401bac90]
mov rdi, qword [rdx + 0x10]
mov qword [rsp + 0x60], rdi
test rdi, rdi
je 0x140068037
mov rcx, qword [rsp + 0x110]
movzx eax, r12b
test rcx, rcx
je 0x140067237
cmp rcx, rdi
jne 0x140068025
xor ecx, ecx
cmp qword [rdi + 0x48], rcx
cmovne ecx, eax
test byte [rdx + 0x46], 0x20
mov dword [rsp + 0x84], ecx
je 0x140067261
mov eax, dword [rdi + 0x64]
and al, 3
cmp al, 2
jne 0x140067261
movzx edi, word [rdi + 0x5e]
mov r8, rdx
mov esi, edi
jmp 0x140067279
mov rax, qword [rsp + 0x60]
movzx edi, word [rdi + 0x60]
mov r8, rax
mov esi, edi
test byte [rax + 0x64], 8
je 0x140067279
movzx esi, word [rax + 0x5e]
mov r8, qword [r8]
lea r13d, [rsi - 1]
mov edx, dword [rsp + 0x78]
mov rcx, r15
mov dword [rsp + 0x70], r13d
call fcn.140042e50
mov eax, dword [rbp + 0x38]
lea ecx, [r14 + r13]
mov rdx, qword [rsp + 0x60]
lea r12, [r15 + 0x18]
cmp eax, ecx
mov qword [rsp + 0x98], r12
lea r14, [r15 + 0xb8]
cmovle eax, ecx
mov dword [rbp + 0x38], eax
mov rax, qword [r12]
movsxd rcx, dword [r14]
mov edx, dword [rdx + 0x58]
cmp dword [rax + 0x3c], ecx
jg 0x1400672ed
mov eax, dword [rsp + 0x68]
mov r9d, edx
mov edx, 0x68
mov dword [rsp + 0x20], eax
mov r8d, ebx
mov rcx, r15
call fcn.140042d70
mov rbp, qword [rsp + 0x48]
add rbp, 0x68
jmp 0x140067323
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r15 + 0x68]
lea rbp, [r15 + 0x68]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + 0x68]
mov dword [rax + rcx*8 + 0xc], edx
mov word [rax + rcx*8], 0x68
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 0x10], 0
mov rcx, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rbp
mov rbx, qword [rcx + 0x10]
call fcn.140074dd0
mov rcx, qword [rbx]
mov r8, rax
cmp byte [rcx + 0x55], 0
je 0x140067356
mov edx, 0xfffffffa
call fcn.140043b20
jmp 0x140067392
movsxd rax, dword [rbx + 0xb8]
lea rdx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
cmp byte [rax + rdx*8 - 0x17], 0
lea r10, [rax + rdx*8]
je 0x140067384
mov r9d, 0xfffffffa
lea rdx, [r10 - 0x18]
mov rcx, rbx
call fcn.140043e40
jmp 0x140067392
test r8, r8
je 0x140067392
mov qword [r10 - 8], r8
mov byte [r10 - 0x17], 0xfa
mov rax, qword [r12]
movsxd rcx, dword [r14]
mov ebx, dword [rsp + 0x7c]
cmp dword [rax + 0x3c], ecx
jg 0x1400673c2
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov r8d, edi
mov edx, Ordinal_79
mov rcx, r15
call fcn.140042d70
xor r10d, r10d
jmp 0x1400673f0
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [r12]
mov r9d, dword [rsp + 0x120]
mov rdi, qword [rsp + 0x60]
movsxd rcx, dword [r14]
lea edx, [r9 + 2]
movzx r8d, word [rdi + 0x5e]
cmp dword [rax + 0x3c], ecx
jg 0x140067434
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, Ordinal_79
mov rcx, r15
call fcn.140042d70
mov r9d, dword [rsp + 0x120]
xor r10d, r10d
jmp 0x140067460
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
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 [r12]
movsxd rdx, dword [r14]
cmp dword [rax + 0x3c], edx
jg 0x140067489
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, ebx
mov rcx, r15
lea edx, [r8 + 0x59]
call fcn.140042d70
mov edx, eax
xor ebx, ebx
jmp 0x1400674b7
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov dword [rax + rcx*8 + 8], ebx
xor ebx, ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov word [rax + rcx*8], 0x59
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 0xc], r9d
mov rcx, qword [r15]
cmp byte [rcx + 0x55], 0
je 0x1400674d3
lea r8, [0x1401931f8]
mov edx, 0xfffffffb
call fcn.140043b20
jmp 0x140067518
test edx, edx
jns 0x1400674dc
mov edx, dword [r14]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140067509
mov r9d, 0xfffffffb
lea r8, [0x1401931f8]
mov rcx, r15
call fcn.140043e40
jmp 0x140067518
lea rax, [0x1401931f8]
mov byte [rdx + 1], 0xfb
mov qword [rdx + 0x10], rax
movsxd rax, dword [r14]
test eax, eax
jle 0x14006752c
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
mov byte [rax + rcx*8 - 0x15], 2
movsxd r8, dword [r14]
mov rax, qword [r12]
mov dword [rsp + 0x80], r8d
cmp dword [rax + 0x3c], r8d
jg 0x140067565
mov r8d, dword [rsp + 0x128]
xor r9d, r9d
mov rcx, r15
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x39]
call fcn.140042d70
mov dword [rsp + 0x80], eax
jmp 0x140067598
mov edx, dword [rsp + 0x128]
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov word [rax + rcx*8], reloc.WS2_32.dll_gethostname
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbx
mov rax, qword [r12]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x1400675be
mov r9d, dword [rsp + 0x6c]
xor r8d, r8d
mov rcx, r15
mov dword [rsp + 0x20], ebx
lea edx, [r8 + 0x4c]
call fcn.140042d70
jmp 0x1400675ec
mov edx, dword [rsp + 0x6c]
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], rbx
mov ebx, dword [r14]
test r13d, r13d
jle 0x140067c20
mov rcx, r15
call fcn.140043430
mov rcx, qword [rsp + 0xa8]
mov ebx, eax
mov edx, esi
mov dword [rsp + 0x74], eax
lea rdx, [rdx*4 - 4]
call fcn.14001e450
mov qword [rsp + 0xa0], rax
mov r13, rax
test rax, rax
je 0x140067fee
mov rcx, qword [r12]
movsxd rdx, dword [r14]
cmp dword [rcx + 0x3c], edx
jg 0x14006765c
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0xd]
call fcn.140042d70
xor r8d, r8d
jmp 0x140067687
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], r8
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [r14]
lea eax, [rsi - 1]
mov dword [rsp + 0x50], ecx
cmp eax, 1
jne 0x1400676f9
cmp word [rdi + 0x5e], ax
jne 0x1400676f9
cmp byte [rdi + 0x62], 0
je 0x1400676f9
mov rax, qword [r12]
cmp dword [rax + 0x3c], ecx
jg 0x1400676ca
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8d, dword [rsp + 0x3c]
mov edx, reloc.WLDAP32.dll_Ordinal_35
mov rcx, r15
call fcn.140042d70
xor r8d, r8d
jmp 0x1400676f9
mov edx, dword [rsp + 0x3c]
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_35
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, r8
mov r12d, r8d
mov qword [rsp + 0x90], rcx
nop word [rax + rax]
mov rax, qword [rdi + 0x40]
mov r10, qword [rsp + 0x100]
mov rsi, qword [rcx + rax]
mov rax, qword [r10]
movzx ebp, byte [rax + 0x52]
movzx ebx, byte [rax + 0xa9]
test rsi, rsi
je 0x14006774e
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call fcn.140075700
mov r10, qword [rsp + 0x100]
mov rdi, rax
jmp 0x140067752
mov rdi, qword [rax + 0x10]
test rdi, rdi
je 0x14006776a
lea rcx, [rbp*4]
add rcx, rbp
lea rdi, [rdi + rcx*8]
add rdi, 0xffffffffffffffd8
test bl, bl
jne 0x14006778f
test rdi, rdi
je 0x14006777a
cmp qword [rdi + 0x18], 0
jne 0x14006778f
mov r9, rsi
mov r8, rdi
movzx edx, bpl
mov rcx, r10
call fcn.1400755a0
mov rdi, rax
mov rsi, qword [rsp + 0x98]
movsxd rdx, dword [r14]
mov ebp, dword [rsp + 0x6c]
mov rcx, qword [rsi]
cmp dword [rcx + 0x3c], edx
jg 0x1400677cb
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, r12d
mov edx, Ordinal_79
mov rcx, r15
call fcn.140042d70
mov r8, qword [rsp + 0x30]
xor r9d, r9d
jmp 0x1400677fe
mov r8, qword [rsp + 0x30]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor r9d, r9d
mov dword [r14], eax
mov rax, qword [r8]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsi]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067838
mov eax, dword [rsp + 0x38]
mov r9d, r12d
mov r8d, dword [rsp + 0x128]
mov edx, 0x60
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.140042d70
mov r8, qword [rsp + 0x30]
xor r9d, r9d
mov r10d, dword [rsp + 0x38]
jmp 0x14006786f
mov edx, dword [rsp + 0x128]
lea eax, [rcx + 1]
mov r10d, dword [rsp + 0x38]
lea rcx, [rcx + rcx*2]
mov dword [r14], eax
mov rax, qword [r8]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsi]
mov edx, dword [rsp + 0x3c]
movsxd rbx, dword [r14]
add edx, r12d
cmp dword [rax + 0x3c], ebx
jg 0x1400678a0
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, r10d
mov rcx, r15
lea edx, [r9 + 0x24]
call fcn.140042d70
mov r8, qword [rsp + 0x30]
mov ebx, eax
jmp 0x1400678cb
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 1]
mov dword [r14], eax
mov rax, qword [r8]
mov word [rax + rcx*8], Ordinal_41
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rcx, qword [r15]
mov eax, ebx
cmp byte [rcx + 0x55], 0
je 0x1400678ea
mov r8, rdi
mov edx, 0xfffffffc
call fcn.140043b20
mov r8, qword [rsp + 0x30]
jmp 0x14006792c
test ebx, ebx
jns 0x1400678f3
mov eax, dword [r14]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r8]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x14006791f
mov r9d, 0xfffffffc
mov r8, rdi
mov rcx, r15
call fcn.140043e40
mov r8, qword [rsp + 0x30]
jmp 0x14006792c
test rdi, rdi
je 0x14006792c
mov qword [rdx + 0x10], rdi
mov byte [rdx + 1], 0xfc
mov dword [r13], ebx
movsxd rax, dword [r14]
test eax, eax
jle 0x140067943
lea rcx, [rax + rax*2]
mov rax, qword [r8]
mov byte [rax + rcx*8 - 0x15], 0x80
mov rcx, qword [rsp + 0x90]
inc r12d
mov rdi, qword [rsp + 0x60]
add rcx, 8
add r13, 4
mov qword [rsp + 0x90], rcx
cmp r12d, dword [rsp + 0x70]
jl 0x140067710
mov rax, qword [rsi]
mov r12, rsi
movsxd rcx, dword [r14]
mov r13d, dword [rsp + 0x70]
cmp dword [rax + 0x3c], ecx
jg 0x1400679a6
mov r9d, ebp
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, Ordinal_79
mov rcx, r15
call fcn.140042d70
mov r8, qword [rsp + 0x30]
xor r10d, r10d
jmp 0x1400679d4
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r8]
mov word [rax + rcx*8], Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rsi]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067a02
mov r9d, dword [rsp + 0x74]
xor r8d, r8d
mov rcx, r15
mov dword [rsp + 0x20], r10d
lea edx, [r8 + 0xd]
call fcn.140042d70
mov r8, qword [rsp + 0x30]
xor r10d, r10d
jmp 0x140067a31
mov ebp, dword [rsp + 0x74]
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r8]
mov word [rax + rcx*8], reloc.WS2_32.dll_listen
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [r15]
mov ebx, r10d
mov r9d, dword [rsp + 0x50]
mov edx, dword [r14]
cmp byte [rax + 0x55], 0
lea ecx, [r9 - 1]
je 0x140067a51
mov dword [0x1401bac98], edx
jmp 0x140067a66
test ecx, ecx
mov eax, edx
cmovns eax, r9d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r8]
mov dword [rax + rcx*8 - 0x10], edx
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0xa0]
mov esi, dword [rsp + 0x128]
mov ebp, dword [rsp + 0x3c]
mov qword [rsp + 0x48], rax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r15]
mov edx, dword [r14]
mov ecx, dword [rdi]
cmp byte [rax + 0x55], 0
je 0x140067aa7
lea rax, [0x1401bac90]
jmp 0x140067abc
test ecx, ecx
lea eax, [rdx - 1]
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
lea edx, [rbx + rbp]
mov rax, qword [r12]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067aef
mov dword [rsp + 0x20], edx
mov r9d, ebx
mov edx, 0x60
mov r8d, esi
mov rcx, r15
call fcn.140042d70
mov r8, qword [rsp + 0x30]
xor r10d, r10d
jmp 0x140067b18
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r8]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
inc ebx
add rdi, 4
cmp ebx, r13d
jl 0x140067a90
mov rax, qword [r12]
mov rsi, qword [rsp + 0xa0]
mov ebp, dword [rsp + 0x74]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140067b4b
mov eax, dword [r14]
not ebp
movsxd rcx, ebp
mov dword [rdx + rcx*4], eax
mov r13, qword [rsp + 0xa8]
cmp qword [r13 + 0x298], 0
je 0x140067b6d
mov rdx, rsi
mov rcx, r13
call fcn.14001dff0
jmp 0x140067c12
cmp rsi, qword [r13 + 0x180]
jb 0x140067ba3
cmp rsi, qword [r13 + 0x188]
jae 0x140067ba3
mov rax, qword [r13 + 0x178]
mov rcx, qword [rsp + 0x48]
mov qword [rsi], rax
dec dword [r13 + 0x160]
mov qword [r13 + 0x178], rsi
mov qword [rsp + 0x48], rcx
jmp 0x140067c12
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x140067bff
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140067bbe
call qword [0x1401b4498]
mov rcx, rsi
call qword [0x1401b4450]
dec qword [0x1401bac38]
movsxd rcx, eax
sub qword [0x1401babf0], rcx
mov rcx, rsi
call qword [0x1401b4440]
mov rcx, qword [0x1401bae88]
test rcx, rcx
je 0x140067bf3
call qword [0x1401b44a8]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rcx
jmp 0x140067c12
mov rcx, rsi
call qword [0x1401b4440]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov rdi, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x50]
mov rbp, qword [rsp + 0x30]
mov rax, qword [r12]
movsxd rdx, dword [r14]
mov esi, dword [rsp + 0x38]
mov r13d, dword [rsp + 0x120]
cmp dword [rax + 0x3c], edx
jg 0x140067c54
mov edx, 0x59
mov dword [rsp + 0x20], esi
mov r9d, r13d
mov rcx, r15
lea r8d, [rdx - 0x58]
call fcn.140042d70
mov edx, eax
jmp 0x140067c87
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov word [rax + rcx*8], 0x59
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 1
mov dword [rax + rcx*8 + 8], r13d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], 0
mov rcx, qword [r15]
cmp byte [rcx + 0x55], 0
je 0x140067ca3
lea r8, [0x140194e38]
mov edx, 0xfffffffb
call fcn.140043b20
jmp 0x140067ce8
test edx, edx
jns 0x140067cac
mov edx, dword [r14]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140067cd9
mov r9d, 0xfffffffb
lea r8, [0x140194e38]
mov rcx, r15
call fcn.140043e40
jmp 0x140067ce8
lea rax, [0x140194e38]
mov byte [rdx + 1], 0xfb
mov qword [rdx + 0x10], rax
movsxd rax, dword [r14]
test eax, eax
jle 0x140067cfc
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
mov byte [rax + rcx*8 - 0x15], 2
mov rax, qword [r12]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067d2f
mov r9d, ebx
mov dword [rsp + 0x20], 0
mov ebx, dword [rsp + 0x128]
mov edx, 7
mov r8d, ebx
mov rcx, r15
call fcn.140042d70
xor r8d, r8d
jmp 0x140067d66
mov edx, dword [rsp + 0x128]
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
xor r8d, r8d
mov dword [rax + rcx*8 + 8], ebx
mov ebx, edx
mov word [rax + rcx*8], 7
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [r12]
movsxd rdx, dword [r14]
cmp dword [rax + 0x3c], edx
jg 0x140067d93
mov eax, dword [rsp + 0x54]
xor r8d, r8d
mov r9d, r13d
mov dword [rsp + 0x20], eax
mov rcx, r15
lea edx, [r8 + 0x59]
call fcn.140042d70
mov edx, eax
xor r13d, r13d
jmp 0x140067dc8
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov dword [rax + rcx*8 + 8], r13d
xor r13d, r13d
mov dword [rax + rcx*8 + 4], r8d
mov r8d, dword [rsp + 0x54]
mov qword [rax + rcx*8 + 0x10], r13
mov word [rax + rcx*8], 0x59
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r8d
mov rcx, qword [r15]
cmp byte [rcx + 0x55], 0
je 0x140067de4
lea r8, [0x140193058]
mov edx, 0xfffffffb
call fcn.140043b20
jmp 0x140067e29
test edx, edx
jns 0x140067ded
mov edx, dword [r14]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140067e1a
mov r9d, 0xfffffffb
lea r8, [0x140193058]
mov rcx, r15
call fcn.140043e40
jmp 0x140067e29
lea rax, [0x140193058]
mov byte [rdx + 1], 0xfb
mov qword [rdx + 0x10], rax
movsxd rax, dword [r14]
test eax, eax
jle 0x140067e3d
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
mov byte [rax + rcx*8 - 0x15], 1
mov rax, qword [r12]
movsxd rdx, dword [r14]
mov r8d, dword [rsp + 0x58]
cmp dword [rax + 0x3c], edx
jg 0x140067e68
mov r9d, 3
mov dword [rsp + 0x20], esi
mov rcx, r15
lea edx, [r9 + 0x60]
call fcn.140042d70
mov edx, eax
jmp 0x140067e97
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [r14], eax
mov rax, qword [rbp]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], 3
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r13
mov rcx, qword [r15]
cmp byte [rcx + 0x55], 0
je 0x140067eb0
lea r8, [0x14018e3b4]
xor edx, edx
call fcn.140043b20
jmp 0x140067eda
test edx, edx
jns 0x140067eb9
mov edx, dword [r14]
dec edx
movsxd rax, edx
lea r8, [0x14018e3b4]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
lea rdx, [rax + rcx*8]
mov rcx, r15
call fcn.140043e40
mov rax, qword [r12]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067f13
mov r9d, dword [rsp + 0x40]
mov edx, WSACleanup
mov r8d, dword [rsp + 0x118]
mov rcx, r15
mov dword [rsp + 0x20], r13d
call fcn.140042d70
mov edx, dword [rsp + 0x118]
mov r8d, dword [rsp + 0x40]
jmp 0x140067f4b
mov edx, dword [rsp + 0x118]
lea eax, [rcx + 1]
mov r8d, dword [rsp + 0x40]
lea rcx, [rcx + rcx*2]
mov dword [r14], eax
mov rax, qword [rbp]
mov word [rax + rcx*8], WSACleanup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov rax, qword [r12]
movsxd rcx, dword [r14]
cmp dword [rax + 0x3c], ecx
jg 0x140067f71
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8d, edx
mov rcx, r15
mov edx, reloc.WS2_32.dll_WSAStartup
call fcn.140042d70
jmp 0x140067f9c
lea eax, [rcx + 1]
mov dword [r14], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov word [rax + rcx*8], reloc.WS2_32.dll_WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r13
movsxd rax, dword [r14]
test eax, eax
jle 0x140067fb0
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
mov byte [rax + rcx*8 - 0x15], 8
mov rax, qword [r15]
lea r13, [0x1401bac90]
mov edx, dword [r14]
cmp byte [rax + 0x55], 0
je 0x140067fcb
mov rax, r13
mov dword [rax + 8], edx
jmp 0x140068000
mov ecx, dword [rsp + 0x80]
lea eax, [rdx - 1]
test ecx, ecx
cmovns eax, ecx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbp]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x140068000
mov ebx, dword [rsp + 0x128]
lea r13, [0x1401bac90]
mov esi, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
mov r12d, dword [rsp + 0x84]
mov rbp, qword [rsp + 0x100]
mov r14d, dword [rsp + 0x3c]
mov rdi, qword [rdi + 0x28]
mov qword [rsp + 0x60], rdi
test rdi, rdi
jne 0x140067225
cmp qword [rsp + 0x110], 0
jne 0x140068339
test r12b, r12b
je 0x140068339
mov rax, qword [r15 + 0x18]
xor ebp, ebp
movsxd rcx, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14006808c
mov r9d, dword [rsp + 0x54]
lea edx, [rbp + 0x64]
mov r8d, dword [rsp + 0x88]
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140042d70
mov rbx, qword [rsp + 0x48]
mov edx, dword [rsp + 0x54]
add rbx, 0x68
jmp 0x1400680c9
mov edx, dword [rsp + 0x88]
lea eax, [rcx + 1]
mov dword [r15 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r15 + 0x68]
lea rbx, [r15 + 0x68]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x54]
mov dword [rax + rcx*8 + 8], edx
mov word [rax + rcx*8], 0x64
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [r15 + 0x18]
movsxd rdi, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], edi
jg 0x1400680f3
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, edx
mov rcx, r15
lea edx, [r9 + 0x16]
call fcn.140042d70
mov edi, eax
jmp 0x140068121
lea rcx, [rdi + rdi*2]
lea eax, [rdi + 1]
mov dword [r15 + 0xb8], eax
mov rax, qword [rbx]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_22
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [r15 + 0x18]
movsxd rcx, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14006814b
mov r9d, dword [rsp + 0x78]
xor r8d, r8d
mov rcx, r15
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x4f]
call fcn.140042d70
jmp 0x14006817c
mov edx, dword [rsp + 0x78]
lea eax, [rcx + 1]
mov dword [r15 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_79
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [r15 + 0x18]
movsxd r10, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], r10d
jg 0x1400681ad
mov r8d, dword [rsp + 0x58]
mov r9d, 3
mov rcx, r15
mov dword [rsp + 0x20], esi
lea edx, [r9 + 0x60]
call fcn.140042d70
mov r10d, eax
jmp 0x1400681e3
mov edx, dword [rsp + 0x58]
lea rcx, [r10 + r10*2]
lea eax, [r10 + 1]
mov dword [r15 + 0xb8], eax
mov rax, qword [rbx]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], 3
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, qword [r15]
cmp byte [rcx + 0x55], 0
je 0x1400681fc
lea r8, [0x14018e3b4]
xor edx, edx
call fcn.140043b20
jmp 0x14006822b
test r10d, r10d
jns 0x14006820b
mov r10d, dword [r15 + 0xb8]
dec r10d
movsxd rax, r10d
lea r8, [0x14018e3b4]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
lea rdx, [rax + rcx*8]
mov rcx, r15
call fcn.140043e40
mov rax, qword [r15 + 0x18]
movsxd rcx, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140068267
mov r9d, dword [rsp + 0x40]
mov edx, WSACleanup
mov r8d, dword [rsp + 0x118]
mov rcx, r15
mov dword [rsp + 0x20], ebp
call fcn.140042d70
mov edx, dword [rsp + 0x118]
mov r8d, dword [rsp + 0x40]
jmp 0x1400682a1
mov edx, dword [rsp + 0x118]
lea eax, [rcx + 1]
mov r8d, dword [rsp + 0x40]
lea rcx, [rcx + rcx*2]
mov dword [r15 + 0xb8], eax
mov rax, qword [rbx]
mov word [rax + rcx*8], WSACleanup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [r15 + 0x18]
movsxd rcx, dword [r15 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400682cb
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8d, edx
mov rcx, r15
mov edx, reloc.WS2_32.dll_WSAStartup
call fcn.140042d70
jmp 0x1400682f9
lea eax, [rcx + 1]
mov dword [r15 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx]
mov word [rax + rcx*8], reloc.WS2_32.dll_WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rbp
movsxd rax, dword [r15 + 0xb8]
test eax, eax
jle 0x140068310
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
mov byte [rax + rcx*8 - 0x15], 8
mov rax, qword [r15]
mov edx, dword [r15 + 0xb8]
cmp byte [rax + 0x55], 0
jne 0x140068335
lea eax, [rdx - 1]
test edi, edi
cmovns eax, edi
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx]
lea r13, [rax + rcx*8]
mov dword [r13 + 8], edx
mov rbx, qword [rsp + 0xb8]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret