joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083e20
Capabilities:
Create directory
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x4ff68]
mov eax, 0x50050
call fcn.140048f90
sub rsp, rax
mov sil, r9b
mov rdi, r8
mov rcx, rdx
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xff50]
mov edx, 0x7fff
call qword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
xor r14d, r14d
test eax, eax
je 0x140083efc
lea r8, [rbp + 0xff50]
lea rdx, [0x1400ddae0]
lea rcx, [rsp + 0x50]
call fcn.140024834
lea rcx, [rsp + 0x50]
call fcn.140028d58
mov rbx, rax
cmp word [rsp + rax*2 + 0x4e], 0x5c
jne 0x140083ead
cmp word [rsp + rax*2 + 0x4c], 0x3a
je 0x140083ead
mov word [rsp + rax*2 + 0x4e], r14w
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x140083ec1
test sil, sil
je 0x140083efc
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x2200000
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140083f16
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
xor eax, eax
lea r11, [rsp + 0x50050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor edx, edx
lea rcx, [rbp + 0x1ff50]
mov r8d, 0x2fffa
call fcn.140026240
add bx, bx
mov dword [rbp + 0x1ff50], 0xa0000003
mov word [rbp + 0x1ff5a], bx
lea rdx, [rsp + 0x50]
add bx, 2
lea rcx, [rbp + 0x1ff60]
mov r8d, 0x7fff
mov word [rbp + 0x1ff5c], bx
call fcn.140032024
movzx eax, word [rbp + 0x1ff5a]
lea r8, [rbp + 0x1ff50]
add ax, 0xc
mov qword [rsp + 0x38], r14
movzx r9d, ax
mov edx, 0x900a4
lea rax, [rbp + 0x4ff70]
mov word [rbp + 0x1ff54], r9w
mov qword [rsp + 0x30], rax
add r9d, 8
mov dword [rsp + 0x28], r14d
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov rcx, rsi
test eax, eax
jne 0x140083fbd
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x140083ef3
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, 1
jmp 0x140083efe
Function at 0x14008a350
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov r13, rdx
xor ebx, ebx
mov rcx, r13
lea rdx, [rsp + 0x30]
mov r15d, r9d
mov r12d, r8d
mov sil, bl
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008a404
lea rdx, [0x1400b64f8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a3f2
lea rdx, [0x1400dd7c8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a3f2
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov edx, eax
lea rcx, [rsp + 0x5c]
mov eax, r15d
or edx, r12d
not eax
and edx, eax
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x14008a421
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14008a39f
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov r14b, byte [rbp + 0x1d0]
test r14b, r14b
jne 0x14008a431
mov al, sil
jmp 0x14008a4d5
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x14008a4d5
lea rdx, [rsp + 0x30]
lea rcx, [0x1400dd7c0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008a4c8
mov rsi, qword [rbp + 0x1b0]
test byte [rsp + 0x30], 0x10
je 0x14008a4b6
lea rdx, [0x1400b64f8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a4b6
lea rdx, [0x1400dd7c8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a4b6
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov r9d, r15d
mov byte [rsp + 0x20], r14b
mov r8d, r12d
mov rdx, r13
mov rcx, rsi
call fcn.14008a350
test al, al
je 0x14008a4ca
lea rcx, [0x1400dd7c8]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14008a453
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14008a4f8
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x280
mov r12, rdx
mov r13, rcx
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rcx, r12
mov r14d, r9d
mov r15, r8
mov sil, bl
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008a592
lea rdx, [0x1400b64f8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a580
lea rdx, [0x1400dd7c8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a580
mov r8d, r14d
lea rcx, [rsp + 0x5c]
mov rdx, r15
call fcn.14007c67c
test al, al
je 0x14008a5b0
mov sil, 1
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14008a53f
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov bpl, byte [rsp + 0x2d0]
test bpl, bpl
jne 0x14008a5c0
mov al, sil
jmp 0x14008a65d
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x14008a65d
lea rdx, [rsp + 0x30]
lea rcx, [0x1400dd7c0]
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008a650
test byte [rsp + 0x30], 0x10
je 0x14008a63e
lea rdx, [0x1400b64f8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a63e
lea rdx, [0x1400dd7c8]
lea rcx, [rsp + 0x5c]
call fcn.1400295bc
test eax, eax
je 0x14008a63e
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov r9d, r14d
mov byte [rsp + 0x20], bpl
mov r8, r15
mov rdx, r12
mov rcx, r13
call fcn.14008a4f8
test al, al
je 0x14008a652
lea rcx, [0x1400dd7c8]
call qword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14008a5db
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14008a874
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
lea rcx, [rsp + 0x40]
mov r14, r9
mov r12, r8
call fcn.14000ec00
mov rax, qword [rsp + 0x40]
lea rdx, [0x1400dd7c0]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
inc dword [rax]
call fcn.1400071f8
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov bl, 1
call qword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x14008aa12
mov r15b, byte [rbp + 0x230]
mov sil, byte [rbp + 0x228]
mov rdi, qword [rbp + 0x220]
mov rcx, qword [rbp + 0x200]
call fcn.140083824
cmp eax, 1
je 0x14008aa10
cmp eax, 0xb
jne 0x14008a941
lea ecx, [rax - 1]
call qword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x14008a91c
lea rdx, [0x1400b64f8]
lea rcx, [rbp - 0x54]
call fcn.1400295bc
test eax, eax
je 0x14008a9f9
lea rdx, [0x1400dd7c8]
lea rcx, [rbp - 0x54]
call fcn.1400295bc
test eax, eax
je 0x14008a9f9
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000e0a8
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x40]
call fcn.1400071f8
test byte [rbp - 0x80], 0x10
je 0x14008a9e0
test sil, sil
je 0x14008a99c
inc qword [rdi]
test r15b, r15b
je 0x14008a9f9
lea rdx, [0x1400b62a4]
lea rcx, [rsp + 0x40]
call fcn.1400071f8
mov rdx, qword [rsp + 0x40]
mov r9, r14
mov rcx, qword [rbp + 0x200]
mov r8, r12
mov byte [rsp + 0x30], r15b
mov byte [rsp + 0x28], sil
mov qword [rsp + 0x20], rdi
call fcn.14008a874
mov bl, al
test al, al
je 0x14008aa12
jmp 0x14008a9f9
mov ecx, dword [rbp - 0x64]
mov eax, dword [rbp - 0x60]
shl rcx, 0x20
or rcx, rax
add qword [r12], rcx
test sil, sil
je 0x14008a9f9
inc qword [r14]
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x14008a91c
jmp 0x14008aa12
xor bl, bl
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_FindClose]
lea rcx, [rsp + 0x60]
call fcn.14000a07c
lea rcx, [rsp + 0x40]
call fcn.14000a07c
lea r11, [rsp + 0x2d0]
mov al, bl
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14008ec38
Capabilities:
Parse url

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov rbx, rdx
lea rcx, [rbp - 0x39]
xor edx, edx
mov rsi, r8
lea r8d, [rdx + 0x68]
call fcn.140026240
mov r14d, 1
mov dword [rbp - 0x39], 0xf0
mov rcx, rbx
mov dword [rbp - 9], r14d
mov dword [rbp - 0x19], r14d
mov dword [rbp - 0x29], r14d
mov dword [rbp + 0x27], r14d
mov dword [rbp + 0x17], r14d
mov dword [rbp + 7], r14d
call fcn.140028d58
mov rdx, rax
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14008ed9e
mov r9d, dword [rbp - 0x29]
xor r8d, r8d
mov rdx, qword [rbp - 0x31]
mov rcx, rsi
call fcn.14000da0c
mov r9d, dword [rbp - 0x19]
lea rcx, [rsi + 0x20]
mov rdx, qword [rbp - 0x21]
xor r8d, r8d
call fcn.14000da0c
mov r9d, dword [rbp - 9]
lea rcx, [rsi + 0x40]
mov rdx, qword [rbp - 0x11]
xor r8d, r8d
call fcn.14000da0c
mov r9d, dword [rbp + 7]
lea rcx, [rsi + 0x60]
mov rdx, qword [rbp - 1]
xor r8d, r8d
call fcn.14000da0c
mov r9d, dword [rbp + 0x17]
lea rdi, [rsi + 0x80]
mov rdx, qword [rbp + 0xf]
mov rcx, rdi
xor r8d, r8d
call fcn.14000da0c
mov r9d, dword [rbp + 0x27]
lea rbx, [rsi + 0xa0]
mov rdx, qword [rbp + 0x1f]
mov rcx, rbx
xor r8d, r8d
call fcn.14000da0c
mov r8, rbx
lea rdx, [rbp + 0x37]
mov rcx, rdi
call fcn.14002364c
mov rdx, rax
lea rcx, [rsi + 0xc0]
call fcn.14000e0a8
lea rcx, [rbp + 0x37]
call fcn.14000a07c
mov ecx, dword [rbp - 0x25]
movzx eax, word [rbp - 0x15]
mov dword [rsi + 0xe4], ecx
mov word [rsi + 0xe8], ax
sub ecx, r14d
je 0x14008ed94
cmp ecx, r14d
je 0x14008ed88
mov dword [rsi + 0xe0], 3
jmp 0x14008ed9b
mov dword [rsi + 0xe0], 2
jmp 0x14008ed9b
mov dword [rsi + 0xe0], r14d
mov al, r14b
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14008edbc
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x188], 0
mov rbx, rcx
je 0x14008ee23
test dl, dl
je 0x14008ee23
mov rcx, qword [rcx + 0x190]
test rcx, rcx
je 0x14008edec
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
and qword [rbx + 0x190], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov r8, rbx
lea rcx, [0x14008ee6c]
xor edx, edx
mov qword [rbx + 0x190], rax
call fcn.140031e74
cmp dword [rbx + 0x20], 0
sete al
add rsp, 0x20
pop rbx
ret
add rsp, 0x20
pop rbx
jmp fcn.14008da70
Function at 0x14009b1a0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f88]
mov eax, 0x2060
call fcn.140048f90
sub rsp, rax
mov r15, rcx
lea rcx, [rsp + 0x20]
call fcn.140009640
xor r12d, r12d
mov rcx, r15
mov esi, r12d
call fcn.14000d4cc
mov rax, qword [r15 + 8]
mov r14b, r12b
mov rdi, qword [rax]
movzx eax, word [rdi]
test ax, ax
je 0x14009b333
mov ebx, r12d
lea r13d, [r12 + 0x25]
inc esi
inc rbx
cmp ax, r13w
jne 0x14009b2d8
cmp word [rdi + rbx*2], r13w
jne 0x14009b22d
mov edx, r13d
lea rcx, [rsp + 0x20]
call fcn.14000a714
jmp 0x14009b2ce
lea rdx, [0x1400b64d8]
lea rcx, [rsp + 0x40]
call fcn.14000ec00
jmp 0x14009b257
test ax, ax
je 0x14009b261
movzx edx, ax
lea rcx, [rsp + 0x40]
call fcn.14000a714
inc esi
inc rbx
movzx eax, word [rdi + rbx*2]
cmp ax, r13w
jne 0x14009b240
cmp word [rdi + rbx*2], r12w
je 0x14009b2f4
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 0xfff
mov word [rsp + 0x60], r12w
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
je 0x14009b293
lea rdx, [rsp + 0x60]
jmp 0x14009b2ba
lea rdx, [0x1400de044]
lea rcx, [rsp + 0x20]
call fcn.1400071f8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140007c24
lea rdx, [0x1400de044]
lea rcx, [rsp + 0x20]
call fcn.1400071f8
lea rcx, [rsp + 0x40]
call fcn.14000a07c
inc esi
mov r14b, 1
inc rbx
jmp 0x14009b2e5
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.14000a714
movzx eax, word [rdi + rbx*2]
test ax, ax
jne 0x14009b205
jmp 0x14009b321
lea rdx, [0x1400de044]
mov r14b, 1
lea rcx, [rsp + 0x20]
call fcn.1400071f8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140007c24
lea rcx, [rsp + 0x40]
call fcn.14000a07c
test r14b, r14b
je 0x14009b333
lea rdx, [rsp + 0x20]
mov rcx, r15
call fcn.140007bb8
lea rcx, [rsp + 0x20]
call fcn.14000a07c
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400a15c4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
mov r14d, edx
and qword [rsp + 0x20], 0
xor edx, edx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1400a1723
mov edi, r14d
or edi, 0x20019
lea rax, [rbp + 0x198]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a1748
mov rcx, qword [rbp + 0x198]
mov edx, r14d
call fcn.1400a15c4
mov rcx, qword [rbp + 0x198]
mov bl, al
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x1400a1748
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
and qword [rsp + 0x58], 0
call fcn.1400a10c8
test al, al
je 0x1400a16b9
lea rcx, [rsp + 0x48]
call fcn.14009fc98
xor r9d, r9d
lea rdx, [rsp + 0x60]
mov r8d, r14d
mov rcx, rsi
call rax
jmp 0x1400a16c7
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x48]
test eax, eax
jne 0x1400a173d
test rcx, rcx
je 0x1400a16db
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea rax, [rsp + 0x40]
mov dword [rbp + 0x190], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x190]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x1400a1635
mov al, 1
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rcx, rcx
je 0x1400a1748
call qword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor al, al
jmp 0x1400a1725
Function at 0x1400afea4
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rdi
sub rsp, 0x50
mov rbx, rdx
lea rbp, [0x1400f30a0]
xor edx, edx
mov rcx, rbp
lea r8d, [rdx + 0x68]
call fcn.140026240
xor edx, edx
lea rdi, [0x1400f3108]
mov rcx, rdi
lea r8d, [rdx + 0x18]
call fcn.140026240
mov qword [rsp + 0x48], rdi
mov eax, 1
mov qword [rsp + 0x40], rbp
xor edi, edi
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_RegisterActiveObject
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x20], edi
mov dword [0x1400f30a0], 0x68
mov dword [0x1400f30dc], eax
mov word [0x1400f30e0], ax
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x1400aff40
mov rcx, qword [0x1400f3108]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b03d0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x20], rsi
mov qword [r11 + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov r14, r9
mov rax, r8
mov rsi, rdx
cmp word [r8], r12w
je 0x1400b055b
mov qword [r11 - 0x68], r12
xor r9d, r9d
mov dword [r11 - 0x70], r12d
xor r8d, r8d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b045c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edx, eax
lea ecx, [r12 + 2]
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov r15, rax
test rax, rax
jne 0x1400b0463
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
jmp 0x1400b0596
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_GlobalLock]
lea r9, [rbp + 0x30]
mov qword [rsp + 0x20], r12
mov rdx, rax
mov r8d, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov rcx, r15
mov ebx, eax
call qword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebx, ebx
je 0x1400b045c
lea r8, [rbp - 0x28]
mov edx, 1
mov rcx, r15
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rcx, qword [rbp - 0x28]
lea rax, [rbp - 0x30]
lea r9, [0x1400b9950]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x30], r12
xor edx, edx
call qword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov rcx, r15
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400b045c
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp + 0x40]
lea r8, [rbp - 0x20]
mov edx, reloc.OLEAUT32.dll_RegisterActiveObject
call qword [sym.imp.GDI32.dll_GetObjectW]
mov r8d, dword [r14]
mov rcx, qword [rbp + 0x50]
test r8d, r8d
jne 0x1400b0530
mov r8d, r12d
cmp dword [rcx], r12d
jne 0x1400b0530
mov eax, dword [rbp - 0x1c]
mov dword [r14], eax
mov eax, dword [rbp - 0x18]
mov dword [rcx], eax
mov r8d, dword [r14]
mov r9d, dword [rcx]
xor edx, edx
mov rcx, qword [rbp + 0x40]
mov dword [rsp + 0x20], 0x2000
call qword [sym.imp.USER32.dll_CopyImage]
mov rcx, qword [rbp - 0x30]
mov qword [rbp + 0x40], rax
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_recv]
mov r9, qword [rbp + 0x40]
jmp 0x1400b0562
mov r9, r12
mov qword [rbp + 0x40], r12
mov rcx, qword [rsi + 0xc0]
test rcx, rcx
je 0x1400b0578
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9, qword [rbp + 0x40]
mov rbx, qword [rsi]
xor r8d, r8d
mov rcx, rbx
mov qword [rsi + 0xc0], r9
mov edx, 0x172
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14002e520
Capabilities:
Check mutex on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov qword [rsp + 0x38], 0xf
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
mov byte [rsp + 0x20], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140025680
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140027ca0
cmp qword [rax + 0x18], 8
jb 0x14002e56e
mov rax, qword [rax]
mov r8, rax
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov r8, qword [rsp + 0x58]
mov qword [rbx + 0x38], rax
cmp r8, 8
jb 0x14002e59a
mov rdx, qword [rsp + 0x40]
inc r8
call fcn.14002cf50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002e5b6
cmp qword [rbx + 0x38], 0
je 0x14002e5b6
mov al, 1
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14002e5cd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x38], 0
xor al, al
add rsp, 0x60
pop rbx
ret

Function at 0x14002e850
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov ecx, 0x1090
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx], rax
test rax, rax
jne 0x14002e87d
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdx, rax
mov rcx, rdi
call fcn.14002e750
mov edi, eax
test eax, eax
je 0x14002e8ab
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, edi
mov qword [rbx], 0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14002f010
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x1400b8518]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor esi, esi
mov r14, rdx
cmp qword [rcx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x30], rsi
jb 0x14002f04b
mov rdx, qword [rcx]
jmp 0x14002f04e
mov rdx, rcx
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor eax, eax
lea rdi, [rsp + 0x40]
mov ecx, 0x208
lea rdx, [rsp + 0x40]
rep stosb byte [rdi], al
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x14002f090
mov rcx, qword [rsp + 0x30]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rdx, [0x1400a0a48]
lea rax, [rsp + 0x40]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, [0x1400a0a70]
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x38], 7
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14002f120
mov rdx, qword [rbx]
inc r8
call fcn.14002cf50
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
cmp qword [rbx + 0x18], 8
jb 0x14002f136
mov rbx, qword [rbx]
mov word [rbx], si
mov r8, qword [r14 + 0x18]
cmp r8, 8
jb 0x14002f14e
mov rdx, qword [r14]
inc r8
call fcn.14002cf50
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], rsi
cmp qword [r14 + 0x18], 8
jb 0x14002f169
mov rax, qword [r14]
mov word [rax], si
jmp 0x14002f16d
mov word [r14], si
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005ad10
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop r14
pop rdi
pop rsi
ret

Function at 0x1400332d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ecx, ecx
mov rsi, rdx
call fcn.140057dfc
mov rcx, rax
mov rdi, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140033307
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea r9, [0x1400b8568]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.140057e18
test eax, eax
jne 0x140033333
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret