Function at 0x1400cd7f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa70]
sub rsp, 0xb70
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0xa60], rax
mov r10d, r9d
mov dword [rsp + 0x50], r9d
mov edi, edx
mov r14, qword [rbp + 0xad0]
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov r15b, 1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x178], 0x7fd8
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
movdqa xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r13
lea r12, [rbp + 0x188]
shl r12, 8
lea rax, [rbp + 0x160]
shl rax, 8
sub r12, rax
or r12, 1
mov qword [rbp + 0x188], r12
lea rax, [rbp + 0x160]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], 0x7fd8
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], r13
lea rax, [rbp + 0x188]
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1b0], rax
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x160], rax
test edx, 0xfffffffd
jne 0x1400cdcbc
mov esi, dword [rbp + 0xad8]
mov rcx, qword [rbp + 0x150]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x1400cd955
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cd945
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400cd930
mov rcx, qword [rbp + 0x150]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400cd989
nop dword [rax + rax]
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x1400cd970
mov qword [rbp + 0x150], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x178], 0x7fd8
movdqa xmmword [rbp + 0x190], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1a0], xmm1
movdqa xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x188], r12
lea rax, [rbp + 0x160]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], 0x7fd8
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], r13
lea rcx, [rbp + 0x188]
mov qword [rbp + 0x150], rcx
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1b0], rax
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x158]
test rax, rax
je 0x1400cda5f
mov rcx, rax
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov qword [rbp + 0x158], r13
mov rcx, qword [rbp + 0x150]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x1400cda8d
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400cda7d
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400cda68
mov rcx, qword [rbp + 0x150]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400cdab9
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x1400cdaa0
mov qword [rbp + 0x150], r13
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], r13
mov qword [rbp + 0x180], r13
mov qword [rbp + 0x178], 0x7fd8
movdqa xmmword [rbp + 0x190], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1a0], xmm1
movdqa xmmword [rbp + 0x1b0], xmm0
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x188], r12
lea rax, [rbp + 0x160]
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], 0x7fd8
mov qword [rbp + 0x1d8], r13
mov qword [rbp + 0x1e0], r13
lea rax, [rbp + 0x188]
mov qword [rbp + 0x150], rax
lea rax, [rbp + 0x188]
mov qword [rbp + 0x1b0], rax
lea rax, [rbp + 0x1c8]
mov qword [rbp + 0x160], rax
test r14, r14
jne 0x1400cdb73
test rsi, rsi
jne 0x1400cdc7b
mov rdx, rsi
mov rcx, r14
call fcn.14004b3f0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], rsi
mov r9, r14
mov r8d, eax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14004b720
test al, al
je 0x1400cdc7b
mov rax, qword [rbp + 0x158]
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
cmovne rax, rdx
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x1d8], rdx
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x1400cdc7b
mov rbx, qword [rbp + 0x1a8]
test rbx, rbx
je 0x1400cdbf0
mov rbx, qword [rbx + 0x28]
jmp 0x1400cdbf3
mov rbx, r13
lea rcx, [rbp + 0x1c8]
mov qword [rbp], rcx
mov qword [rbp + 8], r13
mov dword [rbp + 0x10], r13d
movzx esi, byte [rax + rdx - 1]
mov byte [rax + rdx - 1], 0
cmp byte [rdx], 0xef
jne 0x1400cdc25
cmp byte [rdx + 1], 0xbb
jne 0x1400cdc25
cmp byte [rdx + 2], 0xbf
jne 0x1400cdc25
add rdx, 3
mov byte [rsp + 0x20], sil
mov r9d, reloc.msi.dll_MsiRecordReadStream
lea r8, [rbp + 0x188]
lea rcx, [rbp]
call fcn.14004c8e0
mov edx, dword [rbp + 0x10]
test edx, edx
jne 0x1400cdc7b
cmp sil, 0x3c
je 0x1400cdc7b
test rbx, rbx
je 0x1400cdc58
mov rcx, qword [rbx + 0x30]
jmp 0x1400cdc5f
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
je 0x1400cdc7b
mov eax, dword [rcx]
and al, 0xf
cmp al, 2
je 0x1400cdc77
mov rcx, qword [rcx + 0x30]
test rcx, rcx
jne 0x1400cdc64
jmp 0x1400cdc7b
test edx, edx
je 0x1400cdcb7
lea rsi, [0x14024fa68]
mov rcx, qword [0x14024fa68]
cmp rcx, rsi
je 0x1400cdcaf
test byte [rcx + 0x1c], 0x10
je 0x1400cdcaf
cmp byte [rcx + 0x19], 2
jb 0x1400cdcaf
mov edx, 0xa
lea r8, [0x1401ff108]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb30
mov r15b, 1
jmp 0x1400ce627
mov r10d, dword [rsp + 0x50]
test edi, edi
je 0x1400cdfa9
sub edi, 1
je 0x1400cdf07
sub edi, 1
je 0x1400cdd09
cmp edi, 1
jne 0x1400ce627
mov rax, qword [0x1402574c0]
mov rcx, qword [rax + 0x488]
add rcx, 0x3c8
mov qword [rsp + 0x20], r13
lea r9d, [rdi + 3]
xor r8d, r8d
mov edx, r10d
call fcn.140147b00
jmp 0x1400ce627
mov edi, 0xfffffffe
mov r12d, 0xfff
xor r8d, r8d
lea rdx, str._PARAMS_SCHEDULED_TASK_DATA_NODE__NAMESCAN_LEVEL_or__NAMEscan_level___VALUE
lea rcx, [rbp + 0xd8]
call fcn.14005ecc0
nop
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], r13
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0xd8]
call fcn.14005f110
nop
mov rcx, qword [rbp + 0xd8]
test rcx, rcx
je 0x1400cdd60
call fcn.14005e940
mov rax, qword [rbp + 0x50]
cmp qword [rbp + 0x48], 0
jne 0x1400cdd70
test rax, rax
je 0x1400cdd8d
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xa8]
call fcn.1400c72c0
cmp byte [rax + 4], 0
je 0x1400cdd8d
mov r12d, dword [rax]
xor r8d, r8d
lea rdx, str._PARAMS_SCHEDULED_TASK_DATA_NODE__NAMETHREAD_PRIORITY_or__NAMEthread_priority___VALUE
lea rcx, [rbp + 0xf0]
call fcn.14005ecc0
nop
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], r13
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0xf0]
call fcn.14005f110
nop
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x1400cddd9
call fcn.14005e940
mov rax, qword [rbp + 0x70]
cmp qword [rbp + 0x68], 0
jne 0x1400cdde9
test rax, rax
je 0x1400cde02
mov qword [rbp - 0x50], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400c72c0
cmp byte [rax + 4], 0
je 0x1400cde02
mov edi, dword [rax]
mov rax, qword [0x1402574c0]
mov r13, qword [rax + 0x488]
lea rsi, [r13 + 0x40]
lea r14, [rsi + 0x20]
mov qword [rbp + 0x78], r14
mov byte [rbp + 0x80], 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp byte [rsi + 0x18], 0
je 0x1400cde44
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r13d, r13d
jmp 0x1400ce627
mov rax, qword [rsi + 0x70]
cmp qword [rsi + 0x10], rax
ja 0x1400cde57
mov rcx, rsi
call fcn.14007f530
nop
mov ecx, 0x28
call fcn.1401c51ec
mov qword [rbp - 0x30], rax
lea rcx, vtable.ThreadPool::Runnable.0
mov qword [rax], rcx
lea rcx, method.ThreadPool::RunnableImpl_class_std::_Binder_struct_std::_Unforced__void_____thiscall_CCCPlug::__unsigned_int___class_CCCPlug____ptr64__int__.virtual_0
mov qword [rax], rcx
lea rcx, [0x14012cfb0]
mov qword [rax + 8], rcx
mov ecx, dword [rbp + 0xac0]
mov dword [rax + 0x10], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x14], ecx
mov dword [rax + 0x18], edi
mov dword [rax + 0x1c], r12d
mov qword [rax + 0x20], r13
mov qword [rbp - 0x48], rax
mov edi, 4
mov dword [rsp + 0x58], edi
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x50]
call fcn.140081120
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400cdee0
mov rax, qword [rcx]
lea edx, [rdi - 3]
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
and edi, 0xfffffffb
mov dword [rsp + 0x58], edi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rbp + 0x80], 0
lea rcx, [rsi + 0x48]
call qword [case.0x1401b9e8b.4]
nop
jmp 0x1400ce627
call fcn.140196e70
mov rcx, qword [0x1402574c0]
mov rcx, qword [rcx + 0x488]
test al, al
je 0x1400cdf9f
call fcn.140104980
mov rax, qword [0x1402574c0]
mov rcx, qword [rax + 0x488]
mov rbx, qword [rcx + 0x338]
mov rdi, qword [rcx + 0x340]
cmp rbx, rdi
je 0x1400ce627
nop dword [rax]
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x28]
cmp eax, 2
je 0x1400cdf68
mov eax, dword [rcx + 0x28]
cmp eax, 4
je 0x1400cdf91
mov eax, dword [rcx + 0x28]
jmp 0x1400cdf91
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0x1003b
xor r8d, r8d
xor edx, edx
call fcn.140116e90
add rbx, 8
cmp rbx, rdi
jne 0x1400cdf50
jmp 0x1400ce627
call fcn.140106420
jmp 0x1400ce627
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x640]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x850]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x430]
call sub.VCRUNTIME140.dll_memset
mov rbx, qword [rbp + 0x150]
test rbx, rbx
je 0x1400ce624
mov rbx, qword [rbx + 0x20]
test rbx, rbx
je 0x1400ce624
lea r8, str.PARAMS
nop dword [rax]
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400ce070
mov rcx, r13
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400ce070
cmp rcx, 7
jne 0x1400ce030
mov rbx, qword [rbx + 0x20]
test rbx, rbx
je 0x1400ce624
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x1400ce06a
lea rcx, str.SCHEDULED_TASK
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x1400ce07f
mov rbx, qword [rbx + 0x30]
jmp 0x1400ce048
mov rbx, qword [rbx + 0x30]
test rbx, rbx
je 0x1400ce624
jmp 0x1400ce020
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1400ce624
lea r9, str.DATA
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x1400ce137
mov rcx, r13
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400ce137
cmp rcx, 5
jne 0x1400ce0b0
xor r8d, r8d
lea rdx, str.PARAMS_SCHEDULED_TASK_DATA_NODE__NAMEFILENAME___VALUE
lea rcx, [rbp + 0x108]
call fcn.14005ecc0
nop
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], r13
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x108]
call fcn.14005f110
nop
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x1400ce11c
call fcn.14005e940
mov rax, qword [rbp + 0xa0]
cmp qword [rbp + 0x98], 0
jne 0x1400ce149
test rax, rax
jne 0x1400ce14e
jmp 0x1400ce624
mov r8, qword [r8 + 0x30]
test r8, r8
je 0x1400ce624
jmp 0x1400ce093
test rax, rax
je 0x1400ce157
mov r8, qword [rax + 0x10]
test r8, r8
jne 0x1400ce15e
lea r8, [0x1401ef308]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x430]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [rbp + 0x636], r13w
cmp eax, 0x459
jne 0x1400ce198
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x104
lea rdx, [rbp + 0x640]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r8d, 0x104
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x640]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, 0x103
test eax, eax
jne 0x1400ce21e
lea rcx, [rbp + 0x640]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400ce1e3
lea r8, [rbp + 0x640]
mov edx, 0x104
lea rcx, [rbp + 0x220]
cmp rax, rdx
jae 0x1400ce20d
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400ce21e
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x426], r13w
lea rax, [rbp + 0x220]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1400ce230
lea rax, [rcx + 1]
cmp rax, 0x104
jae 0x1400ce28f
lea rax, [rcx + 2]
lea r8, [0x1401ff3c8]
mov edx, 0x104
cmp rax, rdx
ja 0x1400ce26a
lea rcx, [rbp + 0x220]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x1400ce28f
lfence
sub rbx, rcx
sub rdx, rcx
lea rax, [rbp + 0x220]
lea rcx, [rax + rcx*2]
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [rbp + 0x426], r13w
xor r8d, r8d
lea rdx, str.PARAMS_SCHEDULED_TASK_DATA_NODE__NAMECMDLINE___VALUE
lea rcx, [rbp + 0x120]
call fcn.14005ecc0
nop
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r13
lea r8, [rbp + 0x18]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x120]
call fcn.14005f110
nop
mov rcx, qword [rbp + 0x120]
test rcx, rcx
je 0x1400ce2db
call fcn.14005e940
mov rax, qword [rbp - 0x38]
cmp qword [rbp - 0x40], 0
jne 0x1400ce2f0
test rax, rax
jne 0x1400ce2f5
jmp 0x1400ce624
test rax, rax
je 0x1400ce2fe
mov r8, qword [rax + 0x10]
test r8, r8
jne 0x1400ce305
lea r8, [0x1401ef308]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x430]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [rbp + 0x636], r13w
cmp eax, 0x459
jne 0x1400ce33f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp + 0x220]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400ce350
mov ebx, 0x104
sub ebx, eax
xor edx, edx
lea rcx, [rbp + 0x220]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, str.PARAMS_SCHEDULED_TASK_DATA_NODE__NAMEDIRECTORY___VALUE
lea rcx, [rbp + 0x138]
call fcn.14005ecc0
nop
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], r13
lea r8, [rbp + 0x28]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x138]
call fcn.14005f110
nop
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400ce3cf
call fcn.14005e940
mov rax, qword [rbp - 0x20]
cmp qword [rbp - 0x28], 0
jne 0x1400ce3e4
test rax, rax
jne 0x1400ce3e9
jmp 0x1400ce624
test rax, rax
je 0x1400ce3f2
mov r8, qword [rax + 0x10]
test r8, r8
jne 0x1400ce3f9
lea r8, [0x1401ef308]
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x430]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov word [rbp + 0x636], r13w
cmp eax, 0x459
jne 0x1400ce433
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x104
lea rdx, [rbp + 0x850]
lea rcx, [rbp + 0x430]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp word [rbp + 0x640], 0
je 0x1400ce624
lea rax, [rbp + 0x640]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x220]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x850]
mov qword [rbp - 8], rax
mov ecx, reloc.WS2_32.dll_ntohs
call fcn.1401adb30
mov r8, rax
lea rsi, [0x14024fa68]
test rax, rax
je 0x1400ce51c
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rbp - 0x70]
call fcn.140027290
nop
mov rdx, r8
lea rcx, [rbp - 0x18]
call fcn.1400ce6f0
test al, al
je 0x1400ce4da
cmp byte [rbp - 0x70], 0
jne 0x1400cdcaf
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
call qword [case.0x14003c8e9.0]
mov r15b, 1
jmp 0x1400ce627
mov rcx, qword [0x14024fa68]
cmp rcx, rsi
je 0x1400ce508
test byte [rcx + 0x1c], 0x10
je 0x1400ce508
cmp byte [rcx + 0x19], 2
jb 0x1400ce508
mov edx, reloc.WS2_32.dll_inet_ntoa
lea r8, [0x1401ff108]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb30
nop
cmp byte [rbp - 0x70], 0
jne 0x1400ce51c
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x68]
call qword [case.0x14003c8e9.0]
mov ecx, 4
call fcn.1401adb30
mov rbx, rax
test rax, rax
je 0x1400ce536
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x1400ce539
mov rbx, r13
mov qword [rbp + 0xb8], rbx
call qword [case.0x1401ba071.94]
cmp eax, 0xffffffff
je 0x1400ce60b
mov qword [rsp + 0x50], r13
lea rdx, [rsp + 0x50]
mov ecx, eax
call fcn.1401bf2f0
test eax, eax
je 0x1400ce5dd
mov r8, qword [rsp + 0x50]
mov rdx, qword [case.0x1401b9e8b.6]
lea rcx, [rsp + 0x78]
call fcn.140027290
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x18]
call fcn.1400ce6f0
nop
test al, al
je 0x1400ce5c6
cmp byte [rsp + 0x78], 0
jne 0x1400ce5a4
mov rcx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
call qword [case.0x14003c8e9.0]
nop
test rbx, rbx
je 0x1400cdcaf
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
mov r15b, 1
jmp 0x1400ce627
cmp byte [rsp + 0x78], 0
jne 0x1400ce60b
mov rcx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x80]
call qword [case.0x14003c8e9.0]
jmp 0x1400ce60b
mov rcx, qword [0x14024fa68]
cmp rcx, rsi
je 0x1400ce60b
test byte [rcx + 0x1c], 0x10
je 0x1400ce60b
cmp byte [rcx + 0x19], 2
jb 0x1400ce60b
mov edx, reloc.WS2_32.dll_listen
lea r8, [0x1401ff108]
mov rcx, qword [rcx + 0x10]
call fcn.14008eb30
nop
test rbx, rbx
je 0x1400ce624
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov rcx, rbx
call qword [case.0x1401b9e8b.6]
xor r15b, r15b
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x1400ce647
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov qword [rbp + 0x158], r13
mov rcx, qword [rbp + 0x150]
mov rbx, qword [rcx + 0x58]
test rbx, rbx
je 0x1400ce67c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400ce66c
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400ce657
mov rcx, qword [rbp + 0x150]
mov rax, qword [rcx]
shr rax, 8
sub rcx, rax
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400ce6a9
nop
mov rbx, qword [rcx + 0x10]
mov rax, qword [0x14024fa58]
call qword [case.0x14003c8e9.0]
mov rcx, rbx
test rbx, rbx
jne 0x1400ce690
movzx eax, r15b
mov qword [rbp + 0x150], r13
mov rcx, qword [rbp + 0xa60]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0xb70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret