joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011a450
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x1401cf4e0]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14011a4ae
cmp word [rdx], r12w
jne 0x14011a4ae
or byte [rax + r8*8 + 0x38], cl
jmp 0x14011a4b4
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14011a60f
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14011a5ea
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14011a4ed
mov rcx, r9
jmp 0x14011a510
cmp r9, rdx
jae 0x14011a527
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14011a4d1
jmp 0x14011a60f
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14011a5e4
cmp dword [rsp + 0x80], edi
je 0x14011a5e4
mov rdx, r14
lea r11, [0x1401cf4e0]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14011a5bd
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14011a590
mov word [rbx], r12w
jmp 0x14011a60b
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14011a599
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14011a60b
cmp word [rsp + 0x70], r12w
jne 0x14011a5ca
cmp rbx, rsi
je 0x14011a58a
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14011b0dc
cmp word [rsp + 0x70], r12w
je 0x14011a60f
mov word [rbx], r13w
jmp 0x14011a60b
lea r11, [0x1401cf4e0]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14011a607
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14011a60f
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140121dc4
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 0x140121df4
xor eax, eax
jmp 0x140121eb7
mov rbp, rbx
cmp word [rax], si
je 0x140121e19
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140121e00
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140121dfc
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.140120548
movsxd r14, eax
test eax, eax
jne 0x140121e57
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140121ded
mov rcx, r14
call fcn.1401197cc
mov rdi, rax
test rax, rax
jne 0x140121e70
xor ecx, ecx
call fcn.140119790
jmp 0x140121e4c
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.140120548
test eax, eax
jne 0x140121ea1
mov rcx, rdi
call fcn.140119790
jmp 0x140121eab
xor ecx, ecx
call fcn.140119790
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 0x1401284f8
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.14011b0dc
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14011b0dc
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140128648
cmp rax, 0xffffffffffffffff
je 0x140128648
xor edi, edi
test rbp, rbp
jle 0x1401285f3
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14011b52c
mov rbx, rax
test rax, rax
jne 0x140128580
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401285e9
mov edx, 0x8000
mov ecx, r14d
call fcn.140116350
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.14011cdf0
cmp eax, 0xffffffff
je 0x1401285c9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140128590
mov edx, r15d
mov ecx, r14d
call fcn.140116350
jmp 0x1401285e9
cmp byte [rsi + 0x38], dil
je 0x1401285e0
cmp dword [rsi + 0x34], 5
jne 0x1401285e0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1401285e9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140119790
jmp 0x14012865c
jns 0x14012865c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14011b0dc
cmp rax, 0xffffffffffffffff
jne 0x140128614
cmp byte [rsi + 0x30], dil
je 0x14012865c
mov edi, dword [rsi + 0x2c]
jmp 0x14012865c
mov ecx, r14d
call fcn.14012269c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14012865c
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 0x14012865c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140128655
mov eax, dword [rsi + 0x2c]
jmp 0x14012865a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14011b0dc
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 0x14000acb0
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, word [rcx]
or rax, 0xffffffffffffffff
xor r8d, r8d
test r9, r9
je 0x14000ace1
mov r10, qword [rcx + 8]
movsx ecx, byte [r10 + r8]
inc r8
add ecx, 0x20
movsxd rdx, ecx
imul rdx, rax
xor rdx, r9
xor rax, rdx
cmp r8, r9
jl 0x14000acc4
ret
Function at 0x14000b1cc
Capabilities:
Encode data using xor

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, 0x20
lea rbx, [rcx + 8]
mov rdi, rcx
mov eax, dword [rbx]
mov ebp, 4
add eax, 0xfffffffa
mov r9d, ebp
mov edx, eax
xor ecx, ecx
mov r8d, 0x3000
mov dword [rbx], eax
call qword [0x14001ea90]
mov rsi, rax
test rax, rax
je 0x14000b2d9
mov rdx, qword [rdi]
mov rcx, rax
mov r8d, dword [rbx]
add rdx, 6
call fcn.14000e8f0
mov rcx, qword [rdi]
lea r14, [rdi + 0x14]
mov r9d, ebp
mov r8d, 0x3000
mov eax, dword [rcx]
mov dword [r14], eax
movzx eax, word [rcx + 4]
xor ecx, ecx
mov word [r14 + 4], ax
mov edx, dword [r14]
call qword [0x14001ea90]
mov qword [rdi + 0xc], rax
test rax, rax
jne 0x14000b26e
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x14001ea98]
jmp 0x14000b2d9
xor r8d, r8d
lea ebp, [r8 + 1]
cmp dword [rbx], r8d
jbe 0x14000b294
mov al, byte [rdi + 0x19]
xor al, byte [r8 + rsi]
xor al, byte [rdi + 0x18]
mov byte [r8 + rsi], al
add r8d, ebp
add word [rdi + 0x18], bp
cmp r8d, dword [rbx]
jb 0x14000b27a
mov rcx, qword [rdi + 0xc]
mov r9, rbx
mov r8, rsi
mov rdx, r14
call fcn.14000b4f4
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
mov ebx, eax
call qword [0x14001ea98]
test ebx, ebx
jne 0x14000b2c2
mov al, bpl
jmp 0x14000b2db
mov rcx, qword [rdi + 0xc]
xor edx, edx
mov r8d, 0x8000
call qword [0x14001ea98]
and qword [rdi + 0xc], 0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000b2f8
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x20]
mov rsi, rbx
mov rdi, qword [rbx]
cmp rbx, rdi
je 0x14000b351
movups xmm0, xmmword [rbx + 0x48]
lea rcx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14000acb0
movabs rcx, 0x264b88830fb8680
cmp rax, rcx
je 0x14000b363
mov rbx, rdi
mov rdi, qword [rdi]
cmp rsi, rdi
jne 0x14000b323
xor al, al
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rbx + 0x20]
test rbx, rbx
je 0x14000b351
movabs rdx, 0x6dfd082d5f03b746
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001ead0], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x58cb8141bc1a7430
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eac8], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x2521732ddc418
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001ead8], rax
test rax, rax
je 0x14000b351
mov rdx, qword [0x14001e008]
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001ea88], rax
test rax, rax
je 0x14000b351
mov rdx, qword [section..data]
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001ea80], rax
test rax, rax
je 0x14000b351
movabs rdx, 0xffad320c0f59a650
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eaa0], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x7765112d6171a650
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eaa8], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x3ced91967f16cdb0
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eab8], rax
test rax, rax
je 0x14000b351
movabs rdx, 0xd43fdc863640430
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eac0], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x9bc3e166e6e07483
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001eab0], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x2a05a5a101ab30a4
mov rcx, rbx
call fcn.14000ace8
mov qword [0x14001ea90], rax
test rax, rax
je 0x14000b351
movabs rdx, 0x964cc20b7107a787
mov rcx, rbx
call fcn.14000ace8
test rax, rax
mov qword [0x14001ea98], rax
setne al
jmp 0x14000b353
Function at 0x14000e5c8
Capabilities:
Parse pe header

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

Function at 0x1400127d0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400125cc
Function at 0x1400158dc
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 0x14001590c
xor eax, eax
jmp 0x1400159cf
mov rbp, rbx
cmp word [rax], si
je 0x140015931
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140015918
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140015914
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.1400157fc
movsxd r14, eax
test eax, eax
jne 0x14001596f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140015905
mov rcx, r14
call fcn.140013208
mov rdi, rax
test rax, rax
jne 0x140015988
xor ecx, ecx
call fcn.1400131cc
jmp 0x140015964
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.1400157fc
test eax, eax
jne 0x1400159b9
mov rcx, rdi
call fcn.1400131cc
jmp 0x1400159c3
xor ecx, ecx
call fcn.1400131cc
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 0x140018e60
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.1400148cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140018eea
cmp byte [rbp - 0x21], r15b
je 0x140018ee5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140018f20
call fcn.140016f68
test eax, eax
jne 0x140018f0c
cmp byte [rbp - 0x21], r15b
je 0x140018f04
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140018f20
cmp byte [rbp - 0x21], r15b
je 0x140018f1d
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.140013eac
test eax, eax
jne 0x140018fc0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400148cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140018f5f
cmp byte [rbp - 0x21], r15b
je 0x140018f94
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140018f94
call fcn.140016f68
test eax, eax
jne 0x140018f80
cmp byte [rbp - 0x21], r15b
je 0x140018f79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140018f94
cmp byte [rbp - 0x21], r15b
je 0x140018f91
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.140013eac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140018fc0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140018fc3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140018fd1
mov rcx, rdi
call fcn.1400131cc
cmp byte [rbp + 0x3f], r15b
je 0x140018fe0
mov rcx, qword [rbp + 0x27]
call fcn.1400131cc
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 0x1400201d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r9d, eax
xor r8d, r8d
lea rdx, [0x1400202c0]
lea ecx, [r8 + 4]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rdi, rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x50], rax
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x38], rax
lea rax, vtable.JRStringArray.0
mov qword [rsp + 0x20], rax
lea rdx, [rsi + 0x18]
xor r8d, r8d
lea rcx, [rsp + 0x20]
call fcn.1400505e0
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140020550
mov ebx, eax
mov dword [rsi + 0x38], eax
mov dl, 1
lea rcx, [0x14019a680]
call fcn.140044e10
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x140032420
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rdi, rcx
cmp r8d, 1
jne 0x1400324f0
mov eax, r8d
lock xadd dword [rcx + 0x60], eax
inc eax
cmp eax, r8d
jne 0x14003250a
mov qword [rcx + 8], rdx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov esi, 0xffffffff
mov r9d, esi
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0x40], rax
lea rcx, [rdi + 0x18]
lea rdx, [rsp + 0x40]
call fcn.1400501d0
nop
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x1400324c8
mov eax, dword [rdx + 0x10]
cmp eax, esi
je 0x1400324be
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400324c8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
test al, al
jne 0x14003250a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x28]
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
test r8d, r8d
jne 0x14003250a
mov esi, 0xffffffff
lock xadd dword [rcx + 0x60], esi
cmp esi, 1
jne 0x14003250a
mov rax, qword [rcx]
call qword [rax + 0x28]
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400367d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push r13
sub rsp, 0x58
mov esi, r9d
mov rbx, rcx
test r9d, r9d
jle 0x1400369f3
test rcx, rcx
je 0x1400369f3
movzx eax, word [rcx]
test ax, ax
je 0x1400369f3
mov rbp, rcx
nop word [rax + rax]
cmp ax, 0x20
je 0x14003681c
cmp ax, 0x2b
jne 0x140036836
add rbx, 2
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x1400369f3
movzx eax, word [rbx]
jmp 0x140036810
xor r13b, r13b
cmp ax, 0x2d
je 0x140036849
mov ecx, 0xe2
cmp ax, cx
jne 0x140036861
add rbx, 2
mov r13b, 1
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x1400369f3
movzx ecx, word [rbx]
xor r8b, r8b
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov qword [rsp + 0x48], r14
mov r14d, r12d
mov qword [rsp + 0x40], r15
mov r15d, r12d
movaps xmmword [rsp + 0x30], xmm6
mov edi, r12d
test cx, cx
je 0x140036965
mov r9d, 0xffdf
mov edx, 0xfffd
lea eax, [rcx - 0x2c]
test dx, ax
je 0x1400368f8
lea eax, [rcx - 0x45]
test r9w, ax
je 0x140036929
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x140036965
movzx edx, cx
test r8b, r8b
je 0x1400368ea
lea r15, [r15 + r15*4]
lea r15, [r15 - 0x18]
lea r15, [rdx + r15*2]
test rdi, rdi
jne 0x1400368e1
mov edi, 0xa
jmp 0x14003690b
lea rdi, [rdi + rdi*4]
add rdi, rdi
jmp 0x14003690b
lea r14, [r14 + r14*4]
lea r14, [r14 - 0x18]
lea r14, [rdx + r14*2]
jmp 0x14003690b
test r8b, r8b
jne 0x140036965
call fcn.140036540
mov r8b, 1
mov r9d, 0xffdf
add rbx, 2
mov rax, rbx
sub rax, rbp
sar rax, 1
cmp eax, esi
jge 0x140036965
movzx ecx, word [rbx]
test cx, cx
je 0x140036965
jmp 0x14003689e
lea rcx, [rbx + 2]
mov dword [rsp + 0x90], r12d
mov r9d, 0x7fffffff
mov byte [rsp + 0x20], 1
mov r8b, 1
lea rdx, [rsp + 0x90]
call fcn.1400367d0
mov eax, dword [rsp + 0x90]
inc eax
movsxd rcx, eax
cvttsd2si r12d, xmm0
lea rbx, [rbx + rcx*2]
xorps xmm6, xmm6
cvtsi2sd xmm6, r14
mov r14, qword [rsp + 0x48]
test rdi, rdi
jle 0x14003698f
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, r15
cvtsi2sd xmm0, rdi
divsd xmm1, xmm0
addsd xmm6, xmm1
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x80]
test r12d, r12d
je 0x1400369bb
movsd xmm0, qword [0x1401568b0]
movd xmm1, r12d
cvtdq2pd xmm1, xmm1
call fcn.140108470
mulsd xmm6, xmm0
mov rax, qword [rsp + 0x88]
mov r12, qword [rsp + 0x50]
test rax, rax
je 0x1400369d5
sub rbx, rbp
sar rbx, 1
mov dword [rax], ebx
test r13b, r13b
je 0x1400369e1
xorps xmm6, xmmword [0x140156a30]
movaps xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x58
pop r13
pop rsi
pop rbp
pop rbx
ret
xorps xmm0, xmm0
add rsp, 0x58
pop r13
pop rsi
pop rbp
pop rbx
ret
Function at 0x14003f970
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r12, r8
mov rsi, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rbp - 0x18], r14d
call fcn.140008400
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], r14b
mov byte [rsp + 0x20], r14b
mov ebx, 0xffffffff
mov r9d, ebx
mov r8d, ebx
lea rdx, [0x140129d58]
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsi], rax
mov r15d, 1
mov dword [rbp - 0x18], r15d
mov rcx, qword [r13]
test rcx, rcx
je 0x14003fafc
mov dword [rbp - 0x20], r15d
mov dword [rbp + 0x40], r14d
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fafc
mov ecx, dword [rbp - 0x20]
lea eax, [rcx - 1]
cmp eax, r15d
jbe 0x14003fb17
cmp ecx, 4
jne 0x14003fafc
mov dword [rbp + 0x58], r14d
mov rcx, qword [r13]
test rcx, rcx
je 0x14003fae7
mov dword [rbp - 0x14], 4
mov dword [rbp - 0x1c], 0xffffffff
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1c]
xor r8d, r8d
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14003fa7c
mov dword [rbp + 0x58], r14d
jmp 0x14003fae7
mov eax, dword [rbp - 0x1c]
cmp eax, 4
je 0x14003fae7
mov dword [rbp + 0x58], r14d
cmp eax, r15d
jne 0x14003fae7
lea r9, [0x140129d58]
mov r8, r12
lea rdx, [rbp - 0x10]
mov rcx, r13
call fcn.14003f970
nop
mov rax, qword [rbp - 0x10]
cmp dword [rax - 0x10], 0
jle 0x14003fabd
mov rcx, rax
call fcn.14001e0d0
mov dword [rbp + 0x58], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14003fae7
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14003fadd
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14003fae7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
movsxd rdx, dword [rbp + 0x58]
mov r9d, 0xa
xor r8d, r8d
mov rcx, rsi
call fcn.140036ec0
mov rax, rsi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edi, dword [rbp + 0x40]
inc rdi
shr rdi, 1
lea edx, [rdi + 1]
movzx r9d, r15b
xor r8d, r8d
mov rcx, rsi
call fcn.140033580
mov rbx, rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rcx, edi
mov word [rbx + rcx*2], r14w
mov rdx, qword [rsi]
test rdx, rdx
je 0x14003fb86
mov rcx, rdx
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
test ax, ax
jne 0x14003fb70
sub rcx, rdx
sar rcx, 1
lea r14d, [rcx - 1]
mov dword [rdx - 0x10], r14d
mov eax, dword [rdx - 8]
cmp eax, 0xffffffff
mov rax, rsi
jne 0x14003faff
xchg dword [rdx - 8], r15d
jmp 0x14003faff