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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov dword [r11 + 0x18], r8d
push rsi
push rdi
push r13
sub rsp, 0x80
mov qword [r11 - 0x20], rbx
mov eax, r9d
mov rbx, qword [rcx + 0x10]
lea r9, [r11 - 0x68]
xor esi, esi
mov qword [r11 - 0x28], rbp
cmp r8d, eax
mov qword [r11 - 0x30], r12
mov qword [r11 - 0x40], r15
mov rbp, rdx
mov r15d, r8d
mov dword [rsp + 0x30], esi
cmove r9, rsi
lea r8d, [rsi + 3]
mov rdi, rcx
call fcn.180100b10
mov rcx, rbp
mov r12d, eax
call fcn.18007f9d0
movzx ecx, byte [rdi + 0x1f]
inc dword [rdi + 0x78]
mov byte [rsp + 0xa0], al
test cl, cl
jne 0x1800fd2e6
inc dword [rdi + 0x58]
mov r13d, dword [rdi + 0x58]
jmp 0x1800fd2f3
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r13d, dword [rdi + rax*4 + 0x28]
mov rdx, qword [rbp + 0x10]
mov r8d, r13d
mov rcx, rdi
mov qword [rsp + 0x60], r14
call fcn.1800fcab0
cmp r12d, 5
jne 0x1800fd76e
mov rax, qword [rbp + 0x20]
mov rcx, rdi
mov rdx, qword [rbp + 0x10]
mov qword [rsp + 0x38], rax
call fcn.1800fedd0
mov rcx, rbx
mov r15, rax
call fcn.18013f640
mov ebp, dword [rsp + 0xb0]
mov r14d, esi
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xb8], ebp
je 0x1800fd381
movzx ecx, byte [rdi + 0x1f]
test cl, cl
jne 0x1800fd35c
inc dword [rdi + 0x58]
mov r14d, dword [rdi + 0x58]
jmp 0x1800fd369
dec cl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x28]
mov r9d, r13d
mov dword [rsp + 0x20], r14d
mov r8d, r13d
mov edx, 0x55
mov rcx, rbx
call fcn.1801355a0
mov rax, qword [rsp + 0x38]
mov r12d, esi
cmp dword [rax], esi
jle 0x1800fd645
mov rcx, rsi
mov qword [rsp + 0x40], rcx
nop dword [rax]
mov rdx, qword [rax + 8]
lea r8, [rsp + 0x34]
mov rdx, qword [rcx + rdx]
mov rcx, rdi
call fcn.1800fec20
mov ebp, eax
test r14d, r14d
je 0x1800fd42a
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
mov rcx, qword [rax + rcx]
call fcn.1800fca40
test eax, eax
je 0x1800fd42a
mov rcx, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rcx + 0x64], edx
jg 0x1800fd3fe
mov r9d, ebp
mov dword [rsp + 0x20], r14d
mov r8d, r14d
mov edx, 0x55
mov rcx, rbx
call fcn.1800cfb00
jmp 0x1800fd42a
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x55
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
dec eax
cmp r12d, eax
jl 0x1800fd51b
mov r8d, dword [rsp + 0xb0]
cmp dword [rsp + 0xb8], r8d
jne 0x1800fd51b
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x1800fd47a
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, r13d
mov edx, 0x4e
mov rcx, rbx
call fcn.1800cfb00
mov edx, eax
jmp 0x1800fd4a6
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4e
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd4ee
test edx, edx
jns 0x1800fd4b8
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], sil
lea rdx, [rax + rcx*8]
je 0x1800fd4e1
mov r9d, 0xfffffffc
mov r8, r15
mov rcx, rbx
call fcn.18014e490
jmp 0x1800fd4ee
test r15, r15
je 0x1800fd4ee
mov qword [rdx + 0x10], r15
mov byte [rdx + 1], 0xfc
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd5e5
movsxd rax, dword [rbx + 0x3c]
movzx edx, byte [rsp + 0xa0]
or dl, 0x10
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], dl
jmp 0x1800fd5e5
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x1800fd548
mov r9d, dword [rsp + 0xa8]
mov r8d, r13d
mov edx, 0x4f
mov dword [rsp + 0x20], ebp
mov rcx, rbx
call fcn.1800cfb00
mov edx, eax
jmp 0x1800fd57c
mov r8d, dword [rsp + 0xa8]
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4f
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd5c4
test edx, edx
jns 0x1800fd58e
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
cmp byte [rax + rcx*8 + 1], sil
lea rdx, [rax + rcx*8]
je 0x1800fd5b7
mov r9d, 0xfffffffc
mov r8, r15
mov rcx, rbx
call fcn.18014e490
jmp 0x1800fd5c4
test r15, r15
je 0x1800fd5c4
mov qword [rdx + 0x10], r15
mov byte [rdx + 1], 0xfc
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd5e5
movsxd rax, dword [rbx + 0x3c]
mov rcx, qword [rbx + 8]
lea rdx, [rax + rax*2]
movzx eax, byte [rsp + 0xa0]
mov byte [rcx + rdx*8 - 0x15], al
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1800fd61f
movzx r8d, byte [rdi + 0x1f]
cmp r8b, 8
jae 0x1800fd61f
mov ecx, esi
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], edx
je 0x1800fd61b
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800fd601
mov dword [rdi + r8*4 + 0x28], edx
inc byte [rdi + 0x1f]
jmp 0x1800fd61f
mov byte [rax + 6], 1
mov rcx, qword [rsp + 0x40]
inc r12d
mov rax, qword [rsp + 0x38]
add rcx, 0x28
mov qword [rsp + 0x40], rcx
cmp r12d, dword [rax]
jl 0x1800fd3a0
mov ebp, dword [rsp + 0xb0]
test r14d, r14d
je 0x1800fd6fa
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800fd679
mov r9d, dword [rsp + 0xb8]
mov r8d, r14d
mov edx, 0x4c
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.1800cfb00
jmp 0x1800fd6ab
mov edx, dword [rsp + 0xb8]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4c
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800fd6d0
xor r8d, r8d
mov dword [rsp + 0x20], esi
mov r9d, ebp
mov rcx, rbx
lea edx, [r8 + 0xd]
call fcn.1800cfb00
jmp 0x1800fd6fa
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], select
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x88]
test r8, r8
je 0x1800fd720
mov eax, 0xffffffff
sub eax, dword [rsp + 0xa8]
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
test r14d, r14d
je 0x1800fd96e
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800fd96e
mov ecx, esi
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], r14d
je 0x1800fd765
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800fd747
mov dword [rdi + rdx*4 + 0x28], r14d
inc byte [rdi + 0x1f]
jmp 0x1800fd96e
mov byte [rax + 6], 1
jmp 0x1800fd96e
mov rcx, qword [rbp + 0x10]
call fcn.1800fca40
lea r14, [0x1801eea88]
test eax, eax
je 0x1800fd81c
mov eax, dword [rsp + 0xb8]
mov r8d, r13d
mov rcx, rbx
cmp eax, r15d
jne 0x1800fd7a7
mov r9d, eax
mov edx, 0x4c
call fcn.180135530
jmp 0x1800fd81c
mov edx, 0x4d
call fcn.1801354c0
mov r9d, dword [rsp + 0xb0]
mov edx, WSAGetLastError
mov r8d, dword [rbp + 0x2c]
mov rcx, rbx
mov r15d, eax
call fcn.180135530
mov edx, dword [rsp + 0xb8]
mov rcx, rbx
call fcn.18013e860
mov edx, dword [rbx + 0x3c]
mov rcx, qword [rbx + 0x30]
dec edx
mov dword [rcx + 0x6c], edx
mov edx, dword [rbx + 0x3c]
test r15d, r15d
jns 0x1800fd7f4
lea r15d, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
je 0x1800fd802
mov rax, r14
jmp 0x1800fd811
movsxd rax, r15d
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov r15d, dword [rsp + 0xb0]
mov dword [rax + 8], edx
cmp r12d, 1
jne 0x1800fd853
mov r9d, r15d
lea edx, [r12 + 0x25]
mov r8d, r13d
mov rcx, rbx
call fcn.180135530
mov r8d, dword [rbp + 0x2c]
lea edx, [r12 + 0x45]
mov r9d, r15d
mov dword [rsp + 0x20], r13d
mov rcx, rbx
call fcn.1801355a0
jmp 0x1800fd96e
mov rax, qword [rbx + 0x30]
movsxd rdx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], edx
jg 0x1800fd87d
mov r9d, 1
mov dword [rsp + 0x20], esi
mov r8d, r13d
mov rcx, rbx
lea edx, [r9 + 0x2f]
call fcn.1800cfb00
mov edx, eax
jmp 0x1800fd8a9
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x30
mov byte [rax + rcx*8 + 3], sil
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], 1
mov qword [rax + rcx*8 + 0x10], rsi
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd8e0
test edx, edx
jns 0x1800fd8bb
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea r8, [rsp + 0xa0]
mov r9d, 1
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.18014e490
mov rcx, rbx
mov r8d, dword [rbp + 0x2c]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r13d
cmp dword [rsp + 0x30], esi
jne 0x1800fd909
mov r9d, r15d
mov edx, 0x44
call fcn.180135730
jmp 0x1800fd96e
xor r9d, r9d
lea edx, [r9 + 0x45]
call fcn.180135730
mov r9d, dword [rsp + 0xb8]
mov edx, 0x4c
mov r8d, dword [rsp + 0x30]
mov rcx, rbx
mov ebp, eax
call fcn.180135530
mov edx, r15d
mov rcx, rbx
call fcn.18013e860
mov edx, dword [rbx + 0x3c]
mov rcx, qword [rbx + 0x30]
dec edx
mov dword [rcx + 0x6c], edx
mov edx, dword [rbx + 0x3c]
test ebp, ebp
jns 0x1800fd952
lea ebp, [rdx - 1]
mov rax, qword [rbx]
cmp byte [rax + 0x55], sil
jne 0x1800fd96a
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea r14, [rax + rcx*8]
mov dword [r14 + 8], edx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
test r13d, r13d
je 0x1800fd9bf
movzx ecx, byte [rdi + 0x1f]
cmp cl, 8
jae 0x1800fd9bf
lea rax, [rdi + 0x90]
nop dword [rax]
cmp dword [rax + 0xc], r13d
je 0x1800fd9bb
inc esi
add rax, 0x14
cmp esi, 0xa
jl 0x1800fd9a0
mov dword [rdi + rcx*4 + 0x28], r13d
inc byte [rdi + 0x1f]
jmp 0x1800fd9bf
mov byte [rax + 6], 1
mov rcx, rdi
call fcn.1800fc310
add rsp, 0x80
pop r13
pop rdi
pop rsi
ret