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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
mov dword [rsp + 0x28], 0
mov edi, dword [rsp + 0x28]
shl edi, 8
and edi, 0xffff
mov edx, dword [rsp + 0x28]
shr edx, 8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movzx ecx, byte [rax + 0xfcc]
mov eax, edx
xor eax, ecx
mov edx, eax
lea rcx, [0x180103180]
mov eax, edi
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x28], eax
mov edi, dword [rsp + 0x28]
shl edi, 8
and edi, 0xffff
mov edx, dword [rsp + 0x28]
shr edx, 8
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
movzx ecx, byte [rax + 0xfcd]
mov eax, edx
xor eax, ecx
mov edx, eax
lea rcx, [0x180103180]
mov eax, edi
xor eax, dword [rcx + rdx*4]
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx edx, word [rsp + 0x28]
mov rcx, qword [rcx + 0x80]
call fcn.1800b2a30
mov rcx, qword [rsp + 0x60]
call fcn.1800b8060
test eax, eax
jne 0x1800b8d9a
xor eax, eax
jmp 0x1800b92f2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800b8db1
mov eax, 1
jmp 0x1800b92f2
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov r8d, dword [rcx + 0x568]
mov edx, dword [rax + 0x560]
mov rcx, qword [rsp + 0x60]
call fcn.1800b68a0
test eax, eax
jne 0x1800b8de5
xor eax, eax
jmp 0x1800b92f2
mov dword [rsp + 0x30], 0
jmp 0x1800b8dfa
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x568]
cmp dword [rsp + 0x30], eax
jae 0x1800b8ecb
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x570]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x56c]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x1800b8e52
cmp dword [rsp + 0x3c], 2
je 0x1800b8e66
cmp dword [rsp + 0x3c], 3
je 0x1800b8e7a
jmp 0x1800b8e8c
cmp dword [rsp + 0x30], 1
jne 0x1800b8e64
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
jmp 0x1800b8e8c
cmp dword [rsp + 0x30], 0
jne 0x1800b8e78
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
jmp 0x1800b8e8c
cmp dword [rsp + 0x30], 1
jne 0x1800b8e8c
mov eax, dword [rsp + 0x38]
add eax, 1
mov dword [rsp + 0x38], eax
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.1800b7d20
test eax, eax
jne 0x1800b8eaf
xor eax, eax
jmp 0x1800b92f2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800b8ec6
mov eax, 1
jmp 0x1800b92f2
jmp 0x1800b8def
mov rcx, qword [rsp + 0x60]
call fcn.1800b65f0
test eax, eax
jne 0x1800b8ee0
xor eax, eax
jmp 0x1800b92f2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
cmp dword [rax], 2
jne 0x1800b8ef7
mov eax, 1
jmp 0x1800b92f2
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx + 0x80]
call fcn.1800b2960
movzx eax, ax
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov r8d, dword [reloc.WS2_32.dll_recv]
lea rdx, [rsp + 0x24]
mov rcx, qword [rcx + 0x80]
call fcn.1800b3a80
test eax, eax
jne 0x1800b8f3f
xor eax, eax
jmp 0x1800b92f2
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jne 0x1800b914c
cmp dword [rsp + 0x70], 0
je 0x1800b914a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x56c]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 1
je 0x1800b8f92
cmp dword [rsp + 0x40], 2
je 0x1800b900a
cmp dword [rsp + 0x40], 3
je 0x1800b9080
jmp 0x1800b914a
mov dword [rsp + 0x2c], 0
jmp 0x1800b8fa7
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800b9005
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov edi, dword [rsp + 0x2c]
mov rdx, qword [rdx + 0x88]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + rcx*4]
mov edx, dword [rdx + rdi*4]
sub edx, eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov dword [rax + rcx*4], edx
jmp 0x1800b8f9c
jmp 0x1800b914a
mov dword [rsp + 0x2c], 0
jmp 0x1800b901f
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800b907b
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov edi, dword [rsp + 0x2c]
mov rdx, qword [rdx + 0x88]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov edx, dword [rdx + rdi*4]
add edx, dword [rax + rcx*4]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov dword [rax + rcx*4], edx
jmp 0x1800b9014
jmp 0x1800b914a
mov dword [rsp + 0x2c], 0
jmp 0x1800b9095
mov eax, dword [rsp + 0x2c]
add eax, 1
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x560]
cmp dword [rsp + 0x2c], eax
jae 0x1800b914a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
shl eax, 1
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x34]
and ecx, 1
mov eax, dword [rsp + 0x20]
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x20]
add edx, eax
sar edx, 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x88]
mov dword [rax + rcx*4], edx
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x20]
sub edx, eax
sar edx, 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x2c]
mov rax, qword [rax + 0x90]
mov dword [rax + rcx*4], edx
jmp 0x1800b908a
jmp 0x1800b91ba
mov edx, 2
mov rcx, qword [rsp + 0x60]
call fcn.1800b4a40
cmp dword [rsp + 0x70], 0
je 0x1800b91ba
mov dword [rsp + 0x30], 0
jmp 0x1800b9177
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x568]
cmp dword [rsp + 0x30], eax
jae 0x1800b91ba
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0x560]
shl rcx, 2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov rdi, qword [rax + rdi*8 + 0x88]
xor eax, eax
rep stosb byte [rdi], al
jmp 0x1800b916c
mov rax, qword [rsp + 0x68]
mov dword [rax], 1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
cmp dword [rax + 0x1d4], 0
je 0x1800b91f5
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov eax, dword [rax + 0x1d4]
mov dword [rcx + 0x1d0], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x568]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x56c]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x570]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x564]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov eax, dword [rax + 0x560]
mov dword [rcx + 0x14], eax
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov ecx, dword [rax + 0x560]
add rcx, qword [rdx + 0x578]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rax + 0x1d8], rcx
cmp dword [rsp + 0x70], 0
je 0x1800b92df
mov r8, qword [rsp + 0x60]
mov r8, qword [r8 + 8]
add r8, 0x88
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 8]
add rdx, 0x560
mov rcx, qword [rsp + 0x60]
call fcn.1800b62b0
test eax, eax
je 0x1800b92df
xor eax, eax
jmp 0x1800b92f2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax], 2
mov eax, 1
add rsp, 0x50
pop rdi
ret