joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003a7d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, qword [rdx + 0x10]
jb 0x14003a7de
mov rdx, qword [rdx]
xor r9d, r9d
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x14003a814
movabs r11, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc r9
xor r8, rax
imul r8, r11
cmp r9, r10
jb 0x14003a800
mov rax, qword [rcx + 0x30]
and rax, r8
ret

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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, rdx
mov r14, rcx
mov rdi, qword [rcx + 0x20]
cmp rdi, qword [rcx + 0x10]
je 0x14003c6d5
movabs r11, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r10, qword [r14]
mov r12, qword [rdi + 0x10]
mov r8, rdi
mov r9, qword [rdi + 0x18]
cmp r9, 0x10
jb 0x14003c5a4
mov r8, qword [rdi]
mov rdx, rax
xor eax, eax
test r12, r12
je 0x14003c5c4
nop
movzx ecx, byte [rax + r8]
xor rdx, rcx
imul rdx, r11
inc rax
cmp rax, r12
jb 0x14003c5b0
mov rax, qword [r10 + 0x30]
and rax, rdx
shl rax, 4
mov rcx, qword [r10 + 0x18]
mov qword [rsp + 0x80], rcx
mov r13, qword [rcx + rax]
mov rbx, r13
add rax, 8
mov qword [rsp + 0x90], rax
mov rbp, qword [r10 + 8]
cmp r13, rbp
jne 0x14003c5fc
mov rax, rbp
jmp 0x14003c603
mov rax, qword [rax + rcx]
mov rax, qword [rax]
cmp rbx, rax
je 0x14003c67e
lea rcx, [rbx + 0x10]
mov rdx, rdi
cmp r9, 0x10
jb 0x14003c618
mov rdx, qword [rdi]
mov rsi, qword [rcx + 0x10]
mov r15, qword [rcx + 0x18]
cmp r15, 0x10
jb 0x14003c629
mov rcx, qword [rcx]
cmp rsi, r12
jne 0x14003c63e
mov r8, rsi
call fcn.140082a80
test eax, eax
je 0x14003c653
mov r9, qword [rdi + 0x18]
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x80]
mov rax, qword [rsp + 0x90]
jmp 0x14003c5f2
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x14003c660
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
jb 0x14003c66a
mov rdi, qword [rdi]
cmp r12, rsi
jne 0x14003c67e
mov r8, r12
mov rcx, rdi
call fcn.140082a80
test eax, eax
je 0x14003c681
mov rbx, rbp
mov rax, qword [r14]
cmp rbx, qword [rax + 8]
je 0x14003c6ba
lea rcx, [r14 + 0x68]
lea r8, [rbx + 0x30]
lea rdx, [rsp + 0x28]
call fcn.140034130
mov rdi, qword [rsp + 0x28]
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x28]
test al, al
jne 0x14003c721
cmp qword [rdi + 0x30], 0
je 0x14003c6f7
add qword [r14 + 0x20], 0x20
mov rdi, qword [r14 + 0x20]
cmp rdi, qword [r14 + 0x10]
jne 0x14003c579
mov rax, qword [rsp + 0x88]
mov rcx, rax
call fcn.14000d0c0
xor al, al
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rsp + 0x88]
mov rdx, qword [r14 + 0x20]
mov rcx, r14
call fcn.14003ba70
add qword [r14 + 0x20], 0x20
mov rcx, qword [rsp + 0x88]
call fcn.14000d0c0
mov al, 1
jmp 0x14003c6df
mov r8, qword [rsp + 0x88]
mov rdx, qword [r14 + 0x20]
mov rcx, r14
call fcn.14003ba70
nop
mov rcx, qword [rsp + 0x88]
call fcn.14000d0c0
mov al, 1
jmp 0x14003c6df
Function at 0x14003cb90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov r11, qword [r8 + 0x18]
mov rdi, r8
mov r14, qword [r8 + 0x10]
mov r12, rdx
mov rsi, rcx
mov r10, r8
cmp r11, 0x10
jb 0x14003cbbe
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r14, r14
je 0x14003cbf4
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r14
jb 0x14003cbe0
mov rax, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x30]
mov rsi, qword [rsi + 8]
and rcx, r9
shl rcx, 4
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r15
mov r13, qword [rcx + rax]
add rax, 8
add rax, rcx
mov rbx, r13
mov qword [rsp + 0x50], rax
cmp r13, rsi
jne 0x14003cc2e
mov rax, rsi
jmp 0x14003cc34
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x14003ccad
lea rcx, [rbx + 0x10]
mov rdx, rdi
cmp r11, 0x10
jb 0x14003cc49
mov rdx, qword [rdi]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 0x10
jb 0x14003cc5a
mov rcx, qword [rcx]
cmp rbp, r14
jne 0x14003cc6f
mov r8, rbp
call fcn.140082a80
test eax, eax
je 0x14003cc79
mov r11, qword [rdi + 0x18]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x50]
jmp 0x14003cc24
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x14003cc86
mov rdx, qword [rdx]
cmp qword [rdi + 0x18], 0x10
jb 0x14003cc90
mov rdi, qword [rdi]
cmp r14, rbp
jne 0x14003cca4
mov r8, r14
mov rcx, rdi
call fcn.140082a80
test eax, eax
je 0x14003cca7
mov rbx, rsi
mov qword [r12], rbx
jmp 0x14003ccb1
mov qword [r12], rsi
mov r15, qword [rsp + 0x60]
mov rax, r12
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14004ff90
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm1, xmmword [rcx]
movdqu xmmword [rdx + 0x10], xmm3
movdqa xmm2, xmm1
movdqu xmmword [rdx], xmm1
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm2, 4
pxor xmm0, xmm1
movdqa xmm4, xmm2
pxor xmm4, xmm0
pslldq xmm2, 4
pxor xmm4, xmm2
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x20], xmm4
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x30], xmm2
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 2
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x40], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x50], xmm2
pslldq xmm1, 4
pxor xmm0, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x60], xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmm3
movdqu xmmword [rdx + 0x70], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm4, xmm1
pxor xmm0, xmm3
pslldq xmm1, 4
pxor xmm4, xmm0
pxor xmm4, xmm1
aeskeygenassist xmm0, xmm2, 8
pshufd xmm1, xmm0, 0xff
pxor xmm4, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x80], xmm4
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm4, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm3, xmm1
movdqa xmm1, xmm4
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqu xmmword [rdx + 0x90], xmm3
pslldq xmm1, 4
pxor xmm0, xmm4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqu xmmword [rdx + 0xa0], xmm2
ret
Function at 0x140068524
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140068537
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140068b44
lea rdx, [0x140107ee8]
lea rcx, [rsp + 0x20]
call fcn.1400823b4
int3

Function at 0x140072d80
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140112258]
xor edx, edx
jmp fcn.140068524

Function at 0x140073718
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140112258]
jmp fcn.140068524

Function at 0x14007ee78
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14007ef34]
mov r9, qword [r9 + 8]
jmp fcn.140070738

Function at 0x14007ef0c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x14007ef44]
mov r9, qword [r9 + 8]
jmp fcn.140070738

Function at 0x14008d058
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14008ceeb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14008ceeb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14008ceeb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14008ceeb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14008ceeb
cmp dword [rcx + 0x84], 0xe
jbe 0x14008ceeb
cmp dword [rcx + 0xf8], 0
je 0x14008ceeb
mov ecx, ebx
call fcn.14008cf8c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14008cd88
cmp dword [rbp + 0x20], 0
je 0x14008cf38
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14008cf40
int3
xor r8d, r8d
xor edx, edx
jmp 0x14008ce84
Function at 0x140001000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
movdqa xmm2, xmmword [0x140003380]
lea rdx, [rsp + 4]
movdqa xmm3, xmmword [0x140003390]
mov rbx, rcx
mov ecx, 8
nop
lea eax, [rcx - 8]
movd xmm0, eax
lea rdx, [rdx + 0x10]
pshufd xmm0, xmm0, 0
lea eax, [rcx - 4]
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
lea eax, [rcx + 4]
paddd xmm1, xmm2
andps xmm0, xmm3
andps xmm1, xmm3
packuswb xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm0, xmm0
movd dword [rdx - 0x14], xmm0
packuswb xmm1, xmm1
movd dword [rdx - 0x10], xmm1
movd xmm0, ecx
add ecx, 0x10
pshufd xmm0, xmm0, 0
paddd xmm0, xmm2
movd xmm1, eax
pshufd xmm1, xmm1, 0
andps xmm0, xmm3
paddd xmm1, xmm2
packuswb xmm0, xmm0
andps xmm1, xmm3
packuswb xmm0, xmm0
movd dword [rdx - 0xc], xmm0
lea eax, [rcx - 8]
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [rdx - 8], xmm1
cmp eax, 0x100
jl 0x140001030
xor r9b, r9b
lea r11, [rsp]
xor ecx, ecx
lea rsi, str.c5REIDgIl252PO5qbV6OJdrUCixAohuGS3Yu
mov r10d, ecx
nop word [rax + rax]
movzx edi, byte [r11]
mov eax, 0x38e38e39
mul r10d
movzx r9d, r9b
mov eax, r10d
shr edx, 3
lea r8d, [rdx + rdx*8]
shl r8d, 2
sub eax, r8d
movsxd rdx, eax
movsx r8d, byte [rdx + rsi]
add r8d, edi
add r9d, r8d
and r9d, 0x800000ff
jge 0x140001125
dec r9d
or r9d, 0xffffff00
inc r9d
movzx eax, r9b
lea rdx, [rsp]
add rdx, rax
inc r10d
movzx eax, byte [rdx]
mov byte [r11], al
inc r11
mov byte [rdx], dil
cmp r10d, 0x100
jl 0x1400010e0
xor r10b, r10b
mov r11d, 0x12c6c
inc ecx
and ecx, 0x800000ff
jge 0x140001165
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd rax, ecx
lea r9, [rsp]
add r9, rax
lea rdx, [rsp]
movzx r8d, byte [r9]
add r10b, r8b
movzx eax, r10b
add rdx, rax
movzx eax, byte [rdx]
mov byte [r9], al
mov byte [rdx], r8b
movzx edx, byte [r9]
add rdx, r8
movzx eax, dl
movzx edx, byte [rsp + rax]
xor byte [rbx], dl
inc rbx
sub r11, 1
jne 0x140001151
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140002078
Capabilities:
Parse pe header

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

Function at 0x14000191c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001966
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001966
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001966
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001966
cmp dword [rcx + 0x84], 0xe
jbe 0x140001966
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001968
xor al, al
add rsp, 0x28
ret
Function at 0x1405c10b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405c1237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405c10e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c10c7
add dl, dl
jne 0x1405c10ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c114e
xor eax, eax
add dl, dl
jne 0x1405c10fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405c1205
add dl, dl
jne 0x1405c110e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c111b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c1128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c1135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405c1142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405c10d6
mov eax, 1
add dl, dl
jne 0x1405c115e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405c116b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c1153
sub eax, ebx
mov ebx, 1
jne 0x1405c11a4
mov ecx, 1
add dl, dl
jne 0x1405c1186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405c1193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c117b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c10d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405c11c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405c11cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405c11b5
cmp eax, 0x7d00
jae 0x1405c11f3
cmp eax, 0x500
jb 0x1405c11ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c10d6
cmp eax, 0x7f
ja 0x1405c11f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405c10d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405c122a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1405c10d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800111a4
Capabilities:
Terminate process

Disassembly:
jmp 0x1800150d0
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]
nop
add rsp, 0x28
ret
Function at 0x140001d80
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001dc7
xor al, al
jmp 0x140001e69
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x140001df1
xor al, al
jmp 0x140001e69
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x140001e61
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x140001e61
mov al, 1
jmp 0x140001e69
jmp 0x140001e67
xor al, al
add rsp, 0x78
ret

Function at 0x1400050d8
Capabilities:
Parse pe header

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

Function at 0x14000ae88
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 0x14000aef7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000aef7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000aef7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000aef7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000aef7
cmp dword [rcx + 0x84], 0xe
jbe 0x14000aef7
cmp dword [rcx + 0xf8], 0
je 0x14000aef7
mov ecx, ebx
call fcn.14000afa8
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.14000ad84
nop
cmp dword [rbp + 0x20], 0
je 0x14000af45
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000af50
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000ae88

Function at 0x14000b08c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ae88
Function at 0x140010368
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 0x140010398
xor eax, eax
jmp 0x14001045b
mov rbp, rbx
cmp word [rax], si
je 0x1400103bd
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400103a4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400103a0
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.140010288
movsxd r14, eax
test eax, eax
jne 0x1400103fb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010391
mov rcx, r14
call fcn.14000caf0
mov rdi, rax
test rax, rax
jne 0x140010414
xor ecx, ecx
call fcn.14000bf64
jmp 0x1400103f0
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.140010288
test eax, eax
jne 0x140010445
mov rcx, rdi
call fcn.14000bf64
jmp 0x14001044f
xor ecx, ecx
call fcn.14000bf64
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 0x1400142bc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400142d2
mov al, 1
jmp 0x140014332
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400142e3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140014330
mov ecx, dword [rcx + 0x18]
nop
call fcn.140010840
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140014330
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140014330
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140014330
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140014332
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140017250
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017278
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017278
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140012130
Capabilities:
Set environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov word [rsp + 0x30], 0
movzx eax, byte [rcx]
test al, al
je 0x1400121f6
mov rdi, rcx
mov r15d, 0x28
lea r12, [rsp + 0x30]
lea rbx, [rsp + 0x2a]
lea r14, [rsp + 0x2e]
nop
mov byte [rsp + 0x2e], al
mov byte [rsp + 0x2f], 0
mov r8d, 2
mov rcx, rbx
mov rdx, r14
call fcn.14001a99c
cmp rax, 1
jne 0x140012226
cmp word [r12], 0
mov rcx, r15
mov rax, r12
je 0x1400121d1
mov rdx, r12
mov rcx, r15
nop dword [rax + rax]
lea rax, [rdx + 2]
dec rcx
cmp word [rdx + 2], 0
mov rdx, rax
jne 0x1400121c0
test rcx, rcx
je 0x140012226
movzx ecx, word [rsp + 0x2a]
mov word [rax], cx
mov word [rax + 2], 0
add r12, 2
dec r15
movzx eax, byte [rdi + 1]
inc rdi
test al, al
jne 0x140012180
lea rcx, [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140014440
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.14001a920
int3
Function at 0x140012ae0
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm7
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rcx, qword [0x14003fb08]
test rcx, rcx
je 0x140012b4a
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140012b3d
mov rcx, qword [0x14003fb08]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14003fb08]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140042350], 1
jne 0x140012bf7
mov rbx, qword [0x14002e060]
mov qword [rsp + 0x50], rbx
movups xmm6, xmmword [0x14002e050]
movaps xmmword [rsp + 0x40], xmm6
movups xmm7, xmmword [0x14002e040]
movaps xmmword [rsp + 0x30], xmm7
movups xmm8, xmmword [0x14002e030]
movaps xmmword [rsp + 0x20], xmm8
lea rsi, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebp, 0x14
lea rdi, [0x14003fb20]
mov r14, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15, qword [sym.imp.KERNEL32.dll_Sleep]
mov r12, qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov rcx, rdi
call r14
cmp eax, 0xffffffff
je 0x140012bf7
and eax, 0x10
je 0x140012bf7
mov ecx, 0x64
call r15
mov qword [rsp + 0x50], rbx
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm8
mov rcx, rsi
call r12
dec ebp
jne 0x140012bc0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140014440
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret