joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003cf0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x138
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140003d57
lea r8, [r10 + 0x10]
movabs r11, 0xb5026f5aa96619e9
mov rdx, qword [r8]
xor rdx, qword [r8 - 8]
lea r8, [r8 + 8]
and rdx, 0xffffffff80000000
xor rdx, qword [r8 - 8]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x140003d12
mov ecx, dword [r10]
jmp 0x140003e78
cmp ecx, 0x270
jb 0x140003e78
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [r10 + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
nop word [rax + rax]
mov r9, qword [rbx + 8]
mov r8, rbx
add rbx, 8
mov rdx, r9
xor rdx, rax
and rdx, 0xffffffff80000000
xor rdx, r9
movzx eax, dl
and al, 1
neg al
mov rax, r9
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4e0]
xor rcx, rdx
mov qword [r8 - 0x9c0], rcx
sub rdi, 1
jne 0x140003d90
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov r9, qword [rbx]
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx + 8]
mov rdx, rbx
xor r9, r8
add rbx, 8
and r9, 0xffffffff80000000
xor r9, r8
movzx eax, r9b
and al, 1
neg al
sbb rcx, rcx
shr r9, 1
and rcx, r11
xor rcx, qword [rdx - 0xea0]
xor rcx, r9
mov r9, r8
mov qword [rdx - 0x9c0], rcx
sub rdi, 1
jne 0x140003df0
mov rdx, qword [r10 + 8]
xor rdx, qword [r10 + 0x1380]
mov rdi, qword [rsp]
and rdx, 0xffffffff80000000
xor rdx, qword [r10 + 8]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
mov qword [r10 + 0x9c0], rcx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov rdx, qword [r10 + rax*8 + 8]
lea eax, [rcx + 1]
mov dword [r10], eax
mov rcx, rdx
mov rax, qword [r10 + 0x1388]
shr rcx, 0x1d
and rax, rcx
movabs rcx, 0x38eb3ffff6d3
xor rdx, rax
mov rax, rdx
and rax, rcx
shl rax, 0x11
xor rdx, rax
mov rax, rdx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rdx, rax
mov rax, rdx
shr rax, 0x2b
xor rax, rdx
add rsp, 8
ret
Function at 0x140004280
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140150bc0]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call fcn.1400d9fa0
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x140004357
mov rax, qword [rdi]
test rax, rax
je 0x140004315
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x140004315
test rsi, rsi
je 0x140004315
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140004315
cmp dword [rsp + 0x30], ebx
je 0x140004357
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x140004334
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x140004334
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
jmp 0x140004359
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14002ffe0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140010890
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1400108b4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140010942
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140010910
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140010910
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400d9fa0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001092d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140010935
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x1400108d1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140010a20
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140010959
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14001095b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14001098d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400d9fa0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140010a1d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400109c8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400109fe
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14009bc20
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140010a1d
cmp rsi, rax
ja 0x1400109d1
test rsi, rsi
je 0x140010a1d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14009bc20
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x1400308f0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140030440
movzx eax, al
test eax, eax
jne 0x140030910
mov ecx, 7
call fcn.1400314a0
nop
mov byte [rsp + 0x20], 0
call fcn.1400303d0
mov byte [rsp + 0x21], al
cmp dword [0x140118b10], 1
jne 0x140030934
mov ecx, 7
call fcn.1400314a0
nop
jmp 0x14003098c
cmp dword [0x140118b10], 0
jne 0x140030987
mov dword [0x140118b10], 1
lea rdx, [0x1400e0690]
lea rcx, [0x1400e0648]
call fcn.14009f780
test eax, eax
je 0x140030968
mov eax, 0xff
jmp 0x140030a91
lea rdx, [0x1400e0640]
lea rcx, [0x1400e0448]
call fcn.14009f710
mov dword [0x140118b10], 2
jmp 0x14003098c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140030630
call fcn.140031ac0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400309e9
mov rcx, qword [rsp + 0x30]
call fcn.1400305a0
movzx eax, al
test eax, eax
je 0x1400309e9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x1400e0420]
nop
call fcn.140031ad0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140030a1d
mov rcx, qword [rsp + 0x38]
call fcn.1400305a0
movzx eax, al
test eax, eax
je 0x140030a1d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14009d0a0
nop
call fcn.140030ad0
mov dword [rsp + 0x28], eax
call fcn.1400316b0
movzx eax, al
test eax, eax
jne 0x140030a3c
mov ecx, dword [rsp + 0x28]
call fcn.14009d0f0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140030a4b
call fcn.14009d060
nop
xor edx, edx
mov cl, 1
call fcn.140030660
mov eax, dword [rsp + 0x28]
jmp 0x140030a91
add rsp, 0x68
ret
Function at 0x14006f460
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x30
call fcn.1400a5340
mov ecx, 8
imul rcx, rcx, 5
mov rax, qword [rax + rcx]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14006f48c
mov eax, 2
jmp 0x14006f4f9
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov r9d, 2
lea r8, [rsp + 0x24]
mov edx, 0x22
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
nop
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0x24]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x30
je 0x14006f4e2
cmp dword [rsp + 0x20], 0x31
je 0x14006f4e9
cmp dword [rsp + 0x20], 0x32
je 0x14006f4f0
jmp 0x14006f4f7
mov eax, 2
jmp 0x14006f4f9
mov eax, 1
jmp 0x14006f4f9
mov eax, 3
jmp 0x14006f4f9
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140078ac0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400785a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140078aff
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1400e0420]
jmp 0x140078b09
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400afac0
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.1400aeee0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400afb27
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x1400e0428]
jmp 0x1400afb49
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400aff20
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret
Function at 0x1400b6500
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x1400b8b60
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400d9550
sub rsp, rax
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14011ac10]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400b8d52
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1400b8ca6
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1400b8ca6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1400b8c8b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1400b8c28
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b8d12
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b8d71
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x1400b8d4d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b8d71
jmp 0x1400b8bfe
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14002ffe0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400b8d90
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1400d9550
sub rsp, rax
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x14011ac10]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400b8f9d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1400b8ee9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1400b8ee9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1400b8ec9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1400b8e58
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400b8f5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b8fbc
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x1400b8f98
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1400b8fbc
jmp 0x1400b8e2e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.14002ffe0
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400c11a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14004a850
lea rcx, [rsp + 0x20]
call fcn.1400c1090
movzx eax, al
test eax, eax
jne 0x1400c11e5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1400c1070
mov rax, qword [rsp + 0x40]
jmp 0x1400c12df
lea rcx, [rsp + 0x20]
call fcn.1400323d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.1400c1110
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.14009a0c0
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14004a850
lea rcx, [rsp + 0x28]
call fcn.14006f760
movzx eax, al
test eax, eax
jne 0x1400c127f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140078d40
lea rcx, [rsp + 0x20]
call fcn.1400c1070
mov rax, qword [rsp + 0x50]
jmp 0x1400c12df
lea rcx, [rsp + 0x20]
call fcn.1400323d0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400323d0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400d9fa0
lea rcx, [rsp + 0x28]
call fcn.140072140
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140078d40
lea rcx, [rsp + 0x20]
call fcn.1400c1070
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x1400c1e80
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x180002c48
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x1801cc84c
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1802678f8]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor r11d, r11d
lea r10, [0x180272e50]
test r9, r9
lea rdi, [0x180216c15]
mov rax, rdx
mov r15, rdx
cmovne r10, r9
test rdx, rdx
lea ebp, [r11 + 1]
cmovne rdi, rdx
mov r14d, ebp
cmovne r14, r8
neg rax
sbb rsi, rsi
and rsi, rcx
test r14, r14
jne 0x1801cc8b5
mov rax, 0xfffffffffffffffe
jmp 0x1801cca07
movzx r9d, word [r10 + 6]
test r9w, r9w
jne 0x1801cc925
mov bl, byte [rdi]
inc rdi
test bl, bl
js 0x1801cc8e1
test rsi, rsi
je 0x1801cc8d3
movzx ecx, bl
mov dword [rsi], ecx
test bl, bl
setne r11b
mov rax, r11
jmp 0x1801cca07
mov al, bl
and al, 0xe0
cmp al, 0xc0
jne 0x1801cc8ee
mov r8b, 2
jmp 0x1801cc90a
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x1801cc8fb
mov r8b, 3
jmp 0x1801cc90a
mov al, bl
and al, 0xf8
cmp al, 0xf0
jne 0x1801cc9f3
mov r8b, 4
movzx eax, r8b
mov ecx, 7
sub ecx, eax
mov edx, ebp
shl edx, cl
mov r9b, r8b
sub edx, ebp
movzx eax, bl
and edx, eax
jmp 0x1801cc94a
mov r8b, byte [r10 + 4]
mov edx, dword [r10]
lea eax, [r8 - 2]
cmp al, 2
ja 0x1801cc9f3
cmp r9b, bpl
jb 0x1801cc9f3
cmp r9b, r8b
jae 0x1801cc9f3
movzx ebp, r9b
cmp rbp, r14
mov ebx, ebp
cmovae rbx, r14
jmp 0x1801cc979
mov cl, byte [rdi]
inc rdi
mov al, cl
and al, 0xc0
cmp al, 0x80
jne 0x1801cc9f3
mov eax, edx
movzx ecx, cl
and ecx, 0x3f
shl eax, 6
mov edx, ecx
or edx, eax
mov rax, rdi
sub rax, r15
cmp rax, rbx
jb 0x1801cc959
cmp rbx, rbp
jae 0x1801cc9a6
movzx eax, r8b
sub r9b, bl
mov word [r10 + 4], ax
movzx eax, r9b
mov word [r10 + 6], ax
mov dword [r10], edx
jmp 0x1801cc8a9
lea eax, [rdx - 0xd800]
cmp eax, 0x7ff
jbe 0x1801cc9f3
cmp edx, 0x110000
jae 0x1801cc9f3
movzx eax, r8b
mov dword [rsp + 0x20], 0x80
mov dword [rsp + 0x24], 0x800
mov dword [rsp + 0x28], 0x10000
cmp edx, dword [rsp + rax*4 + 0x18]
jb 0x1801cc9f3
test rsi, rsi
je 0x1801cc9e4
mov dword [rsi], edx
xor eax, eax
neg edx
mov qword [r10], rax
sbb rax, rax
and rax, rbp
jmp 0x1801cca07
xor eax, eax
mov qword [r10], rax
call fcn.18000339b
mov dword [rax], 0x2a
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.180003008
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x180002ca2
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x18014ae58
movabs rcx, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x18014ae8b
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x18014ae6d
mov eax, ecx
ret
Function at 0x180004a70
Capabilities:
Get common file path

Disassembly:
jmp 0x180050950
mov r11, rsp
push rdi
sub rsp, 0x290
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x1802678f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
cmp dword [0x18026a55c], 5
ja 0x180050a97
xor edx, edx
mov r8d, 0x105
lea rcx, [r11 - 0x128]
call fcn.180005f33
xor edx, edx
mov r8d, 0x105
lea rcx, [rsp + 0x60]
call fcn.180005f33
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8023
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ebx, eax
test eax, eax
jns 0x180050a10
lfence
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180050a09
call qword [0x180298248]
mov r8d, eax
mov r9d, ebx
lea rdx, str.GenerateDump_:_Could_not_get_add_directory_GetFolderPath_failed_with_GLE__d___hr__X_
lea rcx, vtable.CLogger.0
call fcn.1800032ec
mov eax, ebx
jmp 0x180050a9c
call qword [0x180298258]
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, str._sNVIDIA_CorporationCrashDumps_nvcontainer.exe.0x_x.m.dmp
lea rcx, [rsp + 0x170]
call fcn.180008044
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rsi + 3]
lea rcx, [rsp + 0x170]
call qword [0x1802982f8]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180050ac1
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180050a97
call qword [0x180298248]
mov r8d, eax
lea rdx, str.GenerateDump_:_Could_not_open_crash_dump_file_CreateFile_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800032ec
mov eax, 0x80004005
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180003008
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lfence
lea rcx, [rsp + 0x48]
call fcn.180003cbf
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.18000b163
test eax, eax
jne 0x180050b22
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180050b28
call qword [0x180298248]
mov r8d, eax
lea rdx, str.GenerateDump_:_MiniDumpWriteDump_failed_with_GLE__d_
lea rcx, vtable.CLogger.0
call fcn.1800032ec
jmp 0x180050b28
inc dword [0x18026a55c]
mov rcx, rdi
call qword [0x180298278]
nop
lea rcx, [rsp + 0x48]
call fcn.180001311
mov eax, ebx
jmp 0x180050a9c
Function at 0x180006a69
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x18013ed88
sub r8, rdx
movabs rcx, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x18013edc1
movzx eax, byte [r9 + rdx]
movabs r10, 0x100000001b3
xor rcx, rax
inc r9
imul rcx, r10
cmp r9, r8
jb 0x18013eda3
mov eax, ecx
ret

Function at 0x1800070b8
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x18014dc2c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x18014dcb9
movsxd rcx, dword [0x18000003c]
lea rdx, [0x180000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x18014dcb9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18014dcb9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18014dca0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x18014dc9a
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18014dca2
add rdx, 0x28
jmp 0x18014dc7f
xor edx, edx
test rdx, rdx
jne 0x18014dcab
xor al, al
jmp 0x18014dcbf
cmp dword [rdx + 0x24], 0
jge 0x18014dcb5
xor al, al
jmp 0x18014dcbf
mov al, 1
jmp 0x18014dcbf
xor al, al
jmp 0x18014dcbf
add rsp, 0x18
ret

Function at 0x180007734
Capabilities:
Parse pe header

Disassembly:
jmp 0x1801d2a30
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1801d2a5a
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x1801d2a5a
mov ecx, 0x20b
cmp word [rax + 0x18], cx
jne 0x1801d2a5a
mov eax, 1
ret
xor eax, eax
ret