joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e55e0
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.1400e2e5c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400e2e5c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400e5730
cmp rax, 0xffffffffffffffff
je 0x1400e5730
xor edi, edi
test rbp, rbp
jle 0x1400e56db
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400d401c
mov rbx, rax
test rax, rax
jne 0x1400e5668
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400e56d1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c8d38
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.1400da05c
cmp eax, 0xffffffff
je 0x1400e56b1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400e5678
mov edx, r15d
mov ecx, r14d
call fcn.1400c8d38
jmp 0x1400e56d1
cmp byte [rsi + 0x38], dil
je 0x1400e56c8
cmp dword [rsi + 0x34], 5
jne 0x1400e56c8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400e56d1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400d1df4
jmp 0x1400e5744
jns 0x1400e5744
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400e2e5c
cmp rax, 0xffffffffffffffff
jne 0x1400e56fc
cmp byte [rsi + 0x30], dil
je 0x1400e5744
mov edi, dword [rsi + 0x2c]
jmp 0x1400e5744
mov ecx, r14d
call fcn.1400d9160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400e5744
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400e5744
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400e573d
mov eax, dword [rsi + 0x2c]
jmp 0x1400e5742
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400e2e5c
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 0x1400ddf4b
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1401759d0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x1401759f8
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140175a42
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x1401759ed
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x1400df792
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1401e94d0
mov rax, rcx
neg rcx
test rax, 7
je 0x1401e94ed
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1401e9548
test al, 7
jne 0x1401e94e0
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1401e9501
mov rdx, qword [rax - 8]
test dl, dl
je 0x1401e9572
test dh, dh
je 0x1401e956c
shr rdx, 0x10
test dl, dl
je 0x1401e9566
test dh, dh
je 0x1401e9560
shr rdx, 0x10
test dl, dl
je 0x1401e955a
test dh, dh
je 0x1401e9554
shr edx, 0x10
test dl, dl
je 0x1401e954e
test dh, dh
jne 0x1401e9501
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400df7d3
Capabilities:
Query environment variable

Disassembly:
jmp 0x1402775f0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140277170
lea rcx, [rsp + 0x20]
call fcn.1402771c0
movzx eax, al
test eax, eax
jne 0x140277635
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.1402771a0
mov rax, qword [rsp + 0x40]
jmp 0x14027772f
lea rcx, [rsp + 0x20]
call fcn.1402772c0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140277260
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.1400dfb98
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400df0cb
lea rcx, [rsp + 0x28]
call fcn.1400e00b6
movzx eax, al
test eax, eax
jne 0x1402776cf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400e16d7
lea rcx, [rsp + 0x20]
call fcn.1402771a0
mov rax, qword [rsp + 0x50]
jmp 0x14027772f
lea rcx, [rsp + 0x20]
call fcn.1402772c0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400e27ad
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.1400dfacb
lea rcx, [rsp + 0x28]
call fcn.1400e31ad
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400e16d7
lea rcx, [rsp + 0x20]
call fcn.1402771a0
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400dfd4b
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1401ca7d0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401ca150
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401ca80f
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 [0x1404bf020]
jmp 0x1401ca819
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1400dffd0
Capabilities:
Query environment variable

Disassembly:
jmp 0x140277340
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140277170
lea rcx, [rsp + 0x40]
call fcn.1402772f0
movzx eax, al
test eax, eax
jne 0x140277388
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1402771a0
mov rax, qword [rsp + 0x70]
jmp 0x140277559
lea rcx, [rsp + 0x40]
call fcn.1402772c0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.140277260
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1402772c0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1400e12ea
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14027742e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1402771a0
mov rax, qword [rsp + 0x80]
jmp 0x140277559
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1400dfb98
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400df94f
lea rcx, [rsp + 0x48]
call fcn.1400df319
movzx eax, al
test eax, eax
jne 0x140277495
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1400dddb6
lea rcx, [rsp + 0x40]
call fcn.1402771a0
mov rax, qword [rsp + 0x88]
jmp 0x140277559
lea rcx, [rsp + 0x48]
call fcn.1400e053e
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1402772c0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1400e12ea
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14027752b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1400dddb6
lea rcx, [rsp + 0x40]
call fcn.1402771a0
mov rax, qword [rsp + 0xa0]
jmp 0x140277559
lea rcx, [rsp + 0x48]
call fcn.1400df904
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1400dddb6
lea rcx, [rsp + 0x40]
call fcn.1402771a0
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1400dffe9
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1401ca700
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1401ca0d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401ca741
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1404bf020]
jmp 0x1401ca747
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x1400e00c0
Capabilities:
Get geographical location

