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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14d, dword [rcx + 4]
mov rsi, rcx
lea rcx, [rbp - 0x20]
mov r8d, 0x20
sub r14d, 6
call fcn.140017320
xor r10d, r10d
movsxd rdx, r14d
xor r11d, r11d
lea r12d, [r10 + 4]
lea r15d, [r10 + 1]
test r14d, r14d
jle 0x1400056b4
xor r8d, r8d
xor r9d, r9d
xor ebx, ebx
cmp r10d, dword [rsi + 4]
jg 0x1400057ff
cmp r9, rdx
jge 0x14000569e
lea rdi, [rbp - 0x20]
lea rdi, [rdi + r9*4]
cmp r8, r12
jge 0x1400056a1
mov eax, dword [rdi]
lea rcx, [r8 + rbx]
add rdi, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r8, r15
add r9, r15
add r11d, r15d
cmp r9, rdx
jl 0x14000567e
cmp r8, r12
jne 0x1400056af
add r10d, r15d
add rbx, r12
xor r11d, r11d
xor r8d, r8d
cmp r9, rdx
jl 0x140005667
cmp r10d, dword [rsi + 4]
jg 0x1400057ff
movsxd rbx, r10d
lea rdi, [0x14003a020]
movsxd r11, r11d
lea r13, [0x140039e20]
movzx ecx, byte [rbp + rdx*4 - 0x23]
mov al, byte [rbp - 0x20]
xor al, byte [rcx + r13]
mov byte [rbp - 0x20], al
movzx eax, byte [rbp + rdx*4 - 0x22]
mov al, byte [rax + r13]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbp + rdx*4 - 0x21]
mov al, byte [rax + r13]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbp + rdx*4 - 0x24]
mov al, byte [rax + r13]
xor byte [rbp - 0x1d], al
mov al, byte [rdi]
add rdi, r15
xor byte [rbp - 0x20], al
cmp r14d, 8
je 0x14000573b
cmp rdx, r15
jle 0x1400057a9
lea rcx, [rbp - 0x1c]
lea r9, [rdx - 1]
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x140005727
sub r9, r15
jne 0x140005724
jmp 0x1400057a9
lea rcx, [rbp - 0x1c]
mov r9d, 3
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x140005748
sub r9, r15
jne 0x140005745
movzx eax, byte [rbp - 0x14]
mov al, byte [rax + r13]
xor byte [rbp - 0x10], al
movzx eax, byte [rbp - 0x13]
mov al, byte [rax + r13]
xor byte [rbp - 0xf], al
movzx eax, byte [rbp - 0x12]
mov al, byte [rax + r13]
xor byte [rbp - 0xe], al
movzx eax, byte [rbp - 0x11]
mov al, byte [rax + r13]
xor byte [rbp - 0xd], al
cmp rdx, 5
jle 0x1400057a9
lea rcx, [rbp - 0xc]
lea r9, [rdx - 5]
mov r8, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub r8, r15
jne 0x140005797
sub r9, r15
jne 0x140005794
xor r8d, r8d
test r14d, r14d
jle 0x1400057f5
cmp r10d, dword [rsi + 4]
jg 0x1400057ff
cmp r8, rdx
jge 0x1400057e2
lea r9, [rbp - 0x20]
lea r9, [r9 + r8*4]
cmp r11, r12
jge 0x1400057e5
mov eax, dword [r9]
lea rcx, [r11 + rbx*4]
add r9, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r11, r15
add r8, r15
cmp r8, rdx
jl 0x1400057c4
cmp r11, r12
jne 0x1400057f0
add r10d, r15d
add rbx, r15
xor r11d, r11d
cmp r8, rdx
jl 0x1400057b1
cmp r10d, dword [rsi + 4]
jle 0x1400056d2
lea r11, [rsp + 0x40]
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 0x140005918
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.140017320
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 0x140005918
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 0x1400059b6
cmp byte [0x14003d048], bl
jne 0x1400059b6
lea rcx, str.Crypt32.dll
call fcn.140006c8c
mov qword [0x14003d040], rax
test rax, rax
je 0x14000599f
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 0x1400059a6
mov rax, qword [0x14003d058]
mov r10, qword [0x14003d050]
mov byte [0x14003d048], 1
jmp 0x1400059bd
mov rax, qword [0x14003d058]
mov rcx, rsi
mov r8d, ebx
and rcx, 0xfffffffffffffff0
test bpl, bpl
setne r8b
test r14b, r14b
je 0x140005a11
test r10, r10
je 0x140005a2a
mov edx, ecx
mov rcx, rdi
call r10
test eax, eax
jne 0x140005a45
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140052cb0]
mov rcx, rbx
call fcn.140001a8c
mov rcx, rbx
call fcn.140014c9c
mov edx, 2
mov rcx, rbx
call fcn.140001a84
jmp 0x140005a45
test rax, rax
je 0x140005a2a
mov edx, ecx
mov rcx, rdi
call rax
test eax, eax
jne 0x140005a45
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x1400059eb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rsi, rsi
je 0x140005a45
add al, 0x4b
lea ecx, [rbx + rax]
xor byte [rbx + rdi], cl
inc rbx
cmp rbx, rsi
jb 0x140005a37
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 0x1400062dc
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 0x140006366
jbe 0x140006339
lea edx, [rbp + 8]
cmp edi, edx
jae 0x140006337
sub edx, edi
mov eax, edi
add rcx, 0x20
mov r8d, edx
xor edx, edx
add rcx, rax
call fcn.140015400
xor edi, edi
test edi, edi
jne 0x140006351
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140005ae8
mov eax, edi
lea rcx, [rbx + 0x20]
sub ebp, edi
add rcx, rax
mov r8d, ebp
xor edx, edx
call fcn.140015400
mov rcx, r14
shr rcx, 0x20
call fcn.140019be0
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.140019be0
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140005ae8
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 0x14000639f
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 0x1400063f0
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 0x140006c8c
Capabilities:
Get common file path

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x14004d748], 0
je 0x14000a53b
or eax, 0xffffffff
jmp 0x14000a63f
mov rax, qword [0x14003d5f8]
test rax, rax
jg 0x14000a55b
dec rax
mov qword [0x14003d5f8], rax
and qword [0x14004d658], 0
jmp 0x14000a533
mov rbx, qword [0x14004d658]
test rbx, rbx
jg 0x14000a5af
mov rcx, qword [0x14004d648]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000a798
movsxd rcx, eax
mov qword [0x14004d658], rcx
test eax, eax
je 0x14000a551
cmp rcx, 0xffffffffffffffff
je 0x14000a5e1
mov rax, qword [0x14004d648]
add qword [0x14004d698], rbx
mov qword [0x14004d650], rax
call fcn.140009f90
mov rbx, qword [0x14004d658]
mov rax, qword [0x14003d630]
test byte [rax + 0x40], 1
je 0x14000a624
cmp byte [0x14004e941], 0
je 0x14000a5f9
test rbx, rbx
je 0x14000a624
mov rcx, qword [0x14004d650]
lea r8, [0x14004e948]
mov edx, ebx
call fcn.14000d850
jmp 0x14000a61d
lea rdx, [0x14005c002]
lea rcx, [0x140052cb0]
call fcn.140001be8
jmp 0x14000a551
mov rdi, qword [0x14004d650]
test rbx, rbx
je 0x14000a624
call fcn.14000d40c
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14000d560
inc rdi
sub rbx, 1
jne 0x14000a605
mov rbx, qword [0x14004d658]
mov rax, qword [0x14004d650]
dec rbx
mov qword [0x14004d658], rbx
movzx eax, byte [rax]
inc qword [0x14004d650]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14000d478
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
call fcn.14000d42c
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.140017320
xor ebx, ebx
mov ecx, dword [0x14004e7a8]
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.14000d560
inc rbx
cmp rbx, 0xc
jl 0x14000d4a2
mov rax, qword [0x14003d630]
movzx ecx, byte [0x14004d6c7]
test byte [rax + 0x40], 2
movzx eax, byte [0x14004d6bf]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14000d505
or eax, 0xffffffff
jmp 0x14000d555
mov rbx, qword [0x14004d658]
mov rax, qword [0x14003d5f8]
mov rdi, qword [0x14004d650]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14000d553
mov ecx, dword [0x14004e7a8]
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.14000d560
inc rdi
sub ebx, 1
jne 0x14000d527
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x14004e7a0]
lea r10, [0x14003d1d0]
mov eax, ecx
mov r9d, ecx
xor rdx, rax
mov eax, dword [0x14004e7a0]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
xor edx, eax
movzx eax, dl
add eax, dword [0x14004e7a4]
imul ecx, eax, 0x8088405
mov dword [0x14004e7a0], edx
inc ecx
mov eax, ecx
mov dword [0x14004e7a4], ecx
mov ecx, dword [0x14004e7a8]
shr rax, 0x18
xor rax, qword [0x14004e7a8]
movzx eax, al
shr ecx, 8
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x14004e7a8], eax
mov eax, r9d
ret
Function at 0x14000d5d0
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.140015400
lea r8, [rsp + 0x70]
mov edx, ebx
mov rcx, rdi
call fcn.14000dd5c
mov r8d, r15d
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x70]
mov byte [rsp + 0x31], 0
lea rcx, [rbp + 0x130]
call fcn.140017320
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.14000d9f0
mov esi, dword [rbp + 0x2a0]
mov eax, 0xcccccccd
lea ecx, [rsi - 1]
mul ecx
mov r13d, edx
shr r13d, 4
add r13d, 1
je 0x14000d7a9
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.140015400
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x20]
call fcn.140017320
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 0x14000d76d
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.14000d9f0
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.14000db90
xor ecx, ecx
mov edx, r15d
mov al, byte [rsp + rcx + 0x38]
xor byte [rsp + rcx + 0x50], al
inc rcx
sub rdx, 1
jne 0x14000d73c
mov r8d, 0xa8
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140017320
sub rsi, 1
jne 0x14000d6ed
mov esi, dword [rbp + 0x2a0]
mov edx, edi
lea r9, [rsp + 0x50]
xor r8d, r8d
cmp edx, esi
jae 0x14000d792
mov al, byte [r9]
inc r8d
mov ecx, edx
inc r9
inc edx
mov byte [rcx + r12], al
cmp r8d, 0x14
jb 0x14000d777
inc ebx
add edi, 0x14
mov r15d, 0xa8
lea eax, [rbx - 1]
cmp eax, r13d
jb 0x14000d699
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 0x14000d9f0
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 0x14000db61
cmp eax, 0x40
jbe 0x14000da7a
lea rcx, [r8 + 0x40]
lea rdx, [r11 - 0x38]
call fcn.1400062dc
mov ecx, dword [rsp + 0x20]
call fcn.140019be0
mov ecx, dword [rsp + 0x24]
mov dword [rsi], eax
call fcn.140019be0
mov ecx, dword [rsp + 0x28]
mov dword [rsi + 4], eax
call fcn.140019be0
mov ecx, dword [rsp + 0x2c]
mov dword [rsi + 8], eax
call fcn.140019be0
mov ecx, dword [rsp + 0x30]
mov dword [rsi + 0xc], eax
call fcn.140019be0
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xa0], 0x14
mov r14, qword [rsp + 0x80]
test rdi, rdi
je 0x14000dac1
cmp byte [r14], 0
je 0x14000dac1
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 0x14000db1d
mov ecx, dword [rsi + 0xa0]
mov r8d, 0x40
sub r8d, ecx
xor edx, edx
add rcx, rsi
call fcn.140015400
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 0x14000dae2
lea rbx, [rsi + 0x40]
mov rcx, rbx
call fcn.1400063f0
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140006418
test rdi, rdi
je 0x14000db5a
cmp byte [r14], 0
jne 0x14000db5a
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 0x14000db74
mov r8, rbp
lea rcx, [rsi + 0x40]
mov rdx, r15
call fcn.140006418
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 0x14000db90
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 0x14000dbd6
and qword [rax - 0x58], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call fcn.14000d9f0
lea rbx, [rsi + 0x40]
mov rcx, rbx
lea rdx, [rbp - 0x18]
call fcn.1400062dc
mov ecx, dword [rbp - 0x18]
call fcn.140019be0
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.140019be0
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.140019be0
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.140019be0
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.140019be0
mov r14, qword [rbp + 0x40]
mov dword [rbp - 0x20], eax
test rdi, rdi
je 0x14000dc5c
cmp byte [r14], 0
je 0x14000dc5c
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 0x14000dc97
mov rax, rsi
mov ecx, 4
movdqu xmm0, xmmword [rax]
pxor xmm0, xmmword [0x140028340]
movdqu xmmword [rax], xmm0
lea rax, [rax + 0x10]
sub rcx, 1
jne 0x14000dc64
mov rcx, rbx
call fcn.1400063f0
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call fcn.140006418
test rdi, rdi
je 0x14000dcd4
cmp byte [r14], 0
jne 0x14000dcd4
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.140006418
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.1400062dc
mov ecx, dword [rbp - 0x18]
call fcn.140019be0
mov ecx, dword [rbp - 0x14]
mov dword [rbp - 0x30], eax
call fcn.140019be0
mov ecx, dword [rbp - 0x10]
mov dword [rbp - 0x2c], eax
call fcn.140019be0
mov ecx, dword [rbp - 0xc]
mov dword [rbp - 0x28], eax
call fcn.140019be0
mov ecx, dword [rbp - 8]
mov dword [rbp - 0x24], eax
call fcn.140019be0
mov dword [rbp - 0x20], eax
test r15d, r15d
je 0x14000dd3d
mov r8, r15
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140017320
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 0x14000e360
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 0x14000e3ac
cmp qword [rbp + 0x28], 0
jne 0x14000e3fe
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x7d0
ja 0x14000e3fe
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 0x14000e390
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 0x14000e390
mov rax, qword [rbx]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x14000e473
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14000e46a
mov rax, qword [rcx]
lea r8, [rbp + 0x38]
lea rdx, [0x140028e70]
call qword [rax]
mov ebx, eax
test eax, eax
js 0x14000e45c
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x14000e452
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 0x14000e473
test rcx, rcx
jne 0x14000e4e4
cmp qword [rdi + 0x10], 0
je 0x14000e4e4
cmp qword [rdi + 0x30], 0
jne 0x14000e4e4
mov rdx, qword [rdi + 0x28]
test rdx, rdx
je 0x14000e4e4
mov rcx, rdi
call fcn.14000eb20
mov rsi, rax
test rax, rax
je 0x14000e4e4
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.140018384
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 0x14000f514
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 0x14000f574
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x140028850]
mov rcx, qword [0x14004eb88]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000f5a2
xor eax, eax
jmp 0x14000f6d9
mov rcx, qword [0x14004eb88]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x14000f59b
mov rcx, qword [0x14004eb88]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000f59b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000f59b
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 0x14000f6d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14000f6cb
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.140017320
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 0x14000f6c2
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x14000f67d
and qword [rsp + 0x50], 0
lea rax, [0x140028820]
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 0x14000f67f
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rbx, rbx
je 0x14000f6c2
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x14000f6b5
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x14000f6b5
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 0x14000fae8
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 0x14000fc00
Capabilities:
Delete file

Disassembly:
push rbx
mov eax, 0x1070
call fcn.1400146c0
sub rsp, rax
xor ebx, ebx
cmp word [0x14004fba2], bx
je 0x14000fca8
lea rcx, [0x14004fba2]
call fcn.140003e08
mov rdx, qword [str.RarSFX]
lea r8d, [rbx + 6]
mov rcx, rax
call fcn.140007f50
test eax, eax
jne 0x14000fca8
lea rcx, [0x14004eba0]
call fcn.14000fae8
mov r8d, 0x800
lea rdx, [0x14004fba2]
lea rcx, [rsp + 0x60]
call fcn.1400069a4
lea rcx, [rsp + 0x60]
call fcn.140018368
xor edx, edx
lea r8d, [rbx + 0x38]
lea rcx, [rsp + 0x20]
mov word [rsp + rax*2 + 0x62], bx
call fcn.140015400
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, 0x1070
pop rbx
ret