Function at 0x180041a10
Capabilities:
Check if file exists
Delete file
Get file attributes
Hide graphical window
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x6d8
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov edx, Ordinal_27
lea rcx, [rbp + 0x588]
call fcn.1800186f0
lea rax, [rsp + 0x6e8]
mov rdx, rax
lea rcx, [rbp + 0x588]
call fcn.180019b90
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.180040880
mov rcx, rax
call fcn.180060930
nop
call fcn.180040880
mov rcx, rax
call fcn.1800428d0
movzx eax, al
test eax, eax
jne 0x180041a95
call fcn.180043200
nop
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 0x38]
lea rcx, [rbp + 0x280]
call fcn.18001cc50
mov rcx, rax
call fcn.18004eae0
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.18001f440
nop
call fcn.180040880
mov rcx, rax
call fcn.180060930
nop
call fcn.180040880
mov rcx, rax
call fcn.1800428d0
movzx eax, al
test eax, eax
je 0x1800425c9
mov qword [rbp + 0x18], 0
cmp qword [rbp + 0x18], 0
jne 0x180041b95
call fcn.180030750
mov qword [rbp + 0x80], rax
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 0x21]
lea rcx, [rbp + 0x3a0]
call fcn.18001d6a0
mov rcx, rax
call fcn.18004ec50
mov qword [rbp + 0x78], rax
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [rbp + 0x80]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x180041b93
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180041b17
cmp qword [rbp + 0x18], 0
je 0x180041c20
call fcn.180030750
mov qword [rbp + 0x90], rax
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 0x22]
lea rcx, [rbp + 0x3c0]
call fcn.18001d6a0
mov rcx, rax
call fcn.18004ec50
mov qword [rbp + 0x88], rax
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [rbp + 0x90]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
je 0x180041c1b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180041b95
mov qword [rbp + 0x18], 0
cmp qword [rbp + 0x18], 0
jne 0x180041cb3
call fcn.180030750
mov qword [rbp + 0xa0], rax
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 0x23]
lea rcx, [rbp + 0x3e0]
call fcn.18001d6a0
mov rcx, rax
call fcn.18004ec50
mov qword [rbp + 0x98], rax
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [rbp + 0xa0]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
jne 0x180041cae
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180041c28
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x6d6
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x520], 0
cmp dword [rbp + 0x520], 0
jne 0x180041d70
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 8]
movzx r8d, byte [rbp + 9]
movzx edx, byte [rbp + 0x24]
lea rcx, [rbp + 0x290]
call fcn.18001da50
mov rcx, rax
call fcn.18004eae0
mov rdx, rax
lea rcx, [rbp + 0x1f0]
call fcn.180019960
lea rcx, [rbp + 0x1f0]
call fcn.180040e30
mov dword [rbp + 0x520], eax
lea rcx, [rbp + 0x1f0]
call fcn.180019cf0
nop
cmp dword [rbp + 0x520], 0
jne 0x180041d6b
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180041cd9
mov edx, Ordinal_27
lea rcx, [rbp + 0x558]
call fcn.1800186f0
lea rcx, [rbp + 0x558]
call fcn.180039e50
mov edx, Ordinal_27
lea rcx, [rbp + 0x540]
call fcn.1800186f0
lea rcx, [rbp + 0x540]
call fcn.180039e50
mov edx, Ordinal_27
lea rcx, [rbp + 0x570]
call fcn.1800186f0
lea rcx, [rbp + 0x570]
call fcn.180039e50
mov edx, Ordinal_27
lea rcx, [rbp + 0x528]
call fcn.1800186f0
lea rcx, [rbp + 0x528]
call fcn.180039e50
nop
lea rax, [rbp + 0x400]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xa]
movzx r8d, byte [rbp + 0xb]
movzx edx, byte [rbp + 0x25]
lea rcx, [rbp + 0x2a0]
call fcn.18001daf0
mov rcx, rax
call fcn.18004eae0
mov rdx, rax
mov rcx, qword [rbp + 0xa8]
call fcn.180019960
mov r8, rax
lea rdx, [rbp + 0x210]
lea rcx, [0x180659af0]
call fcn.18006bab0
mov rdx, rax
lea rcx, [rbp + 0x558]
call fcn.18003d290
lea rcx, [rbp + 0x210]
call fcn.18003c780
nop
lea rax, [rbp + 0x380]
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xc]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xc]
movzx r8d, byte [rbp + 0xd]
movzx edx, byte [rbp + 0x26]
lea rcx, [rbp + 0x2b0]
call fcn.18001dbc0
mov rcx, rax
call fcn.18004eae0
mov rdx, rax
mov rcx, qword [rbp + 0xb0]
call fcn.180019960
mov r8, rax
lea rdx, [rbp + 0x268]
lea rcx, [0x180659af0]
call fcn.18006bab0
mov rdx, rax
lea rcx, [rbp + 0x540]
call fcn.18003d290
lea rcx, [rbp + 0x268]
call fcn.18003c780
nop
lea rax, [rbp + 0x420]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xe]
movzx r8d, byte [rbp + 0xf]
movzx edx, byte [rbp + 0x27]
lea rcx, [rbp + 0x2c0]
call fcn.18001dc90
mov rcx, rax
call fcn.18004eae0
mov rdx, rax
mov rcx, qword [rbp + 0xb8]
call fcn.180019960
mov r8, rax
lea rdx, [rbp + 0x250]
lea rcx, [0x180659af0]
call fcn.18006bab0
mov rdx, rax
lea rcx, [rbp + 0x570]
call fcn.18003d290
lea rcx, [rbp + 0x250]
call fcn.18003c780
nop
lea rax, [rbp + 0x440]
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x10]
movzx r8d, byte [rbp + 0x11]
movzx edx, byte [rbp + 0x28]
lea rcx, [rbp + 0x2d0]
call fcn.18001dd60
mov rcx, rax
call fcn.18004eae0
mov rdx, rax
mov rcx, qword [rbp + 0xc0]
call fcn.180019960
mov r8, rax
lea rdx, [rbp + 0x238]
lea rcx, [0x180659af0]
call fcn.18006bab0
mov rdx, rax
lea rcx, [rbp + 0x528]
call fcn.18003d290
lea rcx, [rbp + 0x238]
call fcn.18003c780
nop
lea rcx, [rbp + 0x29]
call fcn.180017850
mov qword [rbp + 0xd8], rax
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x558]
call fcn.180053f80
mov rax, qword [rax]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov qword [rbp + 0xe0], rax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x558]
call fcn.18004d840
mov rax, qword [rax]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xe8], rax
mov r9, qword [rbp + 0xd8]
mov r8, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x660]
call fcn.18001de70
nop
lea rcx, [rbp + 0x2a]
call fcn.180017850
mov qword [rbp + 0x100], rax
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x540]
call fcn.180053f80
mov rax, qword [rax]
mov qword [rbp + 0xf0], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x108], rax
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x540]
call fcn.18004d840
mov rax, qword [rax]
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x110], rax
mov r9, qword [rbp + 0x100]
mov r8, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x110]
lea rcx, [rbp + 0x640]
call fcn.18001de70
nop
lea rcx, [rbp + 0x2b]
call fcn.180017850
mov qword [rbp + 0x128], rax
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x570]
call fcn.180053f80
mov rax, qword [rax]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x130], rax
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp + 0x570]
call fcn.18004d840
mov rax, qword [rax]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
mov qword [rbp + 0x138], rax
mov r9, qword [rbp + 0x128]
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 0x620]
call fcn.18001de70
nop
lea rcx, [rbp + 0x2c]
call fcn.180017850
mov qword [rbp + 0x150], rax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x528]
call fcn.180053f80
mov rax, qword [rax]
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x158], rax
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0x528]
call fcn.18004d840
mov rax, qword [rax]
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x148]
mov qword [rbp + 0x160], rax
mov r9, qword [rbp + 0x150]
mov r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x160]
lea rcx, [rbp + 0x600]
call fcn.18001de70
nop
lea rax, [rbp + 0x4a0]
mov qword [rbp + 0x168], rax
lea rdx, [rbp + 0x660]
lea rcx, [rbp + 0x2e0]
call fcn.180038020
lea rdx, [rbp + 0x640]
lea rcx, [rbp + 0x300]
call fcn.180038020
lea rdx, [rbp + 0x620]
lea rcx, [rbp + 0x320]
call fcn.180038020
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x340]
call fcn.180038020
lea rdx, [rbp + 0x2e0]
mov rcx, qword [rbp + 0x168]
call fcn.18003a390
mov rdx, rax
lea rcx, [rbp + 0x5e0]
call fcn.180040550
lea rcx, [rbp + 0x2e0]
call fcn.18003c920
nop
xor edx, edx
lea rcx, [rbp + 0x5e0]
call fcn.180019d60
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x50], rax
call fcn.18002e8b0
mov qword [rbp + 0x178], rax
mov rcx, qword [rbp + 0x50]
call qword [rbp + 0x178]
mov qword [rbp + 0x48], rax
call fcn.180034080
mov qword [rbp + 0x180], rax
lea rdx, [rbp + 0x520]
mov rcx, qword [rbp + 0x18]
call qword [rbp + 0x180]
mov dword [rbp + 0x34], eax
xor eax, eax
cmp eax, 1
je 0x18004255a
cmp dword [rbp + 0x520], 0
je 0x180042555
cmp dword [rbp + 0x34], 0
je 0x180042555
call fcn.180040880
mov qword [rbp + 0x188], rax
mov eax, dword [rbp + 0x520]
mov dword [rbp + 0x5c], eax
mov edx, dword [rbp + 0x5c]
mov rcx, qword [rbp + 0x188]
call fcn.18005ed60
call fcn.180040880
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x50]
mov dword [rbp + 0x60], eax
mov r8d, 0x40
mov edx, dword [rbp + 0x60]
mov rcx, qword [rbp + 0x190]
call fcn.180060890
mov qword [rbp + 0x40], rax
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x40]
call fcn.180044030
test eax, eax
jne 0x1800423d8
call fcn.180040880
mov qword [rbp + 0x198], rax
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x198]
call fcn.1800609e0
nop
jmp 0x18004232c
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
mov ecx, dword [rbp + 0x34]
call fcn.1800442a0
test eax, eax
jne 0x18004240e
call fcn.180040880
mov qword [rbp + 0x1a0], rax
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x1a0]
call fcn.1800609e0
nop
jmp 0x18004232c
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x40]
call fcn.180044bd0
xor r9d, r9d
mov r8, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x40]
mov ecx, dword [rbp + 0x34]
call fcn.18003fdd0
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call fcn.180040cd0
call fcn.180034060
mov qword [rbp + 0x1a8], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [rbp + 0x1a8]
nop
lea rdx, [rbp + 0x360]
lea rcx, [rbp + 0x2d]
call fcn.18003e3a0
mov rcx, rax
call fcn.1800509f0
mov rdx, rax
lea rcx, [rbp + 0x5c0]
call fcn.180019960
nop
lea rcx, [rbp + 0x5c0]
call fcn.18004d9f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1800424ad
mov ecx, 0xaf
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180042486
lea rdx, [rbp + 0x228]
lea rcx, [rbp + 0x2e]
call fcn.18003e3d0
mov rcx, rax
call fcn.180050a70
mov rdx, rax
lea rcx, [rbp + 0x5a0]
call fcn.180019960
nop
xor eax, eax
cmp eax, 1
je 0x180042533
lea rcx, [rbp + 0x5a0]
call fcn.18004d9f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 0x58], eax
cmp dword [rbp + 0x58], 0xffffffff
je 0x18004252f
mov eax, dword [rbp + 0x58]
and eax, 0x10
test eax, eax
jne 0x18004252f
lea rcx, [rbp + 0x5a0]
call fcn.18004d9f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x18004252b
mov ecx, reloc.WLDAP32.dll_Ordinal_30
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180042504
jmp 0x180042533
jmp 0x180042533
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rbp + 0x5a0]
call fcn.180019cf0
lea rcx, [rbp + 0x5c0]
call fcn.180019cf0
nop
jmp 0x18004232c
lea rcx, [rbp + 0x5e0]
call fcn.180019cf0
lea rcx, [rbp + 0x600]
call fcn.180019cf0
lea rcx, [rbp + 0x620]
call fcn.180019cf0
lea rcx, [rbp + 0x640]
call fcn.180019cf0
lea rcx, [rbp + 0x660]
call fcn.180019cf0
lea rcx, [rbp + 0x528]
call fcn.18003c780
lea rcx, [rbp + 0x570]
call fcn.18003c780
lea rcx, [rbp + 0x540]
call fcn.18003c780
lea rcx, [rbp + 0x558]
call fcn.18003c780
nop
jmp 0x180042626
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x12]
movzx r8d, byte [rbp + 0x13]
movzx edx, byte [rbp + 0x2f]
lea rcx, [rbp + 0x460]
call fcn.18001ca00
mov rcx, rax
call fcn.18004f1c0
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x30]
call fcn.18001f480
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
lea rcx, [rbp + 0x588]
call fcn.180019d20
nop
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x6d8
pop rdi
pop rbp
ret