Disassembly:
jmp 0x140262dc0
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.140261cf0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140262e27
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 [0x1404bf030]
jmp 0x140262e49
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400df27e
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 0x1400e00d9
Capabilities:
Terminate process

Disassembly:
jmp 0x1401a62e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e04d5
Capabilities:
Print debug messages

Disassembly:
jmp 0x1402859d0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x140493f40]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1402859f6
jmp 0x140285a73
mov rcx, qword [rbp + 0x30]
call fcn.1400df792
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x140285a0f
jmp 0x140285a73
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x140285a2c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400ddff5
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1400de66c
test eax, eax
jne 0x140285a73
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400dfa9e
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x1400e0958
Capabilities:
Set environment variable

Disassembly:
jmp 0x1402794a0
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 0x1400e0ce6
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401a8030
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401a8050
xor al, al
jmp 0x1401a80d1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401a8063
xor al, al
jmp 0x1401a80d1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1401a808d
xor al, al
jmp 0x1401a80d1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1401a80a1
xor al, al
jmp 0x1401a80d1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1401a80b3
xor al, al
jmp 0x1401a80d1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1401a80cf
xor al, al
jmp 0x1401a80d1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400e15ab
Capabilities:
Terminate process

Disassembly:
jmp 0x1401cbac0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1401cbaee
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.1400e2249
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400e22d0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140257850
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 0x1400e2447
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401ca840
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1401ca190
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1401ca889
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1404bf020]
jmp 0x1401ca898
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret
Function at 0x14025ec50
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.1400ddff5
sub rsp, rax
mov rax, qword [0x140493f40]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140498c10]
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 0x14025ee42
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 0x14025ed96
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14025ed96
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 0x14025ed7b
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 0x14025ed18
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 0x14025ee02
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 0x14025ee61
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 0x14025ee3d
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 0x14025ee61
jmp 0x14025ecee
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.1400dfa9e
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14025ef10
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.1400ddff5
sub rsp, rax
mov rax, qword [0x140493f40]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x140498c10]
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 0x14025f11d
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 0x14025f069
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x14025f069
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 0x14025f049
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 0x14025efd8
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 0x14025f0dd
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 0x14025f13c
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 0x14025f118
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 0x14025f13c
jmp 0x14025efae
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.1400dfa9e
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1400027d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
xor r8d, r8d
xor edx, edx
lea rcx, str.DOTNET_RUNTIME_ID
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
je 0x140002869
mov eax, 2
mul rdi
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.14000938c
mov rbp, rax
mov r8d, edi
mov rdx, rax
lea rcx, str.DOTNET_RUNTIME_ID
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x140002910
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x140002898
test eax, eax
jle 0x140002882
movzx eax, ax
or eax, 0x80070000
mov r8d, eax
lea rdx, str.DOTNET_RUNTIME_ID
lea rcx, str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.140001ea0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
mov r8d, 7
lea rdx, str.win_x64
mov rcx, rsi
call fcn.140003550
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000297a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002900
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140009310
jmp 0x14000297a
inc rbx
cmp word [rbp + rbx*2], 0
jne 0x140002910
mov rax, qword [rsp + 0x48]
cmp rbx, rax
ja 0x140002951
lea rdi, [rsp + 0x30]
cmp rax, 7
cmova rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rbp
mov rcx, rdi
call fcn.14000e980
mov word [rbx + rdi], r14w
jmp 0x140002961
mov r9, rbp
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003710
mov rcx, rbp
call fcn.140009310
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400092f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140009db4
Capabilities:
Parse pe header

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

Function at 0x14000e410
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e438
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e438
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180002f50
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180021a94], 0xa
jl 0x180002f82
mov eax, dword [0x180021a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x180002f82
nop word cs:[rax + rax]
jmp 0x180002f80
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180021a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180021a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180021aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x180003058
mov rsi, r10
test r8b, r8b
je 0x180003070
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002ff0
test r9b, r9b
je 0x180003080
sub rsi, rcx
je 0x180003054
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x180003050
test ebp, ebp
jne 0x180003050
add rbx, 1
cmp rsi, rbx
jne 0x180003010
jmp 0x180003054
test ebp, ebp
jne 0x180002fdc
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x180003070
jmp 0x180003080