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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r15, rcx
mov qword [rsp + 0x50], rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.140079680
mov dword [rsp + 0x50], 0x104
call fcn.140015410
mov r14, rax
xor edi, edi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], dil
lea r8d, [rdi + 0x1a]
lea rdx, str.QueryFullProcessImageNameW
lea rcx, [rsp + 0x20]
call fcn.140001d70
nop
call fcn.14002e730
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rsp + 0x20]
mov r13, qword [rsp + 0x38]
cmp r13, 0x10
setae r12b
mov rbx, qword [rsp + 0x20]
cmovae rdx, rbx
movabs r9, 0xcbf29ce484222325
mov ecx, edi
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x140016173
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x140016160
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140015ce0
mov rdi, qword [rax + 8]
test rdi, rdi
je 0x1400161a6
cmp rdi, qword [r14 + 8]
je 0x1400161a6
mov rdi, qword [rdi + 0x30]
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
jmp 0x1400161b4
lea rcx, [r14 + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov edi, esi
test r12b, r12b
je 0x1400161ea
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400161e2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400162e0
mov rcx, rbx
call fcn.14004b1e0
test rdi, rdi
je 0x140016208
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
xor edx, edx
call rdi
jmp 0x14001621a
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140016240
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140001bb0
nop
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140015f80
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400162a7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400162a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400162da
call fcn.14004b1e0
mov rax, r15
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14004b1c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14008ac40
int3
call fcn.14008ac40
int3
Function at 0x140016770
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14001677e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x1400190f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rsp + 0x190], rax
xorps xmm0, xmm0
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x108
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.140079680
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x1400191df
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 0x1400191df
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x1400191df
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x1400191df
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 0x1400191df
cmp dword [rsp + 0x80], 0x4550
jne 0x1400191df
mov al, 1
jmp 0x1400191e1
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14004b1c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140019680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movsxd rbp, r8d
mov rsi, rcx
lea rcx, [rsp + 0x40]
call fcn.140015e80
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140016590
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov dword [rsp + 0x80], ebp
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140019729
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019724
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001980d
call fcn.14004b1e0
lea rdx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 8
cmovae rdx, r10
movabs rcx, 0xcbf29ce484222325
mov rax, qword [rsp + 0x70]
lea r8, [rax + rax]
test r8, r8
je 0x140019775
movabs r9, 0x100000001b3
movzx eax, byte [rbx + rdx]
xor rcx, rax
imul rcx, r9
inc rbx
cmp rbx, r8
jb 0x140019762
mov r9, rbp
xor r9, rcx
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x18]
call fcn.14001a440
cmp qword [rax + 8], 0
je 0x1400197ad
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x18]
call fcn.140019c00
mov rdi, qword [rsp + 0x78]
mov r10, qword [rsp + 0x60]
cmp rdi, 8
jb 0x1400197e4
lea rdx, [rdi*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400197dc
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019807
mov rcx, r10
call fcn.14004b1e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14004b1c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14008ac40
int3
call fcn.14008ac40
int3
Function at 0x140019c00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rdi, rcx
mov r11, qword [rdx + 0x10]
mov r10, rdx
jb 0x140019c1e
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
add r11, r11
je 0x140019c54
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r11
jb 0x140019c40
movsxd r10, dword [rdx + 0x20]
mov r8, rdx
xor r10, r9
lea rdx, [rsp + 0x20]
mov r9, r10
mov rcx, rdi
call fcn.14001a440
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140019cf2
mov rdx, qword [rdi + 0x30]
and rdx, r10
shl rdx, 4
add rdx, qword [rdi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x140019cab
cmp rax, rbx
jne 0x140019ca1
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140019cb6
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140019cb6
cmp rax, rbx
jne 0x140019cb6
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdx, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rdi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdx
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
call fcn.14001a930
mov edx, 0x48
mov rcx, rbx
call fcn.14004b1e0
mov eax, 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140019d70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r12, r9
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r8, qword [r8 + 0x10]
mov r10, r14
cmp qword [r14 + 0x18], 8
jb 0x140019d9e
mov r10, qword [r14]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r8, r8
je 0x140019dd4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x140019dc0
movsxd r15, dword [r14 + 0x20]
xor r15, rcx
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14001a440
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x140019e04
mov qword [rsi], r10
mov byte [rsi + 8], 0
jmp 0x140019f59
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x140019f6d
lea r13, [rbp + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.14004b1e8
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140013770
mov ecx, dword [r14 + 0x20]
mov dword [rdi + 0x30], ecx
xor edx, edx
mov qword [rdi + 0x38], rdx
mov qword [rdi + 0x40], rdx
mov rcx, qword [r12]
mov qword [rdi + 0x38], rcx
mov rax, qword [r12 + 8]
mov qword [rdi + 0x40], rax
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140019e8a
cvtsi2ss xmm0, rcx
jmp 0x140019e9f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140019eb2
cvtsi2ss xmm1, rcx
jmp 0x140019ec7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x140019efe
mov rcx, rbp
call fcn.14001a580
lea r8, [rdi + 0x10]
mov r9, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14001a440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x140019f3b
mov qword [rcx + rax*8], rdi
jmp 0x140019f4d
cmp r9, rdx
jne 0x140019f46
mov qword [rcx + rax*8], rdi
jmp 0x140019f52
cmp qword [rcx + rax*8 + 8], r8
jne 0x140019f52
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140046e30
int3
Function at 0x140019f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r15, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov r8, qword [r8 + 0x10]
mov r10, r14
cmp qword [r14 + 0x18], 8
jb 0x140019fae
mov r10, qword [r14]
movabs rcx, 0xcbf29ce484222325
xor r13d, r13d
mov edx, r13d
add r8, r8
je 0x140019fe4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x140019fd0
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001a440
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x14001a014
mov qword [rsi], r10
mov byte [rsi + 8], r13b
jmp 0x14001a18c
movabs rax, 0x38e38e38e38e38e
cmp qword [rdi + 0x10], rax
je 0x14001a1a0
lea r12, [rdi + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.14004b1e8
mov rbx, rax
mov qword [rsp + 0x38], rax
mov qword [rax + 0x10], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
movups xmm0, xmmword [r14]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x20], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov eax, dword [r14 + 0x20]
mov dword [rbx + 0x30], eax
lea rcx, [rbx + 0x38]
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov rax, qword [r15 + 8]
test rax, rax
je 0x14001a099
lock inc dword [rax + 8]
mov rbx, qword [rsp + 0x38]
mov rax, qword [r15]
mov qword [rcx], rax
mov rax, qword [r15 + 8]
mov qword [rcx + 8], rax
mov r9, qword [rdi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14001a0be
cvtsi2ss xmm0, rcx
jmp 0x14001a0d3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rdi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a0e6
cvtsi2ss xmm1, rcx
jmp 0x14001a0fb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rdi]
seta al
test al, al
je 0x14001a131
mov rcx, rdi
call fcn.14001a580
lea r8, [rbx + 0x10]
mov r9, rbp
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14001a440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rdi + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rdi + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14001a16e
mov qword [rcx + rax*8], rbx
jmp 0x14001a180
cmp r9, rdx
jne 0x14001a179
mov qword [rcx + rax*8], rbx
jmp 0x14001a185
cmp qword [rcx + rax*8 + 8], r8
jne 0x14001a185
mov qword [rcx + rax*8 + 8], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140046e30
int3
Function at 0x14001a1b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov rsi, rdx
mov rbp, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14001a1db
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor r13d, r13d
mov edx, r13d
add r9, r9
je 0x14001a214
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x14001a200
movsxd r15, dword [r14 + 0x20]
xor r15, rcx
mov r9, r15
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14001a440
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x14001a244
mov qword [rsi], r10
mov byte [rsi + 8], r13b
jmp 0x14001a379
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x14001a394
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.14004b1e8
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140013770
mov ecx, dword [r14 + 0x20]
mov dword [rdi + 0x30], ecx
mov qword [rdi + 0x38], r13
mov qword [rdi + 0x40], r13
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x14001a2aa
cvtsi2ss xmm0, rcx
jmp 0x14001a2bf
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x14001a2d2
cvtsi2ss xmm1, rcx
jmp 0x14001a2e7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x14001a31e
mov rcx, rbp
call fcn.14001a580
lea r8, [rdi + 0x10]
mov r9, r15
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14001a440
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rbp + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x14001a35b
mov qword [rcx + rax*8], rdi
jmp 0x14001a36d
cmp r9, rdx
jne 0x14001a366
mov qword [rcx + rax*8], rdi
jmp 0x14001a372
cmp qword [rcx + rax*8 + 8], r8
jne 0x14001a372
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140046e30
int3
Function at 0x14001c3e0
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 0x14001c40c
jle 0x14001c408
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14001c421
jle 0x14001c41d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001c434
jle 0x14001c431
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14001c449
jle 0x14001c445
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 0x14001c4b7
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14001c46e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x14001c495
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14001c48f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x130], 8
lea rax, [rbx + 0x118]
jb 0x14001c4ad
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 0x14001d320
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x70]
call fcn.140079680
xor ebx, ebx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x40], 0x38
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
lea r8, [rsi + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14001d580
mov r12, rax
test rax, rax
je 0x14001d534
test rdi, rdi
jne 0x14001d4b2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.140079680
lea rdx, [rbp + 0x190]
mov ecx, 0x100
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.ImageManifest
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x14001d404
mov eax, 0xc0150002
jmp 0x14001d536
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x120116
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
setg r14b
test rax, rax
jle 0x14001d49e
mov dword [rbp - 0x80], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x80]
mov r8d, dword [rsp + 0x78]
mov rdx, r12
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test r14b, r14b
je 0x14001d464
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d480
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.140001bb0
nop
jmp 0x14001d4ee
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14001d536
mov dword [rsp + 0x44], 8
movzx eax, word [rsi + 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x48], rdi
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0x118]
cmp rcx, rdx
je 0x14001d4ee
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14001d4e9
mov rdx, qword [rdx]
call fcn.140001bb0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x14001d517
test rcx, rcx
jle 0x14001d510
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x14001d534
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x14001d561
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14004b1c0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x14001d536
Function at 0x1400244e0
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rcx + 0x78]
xor esi, esi
mov qword [rsp + 0x50], rsi
mov rbx, rcx
test rax, rax
je 0x140024607
mov rdx, qword [rax]
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x60], rsi
add rdx, 0x18
je 0x140024607
mov rax, qword [rcx + 0x70]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea r9d, [rsi + 8]
lea r8, [rsp + 0x50]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp qword [rsp + 0x50], rsi
je 0x140024607
mov qword [rsp + 0x58], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rbx]
lea r9, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov r8, rax
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov rcx, qword [rcx]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140024596
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x78]
mov qword [rsp + 0x40], rsi
test rdx, rdx
je 0x1400245cd
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x40]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rdx, qword [rbx + 0x88]
mov qword [rsp + 0x48], rsi
test rdx, rdx
je 0x140024607
mov rax, qword [rdx + 0x18]
lea r8, [rsp + 0x48]
mov rdx, qword [rdx]
mov r9d, 8
add rdx, 0x18
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax + 0x70]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14002461a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x40], rsi
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400246ce
call fcn.140021bf0
test al, al
je 0x1400246ce
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov qword [rsp + 0x88], rdi
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rbx + 0x20]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140024678
jle 0x140024674
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x10], rsi
mov dword [rdi + 8], esi
mov rdi, qword [rbx + 0x28]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
test rdi, rdi
je 0x1400246b8
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400246b8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1400246b8
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rbx + 0x48]
mov rdi, qword [rsp + 0x88]
test rcx, rcx
je 0x1400246ce
call fcn.140021940
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004b1c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret