joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14021ee60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, ecx
mov r8d, edx
cmp ecx, 0x7f
jg 0x14021ee7f
lea edx, [rcx - 0x41]
cmp edx, 0x19
ja 0x14021ef20
add eax, 0x20
jmp 0x14021ef20
cmp ecx, 0xffff
jg 0x14021ef12
or rdx, 0xffffffffffffffff
xor r10d, r10d
mov r11d, 0xa2
lea r9, [0x140355e20]
lea ecx, [r11 + r10]
sar ecx, 1
movsxd rbx, ecx
movzx ebx, word [r9 + rbx*4]
cmp eax, ebx
jl 0x14021eeba
lea r10d, [rcx + 1]
movsxd rdx, ecx
jmp 0x14021eebe
lea r11d, [rcx - 1]
cmp r11d, r10d
jge 0x14021ee9f
movzx ecx, word [r9 + rdx*4]
movzx r10d, byte [r9 + rdx*4 + 3]
add r10d, ecx
cmp eax, r10d
jge 0x14021eefc
mov dl, byte [r9 + rdx*4 + 2]
xor ecx, eax
mov r9d, edx
and r9d, 1
test r9d, ecx
jne 0x14021eefc
shr dl, 1
lea rcx, [0x140359560]
and edx, 0x7f
add ax, word [rcx + rdx*2]
movzx eax, ax
test r8d, r8d
je 0x14021ef20
xor edx, edx
cmp r8d, 2
mov ecx, eax
sete dl
pop rbx
jmp fcn.1401f9000
lea edx, [rcx - 0x10400]
cmp edx, 0x27
ja 0x14021ef20
add eax, 0x28
pop rbx
ret

Function at 0x1402269a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.14022f2e0
mov r8, rax
test rax, rax
jne 0x1401f2fd6
mov eax, 7
jmp 0x1401f3072
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x1401f3070
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x1401f3017
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x1401f301d
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.140207450
mov dword [rdi + 0x20], 1
mov qword [rdi + 0x10], rax
test rax, rax
je 0x1401f2fcc
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x1401f3062
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x1401f2ffa
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x1402269b3
cmp byte [rcx + 0xa], 0
je 0x1402269b3
jmp 0x1401f2fa0
xor eax, eax
ret
Function at 0x140258c20
Capabilities:
Create thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
xor edi, edi
xor esi, esi
movzx r12d, byte [rcx + 0x5b]
dec r12d
mov byte [rcx + 0x58], 1
mov rbx, rcx
cmp esi, r12d
jge 0x140258d13
movzx eax, byte [rbx + 0x5a]
lea eax, [rsi + rax + 1]
cdq
idiv r12d
movsxd rbp, edx
imul rax, rbp, 0x68
cmp dword [rbx + rax + 0x68], 0
lea rdi, [rbx + rax + 0x60]
jne 0x140258c75
imul rbp, rbp, 0x68
cmp qword [rbx + rbp + 0x60], 0
je 0x140258c86
inc esi
jmp 0x140258c3d
mov rcx, rdi
call fcn.140258db0
test eax, eax
je 0x140258c65
jmp 0x140258d38
lea rdx, [rbx + 0x60]
mov rax, rdi
mov rcx, qword [rdi + 0x28]
movups xmm0, xmmword [rbx + 0x38]
sub rax, rdx
movabs rdx, 0x4ec4ec4ec4ec4ec5
sar rax, 3
imul rax, rdx
xor edx, edx
mov byte [rbx + 0x5a], al
mov rax, qword [rbx + 0x48]
movups xmmword [rdi + 0x20], xmm0
mov qword [rdi + 0x30], rax
xor eax, eax
mov qword [rbx + 0x38], rax
mov dword [rbx + 0x48], edx
test rcx, rcx
je 0x140258cd7
mov qword [rbx + 0x40], rcx
call fcn.140225840
mov dword [rbx + 0x54], eax
jmp 0x140258cf0
cmp qword [rbx + 0x40], 0
je 0x140258cf0
movsxd rcx, dword [rbx + 0x54]
call fcn.1402256e0
mov qword [rbx + 0x40], rax
test rax, rax
je 0x140258d0c
mov r8, rdi
lea rdx, [0x140258d50]
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140235de0
mov eax, 7
jmp 0x140258d38
jne 0x140258c86
movsxd rsi, esi
lea rdx, [rbx + 0x38]
imul rsi, rsi, 0x68
lea rcx, [rbx + rsi + 0x60]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.140258e20
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140264560
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x14026456b
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret
Function at 0x140003500
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003522
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000359c
mov rdi, r14
mov rcx, rbx
call fcn.140004cc0
test rax, rax
jle 0x140003574
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400091f0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000358c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140003594
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003536
sub r14, rdi
jmp 0x14000367f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400035b3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400035b5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400035e7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400091f0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000367c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003622
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000365d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14000ee14
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000367c
cmp rbp, rax
ja 0x140003630
test rbp, rbp
je 0x14000367c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14000ee14
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x1400080cc
Capabilities:
Parse pe header

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

Function at 0x140013cd0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013acc
Function at 0x14001679c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400167b2
mov al, 1
jmp 0x140016812
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400167c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140016810
mov ecx, dword [rcx + 0x18]
nop
call fcn.14001e890
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140016810
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140016810
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140016810
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140016812
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400194fc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140007970
sub rsp, rax
mov rax, qword [0x1400390d0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001667c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001954b
mov rax, rbp
jmp 0x140019653
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x3b2b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001a448
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x3b2b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14001964f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001964f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001a448
test rax, rax
js 0x14001964f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14001964f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140019641
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140019641
cmp byte [rcx], 0xd
jne 0x140019627
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140019636
cmp byte [rcx + 1], 0xa
jne 0x140019636
inc rcx
jmp 0x140019636
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x394c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140019609
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140019653
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140007310
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400197e8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14003b2b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14001983f
cmp word [rdx], r13w
jne 0x14001983f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140019844
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140019969
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14001998a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14001987d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400198a4
cmp r9, r8
jae 0x1400198b4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14001985e
jmp 0x140019969
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001995e
cmp dword [rsp + 0x80], esi
je 0x14001995e
lea r8, [0x14003b2b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140019936
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140019906
mov word [rbx], r13w
jmp 0x140019966
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140019913
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140019966
cmp word [rsp + 0x70], r13w
jne 0x140019943
cmp rbx, r14
je 0x140019900
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14001a450
cmp word [rsp + 0x70], r13w
je 0x140019969
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14003b2b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140019963
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140019969
Function at 0x14001e2e4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14001e36b
mov rsi, rbx
cmp word [rax], bp
je 0x14001e32a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14001e314
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001e310
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001a4f4
mov rdi, rax
test rax, rax
je 0x14001e358
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400091f0
mov rbp, rdi
xor ecx, ecx
call fcn.140018018
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140020de4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140016c5c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140020e85
cmp ebx, dword [rsp + 0x30]
je 0x140020e7e
test esi, esi
je 0x140020e7e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140020e59
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140020e66
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140020e43
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140020e6a
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140020e87
mov eax, 1
jmp 0x140020e87
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140023914
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.14001a450
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001a450
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140023a64
cmp rax, 0xffffffffffffffff
je 0x140023a64
xor edi, edi
test rbp, rbp
jle 0x140023a0f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140018604
mov rbx, rax
test rax, rax
jne 0x14002399c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140023a05
mov edx, 0x8000
mov ecx, r14d
call fcn.140013d4c
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.140017d10
cmp eax, 0xffffffff
je 0x1400239e5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400239ac
mov edx, r15d
mov ecx, r14d
call fcn.140013d4c
jmp 0x140023a05
cmp byte [rsi + 0x38], dil
je 0x1400239fc
cmp dword [rsi + 0x34], 5
jne 0x1400239fc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140023a05
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140018018
jmp 0x140023a78
jns 0x140023a78
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001a450
cmp rax, 0xffffffffffffffff
jne 0x140023a30
cmp byte [rsi + 0x30], dil
je 0x140023a78
mov edi, dword [rsi + 0x2c]
jmp 0x140023a78
mov ecx, r14d
call fcn.14001e890
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140023a78
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 0x140023a78
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140023a71
mov eax, dword [rsi + 0x2c]
jmp 0x140023a76
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001a450
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 0x1401d3fe0
Capabilities:
Check mutex on windows
Get hostname

Disassembly:
push rsi
sub rsp, 0x240
mov esi, ecx
mov dword [rsp + 0x24], 0x104
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
call fcn.14029f0d0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea r8, [rsp + 0x30]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401d70c8
jmp 0x1401d70d9
cmp esi, 0x60412da5
jae 0x1401d4b10
jmp 0x1401d5093

Function at 0x14021cc20
Capabilities:
Set current directory

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov qword [rsp + 0x58], rsi
xor ecx, ecx
call fcn.1401d3810
mov ecx, eax
call fcn.1402a1cd0
mov rax, qword [str.P:HfrefChoyvpQbjaybnqf_]
mov qword [rsp + 0x30], rax
mov rax, qword [0x1402b34a8]
mov qword [rsp + 0x38], rax
mov rax, qword [0x1402b34b0]
mov qword [rsp + 0x40], rax
mov ax, word [0x1402b34b8]
mov word [rsp + 0x48], ax
mov al, byte [0x1402b34ba]
mov byte [rsp + 0x4a], al
lea rcx, [rsp + 0x30]
call fcn.1402a2790
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14021cb60
mov rcx, rsi
mov edx, 0x104
mov r8, rax
call fcn.14029ddd0
mov rcx, rsi
add rcx, 0x104
mov edx, 8
call fcn.14021cac0
mov rcx, rsi
add rcx, 0x10d
mov edx, 8
call fcn.14021cac0
mov rax, rsi
add rax, 0x10d
mov rdx, rsi
add rdx, 0x104
mov rcx, rsi
add rcx, 0x116
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, str._s_s_s.exe
mov edx, 0x104
mov r9, rsi
call fcn.14029ddd0
mov rax, rsi
add rax, 0x10d
mov rdx, rsi
add rdx, 0x104
mov rcx, rsi
add rcx, 0x116
add rcx, 0x104
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r8, str._s_s_s.dat
mov edx, 0x104
mov r9, rsi
call fcn.14029ddd0
mov rax, rsi
add rax, 0x104
mov rcx, rsi
add rcx, 0x116
add rcx, 0x208
mov qword [rsp + 0x20], rax
lea r8, str._s_sedge.xml
mov edx, 0x104
mov r9, rsi
call fcn.14029ddd0
mov rax, rsi
add rax, 0x104
mov rcx, rsi
add rcx, 0x116
add rcx, 0x30c
mov qword [rsp + 0x20], rax
lea r8, str._s_sedge.jpg
mov edx, 0x104
mov r9, rsi
call fcn.14029ddd0
mov rax, rsi
add rax, 0x104
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_
mov edx, 0x104
mov r9, rsi
call fcn.14029ddd0
lea rcx, [rsp + 0x60]
call fcn.1402a2a50
cmp eax, 0
je 0x14021cdeb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x14021cdf6
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov rax, rsi
add rsp, 0x170
pop rsi
ret
Function at 0x14021ce10
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x48], 4
lea rcx, [rsp + 0x50]
lea rdx, [0x1402b34c0]
mov r8d, 0x2a
call fcn.14029ea30
lea rcx, [rsp + 0x50]
call fcn.1402a2790
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14021cb60
lea r10, [rsp + 0x40]
mov rcx, 0xffffffff80000001
mov rdx, rax
xor r8d, r8d
mov r9d, 1
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, 0
jne 0x14021ced6
lea r10, [rsp + 0x4c]
mov rcx, qword [rsp + 0x40]
lea rdx, str.IsStatus
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x28], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, 0
jne 0x14021cecb
cmp dword [rsp + 0x3c], 4
jne 0x14021cec9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
call fcn.1402a2608
jmp 0x14021cecb
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x88
ret

Function at 0x14021cee0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0xa8
lea rax, str.IsStatus
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x5c], 1
lea rcx, [rsp + 0x70]
lea rdx, str.FbsgjnerZvpebfbsgVagrearg_RkcybereZnva
mov r8d, 0x2a
call fcn.14029ea30
lea rcx, [rsp + 0x70]
call fcn.1402a2790
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.14021cb60
lea r10, [rsp + 0x50]
mov rcx, 0xffffffff80000001
mov rdx, rax
xor r8d, r8d
mov r9d, 0x20006
mov qword [rsp + 0x20], r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, 0
jne 0x14021cfa9
lea rax, [rsp + 0x5c]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov r9d, 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
jne 0x14021cf99
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], 1
jmp 0x14021d062
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14021d05a
lea rcx, [rsp + 0x70]
call fcn.1402a2790
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.14021cb60
lea r10, [rsp + 0x50]
lea r11, [rsp + 0x6c]
mov rcx, 0xffffffff80000001
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0x20006
and al, 0x28
invalid
add byte [rdx], al
add byte [rax - 0x39], cl
and al, 0x30
add byte [rax], al
add byte [rax], al
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
jne 0x14021d058
lea rax, [rsp + 0x5c]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov r9d, 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
jne 0x14021d04d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x58], 1
jmp 0x14021d062
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14021d05a
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
add rsp, 0xa8
ret
Function at 0x14021d070
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x170
mov esi, edx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x28], 0
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
cmp rax, qword [rsp + 0x30]
je 0x1402323ed
jmp 0x1402323fe
cmp esi, 0x47bdcb08
jae 0x140224214
jmp 0x14021f121
Function at 0x140282530
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x44], 0
mov rcx, qword [rsp + 0x50]
mov edx, 0xc0000000
mov r8d, 3
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x68
ret