Function at 0x140032f30
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rbp + 0x580], rax
xor edi, edi
mov dword [rsp + 0x78], 0x100
mov r8d, 0x400
lea rdx, [rbp + 0x180]
xor ecx, ecx
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARECLASSESexpedat_shellopencommand
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140033030
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea rax, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140033018
cmp byte [rbp - 0x80], 0x22
jne 0x140032fea
lea rcx, [rbp - 0x7f]
lea rdx, [0x1400c2c44]
jmp 0x140032ff5
lea rcx, [rbp - 0x80]
lea rdx, [0x1400c2c54]
lea r8, [rsp + 0x70]
call fcn.140075bec
mov rdx, rax
lea rcx, [rbp + 0x180]
mov r8d, 0x100
call fcn.140075520
test eax, eax
je 0x14003301d
mov ebx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1400333bc
lea rax, [rsp + 0x58]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARECLASSES
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14003307e
mov rcx, qword [0x1400c0a30]
lea r8, [0x1400c4a84]
xor r9d, r9d
lea rdx, str.Unable_to_register_expedat:____A_
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400333bc
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rdi
lea rdx, str.expedat
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400330e8
mov rcx, qword [0x1400c0a30]
lea r8, [0x1400c4ac0]
xor r9d, r9d
lea rdx, str.Unable_to_register_expedat:____B_
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400333bc
mov rbx, 0xffffffffffffffff
lea rcx, str.URL:ExpeDat_Desktop_File_Transport
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140033100
inc eax
mov r9d, 1
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140033167
lea r8, [0x1400c4aec]
lea rdx, [0x1400c4af8]
mov rcx, qword [0x1400c0a30]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400333bc
mov rcx, qword [rsp + 0x50]
lea rax, [0x1400d320c]
mov dword [rsp + 0x28], edi
lea rdx, str.URL_Protocol
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x1400331a6
lea r8, [0x1400c4b28]
lea rdx, [0x1400c4b30]
jmp 0x14003313c
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rdi
lea rdx, str.shell
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400331f5
lea r8, [0x1400c4b58]
lea rdx, [0x1400c4b60]
jmp 0x14003313c
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rdi
lea rdx, str.open
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14003325f
mov rcx, qword [0x1400c0a30]
lea r8, [0x1400c4b88]
xor r9d, r9d
lea rdx, [0x1400c4b90]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003314c
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rdi
lea rdx, str.command
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x1400332d4
mov rcx, qword [0x1400c0a30]
lea r8, [0x1400c4bb8]
xor r9d, r9d
lea rdx, [0x1400c4bc0]
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003314c
lea r9, [rbp + 0x180]
mov edx, 0x100
lea r8, str.__s____1
lea rcx, [rbp + 0x80]
call fcn.140044c10
lea rax, [rbp + 0x80]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x140033300
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x80]
inc ebx
mov r9d, 1
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140033379
mov rcx, qword [0x1400c0a30]
lea r8, str.Error
xor r9d, r9d
lea rdx, str.Unable_to_register_expedat:__
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003314c
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.expedat:___URL_registered_r_n
call fcn.140020ee0
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.14006f1f0
lea r11, [rsp + 0x690]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret