joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035db0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x190], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov r8d, 0x108
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
call fcn.140088180
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140035eb2
mov rax, qword [rax + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x40]
mov r9d, 0x40
mov rdx, rbx
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x140035eb2
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140035eb2
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140035eb2
mov rax, qword [rax + 0x70]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
mov r9d, 0x108
lea r8, [rsp + 0x80]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x140035eb2
cmp dword [rsp + 0x80], 0x4550
jne 0x140035eb2
mov al, 1
jmp 0x140035eb4
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140069650
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140038a30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140038d90
mov rbx, qword [rsp + 0x20]
mov rax, rbx
xor ebp, ebp
mov rdi, qword [rsp + 0x28]
cmp rbx, rdi
je 0x140038a8f
inc rbp
mov rax, qword [rax]
cmp rax, rdi
jne 0x140038a84
mov rax, qword [r14 + 8]
cmp rbx, qword [rax]
jne 0x140038ab9
cmp rdi, rax
jne 0x140038ab9
lea rcx, [r14 + 8]
call fcn.140020c8c
mov edx, 8
mov rcx, r14
call fcn.140020d40
nop
jmp 0x140038b97
cmp rbx, rdi
je 0x140038b97
movabs r13, 0xcbf29ce484222325
movabs r12, 0x100000001b3
nop word [rax + rax]
mov rdx, rbx
mov rbx, qword [rbx]
mov r10, qword [rdx + 0x20]
lea r9, [rdx + 0x10]
cmp qword [rdx + 0x28], 8
jb 0x140038af9
mov r9, qword [rdx + 0x10]
mov r8, r13
xor eax, eax
mov rsi, rbx
add r10, r10
je 0x140038b27
nop word [rax + rax]
movzx ecx, byte [rax + r9]
xor r8, rcx
imul r8, r12
inc rax
cmp rax, r10
jb 0x140038b10
mov rsi, qword [rdx]
movsxd r9, dword [rdx + 0x30]
xor r9, r8
and r9, qword [r14 + 0x30]
shl r9, 4
mov rcx, qword [r14 + 0x18]
add rcx, r9
cmp qword [rcx + 8], rdx
jne 0x140038b68
cmp qword [rcx], rdx
jne 0x140038b5e
mov rax, qword [r14 + 8]
mov qword [rcx], rax
mov rcx, qword [r14 + 0x18]
mov rax, qword [r14 + 8]
mov qword [rcx + r9 + 8], rax
jmp 0x140038b70
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
jmp 0x140038b70
cmp qword [rcx], rdx
jne 0x140038b70
mov qword [rcx], rsi
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
dec qword [r14 + 0x10]
call fcn.1400210cc
cmp rbx, rdi
jne 0x140038ae0
mov rax, rbp
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140069650
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140038d90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp], rax
mov r11, qword [r8 + 0x18]
mov rsi, r8
mov r14, qword [r8 + 0x10]
mov r12, rdx
mov r10, rcx
mov r9, r8
cmp r11, 8
jb 0x140038dca
mov r9, qword [r8]
lea r8, [r14 + r14]
mov qword [rsp + 0x68], rbx
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r8, r8
je 0x140038e04
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, rbx
cmp rcx, r8
jb 0x140038df0
mov rax, qword [r10 + 0x18]
movsxd r15, dword [rsi + 0x20]
mov r8, r15
xor r8, rdx
mov rdx, qword [r10 + 8]
and r8, qword [r10 + 0x30]
add r8, r8
mov rbp, qword [rax + r8*8]
lea r13, [rax + r8*8]
mov rcx, rbp
cmp rbp, rdx
jne 0x140038e32
mov rax, rdx
jmp 0x140038e39
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140038f59
mov rax, rsi
cmp r11, 8
jb 0x140038e4e
mov rax, qword [rsi]
cmp qword [rcx + 0x28], 8
lea r11, [rcx + 0x10]
mov r8, qword [rcx + 0x20]
jb 0x140038e61
mov r11, qword [rcx + 0x10]
cmp r8, r14
jne 0x140038eae
test r8, r8
je 0x140038ea8
movzx r9d, word [r11]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x140038eae
sub r11, rax
cmp r9w, r10w
ja 0x140038eae
cmp r8, 1
je 0x140038ea8
movzx r9d, word [r11 + rax + 2]
add rax, 2
dec r8
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140038e80
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140038e28
cmp dword [rcx + 0x30], r15d
je 0x140038eba
mov rcx, qword [rcx]
mov r11, qword [rsi + 0x18]
jmp 0x140038e28
mov r8, rcx
mov qword [rsp + 0x10], rdi
cmp rbp, rdx
jne 0x140038ecc
mov rax, rdx
jmp 0x140038ed3
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140038f36
cmp qword [rcx + 0x28], 8
lea rax, [rcx + 0x10]
jb 0x140038ee7
mov rax, qword [rcx + 0x10]
cmp qword [rsi + 0x18], 8
mov rbx, rsi
jb 0x140038ef4
mov rbx, qword [rsi]
cmp r14, qword [rcx + 0x20]
jne 0x140038f36
mov r11, r14
test r14, r14
je 0x140038f4b
movzx r9d, word [rbx]
movzx r10d, word [rax]
cmp r9w, r10w
jb 0x140038f36
sub rbx, rax
cmp r9w, r10w
ja 0x140038f36
cmp r11, 1
je 0x140038f4b
movzx r9d, word [rax + rbx + 2]
add rax, 2
dec r11
movzx r10d, word [rax]
cmp r9w, r10w
jae 0x140038f17
mov rdi, qword [rsp + 0x10]
cmp r8, rcx
je 0x140038f59
mov qword [r12], r8
mov qword [r12 + 8], rcx
jmp 0x140038f62
cmp r15d, dword [rcx + 0x30]
jne 0x140038f36
mov rcx, qword [rcx]
jmp 0x140038ec2
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov rbx, qword [rsp + 0x68]
mov rax, r12
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140069650
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x140039250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r11, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x20], rcx
mov rbx, qword [r8 + 0x10]
mov r9, r8
cmp qword [r8 + 0x18], 8
jb 0x140039297
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
lea r8, [rbx + rbx]
xor ecx, ecx
test r8, r8
je 0x1400392d4
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x1400392c0
movsxd r13, dword [r11 + 0x20]
mov r12, r13
xor r12, rdx
and r12, qword [r15 + 0x30]
shl r12, 4
mov rsi, qword [r15 + 0x18]
mov rdi, qword [r15 + 8]
cmp rdi, qword [rsi + r12]
je 0x14003937a
mov rdi, qword [rsi + r12 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rsi + r12]
je 0x14003937a
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
cmp qword [rdi + 0x28], 8
jb 0x140039319
mov rax, qword [rdi + 0x10]
mov r9, r11
cmp qword [r11 + 0x18], 8
jb 0x140039326
mov r9, qword [r11]
cmp rbx, qword [rdi + 0x20]
jne 0x140039300
mov r8, rbx
test rbx, rbx
je 0x140039364
movzx ecx, word [r9]
movzx edx, word [rax]
cmp cx, dx
jb 0x140039300
sub r9, rax
cmp cx, dx
ja 0x140039300
cmp r8, 1
je 0x140039364
dec r8
add rax, 2
movzx ecx, word [r9 + rax]
movzx edx, word [rax]
cmp cx, dx
jae 0x140039346
jmp 0x140039300
cmp r13d, dword [rdi + 0x30]
jne 0x140039300
mov qword [r14], rdi
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x140039461
mov rax, qword [r15 + 8]
mov rbx, qword [rax]
mov rsi, qword [rbx + 8]
mov r9, r11
mov r8, rsi
mov rdx, rbx
call fcn.140021790
mov rdx, rax
mov rax, qword [r15 + 0x10]
movabs rcx, 0x38e38e38e38e38d
sub rcx, rax
cmp rcx, 1
jb 0x14003947e
inc rax
mov qword [r15 + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rsi], rdx
mov rdx, qword [r15 + 8]
mov rbx, qword [rdx]
mov qword [rsp + 0x38], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x140039404
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r15 + 8]
mov rcx, qword [r15 + 0x18]
add rcx, r12
mov rax, qword [rcx]
cmp rax, rdx
jne 0x140039421
mov qword [rcx], rbx
mov rax, qword [r15 + 0x18]
mov qword [r12 + rax + 8], rbx
jmp 0x14003944d
cmp rax, rdi
jne 0x14003942b
mov qword [rcx], rbx
jmp 0x14003944d
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rbx
je 0x14003944d
mov r8, qword [r15 + 0x18]
mov rax, qword [r8 + r12 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + r12 + 8], rdx
mov rcx, r15
call fcn.140021634
nop
mov qword [r14], rbx
mov byte [r14 + 8], 1
mov rax, r14
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140069650
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, str.list_T__too_long
call fcn.1400672b0
int3
Function at 0x1400396a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov r12, qword [r8 + 0x18]
mov rbx, r8
mov rdi, qword [r8 + 0x10]
mov r10, rcx
mov qword [rsp + 8], rdx
mov r9, r8
cmp r12, 8
jb 0x1400396dc
mov r9, qword [r8]
lea r8, [rdi + rdi]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r8, r8
je 0x140039714
movabs r11, 0x100000001b3
nop dword [rax + rax]
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r8
jb 0x140039700
movsxd r11, dword [rbx + 0x20]
mov rax, qword [r10 + 0x18]
mov rdx, r11
mov rbp, qword [r10 + 8]
xor rdx, rcx
and rdx, qword [r10 + 0x30]
shl rdx, 4
mov dword [rsp], r11d
mov qword [rsp + 0x20], rsi
mov r15, qword [rdx + rax]
lea r13, [rdx + rax]
mov rcx, r15
cmp r15, rbp
jne 0x14003974c
mov rax, rbp
jmp 0x140039753
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140039847
lea r9, [rcx + 0x10]
mov rax, rbx
cmp r12, 8
jb 0x14003976c
mov rax, qword [rbx]
cmp qword [r9 + 0x18], 8
mov r11, r9
mov rsi, qword [r9 + 0x10]
jb 0x14003977d
mov r11, qword [r9]
cmp rsi, rdi
jne 0x1400397d3
mov r10, rsi
test rsi, rsi
je 0x1400397c6
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1400397d3
sub r11, rax
cmp dx, r8w
ja 0x1400397d3
cmp r10, 1
je 0x1400397c6
movzx edx, word [rax + r11 + 2]
add rax, 2
dec r10
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14003979f
mov rcx, qword [rcx]
jmp 0x140039742
mov r8d, dword [r9 + 0x20]
mov r11d, dword [rsp]
cmp r8d, r11d
je 0x1400397db
mov rcx, qword [rcx]
jmp 0x140039742
cmp qword [r9 + 0x18], 8
jb 0x1400397e5
mov r9, qword [r9]
cmp r12, 8
jb 0x1400397ee
mov rbx, qword [rbx]
cmp rdi, rsi
jne 0x14003983a
test rdi, rdi
je 0x140039835
movzx eax, word [rbx]
movzx edx, word [r9]
cmp ax, dx
jb 0x14003983a
sub rbx, r9
cmp ax, dx
ja 0x14003983a
cmp rdi, 1
je 0x140039835
movzx eax, word [r9 + rbx + 2]
add r9, 2
dec rdi
movzx edx, word [r9]
cmp ax, dx
jae 0x14003980a
mov rax, qword [rsp + 8]
mov rcx, rbp
mov qword [rax], rcx
jmp 0x140039852
cmp r11d, r8d
je 0x14003983d
mov rcx, rbp
mov rax, qword [rsp + 8]
mov qword [rax], rcx
jmp 0x140039852
mov r11, qword [rsp + 8]
mov rax, r11
mov qword [r11], rbp
mov rsi, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.140069650
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x14003b5d0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
xor esi, esi
mov rcx, qword [rcx + 0x10]
movzx edi, dl
test rcx, rcx
je 0x14003b5fc
jle 0x14003b5f8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003b611
jle 0x14003b60d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003b624
jle 0x14003b621
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14003b639
jle 0x14003b635
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test dil, dil
jne 0x14003b6a7
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14003b65e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14003b685
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14003b67f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x130], 8
lea rax, [rbx + 0x118]
jb 0x14003b69d
mov rax, qword [rbx + 0x118]
mov qword [rbx + 0x128], rsi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003b6c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rdx, rdx
je 0x14003b6ed
mov rcx, qword [rcx + 0x10]
cmp rdx, rcx
je 0x14003b6ed
test rcx, rcx
jle 0x14003b6e9
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x14003b706
mov eax, 0xc0000141
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003b889
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
cmp dword [rcx], 0x4550
jne 0x14003b889
mov eax, 0x20b
mov qword [rsp + 0x38], rbp
cmp word [rcx + 0x18], ax
jne 0x14003b750
mov byte [rbx + 0x19], 1
lea rdi, [rcx + 0x108]
mov rax, qword [rcx + 0x30]
jmp 0x14003b75e
mov byte [rbx + 0x19], 0
lea rdi, [rcx + 0xf8]
mov eax, dword [rcx + 0x34]
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x50]
mov dword [rbx + 0x38], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x40], eax
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x3c], eax
movzx eax, word [rcx + 0x5c]
mov dword [rbx + 0x54], eax
movzx eax, word [rcx + 0x5e]
mov dword [rbx + 0x5c], eax
movzx eax, word [rcx + 0x16]
shr ax, 0xd
not al
and al, 1
cmp byte [rbx + 0x19], 0
mov byte [rbx + 0x1a], al
je 0x14003b7a3
mov rax, qword [rbx + 0x28]
add rax, 0xf8
jmp 0x14003b7aa
lea rax, [rcx + 0xe8]
mov ecx, dword [rax]
xor ebp, ebp
test ecx, ecx
jne 0x14003b829
mov eax, ebp
xor ecx, ecx
mov qword [rsp + 0x40], rsi
mov byte [rbx + 0x1b], cl
test cl, cl
je 0x14003b7f0
sub eax, dword [rbx + 0x10]
lea rdx, [rbx + 0xf8]
add eax, 0x10
lea rcx, [rbx + 0x138]
mov dword [rbx + 0x58], eax
call fcn.140043e40
test al, al
je 0x14003b7f0
xor edx, edx
lea rcx, [rbx + 0x138]
call fcn.140043f80
mov rax, qword [rbx + 0x20]
cmp bp, word [rax + 6]
jae 0x14003b872
nop word [rax + rax]
mov rdx, qword [rbx + 0x68]
cmp qword [rbx + 0x70], rdx
je 0x14003b854
movups xmm0, xmmword [rdi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rdx + 0x10], xmm1
movsd xmm0, qword [rdi + 0x20]
movsd qword [rdx + 0x20], xmm0
add qword [rbx + 0x68], 0x28
jmp 0x14003b860
mov rdx, rcx
mov r8d, 1
mov rcx, rbx
call fcn.14003c860
test rax, rax
je 0x14003b7b4
test byte [rax + 0x10], 1
je 0x14003b7b4
mov cl, 1
jmp 0x14003b7b6
mov r8, rdi
lea rcx, [rbx + 0x60]
call fcn.14003d030
mov rax, qword [rbx + 0x20]
inc ebp
add rdi, 0x28
movzx ecx, word [rax + 6]
cmp ebp, ecx
jl 0x14003b800
mov rsi, qword [rsp + 0x40]
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0xc000007b
add rsp, 0x20
pop rdi
ret
Function at 0x14003ca80
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x60]
call fcn.140088180
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x50], 0x38
lea r8, [rdi + 0x50]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14003ccd0
mov r15, rax
test rax, rax
je 0x14003cc92
test rbx, rbx
jne 0x14003cc22
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x1a0]
call fcn.140088180
lea rdx, [rbp + 0x1a0]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x60]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14003cb7b
mov eax, 0xc0150002
jmp 0x14003cca5
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp - 0x70], rax
test rax, rax
setg r14b
test rax, rax
jle 0x14003cc17
mov dword [rbp - 0x78], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x78]
mov r8d, dword [rsp + 0x40]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test rbx, rbx
je 0x14003cbed
test r14b, r14b
je 0x14003cbe6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r12
mov qword [rbp - 0x70], rbx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rcx, [rdi + 0x118]
lea rdx, [rbp - 0x60]
call fcn.140003dc0
nop
test rbx, rbx
jle 0x14003cc4b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003cc4b
mov rax, qword gs:[0x30]
jmp 0x14003cc9f
mov dword [rsp + 0x54], 8
movzx eax, word [rdi + 0x50]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x58], rbx
lea rdx, [rdi + 0xf8]
lea rcx, [rdi + 0x118]
call fcn.140013bfc
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rbx, rax
mov rcx, qword [rdi + 0x48]
cmp rax, rcx
je 0x14003cc74
test rcx, rcx
jle 0x14003cc6d
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rdi + 0x48], rbx
mov rcx, rbx
test rcx, rcx
jg 0x14003cc92
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14003cc96
mov dword [rdi + 0x50], r12d
xor eax, eax
jmp 0x14003cca5
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140069650
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14003d7e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x18
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp], rax
mov r15, qword [r8 + 0x18]
mov r11, r8
mov rbx, qword [r8 + 0x10]
mov r13, rdx
mov r10, rcx
mov r9, r8
cmp r15, 8
jb 0x14003d81a
mov r9, qword [r8]
lea rdx, [rbx + rbx]
mov qword [rsp + 0x10], rdi
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
test rdx, rdx
je 0x14003d854
movabs rdi, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor r8, rax
imul r8, rdi
cmp rcx, rdx
jb 0x14003d840
mov rax, qword [r10 + 0x18]
mov rdx, qword [r10 + 0x30]
mov rsi, qword [r10 + 8]
and rdx, r8
shl rdx, 4
mov qword [rsp + 0x68], rbp
mov r14, qword [rdx + rax]
lea r12, [rdx + rax]
mov rcx, r14
cmp r14, rsi
jne 0x14003d881
mov rax, rsi
jmp 0x14003d889
mov rax, qword [r12 + 8]
mov rax, qword [rax]
cmp rcx, rax
je 0x14003d959
lea r10, [rcx + 0x10]
mov rax, r11
cmp r15, 8
jb 0x14003d8a2
mov rax, qword [r11]
mov rbp, qword [r10 + 0x18]
mov rdi, qword [r10 + 0x10]
cmp rbp, 8
jb 0x14003d8b3
mov r10, qword [r10]
cmp rdi, rbx
jne 0x14003d8f4
mov r9, rdi
test rdi, rdi
je 0x14003d8fc
movzx edx, word [r10]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14003d8f4
sub r10, rax
cmp dx, r8w
ja 0x14003d8f4
cmp r9, 1
je 0x14003d8fc
movzx edx, word [rax + r10 + 2]
add rax, 2
dec r9
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14003d8d5
mov rcx, qword [rcx]
jmp 0x14003d877
lea rax, [rcx + 0x10]
cmp rbp, 8
jb 0x14003d909
mov rax, qword [rax]
cmp r15, 8
jb 0x14003d912
mov r11, qword [r11]
cmp rbx, rdi
jne 0x14003d950
test rbx, rbx
je 0x14003d953
movzx edx, word [r11]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x14003d950
sub r11, rax
cmp dx, r8w
ja 0x14003d950
cmp rbx, 1
je 0x14003d953
movzx edx, word [rax + r11 + 2]
add rax, 2
dec rbx
movzx r8d, word [rax]
cmp dx, r8w
jae 0x14003d931
mov rcx, rsi
mov qword [r13], rcx
jmp 0x14003d95d
mov qword [r13], rsi
mov rdi, qword [rsp + 0x10]
mov rax, r13
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.140069650
add rsp, 0x18
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret
Function at 0x140041eb0
Capabilities:
Terminate thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x70
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1400f4080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
xor esi, esi
mov qword [r11 - 0x28], rsi
lea r9, [r11 - 0x28]
lea edx, [rsi + 0x18]
lea r8d, [rsi + 8]
add rcx, 0x68
call fcn.14003f240
cmp qword [rsp + 0x50], rsi
je 0x140041f76
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rdi]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x58]
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140041f3f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x40], rsi
mov rdx, qword [rdi + 0x68]
test rdx, rdx
je 0x140041f76
mov rax, qword [rdx + 0x18]
mov rdx, qword [rdx]
add rdx, 0x18
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rsp + 0x40]
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x140041f89
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x40], rsi
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14004202e
call fcn.14003f4b0
test al, al
je 0x14004202e
mov rax, qword [rdi + 0x20]
xor edx, edx
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rax, qword [rdi + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rdi + 0x20]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140041fdf
jle 0x140041fdb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], rsi
mov dword [rbx + 8], esi
mov qword [rdi + 0x20], rsi
mov rbx, qword [rdi + 0x28]
mov qword [rdi + 0x28], rsi
test rbx, rbx
je 0x140042020
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140042020
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140042020
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14004202e
call fcn.14003f0b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140069650
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret