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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r13, r9
mov r12, r8
mov r15, rcx
mov rax, qword [0x1403e4018]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, qword [rcx]
mov dword [rsp + 0x9c], 0xaaaaaaaa
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
test rdx, rdx
je 0x1402b9fda
movsxd rdi, dword [rdx]
mov rax, rdi
shl rax, 3
lea rsi, [rax + rax*2]
test rbx, rbx
mov qword [rsp + 0x30], rdx
je 0x1402b9ff7
cmp byte [rbx + 0x67], 0
je 0x1402ba001
xor ebp, ebp
jmp 0x1402ba02a
mov word [r12], 0
mov qword [r13], 0
add r15, 0x30
xor ebp, ebp
mov rcx, r15
jmp 0x1402ba4c8
mov rcx, rsi
call fcn.14022f8d0
jmp 0x1402ba00c
mov rcx, rbx
mov rdx, rsi
call fcn.140239ff0
mov rbp, rax
test rax, rax
je 0x1402ba023
mov rcx, rbp
xor edx, edx
mov r8, rsi
call fcn.14031b780
jmp 0x1402ba025
xor ebp, ebp
mov rdx, qword [rsp + 0x30]
mov eax, 0x7fff
cmp edi, eax
cmovl eax, edi
mov word [r12], ax
mov qword [r13], rbp
lea rcx, [r15 + 0x30]
test edi, edi
jle 0x1402ba4c8
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x3c], eax
mov eax, eax
mov qword [rsp + 0x68], rax
mov rsi, rbp
xor ebp, ebp
lea rdi, [0x1403cba90]
lea r12, [0x1403bc718]
lea r8, [0x1403bc71f]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rcx
cmp dword [rcx], 0
jne 0x1402ba4d6
mov rcx, rbp
shl rcx, 5
lea rax, [rdx + rcx]
add rax, 8
mov r14, qword [rax + 8]
test r14, r14
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
je 0x1402ba0b8
test byte [rdx + rcx + 0x1c], 3
je 0x1402ba14f
mov rax, qword [rax]
test rax, rax
je 0x1402ba0f1
mov ecx, dword [rax + 4]
test ecx, 0x82000
je 0x1402ba0e1
bt ecx, 0x13
jb 0x1402ba0d7
add rax, 0x10
jmp 0x1402ba0b8
mov rax, qword [rax + 0x20]
add rax, 8
jmp 0x1402ba0b8
mov cl, byte [rax]
cmp cl, 0x83
jne 0x1402ba0fa
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x1402ba0e1
mov cl, byte [closesocket]
xor eax, eax
cmp cl, 0x39
je 0x1402ba143
movzx ecx, cl
cmp ecx, 0x9a
jne 0x1402ba14a
test byte [rax + 7], 3
jne 0x1402ba14a
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x1402ba14a
movzx eax, word [rax + 0x30]
test ax, ax
jns 0x1402ba132
movzx eax, word [rcx + 0x34]
lea r14, str.rowid
test ax, ax
js 0x1402ba14f
movzx eax, ax
lea rax, [rax + rax*2]
shl rax, 3
add rax, qword [rcx + 8]
jmp 0x1402ba147
add rax, 8
mov r14, qword [rax]
test r14, r14
je 0x1402ba19b
xor eax, eax
movzx ecx, byte [r14 + rax]
movzx edx, byte [rax + r12]
cmp cl, dl
jne 0x1402ba166
test rcx, rcx
jne 0x1402ba16e
jmp 0x1402ba19b
mov cl, byte [rcx + rdi]
cmp cl, byte [rdx + rdi]
jne 0x1402ba173
inc rax
jmp 0x1402ba151
xor eax, eax
movzx ecx, byte [r14 + rax]
movzx edx, byte [rax + r8]
cmp cl, dl
jne 0x1402ba18a
test rcx, rcx
jne 0x1402ba196
jmp 0x1402ba19b
mov cl, byte [rcx + rdi]
cmp cl, byte [rdx + rdi]
jne 0x1402ba36d
inc rax
jmp 0x1402ba175
lea r8d, [rbp + 1]
mov rcx, rbx
lea rdx, str.column_d
call fcn.140235710
mov r13, rax
mov dword [rsp + 0x9c], 0
test rax, rax
je 0x1402ba3d9
mov r14d, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
lea rax, [rsp + 0x88]
lea r8, [rsp + 0x84]
test rcx, rcx
je 0x1402ba230
mov r8b, byte [r13]
test r8b, r8b
je 0x1402ba219
lea rdx, [r13 + 1]
xor eax, eax
movzx r8d, r8b
movzx r8d, byte [r8 + rdi]
add r8d, eax
imul eax, r8d, 0x9e3779b1
mov r8b, byte [rdx]
inc rdx
test r8b, r8b
jne 0x1402ba1f9
jmp 0x1402ba21b
xor eax, eax
xor edx, edx
div r14d
shl rdx, 4
lea r8, [rcx + rdx]
lea rax, [rcx + rdx]
add rax, 8
mov ecx, dword [r8]
lea rdx, [0x14043f9c0]
test ecx, ecx
je 0x1402ba27e
mov rax, qword [rax]
mov rdx, qword [rax + 0x18]
xor r8d, r8d
movzx r9d, byte [rdx + r8]
movzx r10d, byte [r13 + r8]
cmp r9b, r10b
jne 0x1402ba25f
test r9, r9
jne 0x1402ba269
jmp 0x1402ba27b
mov r9b, byte [r9 + rdi]
cmp r9b, byte [r10 + rdi]
jne 0x1402ba26e
inc r8
jmp 0x1402ba248
dec ecx
jne 0x1402ba23e
lea rdx, [0x14043f9c0]
jmp 0x1402ba27e
mov rdx, rax
mov rax, qword [rdx + 0x10]
test rax, rax
je 0x1402ba349
test byte [rax + 0x14], 0x80
je 0x1402ba295
or byte [rsi + 0x13], 4
mov rcx, r13
call fcn.14033c590
mov r8d, eax
and r8d, 0x3fffffff
je 0x1402ba2cb
and eax, 0x3fffffff
cmp rax, 1
jbe 0x1402ba2d0
dec rax
mov ecx, eax
movzx ecx, byte [r13 + rcx]
lea rdx, [rcx - 0x3a]
cmp rdx, 0xfffffffffffffff5
ja 0x1402ba2ae
jmp 0x1402ba2d6
xor r8d, r8d
jmp 0x1402ba2dd
mov cl, byte [r13]
xor eax, eax
cmp cl, 0x3a
cmove r8d, eax
mov eax, dword [rsp + 0x9c]
inc eax
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea rdx, str._.z:_u
mov r9, r13
call fcn.140235710
mov r13, rax
mov rax, qword [r15]
mov eax, dword [rax + 0x188]
test eax, eax
je 0x1402ba31f
inc dword [r15 + 0x30]
mov dword [r15 + 0x18], 9
cmp dword [rsp + 0x9c], 4
jb 0x1402ba33b
mov ecx, 4
lea rdx, [rsp + 0x9c]
call fcn.140230250
test r13, r13
jne 0x1402ba1cd
jmp 0x1402ba3d9
mov qword [rsi], r13
mov dl, byte [r13]
test dl, dl
je 0x1402ba395
lea rcx, [r13 + 1]
xor eax, eax
movzx edx, dl
add al, byte [rdx + rdi]
mov dl, byte [rcx]
inc rcx
test dl, dl
jne 0x1402ba35a
xor ecx, ecx
jmp 0x1402ba3e7
mov rcx, r14
call fcn.14033c590
inc rax
test rbx, rbx
je 0x1402ba399
cmp byte [rbx + 0x67], 0
jne 0x1402ba3ce
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov rdx, rax
call fcn.140239ff0
jmp 0x1402ba3a6
xor ecx, ecx
jmp 0x1402ba3e5
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.14022f8d0
mov r13, rax
test rax, rax
mov r8, qword [rsp + 0x40]
je 0x1402ba3ce
mov rcx, r13
mov rdx, r14
call fcn.14031b320
mov dword [rsp + 0x9c], 0
jmp 0x1402ba1c5
mov dword [rsp + 0x9c], 0
mov qword [rsi], 0
mov cl, 1
xor r13d, r13d
xor eax, eax
mov byte [rsi + 0xe], al
mov rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
test byte [rdx + rax + 0x1d], 1
je 0x1402ba3ff
or byte [rsi + 0x13], 4
test cl, cl
jne 0x1402ba431
lea rcx, [rsp + 0x80]
mov rdx, r13
mov r14, qword [rsp + 0x70]
mov r8, r14
call fcn.14026c130
mov rdx, qword [rsp + 0x30]
cmp rax, r14
jne 0x1402ba431
cmp byte [rbx + 0x67], 0
jne 0x1402ba431
cmp byte [rbx + 0x68], 0
je 0x1402ba454
inc rbp
add rsi, 0x18
cmp rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
lea r8, [0x1403bc71f]
jne 0x1402ba082
jmp 0x1402ba4dc
mov byte [rbx + 0x67], 1
cmp dword [rbx + 0xe4], 0
jle 0x1402ba46b
mov dword [rbx + 0x188], 1
inc dword [rbx + 0x190]
mov word [rbx + 0x194], 0
mov rcx, qword [rbx + 0x150]
test rcx, rcx
je 0x1402ba431
lea rdx, str.out_of_memory
call fcn.140235530
mov rdx, qword [rsp + 0x30]
mov rax, qword [rbx + 0x150]
mov dword [rax + 0x18], 7
mov rax, qword [rbx + 0x150]
mov rax, qword [rax + 0xf0]
test rax, rax
je 0x1402ba431
inc dword [rax + 0x30]
mov dword [rax + 0x18], 7
jmp 0x1402ba4ac
cmp dword [rcx], 0
jne 0x1402ba672
jmp 0x1402ba691
mov eax, ebp
mov dword [rsp + 0x3c], ebp
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x88], 0
test rdi, rdi
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
je 0x1402ba581
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1402ba6b6
mov rcx, qword [0x14043f798]
test rcx, rcx
je 0x1402ba532
mov rax, qword [0x1403f3978]
call qword [case.0x140318756.0]
mov rax, qword [0x1403f3930]
mov rcx, rdi
call qword [case.0x140318756.0]
cdqe
sub qword [0x14043f6f0], rax
dec qword [0x14043f738]
mov rax, qword [0x1403f3920]
mov rcx, rdi
call qword [case.0x140318756.0]
mov rdi, qword [0x14043f798]
test rdi, rdi
je 0x1402ba581
lea rax, [0x1403f3988]
mov rax, qword [rax]
mov rcx, rdi
call qword [case.0x140318756.0]
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x80], 0
test rsi, rsi
je 0x1402ba62e
lea rdi, [0x1403f3920]
lea r14, [0x1403f3988]
mov r15, qword [rsi]
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1402ba629
mov rcx, qword [0x14043f798]
test rcx, rcx
je 0x1402ba5d4
mov rax, qword [0x1403f3978]
call qword [case.0x140318756.0]
mov rax, qword [0x1403f3930]
mov rcx, rsi
call qword [case.0x140318756.0]
cdqe
sub qword [0x14043f6f0], rax
dec qword [0x14043f738]
mov rax, qword [0x1403f3920]
mov rcx, rsi
call qword [case.0x140318756.0]
mov rsi, qword [0x14043f798]
mov rax, r14
test rsi, rsi
je 0x1402ba61f
mov rax, qword [rax]
mov rcx, rsi
call qword [case.0x140318756.0]
mov rsi, r15
test r15, r15
jne 0x1402ba5af
jmp 0x1402ba62e
mov rax, rdi
jmp 0x1402ba613
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0x48]
cmp dword [rax], 0
je 0x1402ba691
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x1402ba672
mov eax, eax
shl rax, 3
lea rsi, [rax + rax*2]
xor edi, edi
mov rdx, qword [rbp + rdi]
test rdx, rdx
je 0x1402ba669
mov rcx, rbx
call fcn.140239dc0
add rdi, 0x18
cmp rsi, rdi
jne 0x1402ba657
test rbp, rbp
je 0x1402ba682
mov rcx, rbx
mov rdx, rbp
call fcn.140239dc0
mov qword [r13], 0
mov word [r12], 0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140319a10
nop
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x1403f3920]
jmp 0x1402ba575