joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140061850
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
mov rdi, rcx
mov dword [rsp + 0x20], ebx
lea rcx, [0x140151808]
mov qword [rsp + 0x58], 7
mov r8, rdx
mov qword [rsp + 0x50], rbx
or rax, 0xffffffffffffffff
mov word [rsp + 0x40], bx
mov qword [rsp + 0x30], rcx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400618a0
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
lea rdx, [rsp + 0x30]
mov rcx, r8
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1400578e0
cmp qword [rsp + 0x50], rbx
je 0x14006190d
cmp qword [rsp + 0x58], 8
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [rsp + 0x20]
mov rcx, rdi
mov r8, rax
mov rbx, rax
call fcn.14005ff70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x14006195f
mov rcx, qword [rsp + 0x40]
inc rax
movabs rdx, 0x7fffffffffffffff
cmp rax, rdx
ja 0x14006197a
add rax, rax
cmp rax, 0x1000
jb 0x14006195a
test cl, 0x1f
jne 0x140061980
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140061986
sub rcx, rax
cmp rcx, 8
jb 0x14006198c
cmp rcx, 0x27
ja 0x140061992
mov rcx, rax
call fcn.140111e78
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3

Function at 0x140064800
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
cmp byte [rdx + 0x90], 0
mov rdi, r8
mov rbx, rdx
mov r9d, ecx
jne 0x1400648e4
mov r8, qword [rbx + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx edx, r9b
xor rdx, rax
movzx eax, byte [rsp + 0x31]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x32]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rsp + 0x33]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [rbx + 0x38]
and rcx, rdx
mov rdx, qword [rbx + 0x20]
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r10, qword [rdx + rcx*8]
lea r11, [rdx + rcx*8]
nop dword [rax + rax]
cmp r10, r8
jne 0x14006489a
mov rcx, r8
jmp 0x1400648a1
mov rcx, qword [r11 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400648b7
cmp r9d, dword [rax + 0x10]
je 0x1400648b1
mov rax, qword [rax]
jmp 0x140064890
cmovne rax, r8
jmp 0x1400648ba
mov rax, r8
cmp rax, r8
je 0x1400648e4
lea rdx, [rax + 0x18]
cmp rdi, rdx
je 0x1400648d7
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140029d5c
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140067290
Capabilities:
Get file version info

Disassembly:
push rsi
push r15
sub rsp, 0x68
cmp qword [rcx + 0x18], 8
mov rsi, rcx
jb 0x1400672a5
mov rsi, qword [rcx]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
test eax, eax
jne 0x1400672c7
xor eax, eax
add rsp, 0x68
pop r15
pop rsi
ret
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r14
xor r14d, r14d
mov ebp, r14d
movdqu xmmword [rsp + 0x20], xmm0
test eax, eax
je 0x14006733d
cmp r15, 0x1000
jb 0x14006731c
lea rcx, [r15 + 0x27]
cmp rcx, r15
jbe 0x14006746d
call fcn.140111b94
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140067327
mov rcx, r15
call fcn.140111b94
mov rbx, rax
mov r8, r15
lea rbp, [rbx + r15]
xor edx, edx
mov rcx, rbx
call fcn.140113400
mov r12, rbp
jmp 0x140067347
mov r12, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov edx, dword [rsp + 0x80]
mov r9, rbx
mov r8d, r15d
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14006740d
lea r9, [rsp + 0x88]
mov qword [rsp + 0x90], r14
lea r8, [rsp + 0x90]
mov rcx, rbx
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14006740d
mov rsi, qword [rsp + 0x90]
test rsi, rsi
je 0x14006740d
mov ecx, 0x38
call fcn.140111b94
movzx edx, word [rsi + 2]
lea rcx, [0x140162560]
mov rdi, rax
lea r9, [rsp + 0x88]
movzx eax, word [rsi]
lea r8, [rsp + 0x90]
mov qword [rsp + 0x90], r14
mov qword [rdi], rcx
mov rcx, rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], rbp
mov word [rdi + 0x2a], dx
lea rdx, [0x14014ba54]
mov qword [rdi + 0x20], rbx
mov word [rdi + 0x28], ax
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
cmovne r14, qword [rsp + 0x90]
mov qword [rdi + 0x30], r14
jmp 0x140067449
mov rdi, r14
test rbx, rbx
je 0x140067449
sub rbp, rbx
cmp rbp, 0x1000
jb 0x140067441
test bl, 0x1f
jne 0x140067473
mov rax, qword [rbx - 8]
cmp rax, rbx
jae 0x140067479
sub rbx, rax
cmp rbx, 8
jb 0x14006747f
cmp rbx, 0x27
ja 0x140067485
mov rbx, rax
mov rcx, rbx
call fcn.140111e78
mov r12, qword [rsp + 0x48]
mov rax, rdi
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x40]
add rsp, 0x68
pop r15
pop rsi
ret
call fcn.140110704
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
Function at 0x140067d00
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rbp, qword [0x14017c038]
lea r15, [0x140151ec4]
mov r14, rcx
xor esi, esi
mov rdx, r15
mov dword [rsp + 0x20], esi
mov rcx, rbp
call fcn.140060790
lea rbx, str.vmodule
test al, al
jne 0x140067d68
mov rdx, rbx
mov rcx, rbp
call fcn.140060790
test al, al
je 0x140067ec1
cmp qword [0x14017c078], rsi
mov qword [rsp + 0xb8], rdi
je 0x140067d7a
int3
mov rax, qword [0x14017c0d0]
mov ecx, 0x20
mov qword [0x14017c078], rax
call fcn.140111b94
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x30], 7
mov rcx, rbp
mov qword [rsp + 0x38], r15
mov rdi, rax
mov qword [rsp + 0x40], 1
call fcn.140060870
lea r8, [rsp + 0x38]
mov rcx, rbp
lea rdx, [rsp + 0x48]
mov rbx, rax
call fcn.140060870
mov rdx, rax
mov r8, rbx
mov rcx, rdi
call fcn.140088ff0
mov rdi, qword [rsp + 0xb8]
mov qword [0x14017c0d0], rax
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140067e45
mov rcx, qword [rsp + 0x48]
inc rax
cmp rax, 0x1000
jb 0x140067e40
test cl, 0x1f
jne 0x140067f86
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140067f8c
sub rcx, rax
cmp rcx, 8
jb 0x140067f92
cmp rcx, 0x27
ja 0x140067f98
mov rcx, rax
call fcn.140111e78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
cmp rax, 0x10
jb 0x140067eab
mov rcx, qword [rsp + 0x68]
inc rax
cmp rax, 0x1000
jb 0x140067ea6
test cl, 0x1f
jne 0x140067f9e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140067fa4
sub rcx, rax
cmp rcx, 8
jb 0x140067faa
cmp rcx, 0x27
ja 0x140067fb0
mov rcx, rax
call fcn.140111e78
mov qword [rsp + 0x80], 0xf
mov qword [rsp + 0x78], rsi
mov byte [rsp + 0x68], sil
mov eax, dword [r14]
mov dword [0x140175c08], eax
test al, 1
jne 0x140067ed5
mov al, 1
jmp 0x140067f5d
mov rcx, qword [0x14017c090]
test rcx, rcx
je 0x140067eee
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14017c090], rsi
mov rax, qword [0x14017c0d8]
test rax, rax
jne 0x140067f18
lea ecx, [rax + 0x20]
call fcn.140111b94
mov qword [0x14017c0d8], rax
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], rsi
mov word [rax], si
mov rdx, qword [r14 + 8]
cmp word [rdx], si
je 0x140067f2f
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140067f25
mov r8, rsi
mov rcx, rax
call fcn.140029c40
cmp dword [r14 + 0x14], 0
jne 0x140067f58
mov rcx, qword [0x14017c0d8]
cmp qword [rcx + 0x18], 8
jb 0x140067f52
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.140067b20
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rsi
ret
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
call fcn.140116070
int3
Function at 0x14006ae00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r14, rdx
mov rbx, rcx
mov sil, 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov byte [rsp + 0x30], 0
mov r15d, eax
xor r12d, r12d
lea rax, [0x140162b30]
mov qword [rbp + 0x170], r12
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
or r9, 0xffffffffffffffff
mov qword [rbp + 0x190], 7
mov qword [rsp + 0x28], rax
lea rcx, [rbp + 0x178]
lea rax, [0x140162990]
mov qword [rbp + 0x188], r12
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov word [rbp + 0x178], r12w
call fcn.140029d5c
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x38]
mov r8d, 0x238
call fcn.140113400
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x38], 0x238
cmp byte [rsp + 0x30], r12b
jne 0x14006aee8
mov byte [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14006aeee
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne bl
test bl, bl
je 0x14006af08
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14006aeb0
test bl, bl
lea rdi, [rsp + 0x38]
cmove rdi, r12
test rdi, rdi
je 0x14006afdf
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r15d
mov rcx, r14
mov r9d, eax
call fcn.140070220
mov r8d, dword [rdi + 8]
mov rbx, rax
xor edx, edx
mov ecx, 0x100000
sub rbx, r9
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, r12d
test rbx, rbx
mov rcx, rax
mov rdi, rax
cmovg edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
sete al
and sil, al
xor edx, edx
lea rcx, [rsp + 0x38]
mov r8d, 0x238
call fcn.140113400
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x38], 0x238
cmp byte [rsp + 0x30], r12b
jne 0x14006afab
mov byte [rsp + 0x30], 1
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x14006afb1
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne bl
test bl, bl
je 0x14006afcb
mov rax, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x14006af73
test bl, bl
lea rdi, [rsp + 0x38]
cmove rdi, r12
test rdi, rdi
jne 0x14006af20
lea rcx, [rsp + 0x20]
call fcn.140089860
movzx eax, sil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14006d810
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [0x140175c18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
test rax, rax
jne 0x14006d835
call fcn.140089c90
mov rdx, rax
movsxd rcx, dword [rbx + 4]
mov eax, dword [rbx + 8]
add rcx, rcx
cmp dword [rdx + rcx*8 + 8], eax
je 0x14006d853
xor eax, eax
test rax, rax
setne al
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + rcx*8]
test rax, rax
setne al
add rsp, 0x20
pop rbx
ret

Function at 0x14006f5a0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [0x1401624d0]
mov rbx, rcx
mov qword [rcx], rax
xor ebp, ebp
add rcx, 8
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdi, rdx
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], rbp
mov byte [rcx], bpl
call fcn.14002a2a0
lea rax, [0x1401626a8]
mov dword [rbx + 0x28], ebp
mov qword [rbx], rax
lea ecx, [rbp + 0x20]
mov qword [rbx + 0x30], rbp
mov byte [rbx + 0x38], bpl
call fcn.140111b94
cmp qword [rdi + 0x18], 0x10
mov rsi, rax
jb 0x14006f61e
mov rcx, qword [rdi]
jmp 0x14006f621
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov qword [rsp + 0x3c], 0x10325476
mov dword [rsp + 0x44], ebp
call fcn.14008ca10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14008cb90
mov rdx, qword [rsp + 0x20]
mov rcx, rsi
bswap rdx
call fcn.14008b140
mov ecx, 0x20
mov qword [rbx + 0x40], rax
call fcn.140111b94
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx + 8]
mov rcx, rax
mov rdx, qword [rdx]
call fcn.14008b140
mov qword [rbx + 0x48], rax
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0xd0]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006f6d0
Capabilities:
Hash data with md5

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, qword [rsp + 0x100]
lea rax, [0x1401624d0]
mov qword [rcx], rax
mov rdi, r8
mov rbx, rcx
mov qword [rcx + 0x20], 0xf
add rcx, 8
xor r12d, r12d
mov rbp, r9
mov rsi, rdx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
mov qword [rcx + 0x10], r12
mov byte [rcx], r12b
call fcn.14002a2a0
lea rax, [0x1401626a8]
mov dword [rbx + 0x28], r12d
mov qword [rbx], rax
lea ecx, [r12 + 0x30]
mov qword [rbx + 0x30], r12
mov byte [rbx + 0x38], r12b
call fcn.140111b94
cmp qword [rdi + 0x18], 0x10
mov r15, rax
jb 0x14006f766
mov rcx, qword [rdi]
jmp 0x14006f769
mov rcx, rdi
mov rax, qword [rdi + 0x10]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov qword [rsp + 0x3c], 0x10325476
mov dword [rsp + 0x44], r12d
call fcn.14008ca10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14008cb90
mov rdx, qword [rsp + 0x20]
mov r9, rbp
bswap rdx
mov r8, rsi
mov rcx, r15
call fcn.14008a1f0
mov ecx, 0x30
mov qword [rbx + 0x40], rax
call fcn.140111b94
mov rcx, qword [rbx + 0x40]
mov r9, r14
mov r8, rsi
mov rdx, qword [rcx + 8]
mov rcx, rax
mov rdx, qword [rdx]
inc rdx
call fcn.14008a1f0
mov qword [rbx + 0x48], rax
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140111850
add rsp, 0xa0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140070360
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
lea rax, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x58], rbx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
lea r9d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140070405
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x140150eb8]
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400703f2
mov eax, dword [rsp + 0x40]
add eax, 0xfffffffd
cmp eax, 1
ja 0x1400703f2
cmp dword [rsp + 0x48], 4
cmove ebx, dword [rsp + 0x50]
cmp qword [rsp + 0x58], 0
je 0x140070405
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x140072030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x18], rax
xor r12d, r12d
mov r15, r9
mov dword [rsp + 0x30], r12d
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov r14d, 0x100000
jb 0x14007207a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rcx, qword [0x14017a910]
cmp eax, 0xffffffff
mov qword [rbp - 0x30], r12
setne bl
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
test rcx, rcx
je 0x1400720b1
mov rax, qword [rcx]
lea rdx, [rbp - 8]
call qword [rax + 0x10]
mov r8d, 0x8064
mov dword [rbp - 4], r12d
mov rdx, rdi
mov word [rbp], r12w
lea rcx, [rbp - 0x30]
call fcn.14006fe30
mov ecx, 0x50
call fcn.140111b94
mov rcx, rax
call fcn.14008be80
mov qword [rsp + 0x30], rax
mov rsi, rax
test bl, bl
je 0x140072128
lea rcx, [rbp - 0x30]
call fcn.140078a90
movabs rcx, 0x7fffffffffffffff
lea rdx, [rbp - 0x30]
cmp rax, rcx
mov r14, r12
lea rcx, [rsp + 0x60]
cmovbe r14, rax
call fcn.14006fcf0
mov rdx, rax
mov r8d, 1
mov rcx, rsi
call fcn.14008bd00
jmp 0x140072157
movdqa xmm0, xmmword [0x140160910]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x68]
movdqu xmmword [rbp + 8], xmm0
call fcn.14006fcf0
mov rdx, rax
lea r8, [rbp + 8]
mov r9d, 2
mov rcx, rsi
call fcn.14008bd70
mov rax, qword [rsi + 0x38]
test rax, rax
je 0x140072210
mov rcx, qword [rsi + 0x40]
test al, 7
jne 0x140072210
lea rax, [rcx - 0x40]
cmp rax, 0x3fffffc0
ja 0x140072210
mov ecx, 0x80
call fcn.140111b94
mov ecx, 0x40
mov rbx, rax
call fcn.140111b94
movups xmm0, xmmword [r15]
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x38]
mov rcx, rax
movaps xmmword [rsp + 0x50], xmm0
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov r8, r14
mov qword [rsp + 0x38], rsi
call fcn.140074f90
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rcx, rbx
call fcn.140072830
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
call fcn.1400727e0
mov rcx, qword [0x14017c108]
add rcx, 0x60
cmp rcx, rdi
je 0x14007220c
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
call fcn.140029d5c
mov bl, 1
jmp 0x140072212
xor bl, bl
lea rcx, [rsp + 0x30]
call fcn.140072a50
lea rcx, [rbp - 0x30]
call fcn.1400787b0
mov rcx, qword [0x14017a910]
test rcx, rcx
je 0x14007223c
mov r8, qword [rcx]
lea rdx, [rbp - 8]
call qword [r8 + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400599c0
lea rcx, [rbp - 0x30]
call fcn.1400337b0
movzx eax, bl
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x1400759c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor ebp, ebp
mov rcx, qword [rdx]
mov rbx, r8
mov rdi, rdx
test rcx, rcx
je 0x1400759f0
mov qword [rdx], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140075a01
mov qword [rbx], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
xor edx, edx
mov qword [rsp + 0x20], rdi
lea r9, [0x140151178]
lea rcx, [0x14013be00]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140075a55
mov rcx, qword [rdi]
lea rdx, [0x140151188]
mov r8, rbx
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140075a55
test rsi, rsi
je 0x140075a77
mov rcx, qword [rbx]
mov r8d, 2
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jns 0x140075a77
mov rcx, qword [rdi]
test rcx, rcx
je 0x140075a66
mov qword [rdi], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140075a77
mov qword [rbx], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140077a20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r14, edx
or rax, 0xffffffffffffffff
xor edx, edx
movsxd r15, ecx
sub r14, r15
mov r12d, 0xffffffff
inc r14
div r14
mov rbp, rdx
not rbp
dec rbp
nop word [rax + rax]
mov edi, 8
lea rsi, [rsp + 0x60]
nop word [rax + rax]
cmp rdi, r12
mov ebx, edi
mov rcx, rsi
cmova ebx, r12d
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x140077a89
int3
mov eax, ebx
add rsi, rax
sub rdi, rax
jne 0x140077a70
mov rax, qword [rsp + 0x60]
cmp rax, rbp
ja 0x140077a60
mov rbx, qword [rsp + 0x50]
xor edx, edx
mov rbp, qword [rsp + 0x58]
div r14
lea eax, [r15 + rdx]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140077ac0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov ebx, 8
lea rdi, [rsp + 0x40]
mov ebp, 0xffffffff
nop dword [rax + rax]
cmp rbx, rbp
mov esi, ebx
mov rcx, rdi
cmova esi, ebp
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
jne 0x140077af8
int3
mov eax, esi
add rdi, rax
sub rbx, rax
jne 0x140077ae0
mov rax, qword [rsp + 0x40]
movabs rcx, 0x1fffffffffffff
and rax, rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
jns 0x140077b26
addsd xmm0, qword [0x1401608b8]
mov edx, 0xffffffcb
call fcn.14011fe48
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007ad80
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x30
mov rdi, rcx
add rcx, 0x70
call fcn.14006b030
lea rcx, [rdi + 0x28]
call fcn.140079400
lea rcx, [rdi + 0x70]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test ebp, ebp
jne 0x14007adff
mov rax, qword [0x14017c140]
test rax, rax
jne 0x14007ade0
lea edx, [rbp + 1]
mov r8d, 0x3e8
lea r9d, [rbp + 0x32]
lea rcx, str.ActivityTracker.ThreadTrackers.MemLimitTrackerCount
call fcn.140051900
mov qword [0x14017c140], rax
mov edx, dword [rdi + 0x24]
mov rcx, rax
mov r8, qword [rax]
call qword [r8 + 0x20]
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rdi]
mov edx, ebp
mov qword [rsp + 0x40], rsi
call fcn.14007c6e0
mov ecx, 0x30
mov rbx, rax
call fcn.140111b94
mov r8, qword [rdi + 8]
mov rdx, rbx
mov rcx, rax
mov rsi, rax
call fcn.14007a230
lea rax, [0x1401627c8]
mov dword [rsi + 0x20], ebp
mov qword [rsi], rax
mov qword [rsi + 0x28], rbx
mov ecx, dword [0x140175c18]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdx, rax
test rax, rax
jne 0x14007ae5a
call fcn.140089c90
mov rdx, rax
movsxd rax, dword [rdi + 0x1c]
mov ebx, 1
add rax, rax
mov qword [rdx + rax*8], rsi
movsxd rcx, dword [rdi + 0x1c]
mov eax, dword [rdi + 0x20]
add rcx, rcx
mov dword [rdx + rcx*8 + 8], eax
lock xadd dword [rdi + 0x24], ebx
mov rax, qword [0x14017c148]
test rax, rax
jne 0x14007aea4
lea r9d, [rax + 0x65]
lea r8d, [rax + 0x64]
lea rcx, str.ActivityTracker.ThreadTrackers.Count
call fcn.1400540a0
mov qword [0x14017c148], rax
mov r8, qword [rax]
lea edx, [rbx + 1]
mov rcx, rax
call qword [r8 + 0x20]
mov rbx, qword [rsp + 0x48]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret