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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x3c0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x180116250]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov ebx, ecx
lea rdi, [0x18011c900]
mov qword [rsp + 0x38], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor r13d, r13d
test ebx, ebx
je 0x1800104ea
test rsi, rsi
je 0x1800104ea
lea rcx, [rsp + 0xf0]
call fcn.1800105dc
nop
cmp qword [0x180116e88], r13
jne 0x18000fd8d
lea rcx, [rsp + 0xf0]
call fcn.180010750
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 2
jmp 0x18001051c
call fcn.180019ecc
test al, al
jne 0x18000fdb7
lea rcx, [rsp + 0xf0]
call fcn.180010750
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xa
jmp 0x18001051c
mov rax, qword [0x180116e88]
test rax, rax
lea rcx, [rax + 8]
jne 0x18000fdca
mov rcx, r13
lea r9, [rsp + 0xf0]
mov r8d, ebx
lea rdx, [rsp + 0xc0]
call fcn.180038f44
nop
lea rcx, [rsp + 0xc0]
call fcn.180072048
test al, al
jne 0x18000fe2f
lea rcx, [rsp + 0xc0]
call fcn.180019e3c
mov ebx, eax
lea rcx, [rsp + 0xc8]
call fcn.180001c54
nop
lea rcx, [rsp + 0xf0]
call fcn.180010750
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
jmp 0x18001051c
lea rcx, [rsp + 0xc8]
call fcn.180001c54
mov ecx, 0xa8
call fcn.180082368
mov rbx, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], 1
mov dword [rax + 0x18], r13d
mov qword [rax + 0x20], r13
mov dword [rax + 0x28], r13d
mov qword [rax + 0x30], r13
mov qword [rax + 0x38], 1
mov dword [rax + 0x40], r13d
mov qword [rax + 0x48], r13
mov qword [rax + 0x50], r13
mov qword [rax + 0x58], r13
mov dword [rax + 0x60], r13d
mov qword [rax + 0x68], r13
mov qword [rax + 0x70], r13
mov qword [rax + 0x78], r13
mov byte [rax + 0x80], r13b
mov qword [rax + 0x88], r13
mov qword [rax + 0x90], r13
mov qword [rax + 0x98], r13
mov qword [rax + 0xa0], r13
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x220]
mov r12d, 0x18
cmp qword [rsp + 0x218], rcx
je 0x18000ffc9
sub rcx, qword [rsp + 0x218]
movabs rax, 0xe38e38e38e38e39
imul rcx
mov r15, rdx
sar r15, 2
mov rax, r15
shr rax, 0x3f
add r15, rax
mov qword [rbx + 8], r15
mov qword [rsp + 0x30], r15
mov eax, r12d
mul r15
lea rcx, [r12 - 0x19]
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.18008282c
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18000ff59
mov qword [rax], r15
lea rsi, [rax + 8]
lea r13, [0x18000f0b0]
mov qword [rsp + 0x20], r13
lea r9, [0x18000f0a0]
mov r8, r15
mov edx, r12d
mov rcx, rsi
call fcn.180082834
xor r13d, r13d
jmp 0x18000ff5c
mov rsi, r13
mov qword [rbx], rsi
mov rsi, r13
cmp rsi, r15
jae 0x18000ffc3
lea r13, [rsi + rsi*8]
mov rax, qword [rsp + 0x218]
lea rcx, [rax + r13*8]
call fcn.1800097fc
lea r12, [rsi + rsi*2]
mov rcx, qword [rbx]
mov qword [rcx + r12*8], rax
mov rcx, qword [rsp + 0x218]
add rcx, 0x20
lea rcx, [rcx + r13*8]
call fcn.1800097fc
mov rcx, qword [rbx]
mov qword [rcx + r12*8 + 8], rax
mov rax, qword [rsp + 0x218]
mov ecx, dword [rax + r13*8 + 0x40]
call fcn.18000b078
mov rcx, qword [rbx]
mov dword [rcx + r12*8 + 0x10], eax
inc rsi
jmp 0x18000ff62
mov r12d, 0x18
movabs r15, 0xe38e38e38e38e39
lea r13, [0x18000f0b0]
mov ecx, dword [rsp + 0x230]
test ecx, ecx
je 0x18000fff7
cmp ecx, 1
jne 0x180010544
mov esi, 2
mov eax, esi
jmp 0x18000ffff
mov eax, 1
lea esi, [rax + 1]
mov dword [rbx + 0x10], eax
mov ecx, dword [rsp + 0x234]
test ecx, ecx
je 0x18001001d
cmp ecx, 1
jne 0x180010566
mov eax, 1
jmp 0x18001001f
xor eax, eax
mov dword [rbx + 0x14], eax
mov ecx, dword [rsp + 0x238]
call fcn.18000f0dc
mov dword [rbx + 0x18], eax
cmp byte [rsp + 0x23c], 0
je 0x180010080
mov rcx, r12
call fcn.180082368
mov qword [rbx + 0x20], rax
lea rcx, [rsp + 0x240]
call fcn.1800097fc
mov rcx, qword [rbx + 0x20]
mov qword [rcx], rax
lea rcx, [rsp + 0x260]
call fcn.1800097fc
mov rcx, qword [rbx + 0x20]
mov qword [rcx + 8], rax
movsxd rcx, dword [rsp + 0x280]
mov rax, qword [rbx + 0x20]
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x288]
call fcn.18000f7c8
mov dword [rbx + 0x28], eax
cmp byte [rsp + 0x28c], 0
je 0x1800100de
mov rcx, r12
call fcn.180082368
mov qword [rbx + 0x30], rax
lea rcx, [rsp + 0x290]
call fcn.1800097fc
mov rcx, qword [rbx + 0x30]
mov qword [rcx], rax
lea rcx, [rsp + 0x2b0]
call fcn.1800097fc
mov rcx, qword [rbx + 0x30]
mov qword [rcx + 8], rax
movsxd rcx, dword [rsp + 0x2d0]
mov rax, qword [rbx + 0x30]
mov qword [rax + 0x10], rcx
mov ecx, dword [rsp + 0x2d8]
test ecx, ecx
je 0x1800100f4
cmp ecx, 1
jne 0x180010588
jmp 0x1800100f9
mov esi, 1
mov dword [rbx + 0x38], esi
mov ecx, dword [rsp + 0x2dc]
xor esi, esi
test ecx, ecx
je 0x180010119
cmp ecx, 1
jne 0x1800105b0
mov eax, 1
jmp 0x18001011b
mov eax, esi
mov dword [rbx + 0x3c], eax
mov ecx, dword [rsp + 0x2e0]
call fcn.18000f0dc
mov dword [rbx + 0x40], eax
cmp byte [rsp + 0x2e4], sil
je 0x18001017c
mov rcx, r12
call fcn.180082368
mov qword [rbx + 0x48], rax
lea rcx, [rsp + 0x2e8]
call fcn.1800097fc
mov rcx, qword [rbx + 0x48]
mov qword [rcx], rax
lea rcx, [rsp + 0x308]
call fcn.1800097fc
mov rcx, qword [rbx + 0x48]
mov qword [rcx + 8], rax
movsxd rcx, dword [rsp + 0x328]
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x10], rcx
mov rcx, qword [rsp + 0x338]
cmp qword [rsp + 0x330], rcx
je 0x180010280
sub rcx, qword [rsp + 0x330]
mov rax, r15
imul rcx
mov r15, rdx
sar r15, 2
mov rax, r15
shr rax, 0x3f
add r15, rax
mov qword [rbx + 0x58], r15
mov qword [rsp + 0x40], r15
mov rax, r12
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.18008282c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180010207
mov qword [rax], r15
lea rsi, [rax + 8]
mov qword [rsp + 0x20], r13
lea r9, [0x18000f0a0]
mov r8, r15
mov rdx, r12
mov rcx, rsi
call fcn.180082834
nop
mov qword [rbx + 0x50], rsi
xor esi, esi
cmp rsi, r15
jae 0x180010271
lea r13, [rsi + rsi*8]
mov rax, qword [rsp + 0x330]
lea rcx, [rax + r13*8]
call fcn.1800097fc
lea r12, [rsi + rsi*2]
mov rcx, qword [rbx + 0x50]
mov qword [rcx + r12*8], rax
mov rcx, qword [rsp + 0x330]
add rcx, 0x20
lea rcx, [rcx + r13*8]
call fcn.1800097fc
mov rcx, qword [rbx + 0x50]
mov qword [rcx + r12*8 + 8], rax
mov rax, qword [rsp + 0x330]
mov ecx, dword [rax + r13*8 + 0x40]
call fcn.18000b078
mov rcx, qword [rbx + 0x50]
mov dword [rcx + r12*8 + 0x10], eax
inc rsi
jmp 0x18001020d
mov r12d, 0x18
lea r13, [0x18000f0b0]
xor esi, esi
mov ecx, dword [rsp + 0x348]
call fcn.18000f7c8
mov dword [rbx + 0x60], eax
cmp byte [rsp + 0x34c], sil
je 0x1800102de
mov rcx, r12
call fcn.180082368
mov qword [rbx + 0x68], rax
lea rcx, [rsp + 0x350]
call fcn.1800097fc
mov rcx, qword [rbx + 0x68]
mov qword [rcx], rax
lea rcx, [rsp + 0x370]
call fcn.1800097fc
mov rcx, qword [rbx + 0x68]
mov qword [rcx + 8], rax
movsxd rdx, dword [rsp + 0x390]
mov rcx, qword [rbx + 0x68]
mov qword [rcx + 0x10], rdx
mov rcx, qword [rsp + 0x3a0]
cmp qword [rsp + 0x398], rcx
je 0x1800103dc
sub rcx, qword [rsp + 0x398]
movabs rax, 0xe38e38e38e38e39
imul rcx
mov r15, rdx
sar r15, 2
mov rax, r15
shr rax, 0x3f
add r15, rax
mov qword [rbx + 0x78], r15
mov qword [rsp + 0x40], r15
mov rax, r12
mul r15
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
add rax, 8
cmovb rax, rcx
mov rcx, rax
call fcn.18008282c
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180010370
mov qword [rax], r15
lea rsi, [rax + 8]
mov qword [rsp + 0x20], r13
lea r9, [0x18000f0a0]
mov r8, r15
mov rdx, r12
mov rcx, rsi
call fcn.180082834
nop
mov qword [rbx + 0x70], rsi
xor esi, esi
cmp rsi, r15
jae 0x1800103da
lea r13, [rsi + rsi*8]
mov rax, qword [rsp + 0x398]
lea rcx, [rax + r13*8]
call fcn.1800097fc
lea r12, [rsi + rsi*2]
mov rcx, qword [rbx + 0x70]
mov qword [rcx + r12*8], rax
mov rcx, qword [rsp + 0x398]
add rcx, 0x20
lea rcx, [rcx + r13*8]
call fcn.1800097fc
mov rcx, qword [rbx + 0x70]
mov qword [rcx + r12*8 + 8], rax
mov rax, qword [rsp + 0x398]
mov ecx, dword [rax + r13*8 + 0x40]
call fcn.18000b078
mov rcx, qword [rbx + 0x70]
mov dword [rcx + r12*8 + 0x10], eax
inc rsi
jmp 0x180010376
xor esi, esi
mov al, byte [rsp + 0xf0]
mov byte [rbx + 0x80], al
cmp byte [rsp + 0xf1], sil
je 0x180010421
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x30]
call fcn.18000f81c
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rbx + 0x88], rcx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180010421
call fcn.180011244
cmp byte [rsp + 0x178], sil
je 0x180010459
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.18000f81c
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rbx + 0x90], rcx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180010459
call fcn.180011244
cmp byte [rsp + 0x200], sil
je 0x180010490
mov ecx, reloc.WS2_32.dll_recv
call fcn.180082368
mov qword [rbx + 0x98], rax
movsxd rcx, dword [rsp + 0x204]
mov qword [rax], rcx
mov rcx, qword [rbx + 0x98]
mov al, byte [rsp + 0x210]
mov byte [rcx + 8], al
cmp byte [rsp + 0x208], sil
je 0x1800104c7
mov ecx, reloc.WS2_32.dll_recv
call fcn.180082368
mov qword [rbx + 0xa0], rax
movsxd rcx, dword [rsp + 0x20c]
mov qword [rax], rcx
mov rdx, qword [rbx + 0xa0]
mov al, byte [rsp + 0x210]
mov byte [rdx + 8], al
mov rax, qword [rsp + 0x48]
mov qword [rax], rbx
lea rcx, [rsp + 0xf0]
call fcn.180010750
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x18001051c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 7
jmp 0x18001051c
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.180081ff0
mov rbx, qword [rsp + 0x400]
add rsp, 0x3c0
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
lea rdx, str.Invalid_SettingsTarget
lea rcx, [rsp + 0x60]
call fcn.180001e44
lea rdx, [0x180112e30]
lea rcx, [rsp + 0x60]
call fcn.1800a12e0
lea rdx, str.Invalid_ApplicationPowerMode
lea rcx, [rsp + 0x78]
call fcn.180001e44
lea rdx, [0x180112e30]
lea rcx, [rsp + 0x78]
call fcn.1800a12e0
lea rdx, str.Invalid_SettingsTarget
lea rcx, [rsp + 0x90]
call fcn.180001e44
lea rdx, [0x180112e30]
lea rcx, [rsp + 0x90]
call fcn.1800a12e0
lea rdx, str.Invalid_ApplicationPowerMode
lea rcx, [rsp + 0xa8]
call fcn.180001e44
lea rdx, [0x180112e30]
lea rcx, [rsp + 0xa8]
call fcn.1800a12e0
int3