joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400022b5
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
mov r15, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14011c600
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, bl
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000235a
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.140119970
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.EBWebView
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x140002339
cmp dword [rsp + 0x3c], 3
jb 0x140002339
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400026a6
mov rcx, r15
call fcn.14000286c
mov rcx, rax
mov dx, 0x5c
call fcn.14011c320
test rax, rax
je 0x140002407
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x140157c40]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.14000213d
test al, al
je 0x140002407
test r14, r14
je 0x1400023f3
mov rcx, r14
mov rdx, rdi
call fcn.1400026a6
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.14000240e
mov ebx, eax
jmp 0x140002339
xor ebx, ebx
jmp 0x140002339

Function at 0x14000240e
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x140158290]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x140002434
jb 0x140002442
add rax, 4
cmp rax, 0x10
jne 0x140002420
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400010ac
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.14000286c
mov rcx, rax
call rsi
lea rcx, [0x1401582f2]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140002ee4
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x140002f87
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002fb0
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x140002fe3
test al, al
je 0x140002fc2
mov rcx, qword [r15]
test rcx, rcx
je 0x140002fdf
xor edx, edx
mov r8d, 0xa
call fcn.14012af54
cmp eax, 1
jmp 0x140002fb5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140119970
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140002fe3
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x140002fc4
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140119970
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x140002fb8
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.14011c600
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x140003074
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400026a6
mov rcx, r15
call fcn.14000286c
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140119970
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140002fe3
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x140002f87
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002fb0
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x140002fe3
test al, al
je 0x140002fc2
mov rcx, qword [r15]
test rcx, rcx
je 0x140002fdf
xor edx, edx
mov r8d, 0xa
call fcn.14012af54
cmp eax, 1
jmp 0x140002fb5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140119970
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140002fe3
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x140002fc4
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140119970
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x140002fb8
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.14011c600
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x140003074
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400026a6
mov rcx, r15
call fcn.14000286c
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140119970
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000314b
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400031c5
mov rdi, rax
lea rdx, str.CreateWebViewEnvironmentWithOptionsInternal
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000325a
mov rcx, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov ecx, r14d
mov edx, ebp
mov r8, rsi
call qword [case.0x1400a1ff7.0]
mov esi, eax
mov dword [rsp + 0x54], eax
jmp 0x1400032dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140157c40]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400025b0
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rdi
call fcn.14000309c
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
mov rbp, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rbp
mov rcx, rdi
call fcn.14000286c
mov rcx, rax
call rbp
lea rcx, str._path
call rbp
mov rcx, rbx
call rbp
lea rcx, [0x1401582f2]
call rbp
mov rcx, rdi
call fcn.1400025c2
jmp 0x1400032fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140157c40]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400025b0
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rbx
call fcn.14000309c
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
mov rbp, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rbp
mov rcx, rbx
call fcn.14000286c
mov rcx, rax
call rbp
lea rcx, [0x1401582f2]
call rbp
mov rcx, rbx
call fcn.1400025c2
lea rdx, str.DllCanUnloadNow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400032fa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140119970
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140003364
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1400033b8
mov ebx, eax
mov edx, eax
mov rcx, rsi
call fcn.14000261e
test al, al
je 0x1400033b8
mov rcx, rsi
call fcn.14000286c
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, eax
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140002768
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x140003ef8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movsxd rdi, r8d
mov rcx, qword [rcx]
mov rsi, rdx
test rcx, rcx
je 0x140003f1e
call qword [sym.imp.USER32.dll_DestroyWindow]
and qword [rsp + 0x58], 0
lea rdx, str.ComboBoxEx32
or qword [rbx + 8], 0xffffffffffffffff
mov r9d, 0x44200046
mov rax, qword [0x1401ca668]
xor r8d, r8d
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 0xdc
mov dword [rsp + 0x30], 0x3c
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor r9d, r9d
mov edx, 0x408
mov rcx, rax
mov qword [rbx], rax
lea r8d, [r9 + 4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140003faa
mov rcx, rax
call fcn.1400e994c
mov rcx, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
jmp fcn.140003fc4
Function at 0x140003fc4
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x248]
sub rsp, 0x340
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x238], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140004150
xor r9d, r9d
xor r8d, r8d
mov edx, 0x14b
call qword [sym.imp.USER32.dll_SendMessageW]
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
jne 0x1400040b8
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x60]
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4209
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov rcx, qword [rdi]
xor r8d, r8d
mov r9, rax
mov edx, 0x402
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401f7cf8]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a1ff7.0]
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x70]
or qword [rsp + 0x38], 0xffffffffffffffff
lea rdx, [rsp + 0x70]
and dword [rsp + 0x30], 0
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 1]
call fcn.140004178
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x1400040e4
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call fcn.140003928
test al, al
jne 0x140004148
call fcn.1400e7e48
mov esi, eax
xor ebx, ebx
bt esi, ebx
jae 0x140004141
lea r9d, [rbx + 0x41]
mov edx, 0xa
lea r8, str._c:_
lea rcx, [rbp + 0x220]
call fcn.140004dcc
mov byte [rsp + 0x40], 1
lea rdx, [rbp + 0x220]
or qword [rsp + 0x38], 0xffffffffffffffff
xor r9d, r9d
mov dword [rsp + 0x30], 2
xor r8d, r8d
and qword [rsp + 0x28], 0
mov rcx, rdi
or dword [rsp + 0x20], 0xffffffff
call fcn.140004178
inc ebx
cmp ebx, 0x20
jl 0x1400040ed
mov rcx, rdi
call fcn.14000455c
mov rcx, qword [rbp + 0x238]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140004178
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rdi, qword [rbp + 0x2a8]
mov r13, rcx
mov ecx, 0x1010
mov rbx, r9
mov r15d, r8d
mov r12, rdx
call fcn.14011950c
mov rcx, r12
mov r14, rax
mov dword [rax], r15d
mov qword [rax + 8], rbx
call fcn.1400abe5c
mov rdx, rax
lea rcx, [r14 + 0x10]
mov r8d, 0x800
call fcn.1400ac228
mov ebx, dword [rbp + 0x2a0]
xor eax, eax
or rsi, 0xffffffffffffffff
cmp byte [rbp + 0x2c0], al
jne 0x140004246
cmp ebx, esi
je 0x140004206
test rdi, rdi
jne 0x140004246
mov eax, 0x4203
lea r8, [rsp + 0x70]
cmp r15d, 2
mov r9d, 0x2b8
lea ecx, [rax - 2]
cmovne eax, ecx
xor edx, edx
mov rcx, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, esi
lea rax, [rbp - 0x80]
cmove ebx, dword [rsp + 0x78]
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
xor eax, eax
mov rcx, qword [r13]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x48], eax
test rdi, rdi
mov dword [rsp + 0x54], eax
mov edx, 0x40b
mov dword [rsp + 0x5c], eax
cmovne rsi, rdi
mov rax, qword [rbp + 0x2b8]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x2b0]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x30], 0x37
mov qword [rsp + 0x60], r14
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x390]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000431c
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x300
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rbx, qword [rsp + 0x340]
mov r11, r9
mov eax, r8d
mov r10, rdx
cmp r8d, 0x4e
jne 0x14000441c
cmp dword [rbx + 0x10], 0xfffffcd9
je 0x140004386
cmp dword [rbx + 0x10], 0xfffffcda
jne 0x14000437f
cmp dword [rbx + 0x228], 2
jne 0x14000437f
lea rcx, [0x1401bcf98]
call fcn.140004450
xor eax, eax
jmp 0x14000442d
mov rax, qword [rbx + 0x48]
mov esi, dword [rbx + 0x18]
mov ebp, dword [rax]
cmp ebp, 4
jne 0x14000439a
mov rdi, qword [rax + 8]
jmp 0x14000439e
lea rdi, [rax + 0x10]
test sil, 1
je 0x1400043da
mov eax, 0x200
lea r8, [rsp + 0x30]
cmp ebp, 4
mov r9d, 0x2b8
lea ecx, [rax + 8]
cmove eax, ecx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400043da
lea rax, [rsp + 0x40]
mov qword [rbx + 0x28], rax
test sil, 6
je 0x140004412
mov eax, 0x4001
lea r8, [rsp + 0x30]
cmp ebp, 4
mov r9d, 0x2b8
lea ecx, [rax + 8]
cmove eax, ecx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x34], eax
bts dword [rbx + 0x18], 0x1c
jmp 0x14000437f
mov r9, rbx
mov r8, r11
mov edx, eax
mov rcx, r10
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x320]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret

Function at 0x140004450
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx]
mov r8d, 0x800
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rcx, [rsp + 0x20]
call fcn.1400c64c4
mov rcx, qword [rbx]
lea r9, [rsp + 0x20]
or r8, 0xffffffffffffffff
mov edx, 0x158
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x1400044e5
mov rcx, qword [rbx]
xor r9d, r9d
mov r8, rax
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call fcn.140003d38
cmp byte [0x14018a804], 0
mov rcx, rbx
je 0x1400044de
call fcn.140004a48
jmp 0x140004541
call fcn.140004c98
jmp 0x140004541
cmp byte [0x14018a804], 0
je 0x1400044fc
lea rcx, [rsp + 0x20]
call fcn.1400960e0
test al, al
je 0x14000452d
lea rcx, [rsp + 0x20]
call fcn.1400abfb4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000452d
test al, 0x10
jne 0x14000452d
lea rdx, [rsp + 0x20]
lea rcx, [0x1401bd3f0]
call fcn.140059184
jmp 0x140004541
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [0x1401bd3f0]
call fcn.140056060
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140119970
add rsp, 0x1030
pop rbx
ret
Function at 0x14000ef6c
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x830
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rsp + 0x820], rax
xor ebp, ebp
mov rdi, rcx
mov word [rcx], bp
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rax
mov ebx, ebp
call fcn.1400ab958
mov rsi, rax
test rax, rax
je 0x14000f01b
test ebx, ebx
jne 0x14000efcb
mov ebx, 1
jmp 0x14000eff8
movzx edx, word [rsp + 0x20]
lea rcx, [0x14019b530]
call fcn.1400773a0
test al, al
jne 0x14000eff8
cmp ebx, 1
jne 0x14000eff6
movzx eax, word [rsp + 0x20]
mov word [rdi], ax
movzx eax, word [rsp + 0x22]
mov word [rdi + 2], ax
inc ebx
mov r8d, 0x400
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400ab958
mov rsi, rax
test rax, rax
jne 0x14000efc0
cmp ebx, 2
jne 0x14000f01b
mov word [rdi], bp
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400101bc
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov rsi, rcx
call fcn.140088e38
xor r15d, r15d
test al, al
je 0x1400103a2
call fcn.1400e9198
test al, al
je 0x1400103a2
mov r12d, 0x800
lea rdx, [rbp + 0x1f50]
mov r8d, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movzx r14d, word [rsi]
lea rax, str.RarExtLogo.altform_unplated_targetsize_32.png
mov qword [rsp + 0x20], rax
lea ebx, [r15 + 0x20]
lea rax, str.RarExtLogo.altform_unplated_targetsize_48.png
mov edi, r15d
mov qword [rsp + 0x28], rax
lea rax, str.RarExtLogo.altform_unplated_targetsize_64.png
mov qword [rsp + 0x30], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_32.png
mov qword [rsp + 0x38], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_48.png
mov qword [rsp + 0x40], rax
lea rax, str.RarExtLogo_Default.altform_unplated_targetsize_64.png
mov qword [rsp + 0x48], rax
mov r8, r12
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call fcn.1401269a0
mov r8, r12
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.1401269a0
mov rdx, qword [rsp + rdi + 0x20]
lea rcx, [rsp + 0x50]
mov r8, r12
call fcn.140096a54
mov rdx, qword [rsp + rdi + 0x38]
lea rcx, [rbp + 0xf50]
mov r8, r12
call fcn.140096a54
test r14w, r14w
jne 0x14001032c
lea rcx, [rbp + 0xf50]
call fcn.1400855a0
test al, al
je 0x1400103a2
lea rcx, [rsp + 0x50]
call fcn.1400855a0
test al, al
je 0x140010309
lea rcx, [rsp + 0x50]
call fcn.1400852ac
test al, al
je 0x1400103cf
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400103cf
test r14w, r14w
je 0x140010392
lea rcx, [rbp + 0xf50]
call fcn.1400855a0
test al, al
jne 0x140010355
xor r8d, r8d
lea rdx, [rbp + 0xf50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400103cf
lea rcx, [rsp + 0x50]
call fcn.1400855a0
test al, al
je 0x140010371
lea rcx, [rsp + 0x50]
call fcn.1400852ac
test al, al
je 0x1400103cf
mov r9d, ebx
lea rdx, [rsp + 0x50]
mov r8d, ebx
mov rcx, rsi
call fcn.140010f30
lea rcx, [rsp + 0x50]
call fcn.1400855a0
test al, al
je 0x1400103d3
add ebx, 0x10
add rdi, 8
cmp ebx, 0x50
jb 0x14001027f
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x3060]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor al, al
jmp 0x1400103a4
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xf50]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1400103cf
Function at 0x140014638
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov bpl, cl
cmp dword [0x14018a800], 0
jne 0x1400147ed
lea r8, str.WinRAR_DragDrop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400146a3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x5b9
call fcn.1400a617c
mov rcx, rax
call fcn.1400ee128
jmp 0x1400147ed
mov ebx, 0x10
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [0x140183b22], al
mov ecx, ebx
call fcn.14011950c
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400146e2
lea rax, [0x140141320]
mov qword [rbx], rax
mov dword [rbx + 8], 1
jmp 0x1400146e4
xor ebx, ebx
mov ecx, 0x10858
call fcn.14011950c
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14001470e
xor r9d, r9d
mov r8, rsi
mov dl, bpl
mov rcx, rax
call fcn.140013aec
mov rsi, rax
jmp 0x140014710
xor esi, esi
mov qword [0x140183b28], rsi
mov byte [0x140183b21], 0
mov byte [0x140183b20], 1
mov byte [0x140183b23], 0
lea r9, [rsp + 0x50]
mov r8d, 3
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ole32.dll_DoDragDrop]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov byte [0x140183b20], 0
mov rdx, qword [rsi]
mov rcx, rsi
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a1ff7.0]
mov rdx, qword [rbx]
mov rcx, rbx
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a1ff7.0]
cmp byte [0x140183b22], 0
je 0x1400147a0
cmp byte [0x14018a804], 0
je 0x1400147a0
cmp ebp, 0x40100
jne 0x1400147a0
call fcn.1400f68f0
lea rcx, [0x1401bd3f0]
call fcn.14005c25c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [rbp - 0x40100]
cmp eax, 1
jbe 0x1400147ed
cmp byte [0x140183b23], 0
jne 0x1400147ed
cmp r14d, 0x3f0
je 0x1400147ed
mov ecx, 0x53c
call fcn.1400a617c
mov rcx, rax
call fcn.1400ee128
lea rcx, [0x1401ca7d8]
call fcn.14007e310
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret