joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005dcd4
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a8
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, qword [rsp + 0x320]
lea rax, [0x1400734d8]
movsxd r13, dword [rsp + 0x318]
mov r14, r8
mov r15, qword [rsp + 0x310]
lea r8, [0x140073f18]
mov qword [rsp + 0x38], r9
mov r12, rcx
mov r9, rcx
mov qword [rsp + 0x30], rdx
xor edi, edi
mov qword [rsp + 0x20], rax
mov rdx, r13
mov rcx, rsi
mov ebx, edi
call fcn.14005646c
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14005de14
test byte [rsp + 0x40], 0x10
je 0x14005dde6
cmp word [rsp + 0x6c], 0x2e
movzx eax, word [rsp + 0x6e]
jne 0x14005dd90
test ax, ax
je 0x14005dde6
cmp word [rsp + 0x6c], 0x2e
jne 0x14005dd90
cmp ax, 0x2e
jne 0x14005dd90
cmp word [rsp + 0x70], di
je 0x14005dde6
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_convert_l1_1_0.dll__wtol
mov edi, eax
test eax, eax
je 0x14005dde4
mov rax, qword [rsp + 0x30]
lea r8, str._s_u_s
mov qword [rsp + 0x28], rax
mov r9, r12
mov rdx, r13
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.14005646c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005dde4
test r14, r14
je 0x14005ddfd
mov rcx, qword [rsp + 0x38]
mov edx, edi
call r14
test eax, eax
jne 0x14005ddfd
xor edi, edi
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14005de07
jmp 0x14005dd62
mov dword [r15], edi
mov ebx, 1
xor edi, edi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x14005de17
mov word [rsi], di
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140052570
add rsp, 0x2a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14005de40
Capabilities:
Get common file path

Disassembly:
mov r9, r8
or r8, 0xffffffffffffffff
jmp fcn.14005de4c
Function at 0x14005de4c
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, r9
mov rbx, rdx
movsxd rdi, ecx
xor ebp, ebp
test r9, r9
jne 0x14005de86
mov eax, 0x80004003
jmp 0x14005dfa7
mov qword [r9], rbp
test rbx, rbx
je 0x14005dfa2
cmp edi, 0x23
ja 0x14005dfa2
movabs rcx, 0x814000000
bt rcx, rdi
jae 0x14005dfa2
mov word [rsp + 0x50], bp
mov esi, ebp
cmp r8, 0xffffffffffffffff
je 0x14005dec7
mov rcx, r8
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov esi, eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, edi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test esi, esi
je 0x14005deed
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test edi, edi
jns 0x14005def8
mov eax, edi
jmp 0x14005dfa7
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x14005dfc5
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [str.Software_]
movups xmmword [rsp + 0x38], xmm0
mov eax, dword [0x140074c10]
mov dword [rsp + 0x48], eax
mov r8d, 9
lea rdx, [rsp + 0x38]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp
test eax, eax
jne 0x14005df49
add rbx, 0x12
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140013dd4
mov rbx, qword [rsp + 0x30]
test rbx, rbx
jne 0x14005df92
mov rax, rbp
mov qword [r14], rax
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005df8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x14005dfa7
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
test rax, rax
je 0x14005dfd0
jmp 0x14005df68
mov eax, 0x80070057
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140052570
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002fa4
nop
mov ecx, 0x8007000e
call fcn.140002fa4
int3
Function at 0x14005dfdc
Capabilities:
Check if file exists
Create directory
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
push rbp
push r14
push r15
lea rbp, [rax - 0x588]
sub rsp, 0x670
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0x560], rax
mov rbx, rcx
mov edi, 0x208
mov r8d, edi
lea rcx, [rsp + 0x30]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r8d, edi
lea rcx, [rbp + 0x350]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor r15d, r15d
lea rax, [rsp + 0x30]
mov r13d, 0x104
lea rcx, [rsp + 0x30]
sub rbx, rax
mov sil, 1
mov r14d, r15d
mov edx, r13d
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14005e07c
movzx eax, word [rbx + rcx]
test ax, ax
je 0x14005e07c
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005e05a
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
je 0x14005e1ce
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005e144
test al, 0x10
jne 0x14005e1c7
mov r8, rdi
lea rcx, [rbp + 0x140]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov ebx, r15d
mov edi, 0x400
lea r9, [rsp + 0x30]
mov rdx, r13
lea rcx, [rbp + 0x140]
test ebx, ebx
jne 0x14005e0f2
lea r8, str._s.bak
call fcn.14000f874
jmp 0x14005e102
lea r8, str._s.bak__d
mov dword [rsp + 0x20], ebx
call fcn.14000f874
test eax, eax
js 0x14005e1ce
lea rcx, [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005e122
inc ebx
cmp ebx, edi
jl 0x14005e0d1
cmp ebx, edi
je 0x14005e1ce
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14005e1ce
mov rcx, qword [rsp + 0x30]
lea rbx, [rsp + 0x30]
cmp cx, 0x5c
jne 0x14005e161
cmp word [rsp + 0x32], cx
movzx esi, sil
cmove esi, r15d
lea rdi, [rbp + 0x350]
jmp 0x14005e1c2
mov word [rdi], cx
add rbx, 2
add rdi, 2
cmp cx, 0x5c
jne 0x14005e18b
test sil, sil
jne 0x14005e196
inc r14d
cmp r14d, 3
sete sil
movzx eax, word [rbx]
movzx ecx, ax
test ax, ax
jne 0x14005e16a
lea rcx, [rbp + 0x350]
mov word [rdi], r15w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005e1bf
xor edx, edx
lea rcx, [rbp + 0x350]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14005e1ce
movzx ecx, word [rbx]
test cx, cx
jne 0x14005e16a
mov eax, 1
jmp 0x14005e1d0
xor eax, eax
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14005f28c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r13, qword [rsp + 0x80]
xor ebx, ebx
mov word [r9], bx
mov r12, rdx
mov r14, r9
mov dword [rax + 0x10], ebx
mov r15, r8
mov qword [rax + 0x18], rbx
mov word [r13], bx
mov rbp, rcx
mov word [r8], bx
mov edi, 1
mov word [rdx], bx
lea rdx, [rax + 0x10]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x14005f361
mov ecx, esi
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov rbx, rax
test rax, rax
jne 0x14005f2fa
mov eax, 0x8007000e
jmp 0x14005f363
mov r9, rbx
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14005f358
lea r9, [rsp + 0x80]
mov rcx, rbx
lea r8, [rsp + 0x70]
lea rdx, [0x140073508]
call sub.VERSION.dll_VerQueryValueW
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14005f358
movzx eax, word [rcx + 0xa]
xor edi, edi
mov word [r12], ax
movzx eax, word [rcx + 8]
mov word [r15], ax
movzx eax, word [rcx + 0xe]
mov word [r14], ax
movzx eax, word [rcx + 0xc]
mov word [r13], ax
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x14005f378
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x38
test rcx, rcx
jne 0x14005f388
mov eax, 0x80004003
jmp 0x14005f39b
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor ecx, ecx
xor r8d, r8d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add rsp, 0x38
ret
Function at 0x14005fa00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140090008]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15d, r9d
mov r14, r8
mov rbx, rdx
mov r8, rcx
mov rsi, qword [rbp + 0x3f0]
xor r12d, r12d
test rcx, rcx
je 0x14005fc25
cmp word [rcx], r12w
je 0x14005fc25
test r14, r14
je 0x14005fc25
test rsi, rsi
je 0x14005fc25
mov word [r14], r12w
mov dword [rsi], r12d
mov edi, r12d
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x58], r12
mov r13d, 0x104
mov edx, r13d
lea rcx, [rsp + 0x60]
lea r9, str.SOFTWAREMicrosoftNET_Framework_SetupNDP_
lea rax, [rsp + 0x60]
sub r9, rax
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14005fac4
movzx eax, word [r9 + rcx]
test ax, ax
je 0x14005fac4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14005faa1
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r12w
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140023324
test rbx, rbx
je 0x14005fb0f
cmp word [rbx], r12w
je 0x14005fb0f
lea r8, [0x140073508]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140023324
mov r8, rbx
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.140023324
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005fb4f
mov eax, r12d
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], r12d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14005fc13
mov dword [rsp + 0x40], r13d
lea r9, [rsp + 0x40]
lea r8, str.Version
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x48]
call fcn.14005fc54
movzx ebx, ax
mov r13d, 0x80070000
or ebx, r13d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14005fc13
mov rdx, r15
lea r8, [rbp + 0x170]
mov rcx, r14
call fcn.1400232b8
mov dword [rsp + 0x34], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, [0x14006a368]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005fbf7
cmp dword [rsp + 0x30], 4
jne 0x14005fc10
movzx ecx, ax
or ecx, r13d
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14005fc10
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14005fc10
mov dword [rsi], eax
mov ebx, r12d
test rdi, rdi
je 0x14005fc21
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x14005fc2a
mov eax, 0x80004003
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140052570
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x490
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005fc54
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rdi, r9
mov rax, r8
mov rbx, rdx
test r9, r9
je 0x14005fd11
mov rcx, qword [rcx]
xor r8d, r8d
mov qword [r11 - 0x10], r9
lea r9, [r11 + 0x20]
mov qword [r11 - 0x18], rdx
mov rdx, rax
mov dword [rsp + 0x58], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test eax, eax
jne 0x14005fcff
test rbx, rbx
je 0x14005fcff
cmp dword [rdi], esi
jbe 0x14005fcfc
mov ecx, dword [rsp + 0x58]
sub ecx, 1
je 0x14005fce1
sub ecx, 1
je 0x14005fce1
cmp ecx, 5
jne 0x14005fcf2
test byte [rdi], 1
jne 0x14005fcf2
mov eax, dword [rdi]
shr eax, 1
cmp eax, 1
jb 0x14005fcf2
mov ecx, dword [rdi]
shr rcx, 1
cmp word [rbx + rcx*2 - 2], si
jne 0x14005fcf2
cmp eax, 1
jbe 0x14005fcff
cmp word [rbx + rcx*2 - 4], si
jne 0x14005fcf2
jmp 0x14005fcff
test byte [rdi], 1
jne 0x14005fcf2
mov eax, dword [rdi]
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x14005fcff
mov word [rbx], si
mov eax, SafeArrayGetDim
jmp 0x14005fd01
mov word [rbx], si
mov eax, edx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002fa4
int3
Function at 0x140060c34
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov r14, rcx
xor r15d, r15d
mov edi, r15d
call fcn.140002dfc
mov rcx, rax
test rax, rax
je 0x140060d5c
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x78], 0x208
lea ecx, [r15 + 1]
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
mov edx, 0x104
sub eax, edx
or eax, ecx
jge 0x140060ca7
lea rcx, [rsp + 0x30]
call fcn.1400028a0
mov rbx, qword [rsp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcsnlen
test eax, eax
js 0x140060d51
cmp eax, dword [rbx - 0xc]
jg 0x140060d51
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r15w
test ebp, ebp
jne 0x140060d15
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14001b014
mov rbx, qword [rsp + 0x30]
mov edx, dword [rbx - 0x10]
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test rax, rax
je 0x140060d4b
mov qword [rsi], rax
lea edi, [rbp + 1]
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140060d30
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call fcn.140002a28
nop
mov ecx, 0x80070057
call fcn.140002fa4
nop
mov ecx, 0x80004005
call fcn.140002fa4
int3
Function at 0x140009ed0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 8
lea r9, [rcx + rdx]
mov r8, rcx
cmp rdx, 0x10
jb 0x140009f7f
mov qword [rsp + 0x10], rbx
mov eax, 0x61c8864f
mov qword [rsp], rdi
xor ebx, ebx
lea rdi, [r9 - 0x10]
mov r10d, 0x24234428
mov r11d, 0x85ebca77
imul ecx, dword [r8], 0x7a143589
sub r10d, ecx
imul ecx, dword [r8 + 4], 0x7a143589
rol r10d, 0xd
imul r10d, r10d, 0x9e3779b1
sub r11d, ecx
imul ecx, dword [r8 + 8], 0x7a143589
rol r11d, 0xd
imul r11d, r11d, 0x9e3779b1
sub ebx, ecx
imul ecx, dword [r8 + 0xc], 0x7a143589
rol ebx, 0xd
add r8, 0x10
imul ebx, ebx, 0x9e3779b1
sub eax, ecx
rol eax, 0xd
imul eax, eax, 0x9e3779b1
cmp r8, rdi
jbe 0x140009f05
mov rdi, qword [rsp]
rol eax, 0x12
rol ebx, 0xc
add eax, ebx
rol r11d, 7
mov rbx, qword [rsp + 0x10]
add eax, r11d
rol r10d, 1
add eax, r10d
jmp 0x140009f84
mov eax, 0x165667b1
add eax, edx
lea rdx, [r8 + 4]
cmp rdx, r9
ja 0x140009fae
nop
imul ecx, dword [r8], 0x3d4d51c3
mov r8, rdx
add rdx, 4
sub eax, ecx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp rdx, r9
jbe 0x140009f90
cmp r8, r9
jae 0x140009fdd
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
imul edx, ecx, 0x165667b1
add edx, eax
rol edx, 0xb
imul eax, edx, 0x9e3779b1
cmp r8, r9
jb 0x140009fc0
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
imul eax, ecx, 0x85ebca77
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul edx, ecx, 0xc2b2ae3d
mov eax, edx
shr eax, 0x10
xor eax, edx
add rsp, 8
ret

Function at 0x140028820
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx edx, byte [rsp + 0x20]
mov ecx, 0x53b2070f
call fcn.140028850
add rsp, 0x30
pop rdi
ret

Function at 0x140028cb0
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
movsx eax, byte [rsp + 0x10]
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
mov rcx, qword [rsp + 8]
mov dword [rcx], eax
ret

Function at 0x140029b60
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140028990
mov dword [rsp + 0x20], 0
jmp 0x140029b8c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140028c40
mov rcx, rax
call fcn.140028930
cmp eax, 0xf8f45725
jne 0x140029bb9
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140028a20
jmp 0x140029bbb
jmp 0x140029b82
add rsp, 0x48
ret
Function at 0x14000b340
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rbx, rcx
lea rax, [rbp + 0x28]
mov ecx, 2
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
mov qword [rbp - 8], rax
call fcn.140011cf0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rbp - 8]
mov ecx, 2
call fcn.140011cf0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x14000b3b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movsxd rsi, dword [0x1400650a4]
mov rbx, rcx
test esi, esi
jle 0x14000b4e0
mov rax, qword [0x1400650a8]
xor r9d, r9d
add rax, 0x18
nop dword [rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000b3fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14000b483
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14000b3e0
mov rcx, rbx
call fcn.14000be60
mov rdi, rax
test rax, rax
je 0x14000b502
mov rax, qword [0x1400650a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.14000bfa0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400650a8]
lea rdx, [rbp - 0x30]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000b4e7
mov eax, dword [rbp - 0xc]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000b47c
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x14000b490
add dword [0x1400650a4], 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 2
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400650a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000b47c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.14000b340
nop word [rax + rax]
xor esi, esi
jmp 0x14000b408
mov rax, qword [0x1400650a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.14000b340
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.14000b340
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x14000ba90
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
lea r13, [0x140065100]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400650e0]
test rbx, rbx
je 0x14000baf5
mov r12, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, dword [rbx]
call r12
mov rsi, rax
call rdi
test rsi, rsi
je 0x14000baec
test eax, eax
jne 0x14000baec
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000bad0
mov rcx, r13
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000be60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14005d490]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000be80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000be88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000be80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000bedd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000bed4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000be80
add rax, 0x28
cmp rax, r9
jne 0x14000bec0
xor eax, eax
ret

Function at 0x14000bee0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14005d490]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000beff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000bf08
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000beff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000bfa0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14005d490]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000bfbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000bfc8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400141c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
xor r8d, r8d
mov r9d, 0x20119
lea rdx, str.SOFTWAREMicrosoftCryptography
push rbx
mov rbx, rcx
mov rcx, 0xffffffff80000002
sub rsp, 0x148
lea rax, [rsp + 0x38]
mov dword [rsp + 0x34], 0x100
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140014244
lea rax, [rsp + 0x34]
lea rsi, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rdx, str.MachineGuid
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x140014242
call rax
mov rdx, rsi
jmp 0x14001424b
call rax
lea rdx, [0x14005a0da]
mov rcx, rbx
call fcn.140022180
add rsp, 0x148
mov rax, rbx
pop rbx
pop rsi
ret