Function at 0x140026780
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.140004cb0
nop
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x68]
call fcn.140004cb0
nop
lea rcx, [rsp + 0x30]
call fcn.140004d40
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14001a8e0
test eax, eax
jne 0x14002680b
mov byte [rsp + 0x22], 0
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x22]
jmp 0x140027081
mov dword [rsp + 0x38], 0xffffffff
mov r8d, 8
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x30]
call fcn.140048770
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, [0x14013ac90]
mov rcx, qword [rsp + 0xe8]
call fcn.140047b80
test eax, eax
jne 0x140026875
mov dword [rsp + 0x70], 1
jmp 0x14002687d
mov dword [rsp + 0x70], 0
movzx eax, byte [rsp + 0x70]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0xf0]
call fcn.140001910
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x1400268b9
mov r8d, 8
lea rdx, [0x14013ac8c]
lea rcx, [rsp + 0x30]
call fcn.1400034e0
mov dword [rsp + 0x38], eax
jmp 0x1400268d4
mov r8d, 2
lea rdx, [0x14013aca4]
lea rcx, [rsp + 0x30]
call fcn.1400034e0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xffffffff
jne 0x14002690a
mov byte [rsp + 0x24], 0
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x24]
jmp 0x140027081
mov eax, dword [rsp + 0x38]
sub eax, 2
mov r9d, eax
mov r8d, 2
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140003ae0
nop
lea rdx, [0x14013aca8]
lea rcx, [rsp + 0x40]
call fcn.140045140
movzx eax, al
test eax, eax
jne 0x140026976
lea rdx, [0x14013acc0]
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
je 0x140026976
lea rdx, [0x14013acd8]
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
je 0x140026976
mov dword [rsp + 0x74], 0
jmp 0x14002697e
mov dword [rsp + 0x74], 1
movzx eax, byte [rsp + 0x74]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140026a32
lea rcx, [rsp + 0x90]
call fcn.140004d40
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.1400048e0
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.1400045e0
lea rcx, [rsp + 0x90]
call fcn.140004640
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
jne 0x140026a14
mov dword [rsp + 0x78], 1
jmp 0x140026a1c
mov dword [rsp + 0x78], 0
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x90]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140026ae3
lea rcx, [rsp + 0x98]
call fcn.140004d40
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.1400048e0
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.1400045e0
lea rcx, [rsp + 0x98]
call fcn.140004640
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
jne 0x140026ac5
mov dword [rsp + 0x7c], 1
jmp 0x140026acd
mov dword [rsp + 0x7c], 0
movzx eax, byte [rsp + 0x7c]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x98]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140026b9d
lea rcx, [rsp + 0xa0]
call fcn.140004d40
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.1400048e0
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.1400045e0
lea rcx, [rsp + 0xa0]
call fcn.140004640
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
jne 0x140026b79
mov dword [rsp + 0x80], 1
jmp 0x140026b84
mov dword [rsp + 0x80], 0
movzx eax, byte [rsp + 0x80]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0xa0]
call fcn.140001910
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140026d5b
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.14000fa50
nop
lea rcx, [rsp + 0x160]
call fcn.14000fa50
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.1400262d0
movzx eax, al
test eax, eax
je 0x140026d40
lea rax, [rsp + 0x160]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140017890
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1400178f0
mov qword [rsp + 0xf8], rax
jmp 0x140026c36
mov rax, qword [rsp + 0xa8]
add rax, 0x20
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xf8]
cmp qword [rsp + 0xa8], rax
je 0x140026c7c
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400264a0
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.140018240
jmp 0x140026c22
lea rax, [rsp + reloc.COMCTL32.dll_DPA_Create]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140017890
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400178f0
mov qword [rsp + 0x100], rax
jmp 0x140026ccc
mov rax, qword [rsp + 0xb0]
add rax, 0x20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
cmp qword [rsp + 0xb0], rax
je 0x140026d40
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x108], rax
mov rcx, qword [rsp + 0x108]
call fcn.140006930
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140047b80
test eax, eax
jne 0x140026d19
mov dword [rsp + 0x84], 1
jmp 0x140026d24
mov dword [rsp + 0x84], 0
movzx eax, byte [rsp + 0x84]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140026d3b
jmp 0x140026d40
jmp 0x140026cb8
lea rcx, [rsp + 0x160]
call fcn.14000f9d0
nop
lea rcx, [rsp + reloc.COMCTL32.dll_DPA_Create]
call fcn.14000f9d0
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140026d9e
mov byte [rsp + 0x25], 0
lea rcx, [rsp + 0x40]
call fcn.140001910
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x25]
jmp 0x140027081
lea rcx, [rsp + 0x30]
call fcn.140004a80
mov ecx, dword [rsp + 0x38]
inc ecx
sub eax, ecx
mov r8d, eax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140048f50
nop
mov r8d, 1
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0x48]
call fcn.140048f50
mov qword [rsp + 0x110], rax
lea rdx, [0x14013acbc]
mov rcx, qword [rsp + 0x110]
call fcn.140045140
mov byte [rsp + 0x26], al
lea rcx, [rsp + 0x118]
call fcn.140001910
movzx eax, byte [rsp + 0x26]
test eax, eax
je 0x140026e6a
lea rcx, [rsp + 0x48]
call fcn.140004a80
dec eax
mov r8d, eax
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140048770
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.140004b30
nop
lea rcx, [rsp + 0x130]
call fcn.140001910
lea rcx, [rsp + 0x48]
call fcn.140003a80
lea r9, [rsp + 0xd0]
mov r8d, 0x1f7
mov rdx, rax
xor ecx, ecx
call sub.NETAPI32.dll_NetShareGetInfo
test eax, eax
je 0x140026ee4
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400045e0
mov byte [rsp + 0x27], 0
lea rcx, [rsp + 0x48]
call fcn.140001910
nop
lea rcx, [rsp + 0x40]
call fcn.140001910
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x27]
jmp 0x140027081
mov edx, 0xffffffff
lea rcx, [rsp + 0x48]
call fcn.1400045e0
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x88]
call fcn.140004430
nop
mov rcx, qword [rsp + 0xd0]
call sub.NETAPI32.dll_NetApiBufferFree
lea rcx, [rsp + 0x88]
call fcn.140004a80
test eax, eax
jne 0x140026f7e
mov byte [rsp + 0x28], 0
lea rcx, [rsp + 0x88]
call fcn.140001910
nop
lea rcx, [rsp + 0x48]
call fcn.140001910
nop
lea rcx, [rsp + 0x40]
call fcn.140001910
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x28]
jmp 0x140027081
lea rdx, [0x14013acd4]
lea rcx, [rsp + 0x30]
call fcn.140049360
lea rdx, [0x14013ad04]
lea rcx, [rsp + 0x88]
call fcn.140049360
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call fcn.140004b30
lea rcx, [rsp + 0x88]
call fcn.140004640
mov qword [rsp + 0x138], rax
lea rcx, [rsp + 0x30]
call fcn.140004640
mov qword [rsp + 0x140], rax
mov r8, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x190]
call fcn.140003570
mov byte [rsp + 0x21], 1
mov rcx, qword [rsp + 0x190]
call fcn.140004640
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14002702f
mov byte [rsp + 0x21], 0
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x190]
call fcn.140004b30
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x29], al
lea rcx, [rsp + 0x88]
call fcn.140001910
nop
lea rcx, [rsp + 0x48]
call fcn.140001910
nop
lea rcx, [rsp + 0x40]
call fcn.140001910
nop
lea rcx, [rsp + 0x30]
call fcn.140001910
nop
lea rcx, [rsp + 0x68]
call fcn.140001910
nop
lea rcx, [rsp + 0x50]
call fcn.140001910
movzx eax, byte [rsp + 0x29]
add rsp, 0x188
ret