Function at 0x180004a20
Capabilities:
Check if file exists
Get disk information
Impersonate user
Initialize winsock library
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x16c8]
mov eax, 0x17c8
call fcn.180012f20
sub rsp, rax
mov rax, qword [0x180019018]
xor rax, rsp
mov qword [rbp + 0x16b0], rax
movups xmm0, xmmword [0x180015178]
mov al, byte [0x180015188]
mov rbx, r8
mov r15, rdx
mov qword [rbp - 0x58], rcx
xor edx, edx
mov qword [rsp + 0x68], r9
mov r8d, 0x208
mov byte [rbp + 0xa40], al
lea rcx, [rbp + 0x1080]
movups xmmword [rbp + 0xa30], xmm0
call sub.msvcrt.dll_memset
xor esi, esi
mov qword [rbp - 0x78], rsi
mov r13d, esi
mov qword [rsp + 0x78], rsi
mov r12d, esi
mov dword [rsp + 0x64], esi
mov dword [rsp + 0x60], esi
mov rcx, qword [section..data]
lea r14, section..data
mov edi, dword [rbp + 0x1730]
cmp rcx, r14
je 0x180004ae4
test byte [rcx + 0x1c], 1
je 0x180004ae4
mov eax, dword [r15 + 4]
lea r9, [rbp + 0xa30]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call fcn.180009540
mov ecx, 0x101
mov word [rbp + 0x14a0], si
lea rdx, [rbp + 0x890]
mov word [rbp + 0xc56], si
call qword [sym.imp.WSOCK32.dll_WSAStartup]
nop dword [rax + rax]
test eax, eax
je 0x180004b18
mov ebx, 0x4c6
jmp 0x180004c5d
lea rcx, [rsp + 0x60]
call fcn.180008d7c
test eax, eax
js 0x180005c29
cmp dword [rsp + 0x60], esi
je 0x180005c29
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x838
call sub.msvcrt.dll_memset
mov rax, qword [r15 + 0x10]
test rax, rax
je 0x180004b90
mov rcx, qword [section..data]
cmp rcx, r14
je 0x180004b88
test byte [rcx + 0x1c], 8
je 0x180004b88
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x82
mov qword [rsp + 0x20], rax
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
mov r12d, 1
jmp 0x180004b97
mov rcx, qword [section..data]
cmp rcx, r14
je 0x180004bc7
test byte [rcx + 0x1c], 8
je 0x180004bc7
mov rax, qword [r15 + 0x18]
lea r9, [rbp + 0xa30]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0x83
mov qword [rsp + 0x20], rax
call fcn.1800095d4
mov r8, qword [r15 + 0x18]
lea rcx, [rbp + 0xa50]
mov r9d, 0x103
lea edx, [r9 + 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
mov eax, 0x5c
cmp word [rbp + 0xa50], ax
jne 0x180004d53
lea r14, [rbp + 0xa54]
mov qword [rbp - 0x80], r14
cmp word [rbp + 0xa52], ax
je 0x180004cb5
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x180004c45
test byte [rcx + 0x1c], 2
je 0x180004c45
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x28]
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, 0x43
lea r14, section..data
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r14
je 0x180004c8f
test byte [rcx + 0x1c], 2
je 0x180004c8f
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xb0
mov dword [rsp + 0x20], ebx
lea r8, [0x1800153c0]
call fcn.180009b34
mov eax, ebx
mov rcx, qword [rbp + 0x16b0]
xor rcx, rsp
call fcn.180001570
add rsp, 0x17c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, [0x180014f34]
lea rcx, [rbp + 0xa54]
call qword [sym.imp.msvcrt.dll_wcspbrk]
nop dword [rax + rax]
test rax, rax
jne 0x180004e01
test r12d, r12d
je 0x180004d28
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004d12
test byte [rcx + 0x1c], 2
je 0x180004d12
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x85
lea r8, [0x1800153c0]
call fcn.180009468
lea rdx, [rbp + 0xa54]
mov ebx, 0x43
call fcn.1800048f8
jmp 0x180004c51
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180005bdb
test byte [rcx + 0x1c], 4
je 0x180005bdb
mov edx, 0x86
jmp 0x180005bc4
lea r14, [rbp + 0xa50]
mov edx, 0x3a
lea rcx, [rbp + 0xa50]
mov qword [rbp - 0x80], r14
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x180004dec
test r12d, r12d
je 0x180004dc1
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004db5
test byte [rcx + 0x1c], 2
je 0x180004db5
mov edx, 0x87
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.180009468
lea rdx, [rbp + 0xa50]
jmp 0x180004d19
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180005bdb
test byte [rcx + 0x1c], 4
je 0x180005bdb
mov edx, 0x88
jmp 0x180005bc4
mov word [rax], si
mov ecx, 0x2f
add rax, 2
cmp word [rax], cx
jne 0x180005b71
mov word [rax], si
mov edx, 0x2f
lea rsi, [rax + 2]
mov rcx, rsi
mov qword [rbp - 0x50], rsi
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x180004e53
mov edi, 0x2f
lea r14d, [rdi + 0x2d]
mov edx, edi
mov word [rax], r14w
lea rcx, [rax + 2]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
jne 0x180004e2e
mov edi, dword [rbp + 0x1730]
mov r14, qword [rbp - 0x80]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180004e8b
test byte [rcx + 0x1c], 8
je 0x180004e8b
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x8c
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r14
call fcn.180009688
xor eax, eax
test r12d, r12d
je 0x180004e98
mov r8, qword [r15 + 0x10]
jmp 0x180004e9b
mov r8, rax
mov r9, r14
mov qword [rsp + 0x20], rsi
lea rcx, [rbp + 0xc60]
call fcn.180008b64
xor esi, esi
test eax, eax
js 0x180004c45
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180004f08
test byte [rcx + 0x1c], 8
je 0x180004f08
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0xc60]
mov edx, 0x8d
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
lea rax, section..data
and edi, 8
mov r14d, esi
mov dword [rbp + 0x1730], edi
setne r14b
cmp rcx, rax
je 0x180004f4c
test byte [rcx + 0x1c], 8
je 0x180004f4c
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x8e
mov dword [rsp + 0x28], r14d
lea r8, [0x1800153c0]
mov dword [rsp + 0x20], 3
call fcn.180009bac
lea rcx, [0x180014f80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x180004fb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004fae
test byte [rcx + 0x1c], 2
je 0x180004fae
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x8f
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.180009b34
call fcn.180002370
jmp 0x180004c51
test rbx, rbx
jne 0x180004fdd
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180005020
test byte [rcx + 0x1c], 4
je 0x180005020
mov edx, 0x90
jmp 0x180004ffb
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180005020
test byte [rcx + 0x1c], 8
je 0x180005020
mov edx, 0x91
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.180009468
mov rcx, qword [section..data]
lea rax, section..data
mov r8, qword [rsp + 0x68]
test r8, r8
jne 0x18000505e
cmp rcx, rax
je 0x1800051f2
test byte [rcx + 0x1c], 4
je 0x1800051f2
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x92
lea r8, [0x1800153c0]
call fcn.180009468
jmp 0x1800051f2
mov edx, 0x104
lea rcx, [rbp + 0x1080]
lea r9d, [rdx - 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1800050b9
test byte [rcx + 0x1c], 8
je 0x1800050b9
mov rax, qword [rsp + 0x68]
lea r9, [rbp + 0xa30]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0x93
mov qword [rsp + 0x20], rax
call fcn.1800095d4
movzx eax, word [rbp + 0x1080]
lea rcx, [rbp + 0x1080]
test ax, ax
je 0x1800050e2
mov edi, 0x5c
cmp ax, di
jne 0x1800050e2
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x1800050d1
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
mov rdi, rax
xor eax, eax
test rdi, rdi
je 0x1800051ec
mov r9d, 0x103
mov word [rdi], ax
add rdi, 2
lea r8, [rbp + 0x1080]
lea rcx, [rbp + 0x478]
lea edx, [r9 + 1]
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x18000516b
test byte [rcx + 0x1c], 8
je 0x18000516b
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x478]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0xa30]
mov edx, 0x94
mov qword [rsp + 0x20], rdi
call fcn.180009688
lea rax, [rsp + 0x70]
mov r8, rbx
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x1080]
xor eax, eax
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea r9d, [rax + 3]
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
nop dword [rax + rax]
xor edi, edi
test eax, eax
je 0x1800053ba
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x1800051ec
test byte [rcx + 0x1c], 8
je 0x1800051ec
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x96
mov dword [rsp + 0x20], edi
lea r8, [0x1800153c0]
call fcn.1800094c8
mov edi, dword [rbp + 0x1730]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x14a0]
mov qword [rbp + 0x50], rcx
xor edx, edx
lea rcx, [rbp + 0x1290]
mov qword [rbp + 0x58], rbx
mov r8d, 0x208
mov qword [rbp], rax
mov dword [rbp + 8], 0x104
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x1290]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
je 0x180005331
lea rcx, [rbp + 0x1290]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x180005255
cmp eax, 9
jb 0x180005331
add eax, 0xfffffff7
lea rdx, str.mount.exe
mov ecx, eax
mov r8d, 9
lea rax, [rbp + 0x1290]
lea rcx, [rax + rcx*2]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x180005331
lea r13d, [rax + 1]
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftClientForNFSCurrentVersionMountUtilityMount
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x180005331
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.MountAsAnonymousUser
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x60], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x180005320
cmp dword [rsp + 0x60], ebx
lea eax, [r13 + 0xf]
cmovne r13d, eax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rax, qword [r15 + 0x10]
lea r9, [rbp - 0x70]
mov rdx, qword [rbp - 0x58]
lea r8, [rbp]
mov qword [rbp - 0x68], rax
mov rcx, rsi
mov rax, qword [r15 + 0x18]
mov qword [rbp - 0x60], rax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x70], eax
lea rax, [rbp + 0x50]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.18000c874
mov esi, 0x4c7
mov ebx, eax
cmp eax, esi
jne 0x18000540a
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x1800053b3
test byte [rcx + 0x1c], 2
je 0x1800053b3
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x9f
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, esi
jmp 0x180004c51
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x1800053f7
test byte [rcx + 0x1c], 2
je 0x1800053f7
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x95
mov dword [rsp + 0x20], 0x51f
lea r8, [0x1800153c0]
call fcn.1800094c8
neg rbx
sbb ebx, ebx
and ebx, 0x4c9
add ebx, 0x56
jmp 0x180004c51
cmp ebx, 0x52e
jne 0x180005474
test edi, edi
jne 0x18000541e
lea eax, [rdi + 0x10]
cmp r13d, eax
jne 0x18000547b
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x18000545a
test byte [rcx + 0x1c], 2
je 0x18000545a
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa0
lea r8, [0x1800153c0]
call fcn.180009468
mov rcx, qword [section..data]
xor r13d, r13d
mov qword [rbp + 0x58], r13
mov qword [rbp + 0x50], r13
mov word [rbp + 0x268], r13w
mov word [rbp + 0x60], r13w
jmp 0x1800054cf
xor r13d, r13d
test ebx, ebx
je 0x1800054c1
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004c51
test byte [rcx + 0x1c], 2
je 0x180004c51
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa1
mov dword [rsp + 0x20], ebx
lea r8, [0x1800153c0]
call fcn.180009b34
jmp 0x180004c51
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x180005509
test byte [rcx + 0x1c], 8
je 0x180005509
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0x478]
mov edx, 0xa2
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.1800095d4
mov rcx, qword [section..data]
mov eax, dword [rbp + 0x470]
cmp eax, 5
jne 0x180005743
cmp rcx, rdi
je 0x180005538
test byte [rcx + 0x1c], 8
je 0x180005538
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800153c0]
mov edx, 0xa3
call fcn.18000256c
lea rdx, [0x180014f30]
lea rcx, [rbp + 0x60]
call qword [sym.imp.msvcrt.dll_wcsstr]
nop dword [rax + rax]
mov edx, 0x104
lea rcx, [rbp + 0xe70]
mov rdi, rax
test rax, rax
jne 0x18000557c
lea r8, [0x1800152c4]
lea rbx, [rbp + 0x60]
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
jmp 0x1800055b6
lea rbx, [rax + 2]
lea rax, [rbp + 0x60]
sub rdi, rax
lea r8, [rbp + 0x60]
sar rdi, 1
mov r9, rdi
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
nop dword [rax + rax]
add rdi, rdi
cmp rdi, 0x208
jae 0x180005c61
mov word [rbp + rdi + 0xe70], r13w
lea rax, [rsp + 0x64]
mov rdx, rbx
mov qword [rsp + 0x38], rax
lea r8, [rbp + 0x268]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0xe70]
mov eax, dword [rbp + 0x470]
mov dword [rsp + 0x28], eax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.180002678
mov ebx, eax
test eax, eax
je 0x18000566d
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180005632
test byte [rcx + 0x1c], 2
je 0x180005632
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa4
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.180009b34
mov rcx, qword [0x180019628]
test rcx, rcx
je 0x180004c51
cmp dword [0x180019620], r13d
jl 0x180004c51
xor r9d, r9d
lea rdx, [0x180014f40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_EventWrite]
nop dword [rax + rax]
jmp 0x180004c51
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1800056a7
test byte [rcx + 0x1c], 8
je 0x1800056a7
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa5
mov dword [rsp + 0x20], r13d
lea r8, [0x1800153c0]
call fcn.180009b34
mov rsi, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x64]
test r12d, r12d
je 0x180005837
mov rcx, qword [r15 + 0x10]
lea rdx, [rbp + 0xe70]
mov r8d, 0x80
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x1800057f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x180005837
mov rax, qword [section..data]
cmp rax, rdi
je 0x180005739
test byte [rax + 0x1c], 2
je 0x180005739
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea r9, [rbp + 0xa30]
mov edx, 0xa7
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
mov rcx, qword [rcx + 0x10]
call fcn.1800094c8
mov ebx, 0x55
jmp 0x180005af8
lea rcx, [rsp + 0x64]
mov qword [rsp + 0x38], rcx
lea r8, [rbp + 0x268]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea rdx, [rbp + 0x60]
mov dword [rsp + 0x28], eax
lea rcx, [rbp + 0x680]
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.180002678
test eax, eax
je 0x1800056a7
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x1800057b5
test byte [rcx + 0x1c], 2
je 0x1800057b5
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa6
mov dword [rsp + 0x20], ebx
lea r8, [0x1800153c0]
call fcn.180009b34
mov rcx, qword [0x180019628]
test rcx, rcx
je 0x180004c4a
cmp dword [0x180019620], r13d
jl 0x180004c4a
xor r9d, r9d
lea rdx, [0x180014f40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_EventWrite]
nop dword [rax + rax]
jmp 0x180004c4a
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005739
test byte [rcx + 0x1c], 2
je 0x180005739
mov rcx, qword [rcx + 0x10]
lea rax, [rbp + 0xe70]
mov edx, 0xa8
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.1800095d4
jmp 0x180005739
lea rdx, [rbp + 0xc60]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
nop dword [rax + rax]
mov dword [rsp + 0x50], r14d
lea r9, [rbp + 0x40]
mov qword [rsp + 0x48], rsi
lea r8, [rbp - 0x38]
mov dword [rsp + 0x40], 0xa0
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x38], 1
mov eax, 0xfffe
add word [rbp - 0x46], ax
xorps xmm0, xmm0
lea rax, [rbp - 0x48]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
mov edx, 0x100000
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x38], 0x30
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x20], 0x40
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
nop dword [rax + rax]
test eax, eax
je 0x180005918
mov ecx, eax
call qword [sym.imp.ADVAPI32.dll_LsaNtStatusToWinError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005af8
test byte [rcx + 0x1c], 2
je 0x180005af8
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xa9
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.180009b34
jmp 0x180005af8
xor eax, eax
mov rcx, r14
mov rdi, rsi
rep stosb byte [rdi], al
test r12d, r12d
je 0x1800059ca
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x180005960
test byte [rcx + 0x1c], 8
je 0x180005960
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xaa
lea r8, [0x1800153c0]
call fcn.180009468
mov rdx, qword [r15 + 0x10]
lea r8, [rbp + 0xc60]
mov ecx, 9
call qword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
nop dword [rax + rax]
test eax, eax
jne 0x1800059d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005a41
test byte [rcx + 0x1c], 2
je 0x180005a41
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xab
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.180009b34
jmp 0x180005a41
lea rdi, section..data
mov eax, dword [rbp + 0x1c]
lea r9, [rbp + 0xc60]
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x80]
mov rcx, qword [r15 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.180009e8c
mov ebx, eax
test eax, eax
je 0x180005b16
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005a2c
test byte [rcx + 0x1c], 2
je 0x180005a2c
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xac
mov dword [rsp + 0x20], eax
lea r8, [0x1800153c0]
call fcn.180009b34
test r12d, r12d
je 0x180005a41
mov rcx, qword [r15 + 0x10]
lea rdx, [rbp + 0xc60]
call fcn.1800090ac
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test r12d, r12d
je 0x180005a5c
mov r8, qword [r15 + 0x10]
jmp 0x180005a60
mov r8, qword [r15 + 0x18]
lea r9, [rbp + 0xc60]
mov edx, r12d
mov ecx, 1
call fcn.18000b238
test eax, eax
je 0x180005aa6
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005aa6
test byte [rcx + 0x1c], 2
je 0x180005aa6
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xae
lea r8, [0x1800153c0]
call fcn.180009468
mov rax, qword [r15 + 0x10]
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov rax, qword [r15 + 0x18]
mov qword [rbp - 0x60], rax
mov eax, dword [r15 + 4]
mov dword [rbp - 0x70], eax
call fcn.18000d7cc
test eax, eax
je 0x180005af8
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005af8
test byte [rcx + 0x1c], 2
je 0x180005af8
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xaf
lea r8, [0x1800153c0]
call fcn.180009468
xor eax, eax
mov rcx, r14
mov rdi, rsi
rep stosb byte [rdi], al
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x180004c4a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, rdi
je 0x180005b63
test byte [rcx + 0x1c], 1
je 0x180005b63
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0xad
lea r8, [0x1800153c0]
call fcn.180009468
call qword [sym.imp.WSOCK32.dll_WSACleanup]
nop dword [rax + rax]
jmp 0x180005bdb
cmp word [rax], si
jne 0x180005be2
test r12d, r12d
je 0x180005ba6
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004db5
test byte [rcx + 0x1c], 2
je 0x180004db5
mov edx, 0x89
jmp 0x180004d9e
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x180005bdb
test byte [rcx + 0x1c], 4
je 0x180005bdb
mov edx, 0x8a
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
lea r8, [0x1800153c0]
call fcn.180009468
xor eax, eax
jmp 0x180004c91
mov rcx, qword [section..data]
lea r14, section..data
cmp rcx, r14
je 0x180004db5
test byte [rcx + 0x1c], 2
je 0x180004db5
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x8b
mov qword [rsp + 0x20], rax
lea r8, [0x1800153c0]
call fcn.1800095d4
jmp 0x180004db5
mov rcx, qword [section..data]
cmp rcx, r14
je 0x180005c57
test byte [rcx + 0x1c], 2
je 0x180005c57
mov rcx, qword [rcx + 0x10]
lea r9, [rbp + 0xa30]
mov edx, 0x81
lea r8, [0x1800153c0]
call fcn.180009468
mov ebx, 0x4c6
jmp 0x180004c51
call fcn.180001748
int3