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

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov qword [r11 - 0x120], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov r12, r9
mov qword [rsp + 0x58], r9
mov rsi, r8
mov qword [rsp + 0x30], r8
mov rbx, rcx
xor r13d, r13d
mov r14d, r13d
mov qword [rsp + 0x50], r13
mov qword [r11 - 0x78], rdx
mov qword [r11 - 0x60], r13
mov qword [r11 - 0x58], r13
mov qword [r11 - 0x58], 0xf
mov qword [r11 - 0x60], r13
mov byte [r11 - 0x70], r13b
lea rdx, [rcx + 0x80]
or r15, 0xffffffffffffffff
mov r9, r15
xor r8d, r8d
lea rcx, [r11 - 0x70]
call fcn.180011e80
nop
mov qword [rsp + 0x178], r13
mov rdi, qword [rsp + 0x178]
nop dword [rax]
cmp r14, r12
jge 0x18007d9d4
mov eax, dword [rbx + 0xa0]
cmp eax, 5
je 0x18007d9d4
cmp eax, 1
jne 0x18007d257
mov dword [rbx + 0xa0], 2
mov qword [rbx + 0x20], r13
cmp qword [rbx + 0x28], 0x10
jb 0x18007d208
mov rcx, qword [rbx + 0x10]
jmp 0x18007d20c
lea rcx, [rbx + 0x10]
mov byte [rcx], 0
lea rcx, [rbx + 0x30]
mov qword [rcx + 0x10], r13
cmp qword [rcx + 0x18], 0x10
jb 0x18007d221
mov rcx, qword [rcx]
mov byte [rcx], 0
mov qword [rbx + 0x68], 0
mov dword [rbx + 0x60], r13d
mov dword [rbx + 0x50], r13d
mov qword [rbx + 0x58], r13
mov dword [rbx + 0x64], 1
mov qword [rbx + 0x78], 1
mov qword [rbx + 0x70], 0
mov rdi, qword [rsp + 0x178]
mov eax, dword [rbx + 0xa0]
cmp eax, 2
jne 0x18007d3af
mov qword [rsp + 0x188], 1
mov rsi, r13
mov rcx, qword [rsp + 0x168]
cmp rdi, rcx
jge 0x18007d2e5
sub rcx, rdi
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x188]
cmp rcx, 1
cmovge rax, rdx
mov rsi, qword [rax]
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0x10
cmovae rdx, qword [rsp + 0x158]
add rdx, rdi
test rsi, rsi
je 0x18007d2d4
mov r8, rsi
lea rcx, [rsp + 0x148]
call fcn.1800b13c0
add rdi, rsi
mov qword [rsp + 0x178], rdi
cmp rsi, 1
je 0x18007d33e
mov r8d, 1
sub r8, rsi
mov rdi, qword [rsp + 0x150]
mov rax, qword [rdi]
lea rdx, [rsp + 0x148]
add rdx, rsi
mov rcx, rdi
call qword [rax + 0x40]
test rax, rax
jne 0x18007d31a
movzx eax, byte [rdi + 0x68]
and al, 1
neg al
sbb rax, rax
cmp rax, 0xffffffffffffffff
je 0x18007d326
lea rcx, [rax + rsi]
jmp 0x18007d330
mov rcx, r15
test rsi, rsi
cmovne rcx, rsi
mov rdi, qword [rsp + 0x178]
cmp rcx, 1
jne 0x18007d348
movzx eax, byte [rsp + 0x148]
jmp 0x18007d355
mov eax, r13d
cmp rcx, 0xffffffffffffffff
sete al
add eax, 0xfffffffe
cmp eax, 0xffffffff
jne 0x18007d374
lea edx, [rax + 5]
lea rcx, [rsp + 0xb8]
call fcn.180073990
nop
mov rcx, rax
call fcn.18007eb80
nop
cmp eax, 0xfffffffe
je 0x18007d9d4
lea rcx, [rbx + 0x10]
movzx edx, al
call fcn.180099130
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x30]
cmp dword [rbx + 0x64], 0xd
jne 0x18007d1d0
mov dword [rbx + 0xa0], 3
jmp 0x18007d1d0
cmp eax, 3
jne 0x18007d66c
lea r8, [rsi + r14]
mov qword [rsp + 0x40], r8
mov rax, qword [rbx]
test byte [rax + 0x48], 1
jne 0x18007d3e1
or dword [rax + 0x48], 1
mov rcx, qword [rbx]
mov rax, qword [rcx + 0x28]
mov qword [rcx + 0x38], rax
mov rax, qword [rcx + 0x28]
mov qword [rcx + 0x40], rax
mov r13, qword [rbx]
mov esi, dword [r13 + 0x48]
shr esi, 2
not esi
and esi, 1
or esi, 4
mov dword [rsp + 0x38], esi
mov rdi, r8
mov qword [rsp + 0x48], r8
mov r9, r8
sub r9, r14
add r9, r12
mov qword [rsp + 0x188], r9
cmp esi, 4
sete cl
mov rax, qword [r13 + 0x38]
mov rdx, qword [r13 + 0x40]
cmp rax, rdx
jne 0x18007d42b
test cl, cl
je 0x18007d526
mov qword [rsp + 0x180], rax
mov r15, qword [rbx]
mov rcx, qword [r15]
mov qword [rcx], rax
sub rdx, rax
mov dword [rcx + 8], edx
mov qword [rcx + 0x10], rdi
mov rax, r9
sub rax, rdi
mov dword [rcx + 0x18], eax
mov rcx, qword [r15]
call fcn.18009dee0
mov edx, eax
mov dword [rsp + 0x3c], eax
mov rcx, qword [r15]
mov qword [rsp + 0x180], rcx
mov r12, qword [rcx]
mov qword [rsp + 0x90], r12
mov r14, qword [rcx + 0x10]
mov qword [rsp + 0xa0], r14
cmp byte [r15 + 8], 0
je 0x18007d4c2
mov r8d, r14d
sub r8d, edi
je 0x18007d4c2
test rdi, rdi
jne 0x18007d497
xor eax, eax
jmp 0x18007d4ba
mov dword [rsp + 0x88], 1
mov rdx, rdi
mov ecx, dword [r15 + 0x10]
call fcn.1800a68f0
mov rcx, qword [rsp + 0x180]
mov edx, dword [rsp + 0x3c]
mov dword [r15 + 0x10], eax
mov dword [r15 + 0xc], eax
mov eax, dword [rcx + 0xc]
mov dword [r15 + 0x14], eax
mov eax, dword [rcx + 0x1c]
mov dword [r15 + 0x18], eax
mov qword [rsp + 0x180], r12
mov rdi, r14
mov qword [rsp + 0x48], r14
mov ecx, edx
call fcn.180098330
cmp dword [rsp + 0x3c], 1
sete al
mov byte [r15 + 0x20], al
test al, al
setne cl
mov qword [r13 + 0x38], r12
test cl, cl
je 0x18007d515
sub r14, qword [rsp + 0x40]
mov r15, 0xffffffffffffffff
mov rdi, r15
cmovne rdi, r14
jmp 0x18007d541
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x188]
or r15, 0xffffffffffffffff
cmp esi, 6
jne 0x18007d535
mov rax, qword [r13 + 0x40]
cmp qword [r13 + 0x38], rax
je 0x18007d53e
cmp rdi, r9
jne 0x18007d605
sub rdi, r8
cmp rdi, 0xffffffffffffffff
je 0x18007d580
mov r14, qword [rsp + 0x50]
add r14, rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x98], r14
mov r12, qword [rsp + 0x58]
mov rax, r12
sub rax, r14
cmp rdi, rax
jge 0x18007d5f8
mov rdi, qword [rsp + 0x178]
xor r13d, r13d
jmp 0x18007d9d4
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18007ebc0
nop
mov qword [rsp + 0x28], r15
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9, rax
mov r8, qword [rsp + 0x178]
xor edx, edx
lea rcx, [rsp + 0x158]
call fcn.180026ae0
mov qword [rsp + 0x178], r13
cmp qword [rsp + 0x78], 0x10
jb 0x18007d5cf
mov rcx, qword [rsp + 0x60]
call fcn.18008fc70
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
mov dword [rbx + 0xa0], 4
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
jmp 0x18007d5fb
xor r13d, r13d
mov rsi, qword [rsp + 0x30]
jmp 0x18007d1c5
cmp esi, 5
jne 0x18007d662
mov rdx, qword [rbx]
mov r8, qword [rdx + 0x30]
mov rdx, qword [rdx + 0x28]
lea rcx, [rsp + 0x150]
call fcn.18007f870
mov r8, rax
cmp rax, 0xffffffffffffffff
jne 0x18007d638
mov rax, qword [rbx]
or dword [rax + 0x48], 4
lea esi, [r8 + 5]
jmp 0x18007d656
mov rdx, qword [rbx]
mov rax, qword [rdx + 0x28]
mov qword [rdx + 0x38], rax
mov rcx, qword [rdx + 0x28]
add rcx, r8
mov qword [rdx + 0x40], rcx
neg r8
sbb esi, esi
add esi, 6
mov dword [rsp + 0x38], esi
mov r9, qword [rsp + 0x188]
mov r8, qword [rsp + 0x40]
jmp 0x18007d410
mov qword [rsp + 0x180], 1
mov rsi, r13
mov rcx, qword [rsp + 0x168]
cmp rdi, rcx
jge 0x18007d6eb
sub rcx, rdi
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x180]
cmp rcx, 1
cmovge rax, rdx
mov rsi, qword [rax]
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0x10
cmovae rdx, qword [rsp + 0x158]
add rdx, rdi
test rsi, rsi
je 0x18007d6da
mov r8, rsi
lea rcx, [rsp + 0x14a]
call fcn.1800b13c0
add rdi, rsi
mov qword [rsp + 0x178], rdi
cmp rsi, 1
je 0x18007d744
mov r8d, 1
sub r8, rsi
mov rdi, qword [rsp + 0x150]
mov rax, qword [rdi]
lea rdx, [rsp + 0x14a]
add rdx, rsi
mov rcx, rdi
call qword [rax + 0x40]
test rax, rax
jne 0x18007d720
movzx eax, byte [rdi + 0x68]
and al, 1
neg al
sbb rax, rax
cmp rax, 0xffffffffffffffff
je 0x18007d72c
lea rcx, [rax + rsi]
jmp 0x18007d736
mov rcx, r15
test rsi, rsi
cmovne rcx, rsi
mov rdi, qword [rsp + 0x178]
cmp rcx, 1
jne 0x18007d74e
movzx eax, byte [rsp + 0x14a]
jmp 0x18007d75b
mov eax, r13d
cmp rcx, 0xffffffffffffffff
sete al
add eax, 0xfffffffe
cmp eax, 0xffffffff
jne 0x18007d77a
lea edx, [rax + 6]
lea rcx, [rsp + 0x118]
call fcn.180073990
nop
mov rcx, rax
call fcn.18007eb80
nop
cmp eax, 0xfffffffe
je 0x18007d9d4
mov ecx, dword [rbx + 0x78]
cmp ecx, 1
jne 0x18007d7ac
mov edx, dword [rbx + 0x7c]
lea ecx, [rdx*8]
movzx eax, al
shl eax, cl
add dword [rbx + 0x70], eax
cmp edx, 3
jne 0x18007d7d2
mov qword [rbx + 0x78], 2
jmp 0x18007d7d8
cmp ecx, 2
jne 0x18007d7d8
mov edx, dword [rbx + 0x7c]
lea ecx, [rdx*8]
movzx eax, al
shl eax, cl
add dword [rbx + 0x74], eax
cmp edx, 3
jne 0x18007d7d2
mov qword [rbx + 0x78], 3
jmp 0x18007d7d8
lea eax, [rdx + 1]
mov dword [rbx + 0x7c], eax
cmp dword [rbx + 0x78], 3
mov rsi, qword [rsp + 0x30]
jne 0x18007d1d0
mov ecx, dword [rbx + 0x70]
mov rax, qword [rbx]
cmp ecx, dword [rax + 0xc]
je 0x18007d80e
mov edx, 2
lea rcx, [rsp + 0xe8]
call fcn.180073990
nop
mov rcx, rax
call fcn.18007eb80
nop
mov qword [rsp + 0x180], 1
mov rsi, r13
mov rcx, qword [rsp + 0x168]
cmp rdi, rcx
jge 0x18007d88d
sub rcx, rdi
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x48]
lea rdx, [rsp + 0x180]
cmp rcx, 1
cmovge rax, rdx
mov rsi, qword [rax]
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 0x10
cmovae rdx, qword [rsp + 0x158]
add rdx, rdi
test rsi, rsi
je 0x18007d87c
mov r8, rsi
lea rcx, [rsp + 0x149]
call fcn.1800b13c0
add rdi, rsi
mov qword [rsp + 0x178], rdi
cmp rsi, 1
je 0x18007d8e5
mov r8d, 1
sub r8, rsi
mov rdi, qword [rsp + 0x150]
mov rax, qword [rdi]
lea rdx, [rsp + 0x149]
add rdx, rsi
mov rcx, rdi
call qword [rax + 0x40]
test rax, rax
jne 0x18007d8c2
movzx eax, byte [rdi + 0x68]
and al, 1
neg al
sbb rax, rax
cmp rax, 0xffffffffffffffff
je 0x18007d8cd
add rax, rsi
jmp 0x18007d8d7
mov rax, r15
test rsi, rsi
cmovne rax, rsi
mov rdi, qword [rsp + 0x178]
cmp rax, 1
jne 0x18007d8f7
movzx edx, byte [rsp + 0x149]
cmp edx, 0xffffffff
jne 0x18007d906
jmp 0x18007d9c0
cmp rax, 0xffffffffffffffff
je 0x18007d9c0
mov edx, 0xfffffffe
test rdi, rdi
je 0x18007d9ac
lea rcx, [rdi - 1]
mov qword [rsp + 0x178], rcx
lea rax, [rsp + 0x158]
cmp qword [rsp + 0x170], 0x10
cmovae rax, qword [rsp + 0x158]
mov byte [rcx + rax], dl
mov rcx, rbx
call fcn.18007ec20
mov dword [rbx + 0xa0], 1
mov qword [rbx + 0x20], r13
cmp qword [rbx + 0x28], 0x10
jb 0x18007d95b
mov rcx, qword [rbx + 0x10]
jmp 0x18007d95f
lea rcx, [rbx + 0x10]
mov byte [rcx], 0
lea rcx, [rbx + 0x30]
mov qword [rcx + 0x10], r13
cmp qword [rcx + 0x18], 0x10
jb 0x18007d974
mov rcx, qword [rcx]
mov byte [rcx], 0
mov qword [rbx + 0x68], 0
mov dword [rbx + 0x60], r13d
mov dword [rbx + 0x50], r13d
mov qword [rbx + 0x58], r13
mov dword [rbx + 0x64], 1
mov qword [rbx + 0x78], 1
mov qword [rbx + 0x70], 0
mov rsi, qword [rsp + 0x30]
jmp 0x18007d1c5
lea rcx, [rsp + 0x60]
call fcn.1800737a0
nop
mov rcx, rax
call fcn.18007b1e0
nop
mov dword [rbx + 0xa0], 5
mov rsi, qword [rsp + 0x30]
jmp 0x18007d1d0
cmp rdi, qword [rsp + 0x168]
jge 0x18007da50
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x150]
call fcn.18007e730
mov rsi, rax
lea rdi, [rbx + 0x80]
cmp rdi, rax
je 0x18007da29
cmp qword [rdi + 0x18], 0x10
jb 0x18007da0e
mov rcx, qword [rdi]
call fcn.18008fc70
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rdi + 0x10], r13
mov byte [rdi], 0
mov rdx, rsi
mov rcx, rdi
call fcn.18002f950
nop
cmp qword [rsp + 0x78], 0x10
jb 0x18007da3b
mov rcx, qword [rsp + 0x60]
call fcn.18008fc70
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x70], r13
mov byte [rsp + 0x60], 0
jmp 0x18007da68
lea rax, [rbx + 0x80]
mov qword [rax + 0x10], r13
cmp qword [rax + 0x18], 0x10
jb 0x18007da65
mov rax, qword [rax]
mov byte [rax], 0
test r14, r14
jne 0x18007da76
cmp dword [rbx + 0xa0], 5
je 0x18007da79
mov r15, r14
cmp qword [rsp + 0x170], 0x10
jb 0x18007da91
mov rcx, qword [rsp + 0x158]
call fcn.18008fc70
mov qword [rsp + 0x170], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x168], r13
mov byte [rsp + 0x158], 0
mov rax, r15
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1800b1390
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret