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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x2060
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rcx
je 0x140075f67
mov rdx, rcx
mov rcx, rbx
call fcn.1400805a0
lea rax, [rsp + 0x38]
lea rdx, str.SoftwareWinRARGeneral
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
cmp eax, r12d
jne 0x14007605f
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
mov eax, 0x7ff
lea r9, [rsp + 0x40]
not rcx
lea rdx, str.LanguageFolder
xor r8d, r8d
dec rcx
sub eax, ecx
mov rcx, qword [rsp + 0x38]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1050]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r12d
jne 0x140076054
mov edi, 0x800
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1050]
mov r8d, edi
mov word [rsp + 0x50], r12w
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.14006119c
mov rcx, rsi
call fcn.1400615e8
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rax
call fcn.1400805dc
lea rcx, [rsp + 0x50]
call fcn.14003c3d4
cmp al, r12b
je 0x140076054
lea rdx, [rsp + 0x50]
mov r8, rbp
mov rcx, rbx
call fcn.1400805a0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x2060
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140076140
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1150
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1140], rax
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call fcn.140075ef4
xor ebp, ebp
cmp rbx, rbp
je 0x1400761a2
lea r8, [rsp + 0x140]
sub r8, rbx
movzx eax, word [rbx]
mov word [r8 + rbx], ax
add rbx, 2
cmp ax, bp
jne 0x14007618f
jmp 0x1400761b8
lea rdx, [rsp + 0x140]
mov r8d, 0x800
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.rarlng.dll
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.1400617d0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x140]
mov r8d, 0x800
call fcn.140075f28
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x14007622d
cmp dword [rsp + 0x24], 5
ja 0x140076217
jne 0x14007622d
cmp dword [rsp + 0x28], 1
jbe 0x14007622d
xor edx, edx
lea rcx, [rsp + 0x140]
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x14007623b
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, rbp
mov qword [0x140134b88], rax
setne cl
mov byte [rsi], cl
mov rax, qword [0x140134b88]
cmp cl, bpl
cmove rax, rdi
mov qword [0x140134b80], rdi
mov qword [0x140134b88], rax
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x1150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140076290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, dword [rcx]
mov rsi, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x20
sub ebp, 6
call fcn.1400c6bb0
xor edi, edi
xor r9d, r9d
xor edx, edx
xor r8d, r8d
movsxd r10, ebp
lea r14d, [rdi + 4]
test ebp, ebp
jle 0x140076328
xor r11d, r11d
cmp edi, dword [rsi]
jg 0x140076328
cmp rdx, r10
jge 0x140076313
lea rbx, [rsp + rdx*4 + 0x20]
cmp r8, r14
jge 0x140076316
mov eax, dword [rbx]
lea rcx, [r11 + r8]
inc rdx
add rbx, r14
inc r9d
inc r8
cmp rdx, r10
mov dword [rsi + rcx*4 + 0x14], eax
jl 0x1400762f3
cmp r8, r14
jne 0x140076323
inc edi
add r11, r14
xor r9d, r9d
xor r8d, r8d
cmp rdx, r10
jl 0x1400762e5
cmp edi, dword [rsi]
movsxd rbx, edi
movsxd r11, r9d
jg 0x140076487
lea r12, [0x14017cb00]
lea r15, [0x14017cc20]
movzx ecx, byte [rsp + r10*4 + 0x1d]
mov al, byte [rsp + 0x20]
xor al, byte [rcx + r15]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + r10*4 + 0x1e]
mov al, byte [rax + r15]
xor byte [rsp + 0x21], al
movzx eax, byte [rsp + r10*4 + 0x1f]
mov al, byte [rax + r15]
xor byte [rsp + 0x22], al
movzx eax, byte [rsp + r10*4 + 0x1c]
mov al, byte [rax + r15]
xor byte [rsp + 0x23], al
mov al, byte [r12]
inc r12
xor byte [rsp + 0x20], al
cmp ebp, 8
je 0x1400763bf
cmp r10, 1
jle 0x14007643b
lea rdx, [rsp + 0x24]
lea r8, [r10 - 1]
xor ecx, ecx
mov al, byte [rdx + rcx - 4]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, r14
jl 0x1400763a5
add rdx, r14
sub r8, 1
jne 0x1400763a3
jmp 0x14007643b
lea rcx, [rsp + 0x24]
mov r8d, 3
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1400763cd
sub r8, 1
jne 0x1400763ca
movzx eax, byte [rsp + 0x2c]
mov al, byte [rax + r15]
xor byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x2d]
mov al, byte [rax + r15]
xor byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x2e]
mov al, byte [rax + r15]
xor byte [rsp + 0x32], al
movzx eax, byte [rsp + 0x2f]
mov al, byte [rax + r15]
xor byte [rsp + 0x33], al
cmp r10, 5
jle 0x14007643b
lea rcx, [rsp + 0x34]
lea r8, [r10 - 5]
mov rdx, r14
mov al, byte [rcx - 4]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140076427
sub r8, 1
jne 0x140076424
xor edx, edx
test ebp, ebp
jle 0x14007647f
cmp edi, dword [rsi]
jg 0x140076487
cmp rdx, r10
jge 0x14007646d
lea r8, [rsp + rdx*4 + 0x20]
cmp r11, r14
jge 0x140076470
mov eax, dword [r8]
lea rcx, [r11 + rbx*4]
inc rdx
add r8, r14
inc r11
cmp rdx, r10
mov dword [rsi + rcx*4 + 0x14], eax
jl 0x14007644f
cmp r11, r14
jne 0x14007647a
inc edi
inc rbx
xor r11d, r11d
cmp rdx, r10
jl 0x140076441
cmp edi, dword [rsi]
jle 0x140076344
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400764b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x20
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov ebx, 1
mov r11, rcx
cmp dword [rcx], ebx
jle 0x140076572
lea r10, [rcx + 0x24]
lea r14, [0x140000000]
xor r9d, r9d
lea rbp, [rsp + r9]
lea rsi, [r10 + 2]
mov r12d, 4
movzx eax, byte [rsi + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [rsi - 1]
mov r8b, byte [rdx + r14 + 0x179b00]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi - 2]
xor r8b, byte [rcx + r14 + 0x17a300]
lea rcx, [r9 + rax*4]
movzx eax, byte [rsi]
xor r8b, byte [rcx + r14 + 0x17a700]
lea rcx, [r9 + rax*4]
add rsi, 4
xor r8b, byte [rcx + r14 + 0x179f00]
mov byte [rbp], r8b
add rbp, 4
sub r12, 1
jne 0x140076503
inc r9
cmp r9, 4
jl 0x1400764f5
movdqu xmm0, xmmword [rsp]
inc ebx
movdqu xmmword [r10], xmm0
add r10, 0x10
cmp ebx, dword [r11]
jl 0x1400764f2
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r12
pop rdi
ret
Function at 0x14007726c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test r8, r8
jne 0x14007729e
xor eax, eax
jmp 0x140077346
mov eax, dword [rdx]
mov r8, rbx
shr rsi, 4
xor eax, dword [rcx + 4]
mov dword [rsp + 0x20], eax
mov eax, dword [rdx + 4]
xor eax, dword [rcx + 8]
mov dword [rsp + 0x24], eax
mov eax, dword [rdx + 8]
xor eax, dword [rcx + 0xc]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0xc]
lea rdx, [rsp + 0x20]
xor eax, dword [rcx + 0x10]
mov dword [rsp + 0x2c], eax
call fcn.140076598
lea r12, [rsi - 1]
add rbp, 0x10
test r12, r12
je 0x140077328
mov eax, dword [rbx]
add rbx, 0x10
lea rdx, [rsp + 0x20]
xor eax, dword [rbp]
mov r8, rbx
mov rcx, rdi
mov dword [rsp + 0x20], eax
mov eax, dword [rbx - 0xc]
xor eax, dword [rbp + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rbx - 8]
xor eax, dword [rbp + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx - 4]
xor eax, dword [rbp + 0xc]
mov dword [rsp + 0x2c], eax
call fcn.140076598
add rbp, 0x10
sub r12, 1
jne 0x1400772e3
mov eax, dword [rbx]
shl rsi, 4
mov dword [rdi + 4], eax
mov eax, dword [rbx + 4]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 8]
mov dword [rdi + 0xc], eax
mov eax, dword [rbx + 0xc]
mov dword [rdi + 0x10], eax
mov rax, rsi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140077360
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
je 0x140077466
test rbx, rbx
je 0x140077466
movdqu xmm0, xmmword [rcx + 4]
shr rbx, 4
mov qword [rsp + 0x20], rbx
mov r12, rbx
movdqu xmmword [rsp + 0x28], xmm0
test rbx, rbx
je 0x140077458
mov r13d, dword [r11 - 0x54]
mov r14d, dword [r11 - 0x58]
mov r15d, dword [r11 - 0x5c]
mov ebx, dword [rsp + 0x28]
lea r8, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call fcn.1400769d8
mov r11d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
xor r11d, ebx
mov ebx, dword [rsi]
xor edx, r15d
mov r15d, dword [rsi + 4]
xor ecx, r14d
mov r14d, dword [rsi + 8]
xor eax, r13d
mov r13d, dword [rsi + 0xc]
mov dword [rbp], r11d
mov dword [rbp + 4], edx
mov dword [rbp + 8], ecx
mov dword [rbp + 0xc], eax
add rbp, 0x10
add rsi, 0x10
sub r12, 1
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
jne 0x1400773d3
mov dword [rsp + 0x28], ebx
mov rbx, qword [rsp + 0x20]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x2c], r15d
movdqu xmm0, xmmword [rsp + 0x28]
shl rbx, 4
movdqu xmmword [rdi + 4], xmm0
mov rax, rbx
jmp 0x140077468
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c6350
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078564
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x30
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
xor ebx, ebx
mov r14, r9
mov r12d, r8d
mov r13d, edx
mov rsi, rcx
cmp edx, ebx
jne 0x1400785aa
mov r8, rdi
xor edx, edx
mov rcx, rbp
call fcn.1400c7170
mov r9, r14
mov r8d, r12d
mov edx, r13d
mov rcx, rsi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbp
call fcn.1400780cc
cmp al, bl
jne 0x140078665
cmp r12d, ebx
jne 0x140078629
cmp qword [rsi + 0x38], rdi
je 0x140078604
mov rcx, qword [rsi + 0x30]
call fcn.1400c72ec
mov rcx, 0xffffffffffffffff
mov eax, 4
mul rdi
cmovo rax, rcx
mov rcx, rax
call fcn.1400c61d4
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov r8, rbx
cmp rdi, rbx
jbe 0x140078629
movzx edx, word [r8 + r14]
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rdi
jb 0x14007860c
mov ecx, dword [rsi + 0x14]
mov rax, qword [rsi + 0x28]
imul ecx, r12d
add ecx, r13d
mov edx, dword [rax + rcx*4]
mov rax, qword [rsi + 8]
mov r8d, dword [rax + rdx*4]
cmp rdi, rbx
jbe 0x140078665
mov rax, qword [rsi + 0x30]
mov ecx, dword [rax + rbx*4]
mov rax, qword [rsi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbx + rbp], cx
add rbx, 2
cmp rbx, rdi
jb 0x140078647
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r13
pop r12
ret

Function at 0x140078fb4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
mov eax, 0x1040
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r12d, r12d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r12b
je 0x1400790ad
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.1400615e8
mov rbp, rax
cmp rax, rdi
jbe 0x14007902f
mov rcx, rdi
mov word [rax - 2], r12w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r12 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x14007902f
bt eax, 0xa
jae 0x14007902f
mov byte [rbx], r12b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.1400ca0e4
cmp rax, r12
je 0x140079046
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400790ad
mov rcx, qword [rsi + 0x5030]
cmp rcx, r12
je 0x140079072
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov byte [rsp + 0x20], 1
call fcn.140020c8c
cmp al, r12b
je 0x140079072
mov byte [rbx], r12b
cmp byte [rbx], r12b
je 0x1400790ad
lea rdx, [rsp + 0x30]
mov r8d, 0x800
mov rcx, rdi
call fcn.140062b0c
mov ecx, 0x4a1
call fcn.140076080
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1400b189c
lea rcx, [0x140134b90]
call fcn.1400330fc
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400798c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
mov rcx, r9
cmp rax, rbx
mov r8, rbx
mov rdi, r9
cmovb r8, rax
add r8, r8
call fcn.1400c6bb0
mov r8b, byte [rsp + 0x58]
lea rdx, [rbx + rbx]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140079768

Function at 0x14007a124
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
lea rdx, [0x1400e3698]
mov rcx, r8
call fcn.1400a2760
xor esi, esi
cmp rax, rsi
mov rdi, rax
sete r8b
mov byte [rbx + 0x3038], r8b
cmp r8b, sil
jne 0x14007a342
lea r14d, [rsi + 1]
lea edx, [rsi + 0x16]
lea rcx, [rsp + 0x38]
mov r8, r14
mov r9, rax
call fcn.1400c9ab0
cmp word [rsp + 0x38], si
jne 0x14007a33a
cmp word [rsp + 0x3a], r14w
jne 0x14007a33a
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400ca200
movzx r11d, word [rsp + 0x3c]
sub r11d, r14d
movsxd rcx, r11d
shl rcx, 4
add rcx, 0x16
call fcn.1400c799c
movzx ecx, word [rsp + 0x3c]
sub ecx, r14d
mov r15, rax
movsxd rcx, ecx
imul rcx, rcx, 0xe
add rcx, 0x14
call fcn.1400c799c
movzx ecx, word [rsp + 0x3c]
mov r9, rdi
sub ecx, r14d
mov r8, r14
mov r13, rax
movsxd rdx, ecx
mov rcx, r15
shl rdx, 4
add rdx, 0x16
call fcn.1400c9ab0
mov rcx, qword [r15]
mov ebp, esi
mov qword [r13], rcx
mov rax, qword [r15 + 8]
mov qword [r13 + 8], rax
mov eax, dword [r15 + 0x10]
mov dword [r13 + 0x10], eax
cmp si, word [rsp + 0x3c]
jae 0x14007a2ee
movsxd rcx, ebp
lea r12d, [r14 + rbp]
mov rbx, rcx
add rbx, rbx
imul rcx, rcx, 0xe
mov rax, qword [r15 + rbx*8 + 6]
mov qword [rcx + r13 + 6], rax
mov eax, dword [r15 + rbx*8 + 0xe]
mov word [rcx + r13 + 0x12], r12w
mov dword [rcx + r13 + 0xe], eax
mov eax, dword [r15 + rbx*8 + 0xe]
mov rcx, rax
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x30], rax
call fcn.1400c799c
mov rcx, rdi
mov r14, rax
cmp rax, rsi
je 0x14007a33d
mov edx, dword [r15 + rbx*8 + 0x12]
xor r8d, r8d
call fcn.1400ca200
mov rdx, qword [rsp + 0x30]
mov r9, rdi
mov r8d, 1
mov rcx, r14
call fcn.1400c9ab0
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov r9d, 0x400
movzx r8d, r12w
mov edx, 3
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, r14
mov ebx, eax
call fcn.1400c7040
cmp ebx, esi
je 0x14007a33a
movzx eax, word [rsp + 0x3c]
mov r14d, 1
add ebp, r14d
cmp ebp, eax
jl 0x14007a227
mov rcx, rdi
call fcn.1400c8d40
movzx r11d, word [rsp + 0x3c]
movzx r8d, word [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
sub r11d, r14d
mov r9d, 0x400
mov edx, 0xe
imul r11d, r11d, 0xe
add r11d, 0x14
mov dword [rsp + 0x28], r11d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
cmp eax, esi
setne al
jmp 0x14007a344
mov rcx, rdi
call fcn.1400c8d40
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007a35c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x30
mov r13, rdx
mov rbx, rcx
lea rdx, [0x1400e3698]
mov rcx, r8
mov r12d, r9d
call fcn.1400a2760
xor ebp, ebp
cmp rax, rbp
mov rdi, rax
sete r8b
mov byte [rbx + 0x3038], r8b
cmp r8b, bpl
jne 0x14007a442
mov rcx, rax
call fcn.1400ca6e4
cmp eax, 0x42
jne 0x14007a43a
mov rcx, rdi
call fcn.1400ca6e4
cmp eax, 0x4d
jne 0x14007a43a
lea edx, [rbp + 2]
xor r8d, r8d
mov rcx, rdi
call fcn.1400ca200
lea ebx, [rbp + 1]
lea edx, [rbp + 4]
lea rcx, [rsp + 0x50]
mov r8, rbx
mov r9, rdi
call fcn.1400c9ab0
mov r11d, dword [rsp + 0x50]
add r11d, 0xfffffff2
mov ecx, r11d
mov dword [rsp + 0x50], r11d
call fcn.1400c799c
mov rcx, rdi
mov rsi, rax
cmp rax, rbp
je 0x14007a43d
lea edx, [rbp + 0xe]
xor r8d, r8d
call fcn.1400ca200
mov r8d, dword [rsp + 0x50]
mov r9, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400c9ab0
mov ecx, dword [rsp + 0x50]
cmp rax, rcx
je 0x14007a45d
mov rcx, rsi
call fcn.1400c7040
mov rcx, rdi
call fcn.1400c8d40
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
mov rcx, rdi
call fcn.1400c8d40
mov ecx, dword [rsp + 0x50]
mov r9d, 0x400
mov dword [rsp + 0x28], ecx
movzx r8d, r12w
mov edx, 2
mov rcx, r13
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rsi
mov ebx, eax
call fcn.1400c7040
cmp ebx, ebp
setne al
jmp 0x14007a444

Function at 0x14007a4e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
lea rdx, [0x1400e3698]
mov rcx, rax
call fcn.1400a2760
xor edi, edi
cmp rax, rdi
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
cmp dl, dil
je 0x14007a533
mov al, 1
jmp 0x14007a584
lea rcx, [rsp + 0x20]
mov r9, rax
mov edx, 1
mov r8d, 0x400
call fcn.1400c9ab0
mov rcx, rsi
mov rbx, rax
call fcn.1400c8d40
lea ecx, [rbx - 4]
cmp ecx, edi
jle 0x14007a582
lea rax, [rsp + 0x21]
cmp byte [rax - 1], 0x55
jne 0x14007a579
cmp byte [rax], 0x50
jne 0x14007a579
cmp byte [rax + 1], 0x58
jne 0x14007a579
cmp byte [rax + 2], 0x30
je 0x14007a52f
inc edi
inc rax
cmp edi, ecx
jl 0x14007a562
xor al, al
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14007a5ac
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2030
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
lea rdx, [0x1400e3698]
mov rcx, rax
mov rsi, r8
call fcn.1400a2760
test rax, rax
mov rdi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
je 0x14007a5fe
xor al, al
jmp 0x14007a640
mov r9, rax
mov ebx, 1
jmp 0x14007a61e
lea rcx, [rsp + 0x20]
mov r9, rsi
mov r8, rax
mov rdx, rbx
call fcn.1400c8f54
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.1400c9ab0
test rax, rax
jne 0x14007a608
mov rcx, rdi
call fcn.1400c8d40
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x2030
pop rdi
pop rsi
pop rbx
ret

Function at 0x14007a65c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2038
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
lea rdx, [0x1400e3698]
mov rcx, rax
mov r15, r9
mov r14, r8
call fcn.1400a2760
test rax, rax
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x14007a7e1
xor r13d, r13d
mov r9, rax
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov edx, 1
call fcn.1400c9ab0
mov r12, rax
cmp rax, 0x28
jbe 0x14007a7d9
lea rbp, [rax - 0x28]
xor edi, edi
test rbp, rbp
je 0x14007a78c
lea rbx, [rsp + 0x24]
cmp byte [rsp + rdi + 0x20], 0x2a
jne 0x14007a723
cmp byte [rsp + rdi + 0x21], 0x2a
jne 0x14007a723
lea rcx, [rsp + rdi + 0x22]
lea rdx, str.messages
mov r8d, 0xc
call fcn.1400c84a0
test eax, eax
je 0x14007a7a7
cmp word [rbx - 4], 0x2a
jne 0x14007a74a
cmp word [rbx - 2], 0x2a
jne 0x14007a74a
lea rdx, [0x1400e6b30]
mov r8d, 0xc
mov rcx, rbx
call fcn.1400c94cc
test eax, eax
je 0x14007a7a7
mov eax, 0xfeff
cmp word [rbx - 4], ax
jne 0x14007a77c
cmp word [rbx - 2], 0x2a
jne 0x14007a77c
cmp word [rbx], 0x2a
jne 0x14007a77c
lea rcx, [rbx + 2]
lea rdx, [0x1400e6b30]
mov r8d, 0xc
call fcn.1400c94cc
test eax, eax
je 0x14007a7a7
inc rdi
add rbx, 2
cmp rdi, rbp
jb 0x14007a6f6
lea r13d, [r13 + r12 - 0x28]
xor r8d, r8d
mov rcx, rsi
mov edx, r13d
call fcn.1400ca200
mov r9, rsi
jmp 0x14007a6c0
lea edx, [rdi + r13]
xor r8d, r8d
mov rcx, rsi
call fcn.1400ca200
mov r9, rsi
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.1400c9ab0
mov rcx, rsi
mov rbx, rax
call fcn.1400c8d40
mov rax, rbx
jmp 0x14007a7e3
mov rcx, rsi
call fcn.1400c8d40
xor eax, eax
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400c6350
add rsp, 0x2038
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14007a808
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x2030
call fcn.1400d8110
sub rsp, rax
mov rax, qword [0x1401006f0]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
lea rdx, [0x1400e6de0]
mov rcx, rax
call fcn.1400a2760
test rax, rax
mov rsi, rax
sete dl
mov byte [rbx + 0x3038], dl
test dl, dl
jne 0x14007a92c
xor r13d, r13d
mov r9, rax
lea r14d, [r13 + 1]
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, r14
call fcn.1400c9ab0
mov r12, rax
cmp rax, 0x20
jbe 0x14007a924
lea ebp, [r12 - 0x20]
xor edi, edi
test ebp, ebp
jle 0x14007a8d2
lea rbx, [rsp + 0x21]
cmp byte [rbx - 1], 0x61
jne 0x14007a8c8
cmp byte [rbx], 0x73
jne 0x14007a8c8
movsxd rax, edi
lea rdx, str.Invoker_
mov r8d, 0x14
lea rcx, [rsp + rax + 0x22]
call fcn.1400c84a0
test eax, eax
je 0x14007a8ea
add edi, r14d
add rbx, r14
cmp edi, ebp
jl 0x14007a89f
lea r13d, [r13 + r12 - 0x20]
xor r8d, r8d
mov rcx, rsi
mov edx, r13d
call fcn.1400ca200
mov r9, rsi
jmp 0x14007a86f
lea edx, [rdi + r13]
xor r8d, r8d
mov rcx, rsi
call fcn.1400ca200
lea rcx, str.requireAdministrator_
mov r9, rsi
mov r8d, 0x15
mov rdx, r14
call fcn.1400c8f54
mov rcx, rsi
cmp rax, 0x15
sete bl
call fcn.1400c8d40
mov al, bl
jmp 0x14007a92e
mov rcx, rsi
call fcn.1400c8d40
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1400c6350
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret