Function at 0x1400019f4
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov rdi, rcx
lea rax, [rbp + 0x50]
mov r15d, 0x104
mov r10, rdi
mov r13, r9
mov qword [rsp + 0x38], r8
sub r10, rax
mov edx, r15d
lea rcx, [rbp + 0x50]
xor r12d, r12d
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140001a67
mov al, byte [r10 + rcx]
test al, al
je 0x140001a67
mov byte [rcx], al
inc rcx
dec rdx
jne 0x140001a49
test rdx, rdx
jne 0x140001a6f
dec rcx
mov byte [rcx], r12b
cmp byte [rbp + 0x50], 0x22
lea rcx, [rsp + 0x30]
jne 0x140001a8a
lea rax, [rbp + 0x51]
lea rdx, [0x1400010e8]
jmp 0x140001a95
lea rax, [rbp + 0x50]
lea rdx, [0x1400010ec]
mov qword [rsp + 0x30], rax
call fcn.140001958
mov rsi, qword [rsp + 0x30]
or rbx, 0xffffffffffffffff
mov r14, rax
test rsi, rsi
je 0x140001b16
mov rax, rbx
inc rax
cmp byte [rsi + rax], r12b
jne 0x140001ab3
cmp rax, 3
jb 0x140001b16
mov al, byte [rsi + 1]
mov cl, 0x5c
cmp al, 0x3a
jne 0x140001ad0
cmp byte [rsi + 2], cl
je 0x140001ad8
cmp byte [rsi], cl
jne 0x140001b16
cmp al, cl
jne 0x140001b16
lea rax, [rsp + 0x40]
mov r8, rsi
mov rdx, r15
sub r8, rax
lea rcx, [rsp + 0x40]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140001b09
mov al, byte [rcx + r8]
test al, al
je 0x140001b09
mov byte [rcx], al
inc rcx
dec rdx
jne 0x140001aeb
test rdx, rdx
jne 0x140001b11
dec rcx
mov byte [rcx], r12b
jmp 0x140001b66
lea r8, [0x14000a5f0]
lea rax, [rsp + 0x40]
mov rdx, r15
sub r8, rax
lea rcx, [rsp + 0x40]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140001b4b
mov al, byte [r8 + rcx]
test al, al
je 0x140001b4b
mov byte [rcx], al
inc rcx
dec rdx
jne 0x140001b2d
test rdx, rdx
jne 0x140001b53
dec rcx
mov byte [rcx], r12b
lea rcx, [rsp + 0x40]
mov r8, rsi
mov edx, r15d
call fcn.1400079b8
mov edx, 0x2e
mov rcx, rsi
call fcn.140007ad8
test rax, rax
je 0x140001da7
lea rcx, [0x1400010f0]
mov edx, 1
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea ecx, [rdx + 0x7e]
mov r9d, ebx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x140001da7
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001d7f
shr eax, 4
not eax
and eax, 1
je 0x140001d7f
lea rdx, [0x1400010f8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
call fcn.140001958
mov rcx, rax
test rax, rax
je 0x140001c0b
mov rax, qword [rsp + 0x30]
cmp byte [rcx], r12b
lea rdx, [0x1400010fc]
cmovne rax, rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140001958
mov esi, 0x200
mov ecx, 0x40
mov edx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x140001c35
xor r9d, r9d
mov edx, 0x4b5
xor r8d, r8d
jmp 0x140001d8c
mov r12, qword [rsp + 0x30]
lea r14, str.dobfuscatedqjI
lea r9, [rsp + 0x40]
cmp byte [r12], 0
mov rcx, r14
lea rdx, [0x140001100]
cmovne rcx, r12
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea r8, [0x1400010b9]
lea rdx, [0x140001108]
mov dword [0x14000ae58], eax
lea rax, [rsp + 0x40]
lea rcx, [0x140001118]
mov qword [rsp + 0x28], rax
mov r9, rbx
mov dword [r13], 1
mov dword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor r13d, r13d
test eax, eax
je 0x140001d1a
or dword [0x14000ae44], 4
cmp byte [r12], r13b
cmovne r14, r12
sub r14, rdi
lea rax, [r15 + 0x7ffffefa]
test rax, rax
je 0x140001cd7
mov al, byte [rdi + r14]
test al, al
je 0x140001cd7
mov byte [rdi], al
inc rdi
dec r15
jne 0x140001cb9
test r15, r15
jne 0x140001cdf
dec rdi
lea rdx, [rsp + 0x40]
mov byte [rdi], r13b
mov rcx, rbx
sub rdx, rbx
lea rax, [rsi + 0x7ffffdfe]
test rax, rax
je 0x140001d0a
mov al, byte [rcx + rdx]
test al, al
je 0x140001d0a
mov byte [rcx], al
inc rcx
dec rsi
jne 0x140001ced
test rsi, rsi
jne 0x140001d12
dec rcx
mov byte [rcx], r13b
jmp 0x140001f34
and dword [0x14000ae44], 0xfffffffb
cmp word [0x14000ae54], r13w
jne 0x140001d47
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
mov r8d, r15d
lea rdi, [0x140001120]
call qword [sym.imp.KERNEL32.dll_GetShortPathNameA]
jmp 0x140001d4e
lea rdi, [0x140001130]
cmp byte [r12], r13b
lea rax, [rsp + 0x40]
lea r8, str.rundll32.exe__s_InstallHinfSection__s_128__s
cmovne r14, r12
mov qword [rsp + 0x28], rax
mov r9, rdi
mov rdx, rsi
mov rcx, rbx
mov qword [rsp + 0x20], r14
call fcn.140001550
jmp 0x140001f34
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, 0x525
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], FDICopy
call fcn.140004ed8
xor eax, eax
jmp 0x140001f41
mov edx, 0x2e
mov rcx, rsi
call fcn.140007ad8
test rax, rax
je 0x140001e3f
lea rcx, [0x140001140]
mov edx, 1
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
lea ecx, [rdx + 0x7e]
mov r9d, ebx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_CompareStringA]
cmp eax, 2
jne 0x140001e3f
lea rsi, str.Command.com__c__s
mov rax, rbx
inc rax
cmp byte [rsi + rax], r12b
jne 0x140001df0
lea rcx, [rsp + 0x40]
inc rbx
cmp byte [rcx + rbx], r12b
jne 0x140001dfe
lea rdi, [rax + rbx]
mov ecx, 0x40
lea rdx, [rdi + 8]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001c25
lea r9, [rsp + 0x40]
lea rdx, [rdi + 8]
mov r8, rsi
mov rcx, rax
call fcn.140001550
jmp 0x140001f34
mov esi, 0x400
mov ecx, 0x40
mov edx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140001c25
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001ee6
test al, 0x10
jne 0x140001ee6
lea r8, [rsp + 0x40]
lea rax, [rbp + 0x160]
mov edx, esi
sub r8, rax
lea rcx, [rbp + 0x160]
lea rax, [rdx + 0x7ffffbfe]
test rax, rax
je 0x140001ea7
mov al, byte [rcx + r8]
test al, al
je 0x140001ea7
mov byte [rcx], al
inc rcx
dec rdx
jne 0x140001e89
test rdx, rdx
jne 0x140001eaf
dec rcx
mov byte [rcx], r12b
test r14, r14
je 0x140001f1f
cmp byte [r14], r12b
je 0x140001f1f
lea r8, [0x1400010ec]
lea rcx, [rbp + 0x160]
mov rdx, rsi
call fcn.140001498
lea rcx, [rbp + 0x160]
mov r8, r14
mov rdx, rsi
call fcn.140001498
jmp 0x140001f1f
lea rax, [rbp + 0x160]
lea rcx, [rbp + 0x160]
sub rdi, rax
lea rax, [rsi + 0x7ffffbfe]
test rax, rax
je 0x140001f14
mov al, byte [rcx + rdi]
test al, al
je 0x140001f14
mov byte [rcx], al
inc rcx
dec rsi
jne 0x140001ef7
test rsi, rsi
jne 0x140001f1c
dec rcx
mov byte [rcx], r12b
lea rcx, [rbp + 0x160]
mov r8, rbx
mov rdx, rbx
mov byte [rbx], r12b
call fcn.140002c90
mov rcx, qword [rsp + 0x38]
mov eax, 1
mov qword [rcx], rbx
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140008180
mov rbx, qword [rsp + 0x6b8]
add rsp, 0x670
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret