joyce8/EMBER2024-capa huggingface dataset:
Function at 0x164cb4c40
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [r11 + 8], rcx
push rbp
push r12
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x164cf5010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov ebp, dword [r11 + 0x10]
mov r14, rcx
mov r15, r8
mov r12, r9
cmp ebp, 0xffffffff
jne 0x164cb4ca3
mov rax, qword [rsp + 0xc8]
xor edx, edx
mov qword [r11 - 0x70], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x78], rax
call sym.aswCmnBS.dll_usnUpdateFlags
jmp 0x164cb4d9b
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rdi
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
movabs rax, 0x5c003a0041
mov qword [rsp + 0x38], rax
test esi, esi
je 0x164cb4d8f
mov qword [rsp + 0x58], r13
mov r13, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rbx
test sil, 1
je 0x164cb4d78
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, ebp
jne 0x164cb4d78
lea rcx, [rsp + 0x38]
call qword [sym.imp.aswCmnOS.dll_dep_fsIsVolumeMounted]
mov ebx, eax
test eax, eax
jne 0x164cb4d73
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov edx, 0x8000031
lea rcx, [rsp + 0x38]
call qword [sym.imp.aswCmnOS.dll_dep_fsOpenFile]
test eax, eax
jne 0x164cb4d67
mov rax, qword [rsp + 0xc0]
mov r9, r12
mov rdx, qword [rsp + 0x30]
mov r8, r15
mov qword [rsp + 0x28], r13
mov rcx, r14
mov qword [rsp + 0x20], rax
call sym.aswCmnBS.dll_usnUpdateFlags
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.aswCmnOS.dll_dep_fsCloseFile]
jmp 0x164cb4d6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x164cb4d78
test edi, edi
cmove edi, ebx
inc word [rsp + 0x38]
shr esi, 1
jne 0x164cb4ce0
mov r13, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov eax, edi
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.164cd6f70
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x164cc13f0
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x468
mov rax, qword [0x164cf5010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rax, qword [0x164cf5e20]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x164cc1426
mov rcx, qword [rax]
xor edx, edx
test byte [rsp + 0x478], 4
mov qword [rax + 0x10], rdx
mov word [rcx], dx
jne 0x164cc15a3
mov rax, qword [0x164cf5e10]
mov qword [rsp + 0x480], rbx
lea rbx, [rdx - 1]
mov qword [rsp + 0x460], rdi
test rax, rax
je 0x164cc14d6
cmp qword [rax + 0x10], rdx
je 0x164cc14d6
cmp qword [rax + 0x18], 8
jb 0x164cc146d
mov rax, qword [rax]
lea rdx, [rsp + 0x30]
sub rdx, rax
nop word [rax + rax]
movzx ecx, word [rax]
mov word [rdx + rax], cx
lea rax, [rax + 2]
test cx, cx
jne 0x164cc1480
mov edi, 0x5c
lea rcx, [rsp + 0x30]
mov edx, edi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
je 0x164cc14ae
cmp word [rax + 2], 0
je 0x164cc1503
lea rcx, [rsp + 0x30]
mov rax, rbx
nop word [rax + rax]
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x164cc14c0
lea rax, [rsp + rax*2 + 0x30]
mov word [rax], di
jmp 0x164cc1503
mov rcx, qword [0x164cf5e38]
mov r8d, 0x104
mov word [rsp + 0x30], dx
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rsp + 0x30]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rdi, qword [rsp + 0x460]
test rax, rax
je 0x164cc1581
movups xmm0, xmmword [str.OEM.INI]
lea r9, [rsp + 0x240]
lea r8, [0x164ce0790]
movups xmmword [rax + 2], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Vendor
lea rcx, [0x164ce2570]
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x240]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x164cc1560
mov rcx, qword [0x164cf5e20]
lea rdx, [rsp + 0x240]
mov r8, rbx
call fcn.164c981c0
mov rbx, qword [rsp + 0x480]
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.164cd6f70
add rsp, 0x468
ret
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.164cd6f70
add rsp, 0x468
ret
Function at 0x164cc3260
Capabilities:
Get common file path
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x240
mov rax, qword [0x164cf5010]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rcx, qword [0x164cf5e48]
xor esi, esi
mov edi, dword [rsp + 0x250]
mov ebx, esi
test rcx, rcx
jne 0x164cc32c7
xor r9d, r9d
lea ecx, [rsi + 1]
xor r8d, r8d
xor edx, edx
call sym.aswCmnBS.dll_aswcmnbsDllMain
mov ebx, eax
test eax, eax
jne 0x164cc3397
or dword [0x164cf5e44], 2
mov rcx, qword [0x164cf5e48]
call qword [sym.imp.aswCmnOS.dll_dep_csWait]
mov eax, dword [0x164cf5e40]
mov ecx, eax
inc eax
mov dword [0x164cf5e40], eax
test ecx, ecx
jne 0x164cc3388
call qword [sym.imp.aswCmnOS.dll_dep_osGetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov r8d, 0x104
mov word [rsp + 0x20], si
lea rdx, [rsp + 0x20]
lea rcx, str._SystemRoot_
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movzx eax, word [rsp + 0x20]
cmp si, ax
je 0x164cc3324
mov ecx, 0x25
cmp cx, ax
jne 0x164cc3346
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, [rsp + 0x20]
lea rcx, str.SystemRoot
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, edi
call qword [sym.imp.aswCmnOS.dll_cmnosInit]
mov ebx, eax
test eax, eax
jne 0x164cc3381
or dword [0x164cf5e44], 1
mov cl, 1
call fcn.164cc1260
mov ebx, eax
test eax, eax
jne 0x164cc3381
mov edx, edi
call fcn.164cc13f0
mov edx, edi
call fcn.164cc1fc0
mov edx, edi
call fcn.164cc2900
mov ebx, esi
jmp 0x164cc3388
xor ecx, ecx
call sym.aswCmnBS.dll_cmnbFree
mov rcx, qword [0x164cf5e48]
call qword [sym.imp.aswCmnOS.dll_dep_csRelease]
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.164cd6f70
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x164ccf370
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0xff50]
mov eax, 0x10050
call fcn.164cd8480
sub rsp, rax
mov rax, qword [0x164cf5010]
xor rax, rsp
mov qword [rbp + 0xff40], rax
mov r14, qword [rbp + 0xff78]
mov rdi, qword [rbp + 0xff70]
test r14, r14
je 0x164ccf57c
cmp word [r14], 0
je 0x164ccf57c
cmp qword [rdi + 0x18], 8
mov rax, rdi
mov qword [rsp + 0x10080], rbx
mov qword [rsp + 0x10088], rsi
jb 0x164ccf3e3
mov rax, qword [rdi]
xor esi, esi
mov qword [rdi + 0x10], rsi
mov word [rax], si
mov rbx, qword [0x164cf5d98]
mov word [rsp + 0x40], si
test rbx, rbx
je 0x164ccf412
cmp qword [rbx + 0x18], 8
jb 0x164ccf407
mov rbx, qword [rbx]
cmp word [rbx], si
je 0x164ccf4fc
jmp 0x164ccf419
lea rbx, str.SoftwareAVAST_SoftwareAvast
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x10000
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x3c], esi
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x164ccf481
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0x40], si
jne 0x164ccf539
cmp word [rbx], si
je 0x164ccf4fc
lea rax, [rsp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x164ccf4f5
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x38], 0x10000
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0x40], si
jne 0x164ccf539
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x40]
lea r8, [0x164ce0790]
mov dword [rsp + 0x20], 0x8000
mov rdx, r14
lea rcx, str.parameters
call sym.aswCmnBS.dll_iniGetAvastIniString
cmp word [rsp + 0x40], si
jne 0x164ccf539
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.aswCmnOS.dll_dep_strGetEnvVar]
jmp 0x164ccf55c
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x164ccf545
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.164c981c0
cmp qword [rdi + 0x10], rsi
mov eax, 0x57
mov rbx, qword [rsp + 0x10080]
cmove esi, eax
mov eax, esi
mov rsi, qword [rsp + 0x10088]
jmp 0x164ccf581
mov eax, 0x57
mov rcx, qword [rbp + 0xff40]
xor rcx, rsp
call fcn.164cd6f70
add rsp, 0x10050
pop r14
pop rdi
pop rbp
ret
Function at 0x140001070
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x220
xor ebx, ebx
lea rsi, [0x140002260]
mov edi, ebx
nop dword [rax]
movzx eax, byte [rdi + rsi]
lea rcx, str.x_02x
xor al, 1
movzx edx, al
mov byte [rsp + rdi + 0x20], dl
call fcn.140001010
inc rdi
cmp rdi, 0x37a
jl 0x140001090
lea rcx, [0x140002248]
call fcn.140001010
movzx edx, byte [rsp + rbx + 0x20]
lea rcx, str.x_02x
xor edx, 1
call fcn.140001010
inc rbx
cmp rbx, 0x37a
jl 0x1400010c1
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea r11, [rsp + 0x220]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140003050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400030ad
lea rbx, [0x140053840]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003094
cmp r10, 2
jb 0x140003094
cmp byte [r9], r8b
jne 0x140003094
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003070
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400030ef
lea rbx, [0x140053840]
cmp r8b, 0x23
jne 0x1400030d3
cmp byte [r9], r8b
jne 0x1400030d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400030c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000324a
mov qword [r8], 0
lea rdx, [0x14005339c]
call fcn.140003100
mov rbx, rax
test rax, rax
jne 0x14000326a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140003341
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003341
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140003341
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003341
cmp rdi, 0xffffffffffffffff
je 0x140003341
mov rax, qword [0x140061888]
test rax, rax
je 0x1400032de
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140003341
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000332e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140061888]
test rax, rax
je 0x140003323
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000334a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000333c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000334c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140006b30
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140053840]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x140061888]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ee8], ebx
jne 0x140006bc6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001a480
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140006bd0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x140053840]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1400136e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140061010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140061888]
mov edi, ecx
cmp byte [rbx + 0x4a2d], 0
jne 0x140013741
cmp byte [rbx + 0x4a2e], 0
jne 0x140013741
movsx r9d, word [rbx + 0x5b32]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002eb0
test dil, 1
je 0x140013868
jmp 0x1400137ca
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b32]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140059064]
mulss xmm1, dword [0x140059048]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4790], rax
mov dword [rbx + 0x477c], 1
movss dword [rbx + 0x4788], xmm0
movss dword [rbx + 0x478c], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x140058f94]
or dword [rbx + 0x4778], 0x41
movss dword [rbx + 0x47d8], xmm0
call fcn.140002eb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140013820
lea r11, [0x140053840]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140013803
cmp byte [r8], r9b
jne 0x140013803
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 0x1400137f0
not ecx
call fcn.14000a930
test rax, rax
je 0x140013868
cmp byte [rax + 0xae], 0
je 0x140013868
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b32]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b32]
call fcn.140002eb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d110
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400500c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140018e20
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c18], 0
lea rbx, [rcx + 0x5c20]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140018ec7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140018e7a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001b180
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400039c0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c18]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c28]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140061880]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140018ecf
mov rcx, rbx
call fcn.1400039c0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140019440
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140061888]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400194a3
mov qword [rsp], rbx
lea rbx, [0x140053840]
nop dword [rax]
cmp r9b, 0x23
jne 0x140019483
cmp byte [r8], r9b
jne 0x140019483
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140019470
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b90]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1400194d7
mov r10, qword [r10 + 0x5b98]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1400194de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1400194c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140050d20
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140050d6a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140050d6a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140050d6a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140050d6a
cmp dword [rcx + 0x84], 0xe
jbe 0x140050d6a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140050d6c
xor al, al
add rsp, 0x28
ret
Function at 0x140009b6b
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, ecx
mov eax, 0x30
mov rax, qword gs:[eax]
mov rax, qword [rax + 0x60]
mov rdi, qword [rax + 0x18]
add rdi, 0x10
mov rdi, qword [rdi]
movzx edx, word [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
call fcn.140009c4b
cmp eax, 0x1edab0ed
jne 0x140009b93
mov rbx, qword [rdi + 0x30]
movsxd rax, dword [rbx + 0x3c]
mov eax, dword [rax + rbx + 0x88]
test rax, rax
je 0x140009c29
mov r15d, dword [rax + rbx + 0x18]
mov ecx, dword [rax + rbx + 0x1c]
add rcx, rbx
mov qword [rsp + 0x20], rcx
mov r12d, dword [rax + rbx + 0x20]
add r12, rbx
mov r13d, dword [rax + rbx + 0x24]
add r13, rbx
xor edi, edi
xor r14d, r14d
cmp r14, r15
je 0x140009c2b
mov rbp, r14
mov ecx, dword [r12 + r14*4]
add rcx, rbx
mov rax, rcx
mov rdx, rax
inc rax
cmp byte [rdx], 0
jne 0x140009bf6
lea r14, [rbp + 1]
sub rdx, rcx
call fcn.140009c4b
cmp eax, esi
jne 0x140009be4
movzx eax, word [r13 + rbp*2]
cmp r15, rax
jbe 0x140009c47
mov rcx, qword [rsp + 0x20]
mov edi, dword [rcx + rax*4]
add rdi, rbx
jmp 0x140009c2b
xor edi, edi
movzx eax, word [rdi + 4]
add rdi, 0x12
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2

Function at 0x140009c4b
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0x1505
xor r8d, r8d
cmp r8, rdx
jae 0x140009c87
mov r9b, byte [rcx + r8]
test r9b, r9b
jne 0x140009c66
inc r8
jmp 0x140009c53
lea r10d, [r9 - 0x20]
cmp r9b, 0x61
movzx r9d, r9b
movzx r10d, r10b
cmovb r10d, r9d
imul r9d, eax, 0x21
movzx eax, r10b
add eax, r9d
jmp 0x140009c61
ret

Function at 0x14000a76a
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
test r9, r9
je 0x14000a7ad
mov r15, r9
mov r14, r8
mov rbx, qword [rsp + 0x100]
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x14000a7ca
Function at 0x14000c1b1
Capabilities:
Query environment variable

Disassembly:
mov r8d, 0x11
jmp fcn.14000be5a

Function at 0x14000c229
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
test al, al
je 0x14000c256
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
add rsp, 0x38
ret
call fcn.14000a281
ud2

Function at 0x14000c48f
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x14000c4ae
mov rax, qword [rcx]
and qword [rcx], 0
test rax, rax
je 0x14000c4ae
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
jmp 0x14000c4e2
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14000c4dd
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14000c4e2
call fcn.14000c229
mov ecx, dword [0x140030b84]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov qword [rcx + 0xa0], 1
mov qword [rcx + 0xa8], rax
mov qword [rcx + 0xb0], rdx
add rsp, 0x38
ret

Function at 0x14000f693
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x2c]
mov rcx, rax
call sub.SHELL32.dll_CommandLineToArgvW
test rax, rax
je 0x14000f72c
mov rdi, rax
movsxd r12, dword [rsp + 0x2c]
lea rbx, [rsp + 0x30]
mov qword [rbx], 8
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
shl r12, 3
xor r13d, r13d
lea r14, [rsp + 0x48]
cmp r12, r13
je 0x14000f711
mov r15, qword [rdi + r13]
mov rcx, r15
call fcn.140017004
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.14000cc2d
mov rcx, rbx
mov rdx, r14
call fcn.14000f91b
add r13, 8
jmp 0x14000f6e1
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
jmp 0x14000f73a
mov qword [rsi], 8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret