Function at 0x1400796a0
Capabilities:
Check mutex on windows
Copy file
Delete file
Get common file path
Get session user name
Identify system language via api
Log keystrokes via polling
Move file
Parse pe header
Terminate thread
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x608
xor esi, esi
xor edi, edi
mov qword [rsp + 0x650], rcx
lea r12, [rsp + 0x4f8]
mov qword [rsp + 0x660], r8
mov dword [rsp + 0x94], esi
mov dword [rsp + 0x98], esi
mov dword [rsp + 0x9c], esi
call qword [sym.imp.KERNEL32.DLL_GetUserDefaultUILanguage]
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], r12
mov r9d, 0x20019
movzx eax, ax
mov qword [rsp + 0x4f8], rdi
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftVisualStudio
mov dword [rsp + 0x68], eax
mov dword [rsp + 0xa0], 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x4f8]
mov dword [rsp + 0x70], eax
test rcx, rcx
je 0x14003257e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, 0x41
lea rsi, str.extra_devs
xor ebx, ebx
lea rdi, [rsp + 0x2f0]
mov dword [rsp + 0xa8], ebx
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x3f4]
mov ecx, 0x41
mov dword [rsp + 0xac], 4
rep stosd dword [rdi], eax
mov ecx, 0x41
mov rdi, r12
mov word [rsp + 0x91], 0x6272
rep stosd dword [rdi], eax
mov byte [rsp + 0x93], 0
lea rdi, [rsp + 0xf0]
mov ecx, 0x40
rep movsd dword [rdi], dword [rsi]
lea rcx, [0x1400965d2]
call qword [sym.imp.KERNEL32.DLL_SetDllDirectoryA]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.DLL_SetDefaultDllDirectories]
lea rcx, str._Rufus_init__n
call fcn.1400380b9
lea rdx, [rsp + 0xac]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140032632
xor eax, eax
cmp dword [rsp + 0xa8], 0x6c696e
sete al
mov edx, 2
mov ecx, 0x104
mov dword [0x14011332c], eax
mov dword [0x140113348], 1
call sub.msvcrt.dll_calloc
mov r14, qword [sym.imp.KERNEL32.DLL_GetLastError]
test rax, rax
mov rbx, rax
jne 0x140032670
mov ecx, 0xe
call qword [sym.imp.KERNEL32.DLL_SetLastError]
jmp 0x140032704
mov r8d, 0x104
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov edi, eax
call r14
mov esi, eax
test edi, edi
je 0x1400326f0
lea eax, [rdi - 1]
add rax, rax
add rax, rbx
cmp rbx, rax
je 0x1400326b0
cmp word [rax], 0x5c
lea rdx, [rax - 2]
jne 0x1400326ab
mov word [rax], 0
jmp 0x1400326b0
mov rax, rdx
jmp 0x140032695
xor r11d, r11d
lea rax, [0x140113080]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], r11
mov r8, rbx
mov ecx, 0xfde9
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov edi, eax
test eax, eax
jne 0x1400326f0
call r14
mov esi, eax
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
test edi, edi
jne 0x14003272a
call fcn.140038579
lea rcx, str.Could_not_get_application_directory:__s
mov rdx, rax
call fcn.1400380b9
mov byte [0x140113082], 0
mov word [0x140113080], 0x5c2e
jmp 0x14003275d
lea rbx, [0x140113080]
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r8d, 0x103
lea rdx, [0x140097c89]
mov rcx, rbx
sub r8, rax
mov eax, 2
cmp r8, rax
cmova r8, rax
call sub.msvcrt.dll_strncat
lea rbp, [0x1401129c0]
mov r9d, 0x2000000
mov r8d, 3
mov edx, 0x80000000
mov rcx, rbp
mov byte [0x1401129c2], 0
mov rsi, rbp
mov word [0x1401129c0], 0x5c2e
call fcn.14002a85f
cmp rax, 0xffffffffffffffff
mov rbx, rax
jne 0x1400327c2
call fcn.140038579
mov rdx, rbp
lea rcx, str.Could_not_get_current_directory_from__s:__s
mov r8, rax
call fcn.1400380b9
mov byte [0x1401129c2], 0
mov word [0x1401129c0], 0x5c2e
jmp 0x140032834
mov rdx, rbp
mov rcx, rax
call fcn.14002a62e
test eax, eax
je 0x140032799
lea rdx, [0x140097cb9]
mov rcx, rbp
call sub.msvcrt.dll_strstr
cmp rbp, rax
je 0x1400327f9
lea rdx, [0x140097cbe]
mov rcx, rbp
call sub.msvcrt.dll_strstr
cmp rbp, rax
jne 0x140032799
lea rdx, [0x1401129c4]
mov rcx, rbp
call sub.msvcrt.dll_strcpy
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov r8d, 0x103
lea rdx, [0x140097c89]
mov rcx, rbp
sub r8, rax
mov eax, 2
cmp r8, rax
cmova r8, rax
call sub.msvcrt.dll_strncat
lea rax, [rbx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140032847
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, 2
mov ecx, 0x104
call sub.msvcrt.dll_calloc
mov ecx, 0x104
mov rdx, rax
mov r13, rax
call qword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov ebx, eax
call r14
mov edi, eax
test ebx, ebx
je 0x1400328b2
xor r10d, r10d
lea rax, [0x140112e40]
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x38], r10
mov r8, r13
mov ecx, 0xfde9
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ebx, eax
test eax, eax
jne 0x1400328b2
call r14
mov edi, eax
test r13, r13
je 0x1400328bf
mov rcx, r13
call sub.msvcrt.dll_free
mov r15, qword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, edi
call r15
test ebx, ebx
lea rbx, [0x140112e40]
jne 0x14003291d
call fcn.140038579
lea rcx, str.Could_not_get_temp_directory:__s
mov rdi, rbx
mov rdx, rax
call fcn.1400380b9
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea rdx, [rbx + 0x103]
cmp rax, 0x103
je 0x140032915
lea rdx, [rbx + rax]
mov byte [rdx], 0
jmp 0x140032a0d
mov r9d, 0x2000000
mov r8d, 3
mov edx, 0x80000000
mov rcx, rbx
call fcn.14002a85f
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x140032988
call fcn.140038579
mov rdx, rbx
lea rcx, str.Could_not_get_actual_temp_directory_from__s:__s
mov rdi, rbx
mov r8, rax
call fcn.1400380b9
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
mov rcx, rbp
call sub.msvcrt.dll_strlen
lea rdx, [rbx + rax]
cmp rax, 0x103
lea rax, [0x140112f43]
cmove rdx, rax
mov byte [rdx], 0
jmp 0x1400329fa
mov rdx, rbx
mov rcx, rax
call fcn.14002a62e
test eax, eax
je 0x14003293f
lea rdx, [0x140097cb9]
mov rcx, rbx
call sub.msvcrt.dll_strstr
cmp rbx, rax
je 0x1400329bf
lea rdx, [0x140097cbe]
mov rcx, rbx
call sub.msvcrt.dll_strstr
cmp rbx, rax
jne 0x14003293f
lea rdx, [0x140112e44]
mov rcx, rbx
call sub.msvcrt.dll_strcpy
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r8d, 0x103
lea rdx, [0x140097c89]
mov rcx, rbx
sub r8, rax
mov eax, 2
cmp r8, rax
cmova r8, rax
call sub.msvcrt.dll_strncat
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140032a0d
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, 2
mov ecx, 0x104
call sub.msvcrt.dll_calloc
mov edx, 0x104
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
mov r13d, eax
call r14
mov esi, eax
test r13d, r13d
je 0x140032a7b
xor r9d, r9d
lea rax, [0x140112f60]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x38], r9
mov ecx, 0xfde9
mov qword [rsp + 0x30], r9
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov r13d, eax
test eax, eax
jne 0x140032a7b
call r14
mov esi, eax
test rdi, rdi
je 0x140032a88
mov rcx, rdi
call sub.msvcrt.dll_free
mov ecx, esi
call r15
test r13d, r13d
jne 0x140032ad2
call fcn.140038579
lea rcx, str.Could_not_get_system_directory:__s
mov rdx, rax
call fcn.1400380b9
movabs rax, 0x6f646e69575c3a43
movabs rdx, 0x65747379535c7377
mov dword [0x140112f70], 0x32336d
mov qword [0x140112f60], rax
mov qword [0x140112f68], rdx
lea r13, [0x140112c00]
mov edx, 0x1c
mov rcx, r13
call fcn.14002a7b1
test eax, eax
jne 0x140032b3c
call fcn.140038579
lea rcx, str.Could_not_get_app_data_directory:__s
mov rdi, r13
lea rsi, [0x140112e40]
mov rdx, rax
call fcn.1400380b9
lea rcx, [0x140112e40]
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140112e40]
call sub.msvcrt.dll_strlen
lea rdx, [r13 + 0x103]
cmp rax, 0x103
je 0x140032b39
lea rdx, [r13 + rax]
mov byte [rdx], 0
lea r14, [0x140112ae0]
mov edx, 0x28
mov rcx, r14
call fcn.14002a7b1
test eax, eax
jne 0x140032ba5
call fcn.140038579
lea rcx, str.Could_not_get_user_directory:__s
mov rdi, r14
lea rsi, [0x140112e40]
mov rdx, rax
call fcn.1400380b9
lea rcx, [0x140112e40]
call sub.msvcrt.dll_strlen
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140112e40]
call sub.msvcrt.dll_strlen
lea rdx, [r14 + 0x103]
cmp rax, 0x103
je 0x140032ba2
lea rdx, [r14 + rax]
mov byte [rdx], 0
lea rcx, [0x140112f60]
lea r15, [0x140112d20]
call sub.msvcrt.dll_strlen
mov rdi, r15
lea rsi, [0x140112f60]
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140112f60]
call sub.msvcrt.dll_strlen
lea rdx, [r15 + 0x103]
cmp rax, 0x103
je 0x140032be6
lea rdx, [rax + r15]
mov byte [rdx], 0
lea rcx, str.Cur_dir:__s
mov rdx, rbp
call fcn.1400380b9
lea r9, [0x140113080]
lea rcx, str.App_dir:__s
mov rdx, r9
call fcn.1400380b9
lea rdx, [0x140112d20]
lea rcx, str.Sys_dir:__s
call fcn.1400380b9
mov rdx, r14
lea rcx, str.Usr_dir:__s
call fcn.1400380b9
mov rdx, r13
lea rcx, str.Dat_dir:__s
call fcn.1400380b9
mov rdx, rbx
lea rcx, str.Tmp_dir:__s
call fcn.1400380b9
lea r9, [0x140113080]
mov edx, 0x104
mov rcx, r12
lea r8, str._srufus.app
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, r12
mov byte [rsp + 0x5fb], 0
call fcn.14002a82e
mov dword [rsp + 0x80], eax
test eax, eax
je 0x140032cb6
xor r8d, r8d
xor edx, edx
xor ecx, ecx
xor r15d, r15d
mov dword [0x1401132d0], 1
xor ebp, ebp
xor ebx, ebx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x5c], r8d
jmp 0x140033479
cmp qword [0x140113c18], 0
jne 0x140032ce3
lea rcx, str.Msvcrt
call fcn.140028b37
lea rdx, str.__wgetmainargs
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x140113c18], rax
mov rax, qword [0x140113c18]
test rax, rax
je 0x140033468
lea r8, [rsp + 0x9c]
lea rdx, [rsp + 0xb8]
mov r9d, 1
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x98]
lea r8, [rsp + 0xb0]
call rax
movsxd rcx, dword [rsp + 0x98]
mov edx, 8
call sub.msvcrt.dll_calloc
mov r15, rax
test rax, rax
jne 0x140032d57
xor eax, eax
xor ebp, ebp
xor ebx, ebx
xor r15d, r15d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
xor eax, eax
mov qword [rsp + 0x50], rax
jmp 0x140032e0b
xor r14d, r14d
xor ebx, ebx
lea rdi, [0x140097df5]
xor esi, esi
mov dword [rsp + 0x58], r14d
lea r12, [0x140097df8]
lea r13, str.__gui
cmp dword [rsp + 0x98], esi
jle 0x140032e21
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + rsi*8]
call fcn.14002999d
mov rdx, rdi
mov qword [r15 + rsi*8], rax
mov rcx, rax
mov rbp, rax
call sub.msvcrt.dll_strcmp
mov rdx, r12
mov rcx, rbp
test eax, eax
mov eax, 0x96
cmove ebx, eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x140032e17
mov rdx, r13
mov rcx, rbp
call sub.msvcrt.dll_strcmp
test eax, eax
mov eax, 1
cmovne eax, dword [rsp + 0x58]
mov dword [rsp + 0x58], eax
mov rcx, rbp
lea rdx, str._InvokerPRAID
inc rsi
call sub.msvcrt.dll__stricmp_1
mov ebp, eax
test eax, eax
jne 0x140032d78
mov dword [0x1401132d0], 1
xor eax, eax
mov dword [rsp + 0x5c], eax
xor eax, eax
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x48], rax
jmp 0x140033479
mov dword [rsp + 0x58], 1
jmp 0x140032ddc
mov rdi, qword [r15]
mov rcx, rdi
call sub.msvcrt.dll_strlen
lea rsi, [rdi + rax - 1]
cmp rdi, rsi
jae 0x140032e40
cmp byte [rsi], 0x5c
je 0x140032e40
dec rsi
jmp 0x140032e31
mov edx, 0x70
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
jne 0x140032e6a
mov edx, 0x50
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x140032e72
cmp byte [rax + 1], 0x48
je 0x140032e72
mov byte [rsp + 0x91], 0x61
cmp dword [rsp + 0x58], 0
jne 0x14003305f
or ecx, 0xffffffff
call qword [sym.imp.KERNEL32.DLL_AttachConsole]
test eax, eax
je 0x14003305f
lea rcx, str.Enabling_console_line_hogger
lea rbp, [0x140097e35]
xor r13d, r13d
call fcn.1400380b9
mov rdi, qword [fcn.1400787b0]
xor ecx, ecx
lea rsi, str.CONOUT_
call rdi
lea rdx, [0x140097e2c]
lea rcx, str.CONIN_
mov r8, rax
call sub.msvcrt.dll_freopen
mov ecx, 1
call rdi
mov rdx, rbp
mov rcx, rsi
mov r8, rax
call sub.msvcrt.dll_freopen
mov ecx, 2
call rdi
mov rdx, rbp
mov rcx, rsi
mov r8, rax
call sub.msvcrt.dll_freopen
call qword [sym.imp.msvcrt.dll__flushall]
mov dword [rsp + 0x28], r13d
lea rax, [rsp + 0xc0]
mov rcx, qword [0x140113430]
mov qword [rsp + 0x20], rax
mov r8d, 0xa
mov edx, 0x1f5
lea r9, str.rufus.com
call fcn.140036e5f
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140033055
lea r8, [0x140097e49]
mov edx, 1
xor ecx, ecx
xor r12d, r12d
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov edx, 0xc0000000
mov rsi, rax
mov dword [rsp + 0x28], pe_nt_image_headers64
mov r8d, 1
lea rcx, str.rufus.com
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140032fc5
xor ebp, ebp
mov rdx, qword [rsp + 0x50]
mov rcx, rax
mov r8d, dword [rsp + 0xc0]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.DLL_WriteFile]
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140032fc5
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, 0x28
mov ecx, 0xa
call sub.msvcrt.dll_calloc
mov rdi, rax
test rax, rax
je 0x14003303c
lea rdx, str.rufus.com
lea rcx, [rax + 0x168]
movsx r8w, byte [rdx]
mov dword [rax], 1
add rax, 0x28
inc rdx
mov dword [rax - 0x1c], 4
mov word [rax - 0x1e], r8w
cmp rcx, rax
jne 0x140032fea
mov ecx, 0xa
mov r8d, 0x28
mov rdx, rdi
mov dword [rdi + 0x168], 1
mov word [rdi + 0x170], 0xd
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rdi
call sub.msvcrt.dll_free
test rsi, rsi
jne 0x140033048
mov qword [rsp + 0x50], rsi
jmp 0x140033055
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x140033041
mov dword [rsp + 0x5c], 1
jmp 0x14003306c
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x5c], edx
mov qword [rsp + 0x50], rcx
xor eax, eax
xor edi, edi
lea r13, [0x1400987f4]
xor ebp, ebp
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x94]
mov r9, qword [rsp + 0x78]
mov rdx, r15
mov ecx, dword [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea r8, str.ghxf:i:l:w:z:
call fcn.140077f60
cmp eax, 0xffffffff
je 0x140033435
sub eax, 0x61
cmp eax, 0x19
ja case.0x1400330d0.98
movsxd rax, dword [r13 + rax*4]
add rax, r13
jmp rax
mov dword [0x140113328], 1
jmp case.0x1400330d0.97
mov rcx, qword [0x1401120d0]
call sub.msvcrt.dll_free
mov edx, 0x104
mov ecx, 1
call sub.msvcrt.dll_calloc
test rax, rax
mov qword [0x1401120d0], rax
mov qword [rsp + 0x88], rax
je case.0x1400330d0.97
mov rax, qword [0x1400b4d90]
mov rcx, qword [rax]
call fcn.140028c45
mov edx, 2
mov ecx, 0x104
mov r12, rax
call sub.msvcrt.dll_calloc
mov edx, 0x104
lea r9, [rsp + 0x1f0]
mov rcx, r12
mov r8, rax
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov r14, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x84], eax
call r14
mov edx, dword [rsp + 0x84]
mov r10, qword [rsp + 0x88]
mov esi, eax
test edx, edx
je 0x1400331af
xor r11d, r11d
or r9d, 0xffffffff
xor edx, edx
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x38], r11
mov r8, qword [rsp + 0x60]
mov ecx, 0xfde9
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], 0x104
call qword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
test eax, eax
jne 0x1400331af
call r14
mov esi, eax
cmp qword [rsp + 0x60], 0
je 0x1400331c1
mov rcx, qword [rsp + 0x60]
call sub.msvcrt.dll_free
test r12, r12
je 0x1400331ce
mov rcx, r12
call sub.msvcrt.dll_free
mov ecx, esi
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rcx, qword [0x1401120d0]
call fcn.140029933
test al, 0x10
je 0x140033214
mov rdx, qword [0x1401120d0]
lea rcx, str.Could_not_find_image__s_n
call sub.msvcrt.dll_printf
mov rcx, qword [0x1401120d0]
call sub.msvcrt.dll_free
xor r9d, r9d
mov qword [0x1401120d0], r9
jmp case.0x1400330d0.97
mov dword [0x140113e00], 1
jmp case.0x1400330d0.97
mov rsi, qword [0x1400b4d90]
mov rcx, qword [rsi]
movzx eax, byte [rcx]
sub eax, 0x30
cmp eax, 9
ja 0x14003324b
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_strtol
mov dword [rsp + 0x68], eax
jmp case.0x1400330d0.97
mov rcx, qword [rsp + 0x48]
call sub.msvcrt.dll_free
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
test rax, rax
je case.0x1400330d0.97
mov rcx, rax
call qword [sym.imp.msvcrt.dll__strdup]
mov qword [rsp + 0x48], rax
jmp case.0x1400330d0.97
mov rsi, qword [0x1400b4d90]
mov rcx, qword [rsi]
movzx eax, byte [rcx]
sub eax, 0x30
cmp eax, 9
ja 0x1400332a0
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll_strtol
mov dword [0x140083350], eax
jmp 0x1400332e2
xor r12d, r12d
lea r14, [0x1400964df]
mov rax, qword [0x1400b42a0]
mov rcx, qword [rsi]
mov rdx, qword [rax + r12*8]
test rdx, rdx
cmove rdx, r14
test rcx, rcx
cmove rcx, r14
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400332d9
mov dword [0x140083350], r12d
jmp 0x1400332e2
inc r12
cmp r12, 9
jne 0x1400332aa
mov eax, dword [0x140083350]
inc eax
cmp eax, 9
jbe 0x1400332f9
mov dword [0x140083350], 0xffffffff
mov eax, dword [0x140083350]
mov dword [0x140083354], eax
jmp case.0x1400330d0.97
mov rax, qword [0x1400b4d90]
mov rcx, qword [rax]
call sub.msvcrt.dll_atoi
mov ebx, eax
jmp case.0x1400330d0.97
lea rbx, [rsp + 0x1f0]
xor r8d, r8d
xor edx, edx
xor esi, esi
mov r9, rbx
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov rcx, qword [r15]
call qword [sym.imp.msvcrt.dll__splitpath]
mov rdx, rbx
lea rcx, str._nUsage:__s___x____g____h____f_FILESYSTEM____i_PATH____l_LOCALE____w_TIMEOUT__n
xor ebx, ebx
call sub.msvcrt.dll_printf
lea rcx, str.___x____extra_devs
call sub.msvcrt.dll_puts
lea rcx, str._____List_extra_devices__such_as_USB_HDDs
call sub.msvcrt.dll_puts
lea rcx, str.___g____gui
call sub.msvcrt.dll_puts
lea rcx, str._____Start_in_GUI_mode__disable_the_rufus.com_commandline_hogger_
call sub.msvcrt.dll_puts
lea rcx, str.___i_PATH____isoPATH
call sub.msvcrt.dll_puts
lea rcx, str._____Select_the_ISO_image_pointed_by_PATH_to_be_used_on_startup
call sub.msvcrt.dll_puts
lea rcx, str.___l_LOCALE____localeLOCALE
call sub.msvcrt.dll_puts
lea rcx, str._____Select_the_locale_to_be_used_on_startup
call sub.msvcrt.dll_puts
lea rcx, str.___f_FILESYSTEM____filesystemFILESYSTEM
call sub.msvcrt.dll_puts
lea rcx, str._____Preselect_the_file_system_to_be_preferred_when_formatting
call sub.msvcrt.dll_puts
lea rcx, str.___w_TIMEOUT____waitTIMEOUT
call sub.msvcrt.dll_puts
lea rcx, str._____Wait_TIMEOUT_tens_of_seconds_for_the_global_application_mutex_to_be_released.
call sub.msvcrt.dll_puts
lea rcx, str._____Used_when_launching_a_newer_version_of_Rufus_from_a_running_application.
call sub.msvcrt.dll_puts
lea rcx, str.___h____help
call sub.msvcrt.dll_puts
lea rcx, str._____This_usage_guide.
call sub.msvcrt.dll_puts
jmp 0x140034c73
mov rax, qword [0x1400b4d90]
mov r8d, 0x10
xor edx, edx
mov rcx, qword [rax]
call sub.msvcrt.dll_strtol
mov ebp, eax
jmp case.0x1400330d0.97
mov edi, 1
jmp case.0x1400330d0.97
test edi, edi
je 0x140033479
lea rcx, str.Command_line_arguments:
xor esi, esi
lea rdi, [0x1400964e6]
call fcn.1400380b9
inc rsi
cmp dword [rsp + 0x98], esi
jle 0x140033479
mov rdx, qword [r15 + rsi*8]
mov rcx, rdi
call fcn.1400380b9
jmp 0x14003344e
lea rcx, str.Could_not_access_UTF_16_args
call fcn.1400380b9
jmp 0x140032d3a
cmp dword [0x1401132d0], 0
je 0x14003348e
lea rcx, str.AppStore_version_detected
call fcn.1400380b9
lea rsi, [rsp + 0x4f8]
lea r9, [0x140113080]
mov edx, 0x104
lea r8, str._srufus.ini
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__snprintf]
lea rdx, [rsp + 0x91]
mov rcx, rsi
mov byte [rsp + 0x5fb], 0
call fcn.14002a5d4
xor edx, edx
xor ecx, ecx
xor r8d, r8d
mov r12, rax
call fcn.140024d9f
mov rcx, rax
mov rax, qword [str._0_b_]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400334f2
lea rdx, [0x1400964df]
test rcx, rcx
jne 0x1400334fe
lea rcx, [0x1400964df]
call sub.msvcrt.dll_strcmp
mov r14d, eax
test r12, r12
je 0x14003355e
lea rcx, [0x140113080]
mov qword [0x1401120d8], rsi
lea r13, [0x140112c00]
call sub.msvcrt.dll_strlen
mov rdi, r13
lea rsi, [0x140113080]
lea ecx, [rax + 1]
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140113080]
call sub.msvcrt.dll_strlen
lea rdx, [r13 + 0x103]
cmp rax, 0x103
je 0x140033553
lea rdx, [rax + r13]
mov byte [rdx], 0
mov rcx, r12
call sub.msvcrt.dll_fclose
cmp qword [0x1401120d8], 0
lea rax, str.INI_file
lea rdx, str.registry
cmovne rdx, rax
lea rcx, str.Will_use_settings_from__s
call fcn.1400380b9
lea rcx, str.Locale
call fcn.14002b14d
cmp byte [rax], 0
mov rcx, rax
je 0x1400335b2
call qword [sym.imp.msvcrt.dll__strdup]
lea rcx, str.found_locale__s
mov rdx, rax
mov qword [rsp + 0x48], rax
call fcn.1400380b9
lea rcx, str.ShowAdvancedDriveProperties
call fcn.14002b238
lea rcx, str.ShowAdvancedFormatOptions
mov dword [0x14011331c], eax
call fcn.14002b238
lea rcx, str.PreserveTimestamps
mov dword [0x140113318], eax
call fcn.14002b238
lea rcx, str.UseProperSizeUnits
mov dword [0x1401132fc], eax
call fcn.14002b238
test eax, eax
sete al
xor ecx, ecx
movzx eax, al
mov dword [0x140113300], eax
call fcn.1400083f8
lea rcx, str.UseVds
mov dword [0x140083318], eax
call fcn.14002b238
test eax, eax
je 0x14003362b
xor eax, eax
cmp dword [0x140083318], 0
setne al
lea rcx, str.EnableUsbDebug
mov dword [0x1401132d8], eax
call fcn.14002b238
mov rdx, qword [0x1400b4810]
lea rcx, str.DisableFakeDrivesCheck
cmp eax, 1
mov dword [0x140113304], eax
sbb eax, eax
and eax, 2
inc eax
mov dword [rdx], eax
call fcn.14002b238
lea rcx, str.EnableWindowsDualUefiBiosMode
test eax, eax
sete al
movzx eax, al
mov dword [0x140113310], eax
call fcn.14002b238
lea rcx, str.ForceLargeFat32Formatting
mov dword [0x140113314], eax
call fcn.14002b238
lea rcx, str.EnableVmdkDetection
mov dword [0x140113308], eax
call fcn.14002b238
lea rcx, str.EnableFileIndexing
mov dword [0x14011330c], eax
call fcn.14002b238
lea rcx, str.DisableVHDs
mov dword [0x1401132e8], eax
call fcn.14002b238
lea rcx, str.EnableExtraHashes
test eax, eax
sete al
movzx eax, al
mov dword [0x14008331c], eax
call fcn.14002b238
mov rdx, qword [0x1400b4930]
lea rcx, str.ExpertMode
mov dword [rdx], eax
call fcn.14002b238
lea rcx, str.IgnoreBootMarker
mov dword [0x1401132c4], eax
call fcn.14002b238
lea rcx, str.PersistentLog
mov dword [0x1401132d4], eax
call fcn.14002b238
lea rcx, [0x1400982d4]
mov dword [0x1401132cc], eax
call fcn.14002b14d
lea rcx, str.WindowsUserExperienceOptions
mov qword [0x140112020], rax
call fcn.14002b269
mov ecx, eax
mov edx, eax
shr ecx, 0x10
je 0x14003375a
mov r8, qword [str.P4_b_]
mov eax, ecx
and ecx, edx
not eax
and eax, dword [r8]
or eax, ecx
mov dword [r8], eax
lea rcx, str.DefaultThreadPriority
call fcn.14002b269
xor ecx, ecx
inc eax
mov dword [0x140083308], eax
call qword [sym.imp.USER32.dll_GetDC]
mov edx, 0x58
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
cvtsi2ss xmm0, eax
lea rax, [rsi - 1]
divss xmm0, dword [0x140098968]
movss dword [0x140083314], xmm0
cmp rax, 0xfffffffffffffffd
ja 0x1400337b0
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
xor ecx, ecx
lea rdi, [rsp + 0x3f4]
call fcn.14001e06c
lea rax, str.rufus.loc
mov edx, 0x104
mov rcx, rdi
lea r9, [0x140113080]
lea r8, [0x140098301]
mov qword [rsp + 0x20], rax
mov r13, qword [sym.imp.msvcrt.dll__snprintf]
call r13
mov rcx, rdi
mov byte [rsp + 0x4f7], 0
call fcn.140029933
inc eax
jne 0x14003395f
lea rcx, str.loc_file_not_found_in_current_directory___embedded_one_will_be_used
call fcn.1400380b9
xor eax, eax
mov edx, 0x1f4
mov rcx, qword [0x140113430]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xa4]
lea r9, str.embedded.loc
mov r8d, 0xa
mov qword [rsp + 0x20], rax
call fcn.140036e5f
mov rcx, rdi
mov r12, rax
call fcn.14002a6d4
test eax, eax
je 0x140033859
cmp byte [rsp + 0x3f4], 0
jne 0x140033886
call fcn.140038579
lea rcx, str.FATAL:_Unable_to_create_temp_loc_file:__s
mov rdx, rax
call fcn.1400380b9
mov r9d, 0x1010
lea r8, str.Fatal_error
lea rdx, str.Unable_to_create_temporary_localization_file._This_application_will_now_exit.
jmp 0x140033916
mov r9d, pe_nt_image_headers64
mov r8d, 2
mov edx, 0xc0000000
mov rcx, rdi
call fcn.14002a85f
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400338d9
call fcn.140038579
lea rdx, [rsp + 0x3f4]
lea rcx, str.FATAL:_Unable_to_extract_loc_file__s:__s
mov r8, rax
call fcn.1400380b9
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140033902
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140033902
mov dword [rsp + 0x20], 4
mov r8d, dword [rsp + 0xa4]
mov rdx, r12
mov rcx, rax
lea r9, [rsp + 0xac]
call fcn.140038ff2
test eax, eax
je 0x1400338a8
jmp 0x140033930
mov r9d, 0x1010
lea r8, str.Fatal_error
lea rdx, str.Unable_to_extract_localization_file._This_application_will_now_exit.
xor ecx, ecx
xor esi, esi
xor ebx, ebx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov dword [rsp + 0x80], eax
jmp 0x140034c73
mov rdx, rdi
lea rcx, str.localization:_extracted_data_to__s
call fcn.1400380b9
lea rax, [rsi - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x140033954
xor eax, eax
mov dword [rsp + 0x80], eax
jmp 0x1400339b9
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140033949
mov r12, qword [0x1400b4f40]
mov rsi, qword [0x1400b4f30]
mov edx, 0xffc
mov r9, rdi
lea r8, str.Using_external_loc_file__s
mov rcx, qword [r12]
sub rdx, rcx
add rcx, rsi
call r13
mov rcx, rsi
mov byte [rsi + 0xffb], 0
call sub.msvcrt.dll_strlen
mov dword [rsp + 0x80], 1
lea rdx, [rax + 2]
mov byte [rsi + rax], 0xd
mov qword [r12], rdx
mov byte [rsi + rax + 1], 0xa
mov byte [rsi + rax + 2], 0
lea rdi, [rsp + 0x3f4]
mov rcx, rdi
call fcn.1400229d0
test eax, eax
jne 0x1400339fa
lea rcx, str.FATAL:_Could_not_access_locale_
call fcn.1400380b9
mov r9d, 0x1010
lea r8, str.Fatal_error
xor ecx, ecx
lea rdx, str.The_locale_data_is_missing_or_invalid._This_application_will_now_exit.
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140033ade
cmp qword [rsp + 0x48], 0
mov edx, 1
jne 0x140033a12
mov ecx, dword [rsp + 0x68]
call fcn.14001e67b
jmp 0x140033a1c
mov rcx, qword [rsp + 0x48]
call fcn.14001e6fb
mov qword [0x1401133d0], rax
test rax, rax
je 0x1400339cd
mov rcx, rax
call fcn.14001ea1f
mov rsi, qword [0x1400b4480]
mov word [0x140083328], ax
mov rcx, rsi
call fcn.140035de1
cmp dword [rsi], 0x61
jbe 0x140033a51
test ebp, ebp
je 0x140033a51
mov dword [rsi], ebp
cmp dword [rsi], 0x61
ja 0x140033ae5
mov rdx, qword [0x1401133d0]
mov rcx, rdi
call fcn.140022d71
mov rax, qword [0x1401133d0]
mov ecx, 0xcdd
movzx edi, word [0x140083328]
mov eax, dword [rax + 4]
and eax, 1
cmp eax, 1
mov dword [0x140113334], eax
sbb r9d, r9d
and r9d, 0xffe80000
add r9d, 0x181010
mov dword [rsp + 0x60], r9d
call fcn.14001e311
mov ecx, 0xcde
mov rbx, rax
xor eax, eax
cmp dword [rsi], 0x61
sete al
mov edx, eax
lea r8d, [rax*4 + 0x12]
add edx, 2
call fcn.14001e311
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x60]
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call fcn.1400298b1
xor esi, esi
jmp 0x140033c92
call fcn.140037a10
test eax, eax
jne 0x140033b6b
lea rcx, str.FATAL:_No_administrative_privileges_
call fcn.1400380b9
mov rdx, qword [0x1401133d0]
mov rcx, rdi
call fcn.140022d71
mov rax, qword [0x1401133d0]
mov ecx, 0xcd8
movzx ebx, word [0x140083328]
mov eax, dword [rax + 4]
and eax, 1
cmp eax, 1
mov dword [0x140113334], eax
sbb r9d, r9d
and r9d, 0xffe80000
add r9d, 0x181010
mov dword [rsp + 0x68], r9d
call fcn.14001e311
mov ecx, 0xcd9
mov qword [rsp + 0x60], rax
call fcn.14001e311
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov rdx, rax
jmp 0x140033ad7
cmp qword [rsp + 0x660], 0
je 0x140033ba2
mov rcx, qword [rsp + 0x660]
call sub.msvcrt.dll_strlen
cmp rax, 2
jne 0x140033ba2
mov rax, qword [rsp + 0x660]
cmp byte [rax], 0x2f
jne 0x140033ba2
cmp byte [rax + 1], 0x57
mov eax, 0x96
cmove ebx, eax
lea r8, str.Global_Rufus
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov r13, qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r12, qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbp, qword [sym.imp.KERNEL32.DLL_Sleep]
mov rsi, rax
test ebx, ebx
jle 0x140033bd9
test rsi, rsi
jne 0x140033be0
jmp 0x140033c1f
test rsi, rsi
jne 0x140033c12
jmp 0x140033c1f
call r13
cmp eax, 0xb7
jne 0x140033c12
mov rcx, rsi
dec ebx
call r12
mov ecx, 0x64
call rbp
lea r8, str.Global_Rufus
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov rsi, rax
jmp 0x140033bce
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x140033c99
mov rdx, qword [0x1401133d0]
mov rcx, rdi
call fcn.140022d71
mov rax, qword [0x1401133d0]
mov ecx, 0xbb9
movzx ebx, word [0x140083328]
mov eax, dword [rax + 4]
and eax, 1
cmp eax, 1
mov dword [0x140113334], eax
sbb r9d, r9d
and r9d, 0xffe80000
add r9d, 0x181010
mov dword [rsp + 0x68], r9d
call fcn.14001e311
mov ecx, 0xbba
mov qword [rsp + 0x60], rax
call fcn.14001e311
mov dword [rsp + 0x20], ebx
mov r9d, dword [rsp + 0x68]
xor ecx, ecx
mov r8, qword [rsp + 0x60]
mov rdx, rax
call fcn.1400298b1
xor ebx, ebx
jmp 0x140034c73
mov rax, qword [rsp + 0x650]
xor ecx, ecx
mov edx, 6
mov qword [0x140113430], rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea rcx, str.Riched20
call fcn.140028b37
test rax, rax
jne 0x140033cda
call fcn.140038579
lea rcx, str.Could_not_load_RichEdit_library___some_dialogs_may_not_display:__s_n
mov rdx, rax
call fcn.1400380b9
call fcn.140027b26
mov dword [rsp + 0x20], 0x9e
xor ecx, ecx
lea r9, str.NoDriveTypeAutorun
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
lea rdx, [0x140113e08]
call fcn.14003764b
lea rcx, [rsp + 0xa0]
mov ebx, eax
call fcn.140007b7d
test eax, eax
jne 0x140033d2f
lea rcx, str.Could_not_get_AutoMount_status
call fcn.1400380b9
mov dword [rsp + 0xa0], 1
jmp 0x140033d5f
cmp dword [rsp + 0xa0], 0
jne 0x140033d5f
lea rcx, str.AutoMount_was_detected_as_disabled___temporarily_re_enabling_it
call fcn.1400380b9
mov ecx, 1
call fcn.140007aed
test eax, eax
jne 0x140033d5f
lea rcx, str.Failed_to_enable_AutoMount
call fcn.1400380b9
call fcn.140001fd0
mov rdx, qword [0x1400b4830]
lea rdi, [rsp + 0x2f0]
mov dword [rdx], eax
call fcn.140001ff4
mov rdx, qword [0x1400b4840]
lea r9, [0x140112d20]
mov rcx, rdi
lea r8, str._sdismFfuProvider.dll
mov dword [rdx], eax
mov edx, 0x104
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rdi
mov byte [rsp + 0x3f3], 0
call fcn.140028c45
xor edx, edx
mov rdi, rax
mov rcx, rax
call qword [sym.imp.msvcrt.dll__waccess]
mov ebp, eax
test rdi, rdi
je 0x140033dcc
mov rcx, rdi
call sub.msvcrt.dll_free
test r14d, r14d
sete dil
cmp dword [rsp + 0x70], 0
sete al
or edi, eax
xor eax, eax
test ebp, ebp
sete al
movzx edi, dil
xor r13d, r13d
xor r14d, r14d
mov dword [0x1401132c8], eax
xor eax, eax
xor r12d, r12d
mov dword [rsp + 0x60], eax
mov rax, qword [0x1400b4f40]
mov rbp, qword [0x1400b4f30]
mov edx, 0xffc
lea r8, str.Localization_set_to__s
mov rcx, qword [rax]
mov rax, qword [0x1401133d0]
sub rdx, rcx
mov r9, qword [rax + 0x18]
add rcx, rbp
call qword [sym.imp.msvcrt.dll__snprintf]
mov rcx, rbp
mov byte [rbp + 0xffb], 0
call sub.msvcrt.dll_strlen
mov rcx, qword [0x1400b4f40]
xor r11d, r11d
mov byte [0x14008332a], 1
lea rdx, [rax + 2]
mov byte [rbp + rax], 0xd
mov byte [rbp + rax + 1], 0xa
mov byte [rbp + rax + 2], 0
mov rax, qword [0x1401133d0]
xor ebp, ebp
mov qword [rcx], rdx
mov rcx, qword [0x140112028]
mov eax, dword [rax + 4]
mov dword [0x140113d9c], r11d
mov byte [0x140112040], 0
and eax, 1
mov dword [0x140113334], eax
call sub.msvcrt.dll_free
xor ecx, ecx
cmp dword [0x140113334], 0
mov qword [0x140112028], rbp
setne cl
call qword [sym.imp.USER32.dll_SetProcessDefaultLayout]
mov rdx, qword [0x1401133d0]
lea rcx, [rsp + 0x3f4]
call fcn.140022d71
test eax, eax
je 0x140033f16
mov rax, qword [0x1401133d0]
mov r8, qword [0x1401120d8]
mov rbp, qword [rax + 0x18]
test r8, r8
je 0x140033eef
mov rdx, rbp
lea rcx, str.Locale
call fcn.1400232db
jmp 0x140033f16
xor r9d, r9d
test rbp, rbp
je 0x140033f02
mov rcx, rbp
call sub.msvcrt.dll_strlen
mov r9d, eax
mov r8, rbp
mov edx, 1
lea rcx, str.Locale
call fcn.14002ade2
test edi, edi
je 0x140033f2a
test r13, r13
je 0x140033f89
mov rcx, r13
call qword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x140033f89
cmp dword [0x140113334], 1
movzx edi, word [0x140083328]
mov ecx, 0xcdf
sbb r9d, r9d
and r9d, 0xffe80000
add r9d, 0x181034
mov dword [rsp + 0x70], r9d
call fcn.14001e311
mov ecx, 0xce0
mov qword [rsp + 0x68], rax
call fcn.14001e311
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0x70]
xor ecx, ecx
mov r8, qword [rsp + 0x68]
mov rdx, rax
call fcn.1400298b1
cmp eax, 6
je 0x140033f1a
jmp 0x140034c73
mov rcx, qword [rsp + 0x650]
lea r9, [0x14002db5a]
xor r8d, r8d
mov edx, 0x65
call fcn.14003e209
mov r13, rax
test rax, rax
jne 0x140033fe7
movzx edx, word [0x140083328]
cmp dword [0x140113334], 1
lea r8, str.DialogBox_failure
sbb eax, eax
xor ecx, ecx
mov dword [rsp + 0x20], edx
and eax, 0xffe80000
lea rdx, str.Could_not_create_Window
lea r9d, [rax + 0x181010]
call fcn.1400298b1
jmp 0x140034c73
mov r8d, dword [0x140083340]
cmp r8d, 0xffff0001
jl 0x140034027
mov r9d, dword [0x140083344]
cmp r9d, 0xffff0001
jl 0x140034027
xor r10d, r10d
mov dword [rsp + 0x30], 1
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r10d
call qword [sym.imp.USER32.dll_SetWindowPos]
xor r9d, r9d
mov rdi, qword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
mov edx, 0x233
mov rcx, r13
mov r8d, 1
call rdi
xor r9d, r9d
mov r8d, 1
mov edx, 0x4a
mov rcx, r13
call rdi
xor r9d, r9d
mov r8d, 1
mov edx, 0x49
mov rcx, r13
call rdi
call fcn.14003f3fb
call fcn.14003f613
test eax, eax
jne 0x140034081
lea rcx, str.Warning:_Could_not_set_alert_prompt_hook
call fcn.1400380b9
mov edx, 1
mov rcx, r13
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, r13
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [sym.imp.USER32.dll_GetMessageW]
mov qword [rsp + 0x70], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call rax
test eax, eax
je 0x140034c24
xor edi, edi
cmp dword [rsp + 0xc8], 0x104
jne 0x1400340f0
mov rdi, qword [rsp + 0xd8]
shr rdi, 0x1d
xor rdi, 1
and edi, 1
cmp qword [rsp + 0xd0], 0x12
jne 0x140034109
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 1
cmovs r12d, eax
jmp 0x14003410f
mov r14d, 1
mov rcx, qword [0x140113370]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x140034160
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140034160
cmp dword [rsp + 0xc8], 0x100
jne 0x140034160
cmp qword [rsp + 0xd0], 0x41
jne 0x140034160
mov rcx, qword [0x140113380]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov edx, 0xb1
jmp 0x140034239
test edi, edi
je 0x14003417b
cmp qword [rsp + 0xd0], 0x11
jne 0x14003417b
mov eax, dword [0x140083320]
mov dword [0x140113c10], eax
cmp dword [0x140113c10], 0
je 0x1400341b7
cmp qword [rsp + 0xd0], 0x4c
jne 0x140034244
xor r9d, r9d
mov r8d, 0x41e
mov edx, 0x111
mov rcx, qword [0x140113428]
mov dword [0x140113c10], r9d
xor r9d, r9d
jmp 0x140034239
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140034244
cmp dword [rsp + 0xc8], 0x100
jne 0x140034244
jmp 0x140034184
cmp rax, 0x49
jne 0x1400346cd
mov rax, qword [0x1400b4950]
xor edi, edi
mov ecx, 0xcbe
cmp dword [rax], 0
sete dil
mov dword [rax], edi
call fcn.14001e311
mov edx, edi
mov rcx, rax
call fcn.140028a41
cmp qword [0x1401120d0], 0
je 0x1400340a4
mov dword [0x140113e00], 1
xor r9d, r9d
mov r8d, 0x3f6
mov rcx, r13
mov dword [0x140113df4], 1
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400340a4
cmp dword [0x140113c10], 0
je 0x140034286
cmp qword [rsp + 0xd0], 0x50
jne 0x1400342a3
xor edx, edx
cmp dword [0x1401132cc], 0
lea rcx, str.PersistentLog
sete dl
mov dword [0x1401132cc], edx
call fcn.14002af4f
mov edi, dword [0x1401132cc]
mov ecx, 0xd08
jmp 0x140034c10
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400342a3
cmp dword [rsp + 0xc8], 0x100
je 0x14003424d
test edi, edi
jne 0x1400342bc
mov edx, dword [rsp + 0xc8]
cmp edx, 0x104
jne 0x140034398
jmp 0x1400342da
cmp qword [rsp + 0xd0], 0x11
je 0x1400340a4
xor r8d, r8d
mov dword [0x140113c10], r8d
jmp 0x1400340a4
mov rax, qword [rsp + 0xd0]
lea rcx, [rax - 0x6b]
test rcx, 0xfffffffffffffffd
je 0x140034303
lea rcx, [rax - 0xbb]
test rcx, 0xfffffffffffffffd
jne 0x140034398
mov edx, dword [0x140083308]
cmp rax, 0xbb
je 0x140034317
cmp rax, 0x6b
jne 0x140034323
cmp edx, 1
jg 0x140034374
mov eax, 1
jmp 0x14003432b
or eax, 0xffffffff
cmp edx, 0xffffffff
jl 0x140034374
add edx, eax
lea rcx, str.DefaultThreadPriority
mov dword [0x140083308], edx
dec edx
call fcn.14002b4b1
mov rcx, qword [0x140113350]
test rcx, rcx
je 0x140034359
mov edx, dword [0x140083308]
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov rax, qword [0x1400b5050]
mov edx, dword [0x140083308]
mov rcx, qword [rax]
test rcx, rcx
je 0x140034374
call qword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov eax, dword [0x140083308]
mov r9d, 0xcf6
xor edx, edx
xor ecx, ecx
mov r8d, 0xdac
mov dword [rsp + 0x20], eax
call fcn.14001e4cb
jmp 0x1400340a4
cmp dword [0x140083320], 0
jne 0x140034f18
cmp edx, 0x104
jne 0x1400349df
mov rax, qword [rsp + 0xd0]
cmp rax, 0xbe
jne 0x140034404
mov eax, dword [0x140113304]
xor edx, edx
mov rcx, qword [0x1400b4810]
test eax, eax
sete dl
cmp eax, 1
sbb eax, eax
mov dword [0x140113304], edx
and eax, 0xfffffffe
add eax, 3
mov dword [rcx], eax
lea rcx, str.EnableUsbDebug
call fcn.14002af4f
mov edi, dword [0x140113304]
mov ecx, 0xcc6
jmp 0x14003467f
cmp rax, 0xbc
jne 0x140034429
xor edi, edi
cmp dword [0x140083324], 0
mov ecx, 0xcd2
sete dil
mov dword [0x140083324], edi
jmp 0x140034c10
cmp rax, 0x42
jne 0x140034463
xor eax, eax
cmp dword [0x140113310], 0
lea rcx, str.DisableFakeDrivesCheck
setne dl
sete al
movzx edx, dl
mov dword [0x140113310], eax
call fcn.14002af4f
mov edi, dword [0x140113310]
mov ecx, 0xcb8
jmp 0x140034c10
cmp rax, 0x43
jne 0x140034490
mov rcx, qword [0x1401133c0]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
test eax, eax
js 0x1400340a4
jmp 0x1400347f6
cmp rax, 0x44
jne 0x1400345a7
lea rdi, [rsp + 0x2f0]
lea rax, [0x1400965a9]
mov edx, 0x104
lea r9, [0x140112c00]
lea r8, [0x1400986ca]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcrt.dll__snprintf]
mov qword [rsp + 0x20], rdi
mov r9d, 0xcc0
xor ecx, ecx
mov r8d, 0xdac
mov edx, 1
mov byte [rsp + 0x3f3], 0
call fcn.14001e4cb
mov rcx, rdi
call sub.msvcrt.dll_strlen
mov edx, 2
add rax, 2
mov rcx, rax
mov qword [rsp + 0x68], rax
call sub.msvcrt.dll_calloc
xor ecx, ecx
xor edx, edx
or r9d, 0xffffffff
mov rbp, rax
xor eax, eax
mov dword [rsp + 0x214], edx
mov r8, rdi
mov qword [rsp + 0x1f0], rax
xor eax, eax
xor edx, edx
mov qword [rsp + 0x208], rax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x218], rcx
mov qword [rsp + 0x220], rcx
mov ecx, 0xfde9
mov dword [rsp + 0x1f8], 3
mov qword [rsp + 0x200], rbp
mov word [rsp + 0x210], 0x414
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test rbp, rbp
je 0x140034598
mov rcx, rbp
call sub.msvcrt.dll_free
mov dword [0x140113de8], 1
jmp 0x1400340a4
cmp rax, 0x45
jne 0x1400345f1
xor edx, edx
cmp dword [0x140113314], 0
lea rcx, str.EnableWindowsDualUefiBiosMode
sete dl
mov dword [0x140113314], edx
call fcn.14002af4f
mov edi, dword [0x140113314]
mov ecx, 0xcc2
call fcn.14001e311
mov rcx, rax
mov edx, edi
call fcn.140028a41
xor ecx, ecx
call fcn.140028f14
jmp 0x1400340a4
cmp rax, 0x46
jne 0x14003464a
xor edi, edi
cmp dword [0x140113328], 0
mov ecx, 0xcb5
sete dil
mov dword [0x140113328], edi
call fcn.14001e311
mov edx, edi
mov rcx, rax
call fcn.140028a41
xor ecx, ecx
call fcn.140002b39
xor r8d, r8d
mov edx, 0x3fe
cmp dword [0x140113328], 0
mov rcx, qword [0x140113428]
setne r8b
call qword [sym.imp.USER32.dll_CheckDlgButton]
jmp 0x1400340a4
cmp rax, 0x47
jne 0x14003469a
xor eax, eax
cmp dword [0x14008331c], 0
lea rcx, str.DisableVHDs
setne dl
sete al
movzx edx, dl
mov dword [0x14008331c], eax
call fcn.14002af4f
mov edi, dword [0x14008331c]
mov ecx, 0xcec
call fcn.14001e311
mov edx, edi
mov rcx, rax
call fcn.140028a41
xor ecx, ecx
call fcn.140002b39
jmp 0x1400340a4
cmp rax, 0x48
jne 0x1400341d6
mov rdi, qword [0x1400b4930]
xor edx, edx
lea rcx, str.EnableExtraHashes
cmp dword [rdi], 0
sete dl
mov dword [rdi], edx
call fcn.14002af4f
mov edi, dword [rdi]
mov ecx, 0xcf0
jmp 0x140034c10
cmp rax, 0x4a
jne 0x1400346ef
mov rax, qword [0x1400b4960]
xor edi, edi
mov ecx, 0xcb9
cmp dword [rax], 0
sete dil
mov dword [rax], edi
jmp 0x140034c10
cmp rax, 0x4b
jne 0x140034711
mov rax, qword [0x1400b4980]
xor edi, edi
mov ecx, 0xcba
cmp dword [rax], 0
sete dil
mov dword [rax], edi
jmp 0x140034c10
cmp rax, 0x4c
jne 0x140034745
xor edx, edx
cmp dword [0x140113308], 0
lea rcx, str.ForceLargeFat32Formatting
sete dl
mov dword [0x140113308], edx
call fcn.14002af4f
mov edi, dword [0x140113308]
mov ecx, 0xcb6
jmp 0x14003467f
cmp rax, 0x4d
jne 0x140034779
xor edx, edx
cmp dword [0x1401132d4], 0
lea rcx, str.IgnoreBootMarker
sete dl
mov dword [0x1401132d4], edx
call fcn.14002af4f
mov edi, dword [0x1401132d4]
mov ecx, 0xcf7
jmp 0x140034c10
cmp rax, 0x4e
jne 0x14003479c
xor edi, edi
cmp dword [0x140113324], 0
mov ecx, 0xcbc
sete dil
mov dword [0x140113324], edi
jmp 0x140034c10
cmp rax, 0x4f
jne 0x1400347ac
call fcn.14001d866
jmp 0x1400340a4
cmp rax, 0x50
jne 0x140034800
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [0x1401133c0]
mov rbp, qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x147
call rbp
mov rcx, qword [0x1401133c0]
xor r9d, r9d
mov edx, 0x150
mov edi, eax
movsxd r8, eax
call rbp
xor edx, edx
mov ecx, eax
call fcn.14000a94e
test eax, eax
je 0x1400340a4
mov ecx, edi
call fcn.1400021e7
jmp 0x1400340a4
cmp rax, 0x51
jne 0x140034834
xor edx, edx
cmp dword [0x1401132e8], 0
lea rcx, str.EnableFileIndexing
sete dl
mov dword [0x1401132e8], edx
call fcn.14002af4f
mov edi, dword [0x1401132e8]
mov ecx, 0xcda
jmp 0x140034c10
cmp rax, 0x52
jne 0x140034872
lea rcx, [0x14009664a]
call fcn.14002a538
mov r8d, 0xdac
neg eax
sbb r9d, r9d
xor ecx, ecx
xor edx, edx
add r9d, 0xcb1
call fcn.14001e4cb
lea rcx, [0x1400986d0]
call fcn.14002a538
jmp 0x1400340a4
cmp rax, 0x53
jne 0x140034895
xor edi, edi
cmp dword [0x14008335c], 0
mov ecx, 0xcb4
sete dil
mov dword [0x14008335c], edi
jmp 0x14003467f
cmp rax, 0x54
jne 0x1400348c9
xor edx, edx
cmp dword [0x1401132fc], 0
lea rcx, str.PreserveTimestamps
sete dl
mov dword [0x1401132fc], edx
call fcn.14002af4f
mov edi, dword [0x1401132fc]
mov ecx, 0xcc5
jmp 0x140034c10
cmp rax, 0x55
jne 0x14003490a
xor eax, eax
cmp dword [0x140113300], 0
lea rcx, str.UseProperSizeUnits
setne dl
sete al
xor edi, edi
movzx edx, dl
mov dword [0x140113300], eax
call fcn.14002af4f
cmp dword [0x140113300], 0
mov ecx, 0xcbf
sete dil
jmp 0x14003467f
cmp rax, 0x56
jne 0x14003494d
cmp dword [0x140083318], 0
je 0x1400340a4
xor edx, edx
cmp dword [0x1401132d8], 0
lea rcx, str.UseVds
sete dl
mov dword [0x1401132d8], edx
call fcn.14002af4f
mov edx, dword [0x1401132d8]
lea rcx, [0x1400986e0]
jmp 0x140034c1a
cmp rax, 0x57
jne 0x140034981
xor edx, edx
cmp dword [0x14011330c], 0
lea rcx, str.EnableVmdkDetection
sete dl
mov dword [0x14011330c], edx
call fcn.14002af4f
mov edi, dword [0x14011330c]
mov ecx, 0xcc1
jmp 0x14003467f
cmp rax, 0x58
jne 0x1400349a9
mov r9d, 0xcb7
mov r8d, 0x7d0
xor edx, edx
xor ecx, ecx
call fcn.14001e4cb
xor eax, eax
mov dword [0x140113e08], eax
jmp 0x1400340a4
cmp rax, 0x59
jne 0x1400349c1
xor edi, edi
cmp dword [0x1401132a4], 0
setle dil
jmp 0x140034c05
cmp rax, 0x5a
jne 0x140034f18
mov dword [0x1401132f0], 1
xor eax, eax
mov dword [0x1401132f8], eax
jmp 0x140034a3a
cmp edx, 0x100
jne 0x140034f18
cmp qword [rsp + 0xd0], 0x5a
je 0x140034a07
cmp qword [rsp + 0xd0], 0x45
jne 0x140034a8d
jmp 0x140034a69
mov rdi, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
call rdi
test ax, ax
jns 0x140034a56
mov ecx, 0x12
call rdi
test ax, ax
jns 0x140034a56
mov dword [0x1401132f0], 1
mov dword [0x1401132f8], 1
xor r9d, r9d
mov r8d, 0x3eb
mov edx, 0x111
mov rcx, r13
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400340a4
cmp dword [rsp + 0xc8], 0x100
jne 0x140034f18
jmp 0x1400349f6
mov rdi, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
call rdi
test ax, ax
js 0x140034a9a
cmp dword [rsp + 0xc8], 0x100
jne 0x140034f18
cmp qword [rsp + 0xd0], 0x46
jne 0x140034af8
jmp 0x140034ad4
mov ecx, 0x12
call rdi
test ax, ax
jns 0x140034a7c
xor edx, edx
cmp dword [0x1401132c4], 0
lea rcx, str.ExpertMode
sete dl
mov dword [0x1401132c4], edx
call fcn.14002af4f
mov edi, dword [0x1401132c4]
mov ecx, 0xd13
jmp 0x140034c10
mov rdi, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
call rdi
test ax, ax
js 0x140034b0c
cmp dword [rsp + 0xc8], 0x100
jne 0x140034f18
cmp qword [rsp + 0xd0], 0x59
jne 0x140034f18
jmp 0x140034bcf
mov ecx, 0x12
call rdi
test ax, ax
jns 0x140034ae7
xor edx, edx
cmp dword [0x1401132ec], 0
mov eax, dword [rsp + 0x60]
sete dl
mov dword [0x1401132ec], edx
jne 0x140034b3f
mov eax, dword [0x140113328]
mov dword [rsp + 0x60], eax
mov eax, 1
xor r8d, r8d
test eax, eax
mov edx, 0x3fe
mov rcx, qword [0x140113428]
setne r8b
mov dword [0x140113328], eax
call qword [sym.imp.USER32.dll_CheckDlgButton]
mov edi, dword [0x1401132ec]
mov ecx, 0xcd7
call fcn.14001e311
mov rcx, rax
mov edx, edi
call fcn.140028a41
cmp dword [0x1401132ec], 0
lea rax, [0x1400965d2]
lea rdx, str.CAUTION:
cmove rdx, rax
lea r8, str.enabled
lea rax, [0x140097c24]
cmove r8, rax
lea rcx, str._sListing_of_non_USB_removable_drives__s
call fcn.1400380b9
cmp dword [0x1401132ec], 0
je 0x14003468e
lea rcx, str.By_using_this_unofficial_cheat_mode_you_forfeit_ANY_RIGHT_to_complain_if_you_lose_valuable_data_
call fcn.1400380b9
jmp 0x14003468e
mov rdi, qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x11
call rdi
test ax, ax
jns 0x140034f18
mov ecx, 0x12
call rdi
test ax, ax
jns 0x140034f18
xor edi, edi
cmp dword [0x1401132a4], 0
setle dil
add edi, edi
mov dword [0x1401132a4], edi
mov ecx, 0xcbb
call fcn.14001e311
mov edx, edi
mov rcx, rax
call fcn.140028a41
jmp 0x1400340a4
mov rax, qword [0x1400b4b10]
mov rcx, qword [rax]
test rcx, rcx
je 0x140034c44
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x140113df8], 0
je 0x140034c73
xor eax, eax
mov ecx, 1
mov edi, 1
mov dword [0x140113df8], eax
call fcn.14001e0c7
mov ecx, 1
call fcn.14001e06c
jmp 0x140033dfd
mov eax, dword [rsp + 0x58]
xor eax, 1
test dword [rsp + 0x5c], eax
je 0x140034ca4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov rax, qword [rsp + 0x50]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140034ca4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rax, qword [0x1400b4fb0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140034cbe
mov edx, 1
call qword [sym.imp.KERNEL32.DLL_TerminateThread]
cmp dword [rsp + 0x80], 0
jne 0x140034cfd
cmp byte [rsp + 0x3f4], 0
je 0x140034cfd
lea rdi, [rsp + 0x3f4]
mov rcx, rdi
call fcn.140029870
test eax, eax
jne 0x140034cfd
call fcn.140038579
mov rdx, rdi
lea rcx, str.Could_not_delete__s:__s
mov r8, rax
call fcn.1400380b9
call fcn.14003b685
xor edi, edi
xor ebp, ebp
xor r12d, r12d
call fcn.14003f667
xor ecx, ecx
xor r13d, r13d
xor r14d, r14d
call fcn.14001e0c7
mov rcx, qword [0x1401120d0]
call sub.msvcrt.dll_free
mov rcx, qword [0x1401120c0]
xor r9d, r9d
mov qword [0x1401120d0], r9
call sub.msvcrt.dll_free
mov rcx, qword [rsp + 0x48]
xor r10d, r10d
mov qword [0x1401120c0], r10
call sub.msvcrt.dll_free
mov rcx, qword [0x140113450]
call sub.msvcrt.dll_free
mov rcx, qword [0x140113458]
xor r11d, r11d
mov qword [0x140113450], r11
call sub.msvcrt.dll_free
mov qword [0x140113458], rdi
mov rdi, qword [0x1400b4a90]
mov rcx, qword [rdi]
call sub.msvcrt.dll_free
mov rcx, qword [0x140112028]
mov qword [rdi], rbp
call sub.msvcrt.dll_free
mov rdi, qword [0x1400b4a00]
mov qword [0x140112028], r12
mov rcx, qword [rdi]
call sub.msvcrt.dll_free
mov qword [rdi], r13
mov rdi, qword [0x1400b4dd0]
mov rcx, qword [rdi]
call sub.msvcrt.dll_free
mov qword [rdi], r14
xor edi, edi
test r15, r15
je 0x140034df0
cmp dword [rsp + 0x98], edi
jle 0x140034de8
mov rcx, qword [r15 + rdi*8]
call sub.msvcrt.dll_free
xor r8d, r8d
mov qword [r15 + rdi*8], r8
inc rdi
jmp 0x140034dca
mov rcx, r15
call sub.msvcrt.dll_free
test ebx, ebx
je 0x140034e19
xor ecx, ecx
lea r9, str.NoDriveTypeAutorun
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
mov dword [rsp + 0x20], ecx
lea rdx, [0x140113e08]
mov ecx, 1
call fcn.14003764b
cmp dword [rsp + 0xa0], 0
jne 0x140034e3a
xor ecx, ecx
call fcn.140007aed
test eax, eax
jne 0x140034e3a
lea rcx, str.Failed_to_restore_AutoMount_to_disabled
call fcn.1400380b9
mov rbx, qword [0x1400b4f40]
cmp qword [rbx], 0
je 0x140034e5a
mov rdx, qword [0x1400b4f30]
lea rcx, [0x1400964e6]
call fcn.1400380b9
xor edx, edx
lea rcx, [0x140113080]
lea rdi, str.rufus.com
mov qword [rbx], rdx
xor ebx, ebx
call fcn.14002b284
mov rbp, qword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov r12, qword [sym.imp.KERNEL32.DLL_Sleep]
mov rcx, rdi
call rbp
cmp ebx, 0xb
je 0x140034e9c
test eax, eax
jne 0x140034e9c
mov ecx, 0xc8
inc ebx
call r12
jmp 0x140034e82
mov rcx, rsi
lea rbx, [0x140113480]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rsi, qword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov ax, word [0x140113460]
test ax, ax
je 0x140034ed9
dec eax
mov word [0x140113460], ax
movzx eax, ax
mov rcx, qword [rbx + rax*8]
call rsi
jmp 0x140034eb9
cmp dword [rsp + 0x5c], 0
je 0x140034f9d
call qword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
xor eax, eax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.KERNEL32.DLL_FreeConsole]
jmp 0x140034f9d
test r12d, r12d
je 0x140034f53
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x140034f53
test r14d, r14d
je 0x140034f3a
xor r14d, r14d
xor r12d, r12d
jmp 0x140034f53
mov rcx, qword [0x1400b4fc0]
mov r8d, 3
mov eax, dword [rcx]
inc eax
cdq
idiv r8d
mov dword [rcx], edx
jmp 0x140034f32
lea rdi, [rsp + 0xc0]
mov rbp, qword [sym.imp.USER32.dll_IsDialogMessageW]
mov rcx, r13
mov rdx, rdi
call rbp
test eax, eax
jne 0x1400340a4
mov rcx, qword [0x140113370]
mov rdx, rdi
call rbp
test eax, eax
jne 0x1400340a4
mov rcx, rdi
call qword [sym.imp.USER32.dll_TranslateMessage]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400340a4
lea rcx, str._Rufus_exit__n
call fcn.1400380b9
xor eax, eax
add rsp, 0x608
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
push rdi
push rsi
push rbx
sub rsp, 0x90
xor esi, esi
call fcn.140075dc0
call fcn.140078230
mov rbx, qword [rax]
test rbx, rbx
jne 0x1400796eb
jmp 0x140079761
test cl, cl
je 0x140079718
and esi, 1
je 0x140079700
mov esi, 1
call sub.msvcrt.dll__ismbblead
test eax, eax
je 0x1400796e7
cmp byte [rbx + 1], 1
sbb rbx, 0xffffffffffffffff
add rbx, 1
movsx ecx, byte [rbx]
cmp cl, 0x20
jle 0x1400796c8
mov eax, esi
xor eax, 1
cmp cl, 0x22
cmove esi, eax
jmp 0x1400796d6
test cl, cl
je 0x140079718
nop dword [rax]
movzx eax, byte [rbx + 1]
add rbx, 1
test al, al
je 0x140079718
cmp al, 0x20
jle 0x140079708
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0xd
mov rdi, rdx
rep stosq qword [rdi], rax
mov rcx, rdx
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov r9d, 0xa
test byte [rsp + 0x5c], 1
je 0x140079746
movzx r9d, word [rsp + 0x60]
mov rcx, qword [0x1400b44c0]
mov r8, rbx
xor edx, edx
add rsp, 0x90
pop rbx
pop rsi
pop rdi
jmp 0x1400324e1
lea rbx, [0x1400b3920]
jmp 0x140079718