joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005fd8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140006160
cmp ecx, 0x7c
je 0x140006160
cmp ecx, 0x29
jne 0x14000601b
cmp dword [rbx + 0x1c], 0
jne 0x140006160
test dword [rbx + 0x80], 0x10000000
je 0x140006187
cmp ecx, 0x2e
jne 0x14000603b
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.1400087b0
mov rcx, rbx
call fcn.140008808
jmp 0x14000614e
cmp ecx, 0x5c
jne 0x14000609c
mov rcx, rbx
call fcn.140008808
test byte [rbx + 0x80], 0x80
je 0x14000608f
mov al, byte [rbx + 0x78]
cmp al, 0x62
jne 0x140006073
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.1400087b0
mov rcx, rbx
call fcn.140008808
jmp 0x140006156
cmp al, 0x42
jne 0x14000608f
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.1400087b0
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140006066
mov rcx, rbx
call fcn.1400061a4
jmp 0x14000614e
cmp ecx, 0x5b
jne 0x1400060c0
mov rcx, rbx
call fcn.140008808
mov rcx, rbx
call fcn.140006984
cmp dword [rbx + 0x7c], 0x5d
jne 0x140006179
jmp 0x14000602e
cmp ecx, 0x28
jne 0x1400060e4
mov rcx, rbx
call fcn.140008808
mov rcx, rbx
call fcn.140008f60
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140006187
jmp 0x140006141
cmp ecx, 0x5e
jne 0x1400060f1
lea edx, [rcx - 0x5c]
jmp 0x14000605d
cmp ecx, 0x24
jne 0x1400060fe
lea edx, [rcx - 0x21]
jmp 0x14000605d
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x14000616b
cmp ecx, 0x3f
je 0x14000616b
cmp ecx, 0x7b
je 0x14000616b
cmp ecx, 0x7d
jne 0x140006121
test dword [rbx + 0x80], 0x10000000
je 0x140006195
cmp ecx, 0x5d
jne 0x140006132
test dword [rbx + 0x80], 0x10000000
je 0x140006179
mov dl, byte [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.140005644
mov dil, 1
mov rcx, rbx
call fcn.140008808
test dil, dil
je 0x140006156
mov rcx, rbx
call fcn.140008858
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140005fea
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.140007bd4
int3
mov edx, 4
mov rcx, rbx
call fcn.140007bd4
int3
mov edx, 5
mov rcx, rbx
call fcn.140007bd4
int3
mov edx, 6
mov rcx, rbx
call fcn.140007bd4
int3
Function at 0x140009840
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r13, r8
mov ebx, edx
mov rsi, rcx
test rcx, rcx
je 0x1400099cb
test edx, edx
je 0x1400099cb
and dword [rbp + 0x48], 0
lea rdx, [rbp + 0x48]
and dword [rbp + 0x30], 0
xor r14b, r14b
and qword [rbp - 0x10], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r15d, eax
test eax, eax
je 0x1400099cb
mov ecx, r15d
call fcn.140016124
mov edx, dword [rbp + 0x48]
mov r9, rax
mov r8d, r15d
mov rcx, rsi
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400099be
mov r15d, 0x40
test bl, 1
je 0x140009928
lea r9, [rbp + 0x30]
mov rcx, rdi
lea r8, [rbp - 0x10]
lea rdx, [0x140018aec]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140009928
cmp dword [rbp + 0x30], 0
je 0x140009928
mov r8, qword [rbp - 0x10]
cmp dword [r8], 0xfeef04bd
jne 0x140009928
movzx ecx, word [r8 + 0xc]
movzx edx, word [r8 + 0xe]
movzx eax, word [r8 + 8]
movzx r9d, word [r8 + 0xa]
lea r8, str._d._d._d._04d
mov dword [rsp + 0x30], ecx
mov rcx, r13
mov dword [rsp + 0x28], edx
mov edx, r15d
mov dword [rsp + 0x20], eax
call fcn.14000b464
mov r14b, 1
test bl, 6
je 0x1400099be
lea rsi, [r13 + 0x80]
mov rcx, rdi
add r13, r15
mov byte [rsi], 0
lea r9, [rbp + 0x30]
lea r8, [rbp - 8]
lea rdx, str.VarFileInfoTranslation
mov byte [r13], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1400099be
cmp dword [rbp + 0x30], 4
jb 0x1400099be
test bl, 2
je 0x140009991
mov rax, qword [rbp - 8]
lea r9, [0x140019678]
mov dword [rsp + 0x28], 0x100
mov rcx, rdi
mov qword [rsp + 0x20], rsi
movzx r8d, word [rax + 2]
movzx edx, word [rax]
call fcn.140009714
test bl, 4
je 0x1400099bb
mov rax, qword [rbp - 8]
lea r9, str.OriginalVer
mov dword [rsp + 0x28], r15d
mov rcx, rdi
mov qword [rsp + 0x20], r13
movzx r8d, word [rax + 2]
movzx edx, word [rax]
call fcn.140009714
mov r14b, 1
mov rcx, rdi
call fcn.140015e90
mov al, r14b
jmp 0x1400099cd
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x14000a204
Capabilities:
Get process image filename

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbp, rdx
mov esi, ecx
test rdx, rdx
jne 0x14000a22b
xor al, al
jmp 0x14000a323
xor dil, dil
mov byte [rsp + 0x88], dil
test esi, esi
je 0x14000a320
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14000a272
mov r8d, esi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000a320
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x88]
lea rax, [rsp + 0x78]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea rdx, str.QueryFullProcessImageNameW
lea rax, [rsp + 0x40]
lea rcx, str.kernel32.dll
mov qword [rsp + 0x20], rax
call fcn.140003ae0
mov dil, byte [rsp + 0x88]
test dil, dil
jne 0x14000a317
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r9d, dword [rsp + 0x80]
mov r8, rbp
mov rcx, rax
xor edx, edx
mov rbx, rax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
setne dil
test eax, eax
jne 0x14000a317
mov r8d, dword [rsp + 0x80]
mov rdx, rbp
mov rcx, rbx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000a3cc
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x440
mov rax, qword [0x140020170]
xor rax, rsp
mov qword [rsp + 0x430], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x14000a48a
cmp di, word [rcx]
je 0x14000a48a
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [rdi + 0x25]
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x14000a48a
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x14000a486
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rdx, str.downlevel
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x14000a48a
mov al, 1
jmp 0x14000a48c
xor al, al
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140015e70
mov rbx, qword [rsp + 0x458]
add rsp, 0x440
pop rdi
ret
Function at 0x14000db2c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rdx + 0x10]
xor esi, esi
mov rbx, rcx
test r8, r8
jne 0x14000dbbd
lea r9, [rax + 8]
mov qword [rax + 8], rsi
xor edx, edx
lea rcx, [0x14001a6f0]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14000dbd8
mov rdx, qword [rsp + 0x30]
lea rdi, [rbx + 0xc0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14000db74
mov rcx, rdi
call fcn.140001a70
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8d, 1
lea rdx, [0x140018aec]
mov rcx, rdi
call fcn.1400090a4
mov r8d, 4
lea rdx, str.Zoom
mov rcx, rdi
call fcn.1400090a4
jmp 0x14000dbd8
add rcx, 0xc0
cmp rcx, rdx
je 0x14000dbd8
cmp qword [rdx + 0x18], 8
jb 0x14000dbd3
mov rdx, qword [rdx]
call fcn.140001a70
lea r8, [rbx + 0xc0]
add rbx, 0xe0
cmp rbx, r8
je 0x14000dc04
cmp qword [r8 + 0x18], 8
mov rdx, r8
jb 0x14000dbf8
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.140001a70
mov r8d, 6
lea rdx, str.data_
mov rcx, rbx
call fcn.1400090a4
mov r8d, 0xb
lea rdx, str.Zoom.us.ini
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400090a4
Function at 0x1400115d8
Capabilities:
Read .ini file

Disassembly:
mov r11d, r9d
mov r10, r8
lea r9, [rcx + 8]
mov rax, rdx
cmp qword [r9 + 0x18], 8
jb 0x1400115ef
mov r9, qword [r9]
cmp qword [r8 + 0x18], 8
jb 0x1400115f9
mov r10, qword [r8]
cmp qword [rdx + 0x18], 8
jb case.default.0x14001160c
mov rax, qword [rdx]
mov r8d, r11d
mov rdx, r10
mov rcx, rax
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, 0x7aaef757
invalid

Function at 0x140011614
Capabilities:
Read .ini file

Disassembly:
push rbx
add rcx, 8
mov r10, r9
mov r11, r8
mov rbx, rdx
cmp qword [rcx + 0x18], 8
jb case.default.0x140011649
mov rcx, qword [rcx]
mov eax, dword [rsp + 0x38]
mov r8, r10
mov r9, qword [rsp + 0x30]
mov rdx, r11
mov qword [rsp + 0x38], rcx
mov rcx, rbx
mov dword [rsp + 0x30], eax
pop rbx
jmp qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esp, dword [rdx]
push 0x3d582bd3
out 0x7b, al
invalid
add cl, cl
mov esi, dword [rdi]
jge 0x1400370b2
invalid
cmp eax, 0x7999bdec
lea esi, [rax + 0x71283f2]
scasd eax, dword [rdi]
retf
xlatb
cmp dword [rdi + 0x3f], ecx
cmc
invalid
mov ebp, dword [rbp - 0x75]
int1
mov dh, bl
mov ebx, dword [rdi + 0xb]
wait
push rcx
sar byte [rbx + 0x7b7af0f4], cl
invalid
or eax, 0x13ca37df
sbb byte [rbp + 0x53], bh
invalid
in al, 0xe8
cmpsd dword [rsi], dword [rdi]
or cl, byte [rsi + 0x5e8a5faf]
xor ecx, dword [rsi]
and qword [rax - 0x957521c], rbp
test al, 0xf6
test al, 0xf6
mov edi, 0x593cc85f
mov esp, 0x3233a7a3
test byte [rdx + 0x1c], al
invalid
adc dword [rax], edx
mov dl, 0x16
shl dword [rdx + 0x3a0b6cef], cl
xchg edi, eax
nop
int 0x51
enter 0x53c7, 0x3e
mov dh, 0xbb
int 0x11
nop
add dword [rsi], ebp
invalid
invalid
Function at 0x140011bbc
Capabilities:
Get file size
Parse pe header
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
xor edi, edi
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
je 0x140011d1a
cmp di, word [rdx]
je 0x140011d1a
cmp qword [rcx + 8], rdi
je 0x140011bf0
call fcn.140011ad8
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rax
mov qword [rbx], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140011d1a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0x40
jb 0x140011d1a
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
xor edx, edx
mov dword [rsp + 0x20], esi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rax
mov qword [rbx + 0x18], rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140011d1a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov rdx, rax
test rax, rax
je 0x140011d1a
lea r9, [rsi + rax]
mov qword [rbx + 0x10], r9
cmp dword [rax + 0x3c], 0x40
jb 0x140011d1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
mov qword [rbx + 0x20], rcx
lea rax, [rcx + 0xf8]
cmp r9, rax
jb 0x140011d1a
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x140011d1a
cmp dword [rcx], 0x4550
jne 0x140011d1a
mov eax, 0x14c
cmp word [rcx + 4], ax
je 0x140011cf4
mov eax, 0x8664
cmp word [rcx + 4], ax
je 0x140011cea
mov eax, 0xaa64
cmp word [rcx + 4], ax
jne 0x140011d1a
mov dil, 1
mov eax, 0x108
jmp 0x140011cf9
mov eax, 0xf8
lea r8, [rcx + rax]
mov byte [rbx + 0x30], dil
mov qword [rbx + 0x28], r8
movzx ecx, word [rcx + 6]
lea rdx, [rcx + rcx*4]
lea rcx, [r8 + rdx*8]
cmp r9, rcx
jb 0x140011d1a
mov al, 1
jmp 0x140011d24
mov rcx, rbx
call fcn.140011ad8
xor al, al
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140011dbc
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rbx, rcx
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
and qword [rcx + 0x18], 0
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
and qword [rcx + 0x30], 0
and qword [rcx + 0x38], 0
lea rcx, str.crypt32.dll
call fcn.14000a694
mov rdi, rax
test rax, rax
je 0x140011ebb
lea rdx, str.CertCloseStore
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertFindCertificateInStore
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertFreeCertificateContext
mov rcx, rdi
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CertGetNameStringW
mov rcx, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptDecodeObject
mov rcx, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgClose
mov rcx, rdi
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgGetParam
mov rcx, rdi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptQueryObject
mov rcx, rdi
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptMsgClose
mov rcx, rdi
mov qword [rbx + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x28], rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140015480
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140020170]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x18], 0
mov r14, rdx
mov rsi, rcx
je 0x140015609
cmp byte [rcx + 0x8c], 0
mov ebp, dword [rdx + 0x10]
je 0x1400155e8
mov edx, dword [rcx + 0x98]
mov ecx, dword [rcx + 0x84]
lea eax, [rdx + rbp]
cmp eax, ecx
jle 0x1400155e8
mov ebx, dword [rsi + 0x88]
cmp ebx, 1
jne 0x14001553c
sub ecx, edx
movsxd rbx, ecx
mov rcx, rbx
call fcn.140016124
mov r8, rbx
mov edx, 0x20
mov rcx, rax
mov rdi, rax
call sub.VCRUNTIME140.dll_memset
mov r9, qword [rsi + 0x18]
mov r8, rbx
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call fcn.140015e90
mov rcx, qword [rsi + 0x18]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
and dword [rsi + 0x98], 0
jmp 0x1400155e8
jle 0x1400155e8
mov rcx, rsi
call fcn.140014b9c
mov rcx, rsi
call fcn.140014f30
test al, al
je 0x1400155e8
cmp dword [rsi + 0x9c], ebx
jle 0x1400155e8
lea rdi, [rsi + 0xa0]
mov rax, qword [rdi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1400155e8
and qword [rsp + 0x20], 0
lea rdx, [rbx + 0x28]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
and qword [rsp + 0x38], 0
call fcn.14000ce90
mov rdx, rbx
mov rcx, rdi
call fcn.140014ae8
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400155e8
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400155e3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400155e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015e90
cmp qword [r14 + 0x18], 0x10
jb 0x1400155f2
mov r14, qword [r14]
mov r9b, 1
mov r8d, ebp
mov rdx, r14
mov rcx, rsi
call fcn.14001590c
add dword [rsi + 0x98], ebp
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140015e70
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14001590c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, rdx
movsxd r8, r8d
mov bl, r9b
mov rdi, rcx
mov r9, qword [rcx + 0x18]
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test bl, bl
je 0x140015942
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400159d4
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
lea rdx, [rsp + 0x20]
mov rdi, rcx
call fcn.1400159a8
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x140015a48
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140015a48
mov edx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140015a2c
mov eax, dword [rbx + 0x10]
mov edi, 1
mov dword [0x1400213a0], eax
mov edx, edi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140015a4d
mov rcx, rdi
call fcn.140015aa4
mov rcx, rax
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edi, dword [rsp + 0x48]
jmp 0x140015a4d
mov edi, 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140015a97
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140015a97
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov rax, qword [rbx]
mov rax, qword [rax]
call qword [0x140018660]
or ecx, 0xffffffff
lock xadd dword [rbx + 0xc], ecx
cmp ecx, 1
jne 0x140015a97
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [0x140018660]
mov rbx, qword [rsp + 0x40]
mov eax, edi
add rsp, 0x30
pop rdi
ret

Function at 0x140015bd4
Capabilities:
Create thread
Resume thread

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x30
mov r9, qword [rcx]
lea r8, [0x140015cb0]
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor ecx, ecx
lea rax, [r9 + 0x10]
mov qword [r11 - 0x10], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, rax
test rax, rax
je 0x140015c91
mov rax, qword [rdi]
mov rdx, rsi
mov qword [rax + 8], rcx
mov rcx, qword [rdi]
add rcx, 0x18
call fcn.140009120
mov rax, qword [rdi]
xor ecx, ecx
mov ebp, dword [rax + 0x10]
lea rax, [0x1400212d0]
cmp dword [rax], 0
je 0x140015c5d
inc ecx
lea rdx, [0x1400213e0]
add rax, 0x44
cmp rax, rdx
jl 0x140015c44
jmp 0x140015c82
movsxd rax, ecx
lea r14, [0x140021290]
imul rbx, rax, 0x44
mov r8, rsi
mov edx, 0x40
lea rcx, [rbx + r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov dword [rbx + r14 + 0x40], ebp
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x180001570
Capabilities:
Allocate or change rwx memory
Enumerate processes via ntquerysysteminformation
Execute shellcode via indirect call
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800d6a88]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
lea r9, [rsp + 0x30]
mov rsi, rdx
mov dword [rsp + 0x30], ebx
mov rdi, rcx
xor r8d, r8d
xor edx, edx
lea ecx, [rbx + 5]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x18000161a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea rdx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbx - 1]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x20], 0x3000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
cmovns rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x18000161a
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x180001640
mov rcx, rbx
call fcn.180001520
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18003c840
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdx, rsi
mov rcx, rbx
call rdi
test al, al
je 0x180001656
mov eax, dword [rbx]
add rbx, rax
cmp dword [rbx], 0
jne 0x180001640
mov rcx, rbx
call fcn.180001520
mov al, 1
jmp 0x18000161c
Function at 0x1800060c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x380
mov rax, qword [0x1800d6a88]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x180006194
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.180003430
nop
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x70]
call fcn.180001e90
mov rcx, rax
lea rdx, [0x18006d028]
call fcn.180001e90
mov rcx, rax
mov rdx, rdi
call fcn.180001e90
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180008140
mov dword [rsp + 0x30], 1
lea rcx, [rsp + 0x60]
call fcn.180004a30
mov rax, rbx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.18003c840
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x380
pop rdi
ret
lea rdx, str.Could_not_retrieve_folder
lea rcx, [rsp + 0x40]
call fcn.180003ab0
lea rdx, [0x1800cda20]
lea rcx, [rsp + 0x40]
call fcn.18003d504
int3
Function at 0x180010780
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1800d6a88]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1800d9780]
mov esi, edx
mov edi, ecx
cmp byte [rbx + 0x1fb5], 0
jne 0x1800107e7
cmp byte [rbx + 0x1fb6], 0
jne 0x1800107e7
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180014560
test sil, 1
je 0x180010919
jmp 0x18001087f
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x18006de3c]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x18006de34]
addss xmm0, dword [rbx + 0x130]
addss xmm1, dword [rbx + 0x134]
or dword [rbx + 0x1b38], 1
mov qword [rbx + 0x1b50], rax
movss dword [rbx + 0x1b48], xmm0
mov dword [rbx + 0x1b3c], 1
movss dword [rbx + 0x1b4c], xmm1
movss xmm0, dword [rbx + 0x1670]
mov rax, qword [0x1800d9780]
mulss xmm0, dword [0x18006ddf8]
or dword [rax + 0x1b38], 0x40
movss dword [rax + 0x1b98], xmm0
mov r9d, dword [rbx + 0x2ff8]
call fcn.180014560
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1800108d0
lea r11, [0x18006d6c0]
nop
cmp r9b, 0x23
jne 0x1800108b3
cmp byte [r8], r9b
jne 0x1800108b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1800108a0
not ecx
call fcn.180013410
test rax, rax
je 0x180010919
cmp byte [rax + 0x86], 0
je 0x180010919
mov byte [rax + 0x8d], 1
lea r8, str.Tooltip__02d
mov dword [rax + 0xa4], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.180014560
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.18000e180
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18003c840
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x180013ce0
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0xd0]
mov r9, r8
movsxd r8, dword [rcx + 0xc8]
mov r10, rdx
xor ecx, ecx
mov rdx, r9
sub rdx, r10
test r9, r9
mov r8d, dword [rax + r8*4 - 4]
cmove rdx, rcx
mov rcx, r10
jmp fcn.1800146b0