joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000fdb8
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000fde8
xor eax, eax
jmp 0x14000feab
mov rbp, rbx
cmp word [rax], si
je 0x14000fe0d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000fdf4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000fdf0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000fcd8
movsxd r14, eax
test eax, eax
jne 0x14000fe4b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000fde1
mov rcx, r14
call fcn.14000e4b4
mov rdi, rax
test rax, rax
jne 0x14000fe64
xor ecx, ecx
call fcn.14000ce94
jmp 0x14000fe40
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000fcd8
test eax, eax
jne 0x14000fe95
mov rcx, rdi
call fcn.14000ce94
jmp 0x14000fe9f
xor ecx, ecx
call fcn.14000ce94
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140013508
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000dd44
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140013592
cmp byte [rbp - 0x21], r15b
je 0x14001358d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400135c8
call fcn.14000e0e4
test eax, eax
jne 0x1400135b4
cmp byte [rbp - 0x21], r15b
je 0x1400135ac
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400135c8
cmp byte [rbp - 0x21], r15b
je 0x1400135c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000dbc8
test eax, eax
jne 0x140013668
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000dd44
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140013607
cmp byte [rbp - 0x21], r15b
je 0x14001363c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001363c
call fcn.14000e0e4
test eax, eax
jne 0x140013628
cmp byte [rbp - 0x21], r15b
je 0x140013621
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001363c
cmp byte [rbp - 0x21], r15b
je 0x140013639
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000dbc8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013668
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001366b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013679
mov rcx, rdi
call fcn.14000ce94
cmp byte [rbp + 0x3f], r15b
je 0x140013688
mov rcx, qword [rbp + 0x27]
call fcn.14000ce94
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400164c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400164e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400164e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000c430
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1402a2cf8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [0x1402aad18], 0
jne 0x14000c4a1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x24]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov qword [0x1402aad08], rax
mov eax, dword [rsp + 0x48]
mov qword [0x1402aad10], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1402aad18], rax
lea rax, [0x1402aad08]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009a9c0
add rsp, 0x68
ret
Function at 0x140010bd0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1402a2cf8]
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.1400b6650
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x140010cbf
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 0x140010cbf
mov eax, 0x5a4d
cmp word [rsp + 0x40], ax
jne 0x140010cbf
movsxd rdx, dword [rsp + 0x7c]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x30], 0
add rdx, rbx
je 0x140010cbf
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 0x140010cbf
cmp dword [rsp + 0x80], 0x4550
jne 0x140010cbf
mov al, 1
jmp 0x140010cc1
xor al, al
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14009a9c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
ret
Function at 0x140011180
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x90
mov rax, qword [0x1402a2cf8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rsi, rcx
movsxd rbp, r8d
lea rcx, [rsp + 0x40]
call fcn.14000d8d0
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000e0a0
xor ebx, ebx
mov dword [rsp + 0x80], ebp
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x38]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm1
cmp rdx, 8
jb 0x140011225
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011220
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001131b
call fcn.14009aa1c
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov r10, qword [rsp + 0x60]
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0xc0], rdi
mov rdi, qword [rsp + 0x78]
cmp rdi, 8
lea r8, [rax + rax]
cmovae rdx, r10
test r8, r8
je 0x140011283
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rbx + rdx]
inc rbx
xor rcx, rax
imul rcx, r9
cmp rbx, r8
jb 0x140011270
mov r9, rbp
lea r8, [rsp + 0x60]
xor r9, rcx
lea rdx, [rsp + 0x20]
lea rcx, [rsi + 0x18]
call fcn.140011f00
cmp qword [rax + 8], 0
je 0x1400112bb
lea rdx, [rsp + 0x60]
lea rcx, [rsi + 0x18]
call fcn.1400118a0
mov r10, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 8
jb 0x1400112f2
lea rdx, [rdi*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1400112ea
mov r10, qword [r10 - 8]
add rdx, 0x27
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011315
mov rcx, r10
call fcn.14009aa1c
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14009a9c0
add rsp, 0x90
pop rsi
pop rbp
pop rbx
ret
call fcn.1400c88c8
int3
call fcn.1400c88c8
int3
Function at 0x1400118a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov r8, rdx
mov r10, qword [rdx + 0x10]
mov rdi, rcx
mov r9, rdx
jb 0x1400118c1
mov r9, qword [rdx]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r10, r10
je 0x1400118f4
movabs r11, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r10
jb 0x1400118e0
movsxd r10, dword [r8 + 0x20]
mov rcx, rdi
xor r10, rdx
lea rdx, [rsp + 0x20]
mov r9, r10
call fcn.140011f00
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140011992
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x18]
and rcx, r10
shl rcx, 4
add rdx, rcx
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x14001194b
cmp rax, rbx
jne 0x140011941
mov rax, qword [rdi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140011956
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x140011956
cmp rax, rbx
jne 0x140011956
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.140012580
mov edx, 0x48
mov rcx, rbx
call fcn.14009aa1c
mov eax, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140011b00
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 rdi, rdx
mov rsi, rcx
mov r8, qword [r8 + 0x10]
mov r10, r14
cmp qword [r14 + 0x18], 8
jb 0x140011b2e
mov r10, qword [r14]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r8, r8
je 0x140011b64
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r10]
xor rcx, rax
imul rcx, r9
inc rdx
cmp rdx, r8
jb 0x140011b50
movsxd rbp, dword [r14 + 0x20]
xor rbp, rcx
mov r9, rbp
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140011f00
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x140011b94
mov qword [rdi], r10
mov byte [rdi + 8], 0
jmp 0x140011ce8
movabs rax, 0x38e38e38e38e38e
cmp qword [rsi + 0x10], rax
je 0x140011cfc
lea r13, [rsi + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.14009a9e0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140009640
mov ecx, dword [r14 + 0x20]
mov dword [rbx + 0x30], ecx
xor edx, edx
mov qword [rbx + 0x38], rdx
mov qword [rbx + 0x40], rdx
mov rcx, qword [r12]
mov qword [rbx + 0x38], rcx
mov rax, qword [r12 + 8]
mov qword [rbx + 0x40], rax
mov qword [r12], rdx
mov qword [r12 + 8], rdx
mov r9, qword [rsi + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140011c1a
cvtsi2ss xmm0, rcx
jmp 0x140011c2f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rsi + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x140011c42
cvtsi2ss xmm1, rcx
jmp 0x140011c57
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rsi]
seta al
test al, al
je 0x140011c8d
mov rcx, rsi
call fcn.1400121d0
mov r9, rbp
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140011f00
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r9, qword [rsi + 0x10]
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
lea rax, [r9 + 1]
mov qword [rsi + 0x10], rax
mov qword [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r13]
jne 0x140011cca
mov qword [rcx + rax*8], rbx
jmp 0x140011cdc
cmp r9, rdx
jne 0x140011cd5
mov qword [rcx + rax*8], rbx
jmp 0x140011ce1
cmp qword [rcx + rax*8 + 8], r8
jne 0x140011ce1
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
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.140098bb4
int3
Function at 0x140011d10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140011d36
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
add r9, r9
je 0x140011d65
movabs r10, 0x100000001b3
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r10
inc rdx
cmp rdx, r9
jb 0x140011d51
movsxd r14, dword [rsi + 0x20]
xor r14, rcx
mov r9, r14
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140011f00
mov r10, qword [rsp + 0x28]
test r10, r10
je 0x140011d95
mov qword [rdi], r10
mov byte [rdi + 8], 0
jmp 0x140011ed5
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x140011ee7
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], 0
mov ecx, 0x48
call fcn.14009a9e0
mov rbx, rax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rax + 0x10]
call fcn.140009640
mov ecx, dword [rsi + 0x20]
mov dword [rbx + 0x30], ecx
mov qword [rbx + 0x38], 0
mov qword [rbx + 0x40], 0
mov r9, qword [rbp + 0x10]
lea rcx, [r9 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140011e06
cvtsi2ss xmm0, rcx
jmp 0x140011e1b
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 0x140011e2e
cvtsi2ss xmm1, rcx
jmp 0x140011e43
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 0x140011e7a
mov rcx, rbp
call fcn.1400121d0
mov r9, r14
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.140011f00
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 [rbx], rdx
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdx + 8], rbx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r14
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140011eb7
mov qword [rcx + rax*8], rbx
jmp 0x140011ec9
cmp r9, rdx
jne 0x140011ec2
mov qword [rcx + rax*8], rbx
jmp 0x140011ece
cmp qword [rcx + rax*8 + 8], r8
jne 0x140011ece
mov qword [rcx + rax*8 + 8], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
mov rax, rdi
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140098bb4
int3
Function at 0x1400140b0
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 0x1400140dc
jle 0x1400140d8
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], rsi
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400140f1
jle 0x1400140ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov rcx, qword [rbx]
test rcx, rcx
je 0x140014104
jle 0x140014101
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140014119
jle 0x140014115
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 0x140014187
cmp qword [rbx + 0x110], 8
lea rcx, [rbx + 0xf8]
jb 0x14001413e
mov rcx, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rsi
mov word [rcx], si
cmp byte [rbx + 0x1c], sil
je 0x140014165
lea rcx, [rbx + 0x118]
cmp qword [rcx + 0x18], 8
jb 0x14001415f
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x130], 8
lea rax, [rbx + 0x118]
jb 0x14001417d
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 0x140015010
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 [0x1402a2cf8]
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.1400b6650
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.140015270
mov r12, rax
test rax, rax
je 0x140015224
test rdi, rdi
jne 0x1400151a2
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x190]
call fcn.1400b6650
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 0x1400150f4
mov eax, 0xc0150002
jmp 0x140015226
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 0x14001518e
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 0x140015154
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 0x140015170
lea rcx, [rsi + 0x118]
lea rdx, [rbp - 0x70]
call fcn.1400098b0
nop
jmp 0x1400151de
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x1250]
jmp 0x140015226
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 0x1400151de
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400151d9
mov rdx, qword [rdx]
call fcn.1400098b0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov rdi, rax
mov rcx, qword [rsi + 0x48]
cmp rax, rcx
je 0x140015207
test rcx, rcx
jle 0x140015200
call qword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov qword [rsi + 0x48], rdi
mov rcx, rdi
test rcx, rcx
jg 0x140015224
mov rax, qword gs:[0x30]
cmp dword [rax + 0x1250], 0xc0000022
jne 0x140015251
mov dword [rsi + 0x50], ebx
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14009a9c0
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 0x140015226
Function at 0x140015b20
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 r8, qword [r8 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x140015b4e
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor r13d, r13d
mov ecx, r13d
add r8, r8
je 0x140015b83
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x140015b70
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14000b3f0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140015bac
mov qword [rsi], rax
mov byte [rsi + 8], r13b
jmp 0x140015cde
movabs rax, 0x38e38e38e38e38e
cmp qword [rbp + 0x10], rax
je 0x140015cf9
lea r12, [rbp + 8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
mov ecx, 0x48
call fcn.14009a9e0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, r14
lea rcx, [rax + 0x10]
call fcn.140009640
mov qword [rdi + 0x30], r13
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 0x140015c0f
cvtsi2ss xmm0, rcx
jmp 0x140015c24
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 0x140015c37
cvtsi2ss xmm1, rcx
jmp 0x140015c4c
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 0x140015c83
mov rcx, rbp
call fcn.14000af50
mov r9, rbx
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14000b3f0
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, rbx
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x140015cc0
mov qword [rcx + rax*8], rdi
jmp 0x140015cd2
cmp r9, rdx
jne 0x140015ccb
mov qword [rcx + rax*8], rdi
jmp 0x140015cd7
cmp qword [rcx + rax*8 + 8], r8
jne 0x140015cd7
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.140098bb4
int3