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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r13d, r13d
mov edi, r9d
mov dword [rsp + 0x38], r13d
mov rbx, r8
mov dword [rsp + 0x30], r13d
mov rbp, rdx
mov r14, rcx
mov r12d, r13d
test r8, r8
je 0x14009abb9
cmp qword [rcx + 0x280], r12
jne 0x14009abb9
cmp qword [r8 + 0x70], r12
jne 0x14009abb9
call fcn.1400ad280
test rax, rax
jne 0x14009abb9
test byte [rbp + 0x48], 0x10
jne 0x14009abb9
cmp edi, 0xa
jne 0x14009a924
cmp word [rbp + 0x40], r12w
jl 0x14009a919
movzx edi, byte [rbp + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x14009a924
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x14009abb9
cmp qword [r10 + 0x30], r12
jne 0x14009abb9
cmp qword [rbx + 0x30], r12
jne 0x14009abb9
cmp qword [rbx + 0x48], r12
jne 0x14009abb9
cmp qword [rbx + 0x38], r12
jne 0x14009abb9
cmp qword [rbx + 0x60], r12
jne 0x14009abb9
cmp qword [rbx + 0x50], r12
jne 0x14009abb9
test byte [rbx + 0xa], 1
jne 0x14009abb9
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x14009abb9
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x14009abb9
mov r8, qword [r10 + 8]
test r8, r8
je 0x14009a9e4
mov r11, qword [r14]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x14009a9d3
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r8
je 0x14009a9d3
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x14009a9c0
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x14009a9e8
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, r14
call fcn.140085af0
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x14009abb9
cmp rax, rbp
je 0x14009abb9
movzx r8d, byte [rax + 0x48]
movzx edx, byte [rbp + 0x48]
mov ecx, r8d
shr edx, 5
shr ecx, 5
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x14009abb9
test r8b, 0x10
jne 0x14009abb9
cmp qword [rax + 0x18], r12
jne 0x14009abb9
movsx rcx, word [rbp + 0x42]
cmp cx, word [rax + 0x42]
jne 0x14009abb9
movzx eax, word [rax + 0x40]
cmp word [rbp + 0x40], ax
jne 0x14009abb9
cmp r13w, cx
jge 0x14009ab7b
mov r10, qword [rbp + 8]
lea r15, [0x1401be3b0]
mov r11, qword [rsi + 8]
add r10, 0x10
add r11, 0x10
mov rdi, rcx
mov rbx, r13
nop dword [rax]
movzx eax, byte [r11 + 0x19]
cmp byte [r10 + 0x19], al
jne 0x14009abb9
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x14009aab1
test rax, rax
jmp 0x14009ab06
test rax, rax
je 0x14009abb9
movzx r8d, byte [r9]
test r8b, r8b
je 0x14009aaf6
movzx edx, r8b
sub r9, rax
nop word [rax + rax]
movzx ecx, byte [rax]
movzx r8d, dl
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x14009aaf6
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x14009aad0
movzx edx, byte [rax]
movzx ecx, r8b
movzx eax, byte [rdx + r15]
cmp byte [rcx + r15], al
mov r8d, r13d
sete r8b
test r8d, r8d
je 0x14009abb9
cmp byte [r10 + 0x18], r12b
je 0x14009ab26
cmp byte [r11 + 0x18], r12b
je 0x14009abb9
test rbx, rbx
jle 0x14009ab67
mov rdx, qword [r10]
mov ecx, r13d
mov r8, qword [r11]
test rdx, rdx
mov eax, r13d
sete cl
test r8, r8
sete al
cmp ecx, eax
jne 0x14009abb9
test rdx, rdx
je 0x14009ab67
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x14009ab63
inc rdx
test eax, eax
jne 0x14009ab50
test ecx, ecx
jne 0x14009abb9
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x14009aa90
mov rdi, qword [rbp + 0x10]
mov eax, 1
test rdi, rdi
je 0x14009abe1
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rsi + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x14009abb9
mov rdx, rbx
mov rcx, rdi
call fcn.14009a740
test eax, eax
jne 0x14009abd3
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14009aba1
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x14009ab90
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x14009abfd
mov rcx, qword [rsi + 0x30]
mov r8d, 0xffffffff
call fcn.1400801e0
test eax, eax
jne 0x14009abb9
mov rax, qword [r14]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x14009ac0f
cmp qword [rbp + 0x20], r13
jne 0x14009abb9
test cl, cl
js 0x14009abb9
mov rdx, qword [rsi + 0x70]
mov r15d, 0xfff0bdc0
test rdx, rdx
je 0x14009ac54
movsxd rcx, dword [rax + 0x28]
mov r15d, r13d
test ecx, ecx
jle 0x14009ac54
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
nop dword [rax + rax]
cmp qword [rax], rdx
je 0x14009ac54
inc r15d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x14009ac40
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x14009aca0
mov rcx, r14
call fcn.140065af0
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x14009ac89
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.140065c50
cmp qword [r14 + 0x1c0], r13
jne 0x14009aca0
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x14009aca0
mov byte [r14 + 0x23], 1
mov rax, qword [r14 + 0x1c0]
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x16c]
bt eax, r15d
jb 0x14009acf2
bts eax, r15d
movsxd r8, r15d
mov dword [rcx + 0x16c], eax
mov rdx, r8
mov rax, qword [rcx]
shl rdx, 5
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + rdx + 0x18]
mov eax, dword [rdx]
mov dword [rcx + r8*4 + 0x170], eax
cmp r15d, 1
jne 0x14009acf2
call fcn.14008c920
mov r13d, dword [r14 + 0x50]
mov r8, rbp
mov edx, dword [rsp + 0xb0]
mov rcx, r14
lea edi, [r13 + 1]
lea eax, [rdi + 1]
mov dword [r14 + 0x50], eax
call fcn.140096f60
movzx ecx, byte [r14 + 0x1f]
mov dword [rsp + 0x3c], eax
test cl, cl
jne 0x14009ad39
inc dword [r14 + 0x54]
mov ecx, dword [r14 + 0x54]
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
mov dword [rsp + 0xa0], ecx
jmp 0x14009ad6a
dec cl
movzx eax, cl
mov byte [r14 + 0x1f], al
mov ecx, dword [r14 + rax*4 + 0x24]
mov dword [rsp + 0xa0], ecx
test al, al
jne 0x14009ad5c
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
jmp 0x14009ad6a
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0x24]
mov r8d, dword [rsp + 0xb0]
mov r9, rbp
mov edx, edi
mov dword [rsp + 0x34], ebx
mov rcx, r14
mov dword [rsp + 0x20], gethostname
call fcn.140096c50
cmp word [rbp + 0x40], 0
jge 0x14009ad99
cmp qword [rbp + 0x10], 0
jne 0x14009adac
test r12d, r12d
jne 0x14009adac
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x14009ae10
xor r12d, r12d
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x6c]
call fcn.140065c50
xor r9d, r9d
mov edi, eax
xor r8d, r8d
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x10]
mov rcx, rsi
call fcn.140065c50
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x38], eax
cmp r8d, edi
jbe 0x14009adff
mov rcx, qword [rsi + 8]
lea rdx, [rdi + rdi*2]
mov dword [rcx + rdx*8 + 8], r8d
mov r8d, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [r8 - 1]
lea edi, [r13 + 1]
mov dword [rax + 0x64], ecx
jmp 0x14009ae13
xor r12d, r12d
mov r9, qword [rsp + 0x40]
mov rcx, r14
test byte [r9 + 0x48], 0x20
jne 0x14009afb9
mov r8d, r15d
mov dword [rsp + 0x20], gethostname
mov edx, r13d
call fcn.140096c50
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.140065c50
cmp word [rbp + 0x40], 0
mov r9d, ebx
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov dword [rsp + 0x20], r12d
jl 0x14009aeec
mov r8d, r13d
mov edx, 0x67
call fcn.140065c50
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov rcx, rsi
mov edi, eax
lea edx, [r9 + 0x46]
call fcn.140065c50
mov edx, dword [rsp + 0xa8]
mov r8, rbp
mov rcx, r14
mov r12d, eax
call fcn.14008cf70
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x14009aebc
mov rax, qword [rsi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
xor r12d, r12d
mov dword [rax + 0x64], ecx
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x14009af0c
mov rcx, qword [r14 + 0x10]
mov r9d, ebx
mov r8d, eax
mov dword [rsp + 0x20], r12d
mov edx, 0x88
call fcn.140065c50
jmp 0x14009af0c
cmp qword [rbp + 0x10], 0
jne 0x14009aefd
mov r8d, edi
mov edx, 0x4a
jmp 0x14009af05
mov r8d, r13d
mov edx, 0x67
call fcn.140065c50
mov edi, eax
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov r12d, dword [rsp + 0xa0]
mov edx, 0x66
mov r9d, r12d
mov rcx, rsi
call fcn.140065c50
mov r9d, r12d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov edx, 0x4b
mov rcx, rsi
call fcn.140065c50
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14009af5a
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0xb
mov r8, qword [rbp]
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 - 1]
call fcn.140066230
xor ebx, ebx
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [rbx + 9]
call fcn.140065c50
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.140065c50
lea edi, [r13 + 1]
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
xor r9d, r9d
mov rcx, rsi
call fcn.140065c50
mov rbx, qword [rsp + 0x40]
jmp 0x14009affc
mov rax, qword [rbp]
mov r9b, 1
mov r8d, dword [rbp + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.140085220
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov edx, r15d
mov rcx, r14
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov qword [rsp + 0x20], rax
call fcn.140085220
mov r12d, dword [rsp + 0xa0]
mov rbp, qword [rbp + 0x10]
test rbp, rbp
je 0x14009b19c
nop dword [rax]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x14009b038
nop dword [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.14009a740
test eax, eax
jne 0x14009b038
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x14009b020
mov r9d, dword [rdi + 0x58]
mov r8d, r13d
mov edx, gethostname
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.140065c50
mov rbx, qword [r14 + 0x10]
mov rdx, rdi
mov rcx, r14
call fcn.14008d6f0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.140066230
mov eax, dword [rsp + 0xb0]
lea edi, [r13 + 1]
mov r9d, dword [rbp + 0x58]
mov r8d, edi
mov edx, gethostname
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.140065c50
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
call fcn.14008d6f0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.140066230
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14009b0d0
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.140065c50
mov r9d, r12d
mov ebx, eax
mov r8d, r13d
mov dword [rsp + 0x20], 0
mov edx, 0x65
mov rcx, rsi
call fcn.140065c50
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov r8d, edi
mov edx, WSAGetLastError
mov rcx, rsi
call fcn.140065c50
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rsi
call fcn.140065c50
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x14009b154
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
xor ebx, ebx
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov dword [rax + 0x64], ecx
mov rcx, rsi
lea edx, [rbx + 0x3d]
call fcn.140065c50
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.140065c50
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x40]
test rbp, rbp
jne 0x14009b010
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14009b1c4
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x14009b1ba
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x14009b201
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x14009b201
xor ecx, ecx
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], r8d
je 0x14009b1fd
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14009b1e1
mov dword [r14 + rdx*4 + 0x24], r8d
inc byte [r14 + 0x1f]
jmp 0x14009b201
mov byte [rax + 6], 1
test r12d, r12d
je 0x14009b240
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x14009b240
xor ecx, ecx
lea rax, [r14 + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x14009b23c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x14009b220
mov dword [r14 + rdx*4 + 0x24], r12d
inc byte [r14 + 0x1f]
jmp 0x14009b240
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x14009b2a4
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x18]
call fcn.140065c50
mov ecx, dword [rsi + 0x3c]
cmp ecx, ebx
jbe 0x14009b279
mov rax, qword [rsi + 8]
lea r9, [rbx + rbx*2]
mov dword [rax + r9*8 + 8], ecx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea r9d, [rcx - 1]
mov r8d, edi
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov dword [rax + 0x64], r9d
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.140065c50
jmp 0x14009abb9
mov eax, 1
jmp 0x14009abbb