joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400256c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140025739
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0x103
je 0x140025770
test eax, eax
js 0x14002574a
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140025763
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x14126ddc8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xa8], 0
lea rax, [0x14126b8d0]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rax, [0x140017720]
mov qword [rsp + 0x70], rax
lea rax, [0x14126c408]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.1400235e0
mov rcx, rax
call fcn.140023740
mov ecx, 7
int 0x29
ud2
Function at 0x140028c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140028c40
test ecx, ecx
jne 0x140028c90
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x140028c4c
test ecx, ecx
jne 0x140028c90
mov rcx, rdi
call fcn.140028af0
movzx eax, al
test bpl, bpl
jne 0x140028c97
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140028c83.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140028e08]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140028c83.2
xor eax, eax
test bpl, bpl
je 0x140028c5c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x140028de9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x140028cca
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140028d49
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140028d10
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x140028d2b
inc rax
dec rdi
cmp rax, 1
jne 0x140028cf0
jmp 0x140028d49
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x140028d2b
cmp ebx, 0x5c
je 0x140028d2b
inc rax
dec rdi
cmp rax, 1
jne 0x140028d10
jmp 0x140028d49
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x140028df7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140028d73
mov al, 9
cmp rdx, 2
je 0x140028d77
cmp rdx, 1
jne 0x140028d87
cmp byte [r8], 0x2e
jne 0x140028d87
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140028d87
mov al, 0xa
jmp 0x140028d87
cmp byte [r8], 0x2e
jne 0x140028d87
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov qword [rsi + 8], r8
mov qword [rsi + 0x10], rdx
mov byte [rsi + 0x18], al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140028c83.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140028c83.2
mov ecx, 2
jmp case.0x140028c83.2
lea r8, [0x14126cf10]
call fcn.140051860
ud2
lea r8, [0x14126cf28]
call fcn.140051860
ud2
Function at 0x14002d490
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], 0x103
mov qword [rsp + 0x60], 0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x14002d502
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x58]
cmp eax, 0xc0000011
jne 0x14002d511
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14002d549
cmp eax, 0x103
je 0x14002d553
test eax, eax
js 0x14002d52e
mov rax, qword [rsp + 0x60]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x14002d549
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xd8
pop rdi
pop rsi
ret
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
lea rax, [0x14126ddc8]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], 1
mov qword [rsp + 0xa8], 0
lea rax, [0x14126b8d0]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x68], rax
lea rax, [0x140017720]
mov qword [rsp + 0x70], rax
lea rax, [0x14126c408]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x78]
call fcn.1400235e0
mov rcx, rax
call fcn.140023740
mov ecx, 7
int 0x29
ud2

Function at 0x14002eae0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.1400261e0
mov rsi, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x14002eb97
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov r8b, 1
call fcn.14002d620
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14002eb97
mov rcx, rdi
xor edx, edx
call qword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x14002eb69
test rsi, rsi
je 0x14002eb95
mov rcx, qword [0x14127fbb0]
xor esi, esi
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14002eb97
call qword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
shl rbx, 0x20
or rbx, 2
test rsi, rsi
je 0x14002eb90
mov rcx, qword [0x14127fbb0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, rbx
jmp 0x14002eb97
xor esi, esi
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x140039640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x30]
call fcn.140039500
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x140039693
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14003970c
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x140039701
mov rdx, qword [rbp - 0x30]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x1400396f9
lea rax, [rdx - 1]
mov qword [rbp - 0x18], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x10], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
mov rdi, qword [rbp - 0x18]
je 0x1400396e7
mov r8, qword [rdi]
cmp qword [rax + 0x10], 0x11
jb 0x1400396d8
mov r8, qword [r8 - 8]
mov rcx, qword [0x14127fbb0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14127fbb0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rsi + 8], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rsi + 8], 0
test rbx, rbx
je 0x140039701
mov rcx, qword [0x14127fbb0]
xor edx, edx
mov r8, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.kernel32.dll_HeapFree]
Function at 0x14003b600
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
mov rcx, qword [0x14127fbb0]
test rcx, rcx
jne 0x14003b64d
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x14003b70c
mov rcx, rax
mov qword [0x14127fbb0], rax
mov r8d, 0x10
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x14003b70c
mov r14, rax
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14003bb20]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14003b6fe
mov rcx, qword [r14]
mov rax, qword [r14 + 8]
mov qword [rbp - 0x10], r14
call qword [rax]
mov rsi, qword [rbp - 0x10]
mov rax, qword [rsi + 8]
cmp qword [rax + 8], 0
je 0x14003b6d7
mov r8, qword [rsi]
cmp qword [rax + 0x10], 0x11
jb 0x14003b6c8
mov r8, qword [r8 - 8]
mov rcx, qword [0x14127fbb0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14127fbb0]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 0x10
mov edx, 8
call fcn.1400516d0
ud2
Function at 0x14003c000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.1400433e0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov rsi, rdx
mov r15, rcx
mov qword [rbp + 0xfb0], rcx
mov qword [rbp + 0xfb8], rdx
lea rbx, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rbx
xor edx, edx
call fcn.140043c60
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea r13, [0x140032140]
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xfc0]
mov rcx, r15
mov rdx, rbx
mov r8d, 0x1000
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
je 0x14003c208
mov r14, qword [sym.imp.kernel32.dll_SleepEx]
lea rbx, [rbp + 0xfc0]
mov rdi, qword [sym.imp.kernel32.dll_WriteFileEx]
mov qword [rbp + 0xfe0], r15
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 0
je 0x14003c0d1
cmp dword [rbp + 0xfec], 0
jne 0x14003c21d
mov eax, dword [rbp + 0xff0]
test rax, rax
je 0x14003c21d
cmp eax, 0x1000
ja 0x14003c264
xor r15d, r15d
nop word cs:[rax + rax]
cmp r15, rax
ja 0x14003c249
lea rdx, [r15 + rbp]
add rdx, 0xffffffffffffffb0
mov r12, rax
mov r8d, eax
sub r8d, r15d
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov rcx, rsi
mov r9, rbx
call rdi
test eax, eax
je 0x14003c210
nop dword [rax]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 0
je 0x14003c180
cmp dword [rbp + 0xfec], 0
jne 0x14003c216
mov eax, dword [rbp + 0xff0]
add r15, rax
mov rax, r12
cmp r15, r12
jne 0x14003c120
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov r15, qword [rbp + 0xfe0]
mov rcx, r15
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rbx
call qword [sym.imp.kernel32.dll_ReadFileEx]
test eax, eax
jne 0x14003c0d1
call qword [sym.imp.kernel32.dll_GetLastError]
jmp 0x14003c21d
call qword [sym.imp.kernel32.dll_GetLastError]
mov r15, qword [rbp + 0xfe0]
mov rdi, qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, r15
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x14126e128]
mov rcx, r15
mov qword [rbp + 0xfe0], rax
mov rdx, rax
call fcn.140051a80
jmp 0x14003c27f
lea r8, [0x14126e128]
mov edx, 0x1000
mov qword [rbp + 0xfe0], rax
mov rcx, rax
call fcn.140051870
ud2
Function at 0x14003c320
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x14003c35f
mov rax, qword [rbp - 0x20]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x14002a140]
mov qword [rbp - 0x28], rax
lea rax, [0x14126e2a0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x60], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
lea rdx, [0x14126e2d8]
lea rcx, [rbp - 0x60]
call fcn.1400517a0
ud2

Function at 0x14003ea70
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
cmp qword [rdx], 0
jne 0x14003eb7d
mov rsi, rcx
mov rbx, qword [rdi + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x14003eaa7
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x14003eb42
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x14003eb60
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x20]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rsp + 0x30], 0
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x30]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x14003eafe
mov eax, dword [rsp + 0x30]
mov ecx, 2
test rax, rax
jne 0x14003eb1b
jmp 0x14003eb10
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x3e5
je 0x14003eb16
cmp eax, 0x6d
jne 0x14003eb32
mov byte [rsi + 1], 0
jmp 0x14003eb26
mov ecx, 1
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
xor eax, eax
mov byte [rsi], al
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov al, 1
jmp 0x14003eb28
mov r8d, 0x10
mov rcx, rbx
call fcn.140051610
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x14003eab4
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.140051610
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x14003eab4
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140052920
ud2

Function at 0x1400479ec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400477e8
Function at 0x14004aaac
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 0x14004aadc
xor eax, eax
jmp 0x14004ab9f
mov rbp, rbx
cmp word [rax], si
je 0x14004ab01
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14004aae8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14004aae4
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.14004a9cc
movsxd r14, eax
test eax, eax
jne 0x14004ab3f
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x14004aad5
mov rcx, r14
call fcn.14004b988
mov rdi, rax
test rax, rax
jne 0x14004ab58
xor ecx, ecx
call fcn.14004902c
jmp 0x14004ab34
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.14004a9cc
test eax, eax
jne 0x14004ab89
mov rcx, rdi
call fcn.14004902c
jmp 0x14004ab93
xor ecx, ecx
call fcn.14004902c
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 0x14004e090
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.140049a9c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14004e11a
cmp byte [rbp - 0x21], r15b
je 0x14004e115
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14004e150
call fcn.14004c198
test eax, eax
jne 0x14004e13c
cmp byte [rbp - 0x21], r15b
je 0x14004e134
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14004e150
cmp byte [rbp - 0x21], r15b
je 0x14004e14d
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.14004907c
test eax, eax
jne 0x14004e1f0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140049a9c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14004e18f
cmp byte [rbp - 0x21], r15b
je 0x14004e1c4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14004e1c4
call fcn.14004c198
test eax, eax
jne 0x14004e1b0
cmp byte [rbp - 0x21], r15b
je 0x14004e1a9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14004e1c4
cmp byte [rbp - 0x21], r15b
je 0x14004e1c1
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.14004907c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14004e1f0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14004e1f3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14004e201
mov rcx, rdi
call fcn.14004902c
cmp byte [rbp + 0x3f], r15b
je 0x14004e210
mov rcx, qword [rbp + 0x27]
call fcn.14004902c
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 0x140001000
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x3e8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp edi, 0x3e8
jne 0x140001057
cmp eax, 1
jne 0x140001057
mov ecx, eax
call fcn.140001644
int3
test eax, eax
jne 0x140001083
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jne 0x140001083
mov ecx, 1
call fcn.140001644
int3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001644
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.140003968
nop
cmp dword [0x14000f550], 1
je 0x1400015f0
mov dword [0x14000f54c], 1
mov byte [0x14000f548], r12b
test ebx, ebx
jne 0x1400015dc
mov rcx, qword [0x140011560]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400015c9
mov rcx, qword [0x140011558]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x140001568
call fcn.140003198
cmp qword [rdi], rax
jne 0x140001568
jmp 0x14000154e
cmp rdi, rsi
jb 0x1400015c9
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.140003198
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140011560]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140011558]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400015a7
cmp r13, rax
je 0x1400015c7
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000154e
lea rdx, [0x14000b2a8]
lea rcx, [0x14000b290]
call fcn.140001398
lea rdx, [0x14000b2b8]
lea rcx, [0x14000b2b0]
call fcn.140001398
nop
test r12d, r12d
je 0x1400015ff
mov ecx, 8
call fcn.140003868
test r12d, r12d
jne 0x14000162a
mov dword [0x14000f550], 1
lea ecx, [r12 + 8]
call fcn.140003868
mov ecx, r15d
call fcn.14000132c
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400014b8

Function at 0x140001650
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400014b8
Function at 0x140001937
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14000e010]
jne 0x14000121a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001216
repz ret
ror rcx, 0x10
jmp 0x140001890
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f610]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000f708]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001915
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f610]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001937
mov rax, qword [rsp + 0x88]
mov qword [0x14000f708], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f6a8], rax
mov rax, qword [0x14000f708]
mov qword [0x14000f580], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f690], rax
mov dword [0x14000f570], 0xc0000409
mov dword [0x14000f574], 1
mov rax, qword [0x14000e010]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e018]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f608], eax
mov ecx, 1
call fcn.140004d60
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000b308]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f608], 0
jne 0x1400019be
mov ecx, 1
call fcn.140004d60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret