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

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov qword [rax - 0x20], rbp
xor ebp, ebp
mov qword [rax - 0x30], r13
xor r13d, r13d
cmp byte [rcx + 0x2df], 2
mov rbx, rcx
mov edi, r13d
mov qword [rsp + 0xe8], rbp
mov esi, ebp
mov qword [rsp + 0xe0], rbp
mov qword [rax - 0x70], rbp
mov qword [rax - 0x68], rbp
mov byte [rcx + 0x3b4], dil
mov qword [rax - 0x60], rbp
mov qword [rax - 0x58], rbp
mov qword [rax - 0x50], rbp
jne 0x18002bf21
cmp qword [rcx + 0x190], rbp
je 0x18002bef0
cmp qword [rcx + 0x1a0], rbp
je 0x18002bef0
mov rdi, qword [0x1800b2188]
cmp qword [rcx + 0x1b0], rbp
jne 0x18002b646
mov ecx, dword [rcx + 0x198]
add ecx, 2
test rdi, rdi
je 0x18002b62d
call rdi
mov rdi, qword [0x1800b2188]
jmp 0x18002b632
call fcn.1800339ec
mov qword [rbx + 0x1b0], rax
test rax, rax
jne 0x18002b646
lea edi, [rax - 0x7d]
jmp 0x18002bf21
cmp qword [rbx + 0x1c0], rsi
jne 0x18002b681
mov ecx, dword [rbx + 0x198]
add ecx, 2
test rdi, rdi
je 0x18002b668
call rdi
mov rdi, qword [0x1800b2188]
jmp 0x18002b66d
call fcn.1800339ec
mov qword [rbx + 0x1c0], rax
test rax, rax
jne 0x18002b681
lea edi, [rax - 0x7d]
jmp 0x18002bf21
movzx eax, word [rbx + 0x198]
lea rsi, [rbx + 0x1d0]
mov word [rbx + 0x3bc], ax
test rsi, rsi
je 0x18002bee6
cmp qword [rsi], rbp
je 0x18002b6b1
mov edi, 0xffffff40
mov rsi, rbp
jmp 0x18002bf21
mov ecx, 0x50
test rdi, rdi
je 0x18002b6bf
call rdi
jmp 0x18002b6c4
call fcn.1800339ec
mov qword [rsi], rax
test rax, rax
jne 0x18002b6d7
lea edi, [rax - 0x7d]
mov rsi, rbp
jmp 0x18002bf21
mov rdx, qword [rbx + 0x48]
mov rcx, rax
call fcn.18000ca10
mov edi, eax
test eax, eax
je 0x18002b716
mov rcx, qword [rsi]
test rcx, rcx
je 0x18002b716
call fcn.18000ca90
mov rcx, qword [rsi]
test rcx, rcx
je 0x18002b713
mov rax, qword [0x1800b2190]
test rax, rax
je 0x18002b70e
call rax
jmp 0x18002b713
call fcn.1800337e4
mov qword [rsi], r13
test edi, edi
jne 0x18002b6a9
movzx eax, word [rbx + 0x3a8]
mov ecx, 0x1000
mov qword [rsp + 0xa0], r12
test cx, ax
je 0x18002b78a
mov r12d, 0x2000
test r12w, ax
jne 0x18002b78a
mov r8d, dword [rbx + 0x1a8]
mov rax, qword [rbx + 0x30]
mov r9, qword [rbx + 0x1a0]
mov rdx, qword [rbx + 0x190]
mov rcx, qword [rsi]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r8d
mov r8d, dword [rbx + 0x198]
call fcn.18000d530
mov edi, eax
test eax, eax
jne 0x18002bef7
or word [rbx + 0x3a8], r12w
jmp 0x18002b7c8
mov eax, dword [rbx + 0x1a8]
mov r9, qword [rbx + 0x1a0]
mov r8d, dword [rbx + 0x198]
mov rdx, qword [rbx + 0x190]
mov rcx, qword [rsi]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call fcn.18000d530
mov edi, eax
test eax, eax
jne 0x18002bef7
mov rax, qword [rbx + 0x1b0]
mov r8, qword [rbx + 0x1c0]
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsi]
lea r13, [rbx + 0x1b8]
lea r9, [rbx + 0x1c8]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
call fcn.18000d220
mov edi, eax
test eax, eax
jne 0x18002bef7
cmp byte [rbx + 0x2df], 2
mov qword [rsp + 0x90], r14
mov byte [rbx + 0x3b4], 1
mov qword [rsp + 0x88], r15
jne 0x18002bc50
mov ecx, dword [r13]
mov eax, dword [rbx + 0x198]
add ecx, dword [rbx + 0x1a8]
test byte [rbx + 0x3a8], 1
lea r14d, [rcx + rax + 6]
mov dword [rsp + 0xd8], r14d
jne 0x18002b8d3
add r14d, 2
cmp qword [rbx + 0x1e0], rbp
jne 0x18002b86c
mov edi, 0xfffffec3
mov rsi, rbp
jmp 0x18002bf09
movzx eax, byte [rbx + 0x1e8]
test al, 0x7f
jne 0x18002b881
and al, 0x81
or al, 1
mov byte [rbx + 0x1e8], al
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call fcn.180028e60
mov edi, eax
test eax, eax
jne 0x18002b8a7
movzx eax, word [rsp + 0xd0]
test ax, ax
jne 0x18002b8af
movzx edi, ax
mov rsi, rbp
jmp 0x18002bf09
movzx r12d, ax
add r14d, r12d
cmp byte [rbx + 0x2d0], 3
mov dword [rsp + 0x64], r12d
jne 0x18002b8d8
cmp byte [rbx + 0x2d1], 3
jb 0x18002b8d8
add r14d, 2
jmp 0x18002b8d8
mov r12d, dword [rsp + 0x64]
lea r15d, [r14 + 9]
cmp byte [rbx + 0x39c], bpl
je 0x18002b8e9
add r15d, 0x46
mov edx, r15d
mov rcx, rbx
call fcn.180021b40
mov edi, eax
test eax, eax
jne 0x18002b8a7
mov ebp, dword [rbx + 0x130]
mov r9, rbx
mov r8b, reloc.WS2_32.dll_inet_ntoa
add rbp, qword [rbx + 0x128]
mov edx, r14d
mov rcx, rbp
call fcn.1800215b0
movzx ecx, word [rbx + 0x198]
mov byte [rbp + 0xa], cl
movzx eax, cx
lea rcx, [rbp + 0xb]
shr ax, 8
mov byte [rbp + 9], al
mov r8d, dword [rbx + 0x198]
mov rdx, qword [rbx + 0x190]
call fcn.180033ff0
movzx ecx, word [rbx + 0x1a8]
mov esi, dword [rbx + 0x198]
movzx eax, cx
add esi, 0xb
mov byte [rsi + rbp + 1], cl
shr ax, 8
mov byte [rsi + rbp], al
mov r8d, dword [rbx + 0x1a8]
mov rdx, qword [rbx + 0x1a0]
add esi, 2
mov ecx, esi
add rcx, rbp
call fcn.180033ff0
movzx ecx, word [r13]
add esi, dword [rbx + 0x1a8]
mov byte [rsi + rbp + 1], cl
movzx eax, cx
shr ax, 8
mov byte [rsi + rbp], al
mov r8d, dword [r13]
mov rdx, qword [rbx + 0x1b0]
add esi, 2
mov ecx, esi
add rcx, rbp
call fcn.180033ff0
add esi, dword [r13]
test byte [rbx + 0x3a8], 1
mov dword [rsp + 0xd0], esi
jne 0x18002bc46
cmp byte [rbx + 0x2d0], 3
jne 0x18002ba27
cmp byte [rbx + 0x2d1], 3
jb 0x18002ba27
mov r8, qword [rbx + 8]
movzx ecx, byte [r8 + 0x152]
dec ecx
jne 0x18002b9f7
movzx eax, byte [r8 + 0x151]
mov byte [rsi + rbp + 1], 1
mov byte [rsi + rbp], al
mov rax, qword [rbx + 8]
add esi, 2
movzx ecx, byte [rax + 0x151]
cmp ecx, 2
je 0x18002ba1f
cmp ecx, 4
jne 0x18002ba15
lea r13d, [rcx + 2]
jmp 0x18002ba41
mov edi, 0xffffff7b
jmp 0x18002bf01
mov r13d, 4
jmp 0x18002ba41
mov rax, qword [rbx + 8]
mov r13d, 4
mov ecx, 9
cmp byte [rax + 0x152], 1
cmove r13d, ecx
movzx eax, word [rsp + 0x64]
mov ecx, dword [rsp + 0xd8]
shr ax, 8
add ecx, 0x40
mov byte [rsi + rbp], al
movzx eax, byte [rsp + 0x64]
mov byte [rsi + rbp + 1], al
add esi, 2
mov dword [rsp + 0xd0], esi
mov rsi, qword [0x1800b2188]
test rsi, rsi
je 0x18002ba81
call rsi
mov rsi, qword [0x1800b2188]
jmp 0x18002ba86
call fcn.1800339ec
mov rdx, rax
mov qword [rsp + 0xe8], rax
test rax, rax
je 0x18002befc
mov rcx, qword [rbx + 0x10]
mov r8d, dword [rsp + 0xd8]
mov rax, qword [rcx + 0x1c]
mov qword [rdx], rax
mov rax, qword [rcx + 0x24]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x2c]
mov qword [rdx + 0x10], rax
mov rax, qword [rcx + 0x34]
mov qword [rdx + 0x18], rax
mov rcx, qword [rbx + 0x10]
mov rax, qword [rcx + 0x3c]
mov qword [rdx + 0x20], rax
mov rax, qword [rcx + 0x44]
mov qword [rdx + 0x28], rax
mov rax, qword [rcx + 0x4c]
mov qword [rdx + 0x30], rax
mov rax, qword [rcx + 0x54]
lea rcx, [rdx + 0x40]
mov qword [rdx + 0x38], rax
lea rdx, [rbp + 9]
call fcn.180033ff0
mov r11, qword [rbx + 8]
cmp byte [r11 + 0x152], 9
je 0x18002bb6c
mov ecx, r13d
call fcn.18000d670
mov ecx, eax
mov dword [rbx + 0x168], ecx
test rsi, rsi
je 0x18002bb24
call rsi
mov rsi, qword [0x1800b2188]
jmp 0x18002bb29
call fcn.1800339ec
mov r9, rax
mov qword [rbx + 0x160], rax
test rax, rax
je 0x18002befc
mov r8d, dword [rsp + 0xd8]
mov eax, dword [rbx + 0x168]
mov rdx, qword [rsp + 0xe8]
add r8d, 0x40
mov ecx, r13d
mov dword [rsp + 0x20], eax
call fcn.18000d780
mov edi, eax
test eax, eax
jne 0x18002bf01
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x152]
dec ecx
jne 0x18002bc34
cmp byte [rbx + 0x2d0], 3
jne 0x18002bc34
cmp byte [rbx + 0x2d1], 3
jb 0x18002bc34
mov ecx, 0x200
test rsi, rsi
je 0x18002bbae
call rsi
mov rsi, qword [0x1800b2188]
jmp 0x18002bbb3
call fcn.1800339ec
mov r13, rax
test rax, rax
je 0x18002befc
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x151]
cmp ecx, 2
je 0x18002bbe3
mov r9d, 0x19e
cmp ecx, 4
mov eax, 0
cmovne r9d, eax
jmp 0x18002bbe9
mov r9d, 0x58
mov r8d, dword [rbx + 0x168]
mov rdx, qword [rbx + 0x160]
mov rcx, r13
call fcn.180008cb0
mov rcx, qword [rbx + 0x160]
mov dword [rbx + 0x168], eax
test rcx, rcx
je 0x18002bc2d
mov rax, qword [0x1800b2190]
test rax, rax
je 0x18002bc28
call rax
mov rsi, qword [0x1800b2188]
jmp 0x18002bc2d
call fcn.1800337e4
mov qword [rbx + 0x160], r13
test edi, edi
jne 0x18002bf01
mov r13d, dword [rsp + 0xd0]
jmp 0x18002bc6b
mov r13d, dword [rsp + 0xd0]
jmp 0x18002bc5f
mov r15d, dword [rsp + 0x74]
mov r14d, dword [rsp + 0x68]
mov r13d, dword [rsp + 0x60]
mov rsi, qword [0x1800b2188]
mov r12d, dword [rsp + 0x6c]
cmp byte [rbx + 0x2df], 2
mov byte [rbx + 0x3b4], 2
jne 0x18002bce9
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x152]
dec ecx
jne 0x18002bce9
test byte [rbx + 0x3a8], 1
mov rcx, qword [rbx + 0x78]
jne 0x18002bce9
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x168]
mov r8d, r13d
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbx + 0x160]
add r8, rbp
mov r9d, r12d
call fcn.18001c470
mov edi, eax
test eax, eax
jle 0x18002bcda
mov r12d, eax
xor eax, eax
mov edi, eax
test edi, edi
jne 0x18002bf01
mov rsi, qword [0x1800b2188]
cmp byte [rbx + 0x2df], 2
mov byte [rbx + 0x3b4], 3
jne 0x18002bdca
mov rax, qword [rbx + 8]
movzx ecx, byte [rax + 0x152]
dec ecx
je 0x18002bd15
cmp ecx, 7
jne 0x18002bdca
test byte [rbx + 0x3a8], 1
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0xd0], rax
jne 0x18002bdca
cmp qword [rsp + 0xe0], 0
jne 0x18002bd8e
test r12d, r12d
jne 0x18002bd48
mov edi, 0xffffff1a
jmp 0x18002bf01
mov edi, r12d
mov ecx, edi
test rsi, rsi
je 0x18002bd56
call rsi
jmp 0x18002bd5b
call fcn.1800339ec
mov rsi, rax
mov qword [rsp + 0xe0], rax
test rax, rax
jne 0x18002bd73
lea edi, [rax - 0x7d]
jmp 0x18002bf09
mov edx, r13d
mov r8, rdi
mov rcx, rsi
add rdx, rbp
call fcn.180033ff0
mov rax, qword [rsp + 0xd0]
jmp 0x18002bd96
mov rsi, qword [rsp + 0xe0]
test rsi, rsi
je 0x18002bdf1
mov r9d, dword [rbx + 0x168]
mov r8, qword [rbx + 0x160]
mov edx, r12d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.18001fdb0
mov edi, eax
test eax, eax
jne 0x18002bf09
mov rsi, qword [0x1800b2188]
cmp byte [rbx + 0x39c], 0
mov byte [rbx + 0x3b4], 4
je 0x18002be77
add r14d, 4
movsxd rdi, r14d
mov rcx, rdi
test rsi, rsi
je 0x18002bdfb
call rsi
jmp 0x18002be00
mov edi, 0xffffff53
jmp 0x18002bf09
call fcn.1800339ec
mov rsi, rax
test rax, rax
je 0x18002befc
test rbp, rbp
jne 0x18002be1b
mov edi, 0xfffffeb8
jmp 0x18002bf01
lea rdx, [rbp + 5]
mov r8, rdi
mov rcx, rsi
call fcn.180033ff0
mov dword [rsp + 0x30], 1
mov r9, rsi
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
mov dword [rsp + 0x28], reloc.WS2_32.dll_shutdown
mov dword [rsp + 0x20], r14d
call fcn.180027750
mov edi, eax
mov rax, qword [0x1800b2190]
mov rcx, rsi
test rax, rax
je 0x18002be65
call rax
jmp 0x18002be6a
call fcn.1800337e4
test edi, edi
js 0x18002be8e
xor eax, eax
mov r15d, edi
mov edi, eax
jmp 0x18002be8e
xor r9d, r9d
mov r8d, r15d
mov rdx, rbp
mov rcx, rbx
call fcn.180021430
mov edi, eax
test eax, eax
jne 0x18002bf01
cmp byte [rbx + 0x439], 0
je 0x18002bebc
cmp qword [rbx + 0x428], 0
je 0x18002bebc
mov r9d, r15d
mov r8, rbp
mov edx, reloc.WS2_32.dll_shutdown
mov rcx, rbx
mov dword [rsp + 0x20], 1
call fcn.180028dd0
add dword [rbx + 0x130], r15d
test byte [rbx + 0x3a8], 0x40
mov byte [rbx + 0x3b4], 5
jne 0x18002bedd
mov rcx, rbx
call fcn.1800217f0
mov edi, eax
mov byte [rbx + 0x3ad], 6
jmp 0x18002bf01
mov edi, 0xffffff53
mov rsi, rbp
jmp 0x18002bf21
mov edi, 0xfffffec1
jmp 0x18002bf21
mov rsi, rbp
jmp 0x18002bf19
mov edi, 0xffffff83
mov rsi, qword [rsp + 0xe0]
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xe8]
mov r13, qword [rsp + 0x98]
test rbp, rbp
je 0x18002bf4e
mov rax, qword [0x1800b2190]
mov rcx, rbp
test rax, rax
je 0x18002bf49
call rax
jmp 0x18002bf4e
call fcn.1800337e4
mov rbp, qword [rsp + 0xa8]
test rsi, rsi
je 0x18002bf73
mov rax, qword [0x1800b2190]
mov rcx, rsi
test rax, rax
je 0x18002bf6e
call rax
jmp 0x18002bf73
call fcn.1800337e4
mov rcx, rbx
call fcn.180020bd0
mov eax, edi
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret