joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034660
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x280
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rsi, rcx
movdqa xmm0, xmmword [0x1402fa1e0]
movdqu xmmword [rsp + 0x48], xmm0
lea r14, [rsp + 0x48]
mov ebx, dword [r14]
lea rcx, [rsp + 0x38]
call fcn.140032350
test eax, eax
jne 0x1400346bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xe31
jmp 0x14003470f
cmp dword [rsp + 0x38], 1
je 0x14003472b
lea rcx, [rsp + 0x40]
call fcn.140032840
cmp eax, 1
jne 0x140034703
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140034754
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xe45
jmp 0x14003470f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xe5f
mov dword [rsp + 0x20], eax
lea r9, str.Last_Error__d
lea rdx, str.C:WorkVSRevoWindowsProjectsRevo_HelperRevo_HelperSourcesUtils.cpp
mov ecx, 1
call fcn.1400473d0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor ecx, ecx
test eax, eax
setns cl
test ecx, ecx
je 0x140034816
call fcn.1400a2364
nop
test rax, rax
je 0x140034852
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
cmp rax, 0x10000
jae 0x140034796
lea rax, [rsp + 0x60]
movzx edx, ax
lea rcx, [rsp + 0x30]
call fcn.14000d610
jmp 0x1400347bf
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400347a2
mov r8d, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14000df90
nop
mov rdi, qword [rsi + 8]
cmp rdi, qword [rsi + 0x10]
je 0x1400347e5
mov rbx, qword [rsp + 0x30]
lea rcx, [rbx - 0x18]
call fcn.14000de80
add rax, 0x18
mov qword [rdi], rax
add qword [rsi + 8], 8
jmp 0x1400347fa
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rsi
call fcn.140015ca0
mov rbx, qword [rsp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140034816
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r14, 4
lea rax, [rsp + 0x58]
cmp r14, rax
jne 0x1400346a0
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1402155d0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, 0x80004005
call fcn.1400080b0
int3
Function at 0x1400370a0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400370cd
test al, 0x10
jbe 0x1400370cd
xor eax, eax
jmp 0x1400371b1
xor ebp, ebp
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x28], ebp
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdi + rax*2], bp
jne 0x1400370e2
cmp eax, 0x12c
jae 0x1400370f9
mov eax, 0x12c
jmp 0x140037109
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdi + rax*2], bp
jne 0x140037100
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.140036d40
mov rcx, rdi
mov rsi, qword [rsp + 0x20]
mov rdx, rsi
sub rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140037130
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x140037140
cmp ebx, 1
jle 0x14003715f
movsxd rax, ebx
cmp word [rsi + rax*2 - 2], 0x5c
jne 0x14003715f
mov word [rsi + rax*2 - 2], bp
mov edx, 0x5c
mov rcx, rsi
call fcn.1402413c0
test rax, rax
jne 0x140037176
lea ebx, [rax + 0xf]
jmp 0x1400371a7
mov word [rax], bp
mov rcx, rsi
call fcn.1400370a0
mov ebx, eax
test eax, eax
jne 0x1400371a7
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400371a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x1400371a7
mov ebx, ebp
mov rcx, rsi
call fcn.140095d64
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140039530
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov esi, r9d
mov edi, r8d
mov rbx, rdx
bt r8d, 8
jae 0x14003955d
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0
mov r9d, esi
mov qword [rsp + 0x20], rax
mov r8d, 0x40
mov edx, edi
mov rcx, rbx
call fcn.14025645c
mov ecx, dword [rsp + 0x50]
test eax, eax
mov rbx, qword [rsp + 0x40]
mov edx, 0xffffffff
mov rsi, qword [rsp + 0x48]
cmovne ecx, edx
movsxd rax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14003a3f0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x450
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rax, qword gs:[0x58]
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14034ee90], eax
jle 0x14003a476
lea rcx, [0x14034ee90]
call fcn.140215778
cmp dword [0x14034ee90], 0xffffffff
jne 0x14003a476
xor edx, edx
lea rcx, [0x14034ea80]
mov r8d, 0x410
call fcn.140241ba0
lea rdx, [0x14034ea80]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [0x14034ee90]
call fcn.140215718
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x410
call fcn.140241ba0
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.rup_
lea rcx, [0x14034ea80]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000fd70
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1402155d0
add rsp, 0x450
pop rbx
ret
Function at 0x140040c90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140040e24
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140040e24
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x140040d2b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x140040e4b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140040d42
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140040d42
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140040d55
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140040da2
mov r8d, eax
cmp eax, 0x800
jae 0x140040d6f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140040da2
cmp eax, 0x10000
jae 0x140040d89
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140040da2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140040e24
add qword [r14], 2
test sil, sil
jne 0x140040dc3
cmp r10d, 3
jae 0x140040dcf
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140040e01
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140040de0
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x140040cdf
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140040e32
Function at 0x14004f5c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
xor r13d, r13d
lea r15, [r13 - 1]
mov rdi, qword [0x14034dd50]
test rdi, rdi
jne 0x14004f6f3
cmp byte [0x14033f4d9], r13b
je 0x14004f6f3
mov ecx, 0x40a8
call fcn.140095d1c
mov rdi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x14004f6e4
mov qword [rax + 0x4010], r13
mov qword [rax + 0x4020], r13
mov qword [rax + 0x4028], 7
mov word [rax + 0x4010], r13w
lea rbx, [rax + 0x4030]
mov qword [rsp + 0x90], rbx
mov qword [rbx], r13
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x20], r13
lea ecx, [r13 + 0x10]
call fcn.140095d1c
mov qword [rax + 8], r13
mov qword [rbx], rax
mov qword [rax], rbx
lea rcx, [rdi + 0x4058]
lea edx, [r13 + 2]
call fcn.14021754c
nop
mov qword [rdi], r15
mov qword [rdi + 8], r15
call fcn.14004f190
test al, al
je 0x14004f6e2
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, str..RevoDetector
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x14004f170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
jmp 0x14004f6e7
mov rdi, r13
mov qword [0x14034dd50], rdi
test rdi, rdi
je 0x14004f721
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14004f721
nop
cmp qword [rdi + 0x4050], 0
jne 0x14004f743
mov ecx, 0x190
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdi, qword [0x14034dd50]
test rdi, rdi
jne 0x14004f700
mov qword [rsi], r13
mov qword [rsi + 8], r13
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rbx, [rdi + 0x4058]
mov rcx, rbx
call fcn.14021757c
test eax, eax
jne 0x14004f828
mov rdi, qword [0x14034dd50]
mov rcx, qword [rdi + 0x4040]
dec rcx
and rcx, qword [rdi + 0x4048]
mov rax, qword [rdi + 0x4038]
mov rdx, qword [rax + rcx*8]
mov rbp, qword [rdx + 8]
test rbp, rbp
je 0x14004f795
lock inc dword [rbp + 8]
mov rbp, qword [rdx + 8]
mov rdi, qword [0x14034dd50]
mov r12, qword [rdx]
mov rcx, qword [rdi + 0x4040]
dec rcx
and rcx, qword [rdi + 0x4048]
mov rax, qword [rdi + 0x4038]
mov rcx, qword [rax + rcx*8]
mov r14, qword [rcx + 8]
test r14, r14
je 0x14004f7e8
mov eax, r15d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14004f7e8
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
lock xadd dword [r14 + 0xc], r15d
cmp r15d, 1
jne 0x14004f7e8
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
sub qword [rdi + 0x4050], 1
jne 0x14004f80d
mov qword [rdi + 0x4048], r13
mov qword [rsi], r12
mov qword [rsi + 8], rbp
mov rcx, rbx
call fcn.140217584
jmp 0x14004f728
inc qword [rdi + 0x4048]
mov qword [rsi], r12
mov qword [rsi + 8], rbp
mov rcx, rbx
call fcn.140217584
jmp 0x14004f728
mov ecx, eax
call fcn.140217278
int3
Function at 0x1400516b0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140051870
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14034e788]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14034e798]
lea rdx, [rdi + rdi]
call fcn.140050420
mov rcx, qword [0x14034e788]
lea r9, [rdi - 1]
mov qword [0x14034e7b0], r9
mov qword [0x14034e7b8], rdi
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140051865
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r11d, byte [rcx + 0x10]
mov rdx, qword [rdx]
xor r11, rsi
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x12]
imul r11, rdi
xor r11, rax
movzx eax, byte [rcx + 0x13]
imul r11, rdi
xor r11, rax
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14034e798]
mov r10, qword [r11]
cmp r10, rbx
jne 0x1400517a2
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x140051826
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1400517df
mov r10, qword [rax]
cmp r10, rcx
je 0x1400517d9
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x140051826
mov r8, rax
cmp r10, rax
je 0x140051802
nop word [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x14005183a
cmp r10, rax
jne 0x1400517f0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
je 0x140051860
mov r9, qword [0x14034e7b0]
jmp 0x140051750
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x140051826
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.140216948
int3
Function at 0x140051880
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140051a42
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140050420
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x140051a07
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r10, qword [r11]
cmp r10, rbx
jne 0x140051973
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400519f6
mov rax, qword [r11 + 8]
mov r9d, dword [rcx + 0x10]
cmp r9d, dword [rax + 0x10]
jne 0x1400519b0
mov r10, qword [rax]
cmp r10, rcx
je 0x1400519aa
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400519f6
mov r8, rax
cmp r10, rax
je 0x1400519d2
nop dword [rax + rax]
mov rax, qword [rax + 8]
mov r8, rax
cmp r9d, dword [rax + 0x10]
je 0x140051a1c
cmp r10, rax
jne 0x1400519c0
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x140051920
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov r10, qword [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400519f6
lea rcx, str.invalid_hash_bucket_count
call fcn.140216948
int3
Function at 0x14005f870
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
xor esi, esi
mov rcx, rdi
mov word [r8], si
lea rdx, [rsp + 0x20]
mov rbx, r8
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jns 0x14005f8c0
xor eax, eax
jmp 0x14005f9c8
movzx eax, word [rdi + 2]
mov word [rbx + 0xe], ax
movzx eax, word [rdi + 4]
mov word [rbx + 0xc], ax
movzx eax, word [rdi + 6]
mov word [rbx + 0xa], ax
movzx eax, word [rdi + 8]
mov word [rbx + 8], ax
movzx eax, word [rdi + 0xa]
mov word [rbx + 6], ax
movzx eax, word [rdi + 0xc]
mov word [rbx + 4], ax
movzx eax, word [rdi + 0xe]
mov word [rbx + 2], ax
movzx eax, word [rdi + 0x10]
mov word [rbx], ax
movzx eax, word [rdi + 0x14]
mov word [rbx + 0x16], ax
movzx eax, word [rdi + 0x16]
mov word [rbx + 0x14], ax
movzx eax, word [rdi + 0x18]
mov word [rbx + 0x12], ax
movzx eax, word [rdi + 0x1a]
mov word [rbx + 0x10], ax
movzx eax, word [rdi + 0x1e]
mov word [rbx + 0x1e], ax
movzx eax, word [rdi + 0x20]
mov word [rbx + 0x1c], ax
movzx eax, word [rdi + 0x22]
mov word [rbx + 0x1a], ax
movzx eax, word [rdi + 0x24]
mov word [rbx + 0x18], ax
movzx eax, word [rdi + 0x28]
mov word [rbx + 0x22], ax
movzx eax, word [rdi + 0x2a]
mov word [rbx + 0x20], ax
movzx eax, word [rdi + 0x2c]
mov word [rbx + 0x26], ax
movzx eax, word [rdi + 0x2e]
mov word [rbx + 0x24], ax
movzx eax, word [rdi + 0x32]
mov word [rbx + 0x2a], ax
movzx eax, word [rdi + 0x34]
mov word [rbx + 0x28], ax
movzx eax, word [rdi + 0x36]
mov word [rbx + 0x2e], ax
movzx eax, word [rdi + 0x38]
mov word [rbx + 0x2c], ax
movzx eax, word [rdi + 0x3a]
mov word [rbx + 0x32], ax
movzx eax, word [rdi + 0x3c]
mov word [rbx + 0x30], ax
movzx eax, word [rdi + 0x3e]
mov word [rbx + 0x36], ax
movzx eax, word [rdi + 0x40]
mov word [rbx + 0x34], ax
movzx eax, word [rdi + 0x42]
mov word [rbx + 0x3a], ax
movzx eax, word [rdi + 0x44]
mov word [rbx + 0x38], ax
movzx eax, word [rdi + 0x46]
mov word [rbx + 0x3e], ax
movzx eax, word [rdi + 0x48]
mov word [rbx + 0x3c], ax
mov eax, 1
mov word [rbx + 0x40], si
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1402155d0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14005fb40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
test rdx, rdx
je 0x14005fbed
cmp dword [rcx + 0x3e4], 0
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSharedDlls
mov eax, 0x20219
mov r9d, 0x20119
cmove r9d, eax
mov rcx, 0xffffffff80000002
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005fbed
mov rcx, qword [rsp + 0x58]
xor r9d, r9d
mov dword [rsp + 0x48], eax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005fbe2
cmp dword [rsp + 0x48], 1
jbe 0x14005fbe2
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x140060b60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
test rdx, rdx
je 0x140060e0a
push rbx
push rbp
push rsi
push r12
sub rsp, 0x2a8
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, r9
mov r12, r8
mov rsi, rdx
mov rbp, rcx
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140060ba0
test rax, rax
je 0x140060dee
mov qword [rsp + 0x2a0], rdi
mov ecx, 0x2000
mov qword [rsp + 0x298], r14
mov qword [rsp + 0x290], r15
call fcn.1400164e0
mov ecx, 0x2000
mov r14, rax
call fcn.1400164e0
mov ecx, 0x2000
mov r15, rax
call fcn.1400164e0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
mov rdi, rax
call fcn.140241ba0
mov r9, rsi
lea r8, [0x1402f38c4]
mov edx, 0x1000
mov rcx, r14
call fcn.140055b60
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov r8, r14
mov edx, 0x1000
sub r8, r15
mov rcx, r15
lea rax, [rdx + 0x7fffeffe]
test rax, rax
je 0x140060c55
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140060c55
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140060c32
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
xor r10d, r10d
mov ecx, 0x1000
mov word [rax], r10w
mov rax, r15
nop
cmp word [rax], r10w
je 0x140060c80
add rax, 2
sub rcx, 1
jne 0x140060c70
mov eax, 0x1000
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x140060ce0
mov edx, 0x1000
lea rcx, [r15 + rax*2]
sub rdx, rax
je 0x140060cd1
lea r9, [0x1402ee760]
mov eax, 0x7ffffffe
sub r9, rcx
nop
test rax, rax
je 0x140060cd1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140060cd1
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140060cb0
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140060dbe
nop dword [rax + rax]
mov rcx, qword [rbp + 8]
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140060dbe
lea rax, [rsp + 0x5c]
mov r9, r14
lea r8, str._s_s
mov qword [rsp + 0x20], rax
mov edx, 0x1000
mov rcx, rdi
call fcn.140055b60
mov eax, dword [rsp + 0x30]
bt eax, 0xa
jb 0x140060d9f
test al, 0x10
je 0x140060d90
movzx ecx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5e]
cmp cx, 0x2e
jne 0x140060d6e
test ax, ax
je 0x140060d9f
cmp cx, cx
jne 0x140060d6e
cmp ax, cx
jne 0x140060d6e
cmp word [rsp + 0x60], 0
je 0x140060d9f
mov rdx, qword [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call fcn.1400a6854
mov r9, rbx
mov r8, r12
mov rdx, rdi
mov rcx, rbp
call fcn.140060b60
jmp 0x140060d9f
mov rdx, qword [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call fcn.1400a6854
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140060d00
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r14
call fcn.140095d64
mov rcx, r15
call fcn.140095d64
mov rcx, rdi
call fcn.140095d64
mov r14, qword [rsp + 0x298]
mov rdi, qword [rsp + 0x2a0]
mov r15, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402155d0
add rsp, 0x2a8
pop r12
pop rsi
pop rbp
pop rbx
ret
Function at 0x140090b60
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x290
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, r8
mov rbx, qword [rdx]
cmp dword [rbx - 0x10], 0
je 0x140090c8e
mov rax, qword [r8]
cmp dword [rax - 0x10], 0
je 0x140090c8e
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x30]
call fcn.140241ba0
lea rcx, [rbx - 0x18]
call fcn.14000de80
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, [0x1402ee760]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140090bd4
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.1400157c0
lea rdx, [rsp + 0x30]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, rsi
je 0x140090c67
mov ecx, dword [rsp + 0x30]
and ecx, 0x410
cmp ecx, 0x10
jne 0x140090c4e
movzx ecx, word [rsp + 0x5c]
movzx eax, word [rsp + 0x5e]
cmp cx, 0x2e
jne 0x140090c3c
test ax, ax
je 0x140090c4e
cmp cx, cx
jne 0x140090c3c
cmp ax, cx
jne 0x140090c3c
cmp word [rsp + 0x60], 0
je 0x140090c4e
lea rdx, [rsp + 0x5c]
mov rcx, qword [r14]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140090c60
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x140090c04
mov edi, 1
jmp 0x140090c72
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
xor edi, edi
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140090c8a
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
jmp 0x140090c93
mov eax, 1
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1402155d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop r14
pop rdi
pop rsi
ret