joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400057ec
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rsp + 0x50]
mov rax, r8
cmp rax, rbx
mov rdi, rcx
mov r8, rbx
mov rcx, r9
cmovb r8, rax
mov rsi, r9
add r8, r8
call fcn.1400170d0
mov r9b, byte [rdi + 0x101]
lea rdx, [rbx + rbx]
mov r8b, byte [rsp + 0x58]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400057ec
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r10, qword [0x14003d050]
xor ebx, ebx
mov bpl, r9b
mov r14b, r8b
mov rsi, rdx
mov rdi, rcx
test r10, r10
jne 0x14000588a
cmp byte [0x14003d048], bl
jne 0x14000588a
lea rcx, str.Crypt32.dll
call fcn.140006b74
mov qword [0x14003d040], rax
test rax, rax
je 0x140005873
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14003d040]
lea rdx, str.CryptUnprotectMemory
mov qword [0x14003d050], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003d058], rax
jmp 0x14000587a
mov rax, qword [0x14003d058]
mov r10, qword [0x14003d050]
mov byte [0x14003d048], 1
jmp 0x140005891
mov rax, qword [0x14003d058]
mov rcx, rsi
mov r8d, ebx
and rcx, 0xfffffffffffffff0
test bpl, bpl
setne r8b
test r14b, r14b
je 0x1400058e5
test r10, r10
je 0x1400058fe
mov edx, ecx
mov rcx, rdi
call r10
test eax, eax
jne 0x140005919
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140050ca0]
mov rcx, rbx
call fcn.1400019e0
mov rcx, rbx
call fcn.140017bd0
mov edx, 2
mov rcx, rbx
call fcn.1400019d8
jmp 0x140005919
test rax, rax
je 0x1400058fe
mov edx, ecx
mov rcx, rdi
call rax
test eax, eax
jne 0x140005919
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x1400058bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rsi, rsi
je 0x140005919
add al, 0x4b
lea ecx, [rbx + rax]
xor byte [rbx + rdi], cl
inc rbx
cmp rbx, rsi
jb 0x14000590b
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400061b0
Capabilities:
Hash data using sha1

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 r14
sub rsp, 0x60
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14000623a
jbe 0x14000620d
lea edx, [rbp + 8]
cmp edi, edx
jae 0x14000620b
sub edx, edi
mov eax, edi
add rcx, 0x20
mov r8d, edx
xor edx, edx
add rcx, rax
call fcn.1400151b0
xor edi, edi
test edi, edi
jne 0x140006225
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400059bc
mov eax, edi
lea rcx, [rbx + 0x20]
sub ebp, edi
add rcx, rax
mov r8d, ebp
xor edx, edx
call fcn.1400151b0
mov rcx, r14
shr rcx, 0x20
call fcn.1400199f0
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.1400199f0
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400059bc
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x140006273
and qword [rbx + 0x18], rcx
lea r11, [rsp + 0x60]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x10]
mov rsp, r11
pop r14
ret

Function at 0x1400062c4
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140006b74
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1020
call fcn.140014470
sub rsp, rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140006b9e
xor eax, eax
jmp 0x140006bc1
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140003ba4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x1020
pop rbx
ret
Function at 0x14000a2e4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14004d740], 0
je 0x14000a2ff
or eax, 0xffffffff
jmp 0x14000a403
mov rax, qword [0x14003d5f8]
test rax, rax
jg 0x14000a31f
dec rax
mov qword [0x14003d5f8], rax
and qword [0x14004d650], 0
jmp 0x14000a2f7
mov rbx, qword [0x14004d650]
test rbx, rbx
jg 0x14000a373
mov rcx, qword [0x14004d640]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000a55c
movsxd rcx, eax
mov qword [0x14004d650], rcx
test eax, eax
je 0x14000a315
cmp rcx, 0xffffffffffffffff
je 0x14000a3a5
mov rax, qword [0x14004d640]
add qword [0x14004d690], rbx
mov qword [0x14004d648], rax
call fcn.140009d6c
mov rbx, qword [0x14004d650]
mov rax, qword [0x14003d628]
test byte [rax + 0x40], 1
je 0x14000a3e8
cmp byte [0x14004e939], 0
je 0x14000a3bd
test rbx, rbx
je 0x14000a3e8
mov rcx, qword [0x14004d648]
lea r8, [0x14004e940]
mov edx, ebx
call fcn.14000d614
jmp 0x14000a3e1
lea rdx, [0x140059fc2]
lea rcx, [0x140050ca0]
call fcn.140001b50
jmp 0x14000a315
mov rdi, qword [0x14004d648]
test rbx, rbx
je 0x14000a3e8
call fcn.14000d1d0
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000d324
inc rdi
sub rbx, 1
jne 0x14000a3c9
mov rbx, qword [0x14004d650]
mov rax, qword [0x14004d648]
dec rbx
mov qword [0x14004d650], rbx
movzx eax, byte [rax]
inc qword [0x14004d648]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d23c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
call fcn.14000d1f0
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.1400170d0
xor ebx, ebx
mov ecx, dword [0x14004e7a0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
movzx ecx, al
movzx eax, byte [rsp + rbx + 0x20]
xor ecx, eax
mov byte [rsp + rbx + 0x20], cl
movzx ecx, cl
call fcn.14000d324
inc rbx
cmp rbx, 0xc
jl 0x14000d266
mov rax, qword [0x14003d628]
movzx ecx, byte [0x14004d6bf]
test byte [rax + 0x40], 2
movzx eax, byte [0x14004d6b7]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14000d2c9
or eax, 0xffffffff
jmp 0x14000d319
mov rbx, qword [0x14004d650]
mov rax, qword [0x14003d5f8]
mov rdi, qword [0x14004d648]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14000d317
mov ecx, dword [0x14004e7a0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000d324
inc rdi
sub ebx, 1
jne 0x14000d2eb
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d324
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x14004e798]
lea r10, [0x14003d1d0]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x14004e798]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x14004e79c]
imul ecx, eax, 0x8088405
mov dword [0x14004e798], edx
inc ecx
mov eax, ecx
mov dword [0x14004e79c], ecx
mov ecx, dword [0x14004e7a0]
shr rax, 0x18
xor rax, qword [0x14004e7a0]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x14004e7a0], eax
mov eax, r9d
ret
Function at 0x14000d394
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x340
mov r14, r8
mov ebx, edx
mov rdi, rcx
mov r15d, 0xa8
mov r8d, r15d
lea rcx, [rsp + 0x70]
xor edx, edx
mov esi, r9d
call fcn.1400151b0
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call fcn.14000db20
mov r8d, r15d
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x70]
mov byte [rsp + 0x31], 0
lea rcx, [rbp + 0x130]
call fcn.1400170d0
lea rax, [rsp + 0x30]
mov edx, esi
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x130]
mov rcx, r14
call fcn.14000d7b4
mov esi, dword [rbp + 0x2a0]
mov eax, 0xcccccccd
lea ecx, [rsi - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x14000d56d
mov r12, qword [rbp + 0x298]
xor edi, edi
mov r14d, dword [rbp + 0x290]
lea ebx, [rdi + 1]
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 0x14]
call fcn.1400151b0
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x20]
call fcn.1400170d0
mov eax, ebx
mov byte [rsp + 0x3b], bl
shr eax, 0x18
mov r15d, 4
mov byte [rsp + 0x38], al
mov eax, ebx
shr eax, 0x10
mov byte [rsp + 0x39], al
mov eax, ebx
shr eax, 8
mov byte [rsp + 0x3a], al
test r14d, r14d
je 0x14000d531
mov rsi, r14
lea rax, [rsp + 0x30]
mov edx, r15d
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000d7b4
lea rax, [rsp + 0x31]
mov r15d, 0x14
mov edx, r15d
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
lea r8, [rbp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000d954
xor ecx, ecx
mov edx, r15d
mov al, byte [rsp + rcx + 0x38]
xor byte [rsp + rcx + 0x50], al
inc rcx
sub rdx, 1
jne 0x14000d500
mov r8d, 0xa8
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.1400170d0
sub rsi, 1
jne 0x14000d4b1
mov esi, dword [rbp + 0x2a0]
mov edx, edi
lea r9, [rsp + 0x50]
xor r8d, r8d
cmp edx, esi
jae 0x14000d556
mov al, byte [r9]
inc r8d
mov ecx, edx
inc r9
inc edx
mov byte [rcx + r12], al
cmp r8d, 0x14
jb 0x14000d53b
inc ebx
add edi, 0x14
mov r15d, 0xa8
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x14000d45d
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000d7b4
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov eax, dword [r8 + 0xa0]
mov rdi, r9
mov ebp, edx
mov rsi, r8
mov r15, rcx
cmp eax, 0xffffffff
je 0x14000d925
cmp eax, 0x40
jbe 0x14000d83e
lea rcx, [r8 + 0x40]
lea rdx, [r11 - 0x38]
call fcn.1400061b0
mov ecx, dword [rsp + 0x20]
call fcn.1400199f0
mov ecx, dword [rsp + 0x24]
mov dword [rsi], eax
call fcn.1400199f0
mov ecx, dword [rsp + 0x28]
mov dword [rsi + 4], eax
call fcn.1400199f0
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 8], eax
call fcn.1400199f0
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0xc], eax
call fcn.1400199f0
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xa0], 0x14
mov r14, qword [rsp + 0x80]
test rdi, rdi
je 0x14000d885
cmp byte [r14], 0
je 0x14000d885
movups xmm0, xmmword [rdi]
lea rbx, [rsi + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000d8e1
mov ecx, dword [rsi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rsi
call fcn.1400151b0
mov rax, rsi
mov ecx, 4
movdqa xmm1, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movdqu xmm0, xmmword [rax]
pxor xmm1, xmm0
movdqu xmmword [rax], xmm1
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000d8a6
lea rbx, [rsi + 0x40]
mov rcx, rbx
call fcn.1400062c4
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.1400062ec
test rdi, rdi
je 0x14000d91e
cmp byte [r14], 0
jne 0x14000d91e
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
or dword [rsi + 0xa0], 0xffffffff
test ebp, ebp
je 0x14000d938
mov r8, rbp
lea rcx, [rsi + 0x40]
mov rdx, r15
call fcn.1400062ec
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14000d954
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
cmp dword [r8 + 0xa0], 0xffffffff
mov rdi, r9
mov rsi, r8
mov r15d, edx
mov r12, rcx
je 0x14000d99a
and qword [rax - 0x58], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.14000d7b4
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x18]
call fcn.1400061b0
mov ecx, dword [rbp - 0x18]
call fcn.1400199f0
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.1400199f0
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.1400199f0
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.1400199f0
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.1400199f0
mov r14, qword [rbp + 0x40]
mov dword [rbp - 0x20], eax
test rdi, rdi
je 0x14000da20
cmp byte [r14], 0
je 0x14000da20
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14000da5b
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x140028320]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000da28
mov rcx, rbx
call fcn.1400062c4
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.1400062ec
test rdi, rdi
je 0x14000da98
cmp byte [r14], 0
jne 0x14000da98
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1400062ec
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.1400061b0
mov ecx, dword [rbp - 0x18]
call fcn.1400199f0
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.1400199f0
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.1400199f0
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.1400199f0
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.1400199f0
mov dword [rbp - 0x20], eax
test r15d, r15d
je 0x14000db01
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.1400170d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14000e128
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
and qword [rbp + 0x28], 0
mov r14, r8
and qword [rbp + 0x38], 0
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov r9, qword [rbx]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call qword [r9 + 0x90]
test eax, eax
js 0x14000e174
cmp qword [rbp + 0x28], 0
jne 0x14000e1c6
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7d0
ja 0x14000e1c6
and dword [rsp + 0x20], 0
lea rcx, [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000e158
xor r9d, r9d
lea rcx, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14000e158
mov rax, qword [rbx]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x14000e23b
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000e232
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
lea rdx, [0x140028e60]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14000e224
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x14000e21a
mov rcx, qword [rbp + 0x38]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x28]
test ebx, ebx
js 0x14000e23b
test rcx, rcx
jne 0x14000e2ac
cmp qword [rdi + 0x10], 0
je 0x14000e2ac
cmp qword [rdi + 0x30], 0
jne 0x14000e2ac
mov rdx, qword [rdi + 0x28]
test rdx, rdx
je 0x14000e2ac
mov rcx, rdi
call fcn.14000e8f0
mov rsi, rax
test rax, rax
je 0x14000e2ac
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.140018160
not ebx
lea r11, [rsp + 0x70]
mov rsi, qword [r11 + 0x30]
shr ebx, 0x1f
mov al, bl
mov rbx, qword [r11 + 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14000f2d8
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14000f338
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140028830]
mov rcx, qword [0x14004eb50]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000f366
xor eax, eax
jmp 0x14000f49d
mov rcx, qword [0x14004eb50]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14000f35f
mov rcx, qword [0x14004eb50]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000f35f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000f35f
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x14000f498
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000f48f
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.1400170d0
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x14000f486
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x14000f441
and qword [rsp + 0x50], 0
lea rax, [0x140028800]
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x14000f443
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rbx, rbx
je 0x14000f486
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14000f479
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14000f479
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x14000f8ac
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14000f9c4
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1060
call fcn.140014470
sub rsp, rax
mov edx, 0x800
lea rcx, [rsp + 0x60]
call fcn.14000f2d8
xor ebx, ebx
cmp byte [0x14004eb84], bl
jne 0x14000fa5d
lea rcx, [rsp + 0x60]
call fcn.140003cec
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140007e00
test eax, eax
jne 0x14000fa5d
lea rcx, [0x14002764c]
call fcn.14000f8ac
lea rcx, [rsp + 0x60]
call fcn.140018144
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.1400151b0
lea eax, [rbx + 0x14]
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
add rsp, 0x1060
pop rbx
ret
Function at 0x14000fac4
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x170
xor ebp, ebp
mov rdi, r8
cmp qword [0x140035070], rbp
mov rbx, rdx
mov rsi, rcx
jne 0x14000fb2c
lea r9d, [rbp + 0x64]
mov ecx, 0x400
lea r8, [rax - 0xd8]
lea edx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0xa0]
mov word [0x1400645d8], ax
lea rax, [0x1400645d8]
mov qword [0x140035070], rax
mov word [0x1400645da], bp
mov r8d, 0x32
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140006760
lea r9, [0x140035058]
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov word [rbx], bp
xor edx, edx
mov qword [rsp + 0x20], rbx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea r11, [rsp + 0x170]
mov word [rbx + rdi*2 - 2], bp
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14000fe00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f40]
mov eax, 0x2040
call fcn.140014470
sub rsp, rax
xor esi, esi
mov rdi, rdx
cmp byte [0x14004eb98], sil
mov rbx, rcx
je 0x14000fee1
lea rdx, [rbp + 0xf40]
call fcn.1400115f4
lea rax, [rsp + 0x30]
xor r8d, r8d
lea r9d, [rsi + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareWinRAR_SFX
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fee1
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1f70]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1f78]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x1f70], 0x1000
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0xf40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000fed6
mov edx, dword [rbp + 0x1f70]
mov ecx, 0x7ff
shr edx, 1
mov r8, rdi
cmp edx, ecx
mov eax, edx
mov dword [rbp + 0x1f70], edx
lea rdx, [rsp + 0x40]
cmovb ecx, eax
mov word [rsp + rcx*2 + 0x40], si
mov rcx, rbx
call fcn.14000687c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2040
pop rdi
pop rsi
pop rbp
ret