Function at 0x140001041
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
jmp 0x140002280
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x380
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rbx, rcx
mov qword [rbp - 0x80], rcx
lea rcx, [0x14001af00]
nop
nop
nop
nop
nop
nop
xor eax, eax
lea rcx, [rbp + 1]
xor edx, edx
mov r8d, 0x113
mov byte [rbp - 0x40], 0
mov qword [rbp - 0x3f], rax
mov qword [rbp - 0x37], rax
mov qword [rbp - 0x2f], rax
mov qword [rbp - 0x27], rax
mov qword [rbp - 0x1f], rax
mov qword [rbp - 0x17], rax
mov qword [rbp - 0xf], rax
mov dword [rbp - 7], eax
mov word [rbp - 3], ax
mov byte [rbp - 1], al
mov byte [rbp - 0x78], al
mov qword [rbp - 0x77], rax
mov dword [rbp - 0x6f], eax
mov word [rbp - 0x6b], ax
mov byte [rbp - 0x69], al
mov byte [rbp], al
call fcn.140002f90
lea rcx, [rbp + 0x121]
xor edx, edx
mov r8d, 0x113
mov byte [rbp + 0x120], 0
call fcn.140002f90
xor eax, eax
lea rdx, [rbp]
mov r8d, 0x114
xor ecx, ecx
mov byte [rbp - 0x68], 0
mov qword [rbp - 0x67], rax
mov qword [rbp - 0x5f], rax
mov qword [rbp - 0x57], rax
mov dword [rbp - 0x4f], eax
mov word [rbp - 0x4b], ax
mov byte [rbp - 0x49], al
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp]
mov edx, 0x5c
call fcn.14000307c
test rax, rax
jne 0x140002392
lea r8, [0x14001aefc]
lea rcx, [rbp]
mov edx, 0x114
call fcn.140003534
lea rax, [rbp + 1]
lea rcx, [rbp]
mov byte [rax + 1], 0
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp dword [0x1400217a8], 0
mov edx, 0x20
lea rcx, [rbp - 0x68]
lea r8, str.RNGTR64S
jne 0x1400023c0
lea r8, str.RNGTR32S
call fcn.140003534
lea r8, str.rtsysrdg.sys
lea rcx, [rbp]
mov edx, 0x114
call fcn.1400034b8
lea rdx, [rbp + 0x120]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, str.rtsysrdg.sys
lea rcx, [rbp + 0x120]
mov edx, 0x114
call fcn.1400034b8
lea r8, [rbp + 0x120]
lea rcx, [rbp]
mov edx, 0x114
call fcn.140003534
lea r8, [rbp - 0x78]
lea rdx, [0x14001aec0]
lea rcx, str.SystemCurrentControlSetRTUSBDevicesDatas
mov r9d, 0x10
call fcn.14000105f
lea rdx, [rbp]
lea rcx, [rbp - 0x68]
call fcn.140001f30
cmp eax, 1
jne 0x140002454
lea rdx, [rbp]
mov rcx, rbx
call fcn.140001005
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea r8, [rbp - 0x78]
lea rdx, [0x14001aec0]
lea rcx, str.SystemCurrentControlSetRTUSBDevicesDatas
mov r9d, 0x10
call fcn.14000100f
lea rdx, [0x14001aec0]
lea rcx, str.SystemCurrentControlSetRTUSBDevicesDatas
call fcn.14000104b
lea rdx, str.Datas
lea rcx, str.SystemCurrentControlSetRTUSBDevices
call fcn.140001032
lea rdx, str.RTUSBDevices
lea rcx, str.SystemCurrentControlSet
call fcn.140001032
lea r11, [rbp - 0x78]
lea rax, [0x14001ae08]
mov rcx, qword [r11]
cmp rcx, qword [rax]
jne 0x1400024d5
mov rcx, qword [r11 + 8]
cmp rcx, qword [rax + 8]
jne 0x1400024d5
xor eax, eax
jmp 0x1400024da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1400024fa
xor dword [rbp - 0x78], 0x724e6854
xor dword [rbp - 0x74], 0x7a667235
xor dword [rbp - 0x70], 0x37556a32
xor dword [rbp - 0x6c], 0x50313058
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.140003474
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.14000348c
lea ecx, [rax + rbx]
call fcn.140003474
call fcn.14000348c
mov r11d, eax
mov eax, 0x80808081
imul r11d
add edx, r11d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0xff
sub r11d, edx
test r11b, 1
je 0x14000254b
inc r11b
cmp dword [0x1400217a8], 0
je 0x140002557
dec r11b
movzx ecx, byte [rbp - 0x69]
movzx edx, byte [rbp - 0x6a]
movzx r8d, byte [rbp - 0x6b]
movzx r10d, byte [rbp - 0x6c]
movzx ebx, byte [rbp - 0x6e]
movzx edi, byte [rbp - 0x6f]
movzx esi, byte [rbp - 0x70]
movzx r12d, byte [rbp - 0x71]
movzx r13d, byte [rbp - 0x72]
movzx r14d, byte [rbp - 0x73]
movzx r15d, byte [rbp - 0x74]
movzx r9d, byte [rbp - 0x78]
movzx eax, r11b
movzx r11d, byte [rbp - 0x6d]
mov dword [rsp + 0xa0], eax
movzx eax, byte [rbp - 0x75]
mov dword [rsp + 0x98], 0x42
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x88], edx
mov dword [rsp + 0x80], r8d
mov dword [rsp + 0x78], r10d
mov dword [rsp + 0x70], r11d
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], eax
movzx eax, byte [rbp - 0x76]
lea r8, str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
mov dword [rsp + 0x28], eax
movzx eax, byte [rbp - 0x77]
lea rcx, [rbp - 0x40]
mov edx, 0x40
mov dword [rsp + 0x20], eax
call fcn.14000330c
mov rcx, qword [rbp - 0x80]
lea r8, [rbp - 0x40]
mov edx, 0x3e8
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
nop
nop
nop
nop
nop
nop
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140002f60
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret