Function at 0x1400353e0
Capabilities:
Check if file exists
Get hostname

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x188
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.140007200
nop
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x68]
call fcn.140007200
nop
lea rcx, [rsp + 0x30]
call fcn.140004410
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140029540
test eax, eax
jne 0x14003546b
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x22]
jmp 0x140035ce1
mov dword [rsp + 0x38], 0xffffffff
mov r8d, 8
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x30]
call fcn.1400581c0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea rdx, [0x1402e10c0]
mov rcx, qword [rsp + 0xe8]
call fcn.1400260a0
test eax, eax
jne 0x1400354d5
mov dword [rsp + 0x70], 1
jmp 0x1400354dd
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0xf0]
call fcn.1400031c0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x140035519
mov r8d, 8
lea rdx, [0x1402e10bc]
lea rcx, [rsp + 0x30]
call fcn.1400066b0
mov dword [rsp + 0x38], eax
jmp 0x140035534
mov r8d, 2
lea rdx, [0x1402e10d4]
lea rcx, [rsp + 0x30]
call fcn.1400066b0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x14003556a
mov byte [rsp + 0x24], 0
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x24]
jmp 0x140035ce1
mov eax, dword [rsp + 0x38]
sub eax, 2
mov r9d, eax
mov r8d, 2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006580
nop
lea rdx, [0x1402e10d8]
lea rcx, [rsp + 0x40]
call fcn.140054c10
movzx eax, al
test eax, eax
jne 0x1400355d6
lea rdx, [0x1402e10f0]
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
je 0x1400355d6
lea rdx, [0x1402e1108]
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
je 0x1400355d6
mov dword [rsp + 0x74], 0
jmp 0x1400355de
mov dword [rsp + 0x74], 1
movzx eax, byte [rsp + 0x74]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140035692
lea rcx, [rsp + 0x90]
call fcn.140004410
nop
mov dword [rsp + 0x58], 0
lea r8, [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x58]
lea rcx, [rsp + 0x90]
call fcn.1400046b0
lea r8, [rsp + 0x58]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x90]
call fcn.1400118c0
lea rcx, [rsp + 0x90]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
jne 0x140035674
mov dword [rsp + 0x78], 1
jmp 0x14003567c
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x90]
call fcn.1400031c0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140035743
lea rcx, [rsp + 0x98]
call fcn.140004410
nop
mov dword [rsp + 0x5c], 0
lea r8, [rsp + 0x5c]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x98]
call fcn.1400046b0
lea r8, [rsp + 0x5c]
mov rdx, rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0x98]
call fcn.1400118c0
lea rcx, [rsp + 0x98]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
jne 0x140035725
mov dword [rsp + 0x7c], 1
jmp 0x14003572d
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x98]
call fcn.1400031c0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400357fd
lea rcx, [rsp + 0xa0]
call fcn.140004410
nop
mov dword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
xor edx, edx
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.1400046b0
lea r8, [rsp + 0x60]
mov rdx, rax
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, 0xffffffff
lea rcx, [rsp + 0xa0]
call fcn.1400118c0
lea rcx, [rsp + 0xa0]
call fcn.140003250
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
jne 0x1400357d9
mov dword [rsp + 0x80], 1
jmp 0x1400357e4
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0xa0]
call fcn.1400031c0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400359bb
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.1400031a0
nop
lea rcx, [rsp + 0x160]
call fcn.1400031a0
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.140034f30
movzx eax, al
test eax, eax
je 0x1400359a0
lea rax, [rsp + 0x160]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140066060
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140066100
mov qword [rsp + 0xf8], rax
jmp 0x140035896
mov rax, qword [rsp + 0xa8]
add rax, 0x20
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0xa8], rax
je 0x1400358dc
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140035100
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.14006c410
jmp 0x140035882
lea rax, [rsp + reloc.COMCTL32.dll_DPA_Create]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140066060
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140066100
mov qword [rsp + 0x100], rax
jmp 0x14003592c
mov rax, qword [rsp + 0xb0]
add rax, 0x20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0xb0], rax
je 0x1400359a0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.140003570
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400260a0
test eax, eax
jne 0x140035979
mov dword [rsp + 0x84], 1
jmp 0x140035984
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14003599b
jmp 0x1400359a0
jmp 0x140035918
lea rcx, [rsp + 0x160]
call fcn.140003260
nop
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.140003260
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400359fe
mov byte [rsp + 0x25], 0
lea rcx, [rsp + 0x40]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x25]
jmp 0x140035ce1
lea rcx, [rsp + 0x30]
call fcn.140003fd0
mov ecx, dword [rsp + 0x38]
inc ecx
sub eax, ecx
mov r8d, eax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140058b70
nop
mov r8d, 1
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x48]
call fcn.140058b70
mov qword [rsp + 0x110], rax
lea rdx, [0x1402e10ec]
mov rcx, qword [rsp + 0x110]
call fcn.140054c10
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x118]
call fcn.1400031c0
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140035aca
lea rcx, [rsp + 0x48]
call fcn.140003fd0
dec eax
mov r8d, eax
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.1400581c0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x128], rax
mov rdx, qword [rsp + 0x128]
lea rcx, [rsp + 0x48]
call fcn.140007070
nop
lea rcx, [rsp + 0x130]
call fcn.1400031c0
lea rcx, [rsp + 0x48]
call fcn.1400078a0
lea r9, [rsp + 0xd0]
mov r8d, 0x1f7
mov rdx, rax
xor ecx, ecx
call sub.NETAPI32.dll_NetShareGetInfo
test eax, eax
je 0x140035b44
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400118c0
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x48]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x27]
jmp 0x140035ce1
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400118c0
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x88]
call fcn.140004170
nop
mov rcx, qword [rsp + 0xd0]
call sub.NETAPI32.dll_NetApiBufferFree
lea rcx, [rsp + 0x88]
call fcn.140003fd0
test eax, eax
jne 0x140035bde
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x88]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x28]
jmp 0x140035ce1
lea rdx, [0x1402e1104]
lea rcx, [rsp + 0x30]
call fcn.1400120e0
lea rdx, [0x1402e1134]
lea rcx, [rsp + 0x88]
call fcn.1400120e0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call fcn.140007070
lea rcx, [rsp + 0x88]
call fcn.140003250
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x30]
call fcn.140003250
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x190]
call fcn.140006760
mov byte [rsp + 0x21], 1
mov rcx, qword [rsp + 0x190]
call fcn.140003250
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140035c8f
mov byte [rsp + 0x21], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call fcn.140007070
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x88]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x48]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x30]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x68]
call fcn.1400031c0
nop
lea rcx, [rsp + 0x50]
call fcn.1400031c0
movzx eax, byte [rsp + 0x29]
add rsp, 0x188
ret