joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011740
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov esi, r8d
mov rdi, rdx
test r9d, r9d
je 0x140011795
mov rdx, rcx
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
test eax, eax
jne 0x140011783
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8d, ebx
test esi, esi
sete r8b
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140011783
test esi, esi
jne 0x14001176f
xor edx, edx
mov rcx, rdi
call fcn.140010618
test eax, eax
je 0x14001176f
lea ebx, [rsi + 1]
jmp 0x140011783

Function at 0x1400117c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
and qword [rax - 0x20], 0
mov r15, rdx
and qword [rax - 0x28], 0
mov r12, rcx
mov esi, 0x104
lea rcx, [rax - 0x20]
mov edx, esi
mov r14, r9
mov rbp, r8
or rdi, 0xffffffffffffffff
call fcn.140010aa8
mov ebx, eax
test eax, eax
js 0x1400118f9
mov rdx, qword [rsp + 0x48]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xor esi, esi
cmp rdi, 0xffffffffffffffff
jne 0x1400118bc
mov r8, qword [rsp + 0x48]
lea rdx, str._s_S_05d._S
mov qword [rsp + 0x28], r15
lea rcx, [rsp + 0x40]
mov r9, r12
mov dword [rsp + 0x20], esi
call fcn.140010b00
mov ebx, eax
test eax, eax
js 0x1400118f9
and qword [rsp + 0x30], 0
lea eax, [rdi + 2]
mov rcx, qword [rsp + 0x40]
mov r8d, eax
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400118ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80070050
jne 0x1400118aa
xor ebx, ebx
jmp 0x1400118ae
test ebx, ebx
js 0x1400118f9
inc esi
cmp esi, 0x3e8
jl 0x140011820
test rbp, rbp
je 0x1400118d9
mov rdx, qword [rsp + 0x40]
mov r9d, 0xfde9
xor r8d, r8d
mov rcx, rbp
call fcn.14001095c
mov ebx, eax
test r14, r14
je 0x1400118e1
mov qword [r14], rdi
test ebx, ebx
js 0x1400118ea
test r14, r14
jne 0x1400118f9
cmp rdi, 0xffffffffffffffff
je 0x1400118f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011908
call fcn.140010d28
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011917
call fcn.140010d28
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140011938
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, rdx
mov rbp, rcx
xor ebx, ebx
lea rdx, [rsp + 0x50]
and qword [rsp + 0x40], rbx
mov ecx, 0x104
mov r14, r9
mov r15, r8
or rdi, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400119a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011a73
xor esi, esi
cmp rdi, 0xffffffffffffffff
jne 0x140011a40
mov qword [rsp + 0x28], r12
lea r8, [rsp + 0x50]
mov r9, rbp
mov dword [rsp + 0x20], esi
lea rdx, str._s_s_05d._s
lea rcx, [rsp + 0x40]
call fcn.14001079c
mov ebx, eax
test eax, eax
js 0x140011a73
and qword [rsp + 0x30], 0
lea eax, [rdi + 2]
mov rcx, qword [rsp + 0x40]
mov r8d, eax
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011a32
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, 0x80070050
jne 0x140011a2e
xor ebx, ebx
jmp 0x140011a32
test ebx, ebx
js 0x140011a73
inc esi
cmp esi, 0x3e8
jl 0x1400119a4
test r14, r14
je 0x140011a48
mov qword [r14], rdi
test r15, r15
je 0x140011a5b
mov rax, qword [rsp + 0x40]
and qword [rsp + 0x40], 0
mov qword [r15], rax
test ebx, ebx
js 0x140011a64
test r14, r14
jne 0x140011a73
cmp rdi, 0xffffffffffffffff
je 0x140011a73
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140011a82
call fcn.140010d28
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400148a0
add rsp, 0x270
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140011aa8
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140011b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140011b2d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140011ae1
mov ebx, 0x80070005
jmp 0x140011b3b
test al, 0x10
je 0x140011aec
mov ebx, 0x8000ffff
jmp 0x140011b3b
test al, 7
je 0x140011b3b
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140011b1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011b3b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140011b3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140011c80
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, rdx
and dword [rax + 0x20], ebx
lea rdx, [rax + 0x20]
and qword [rax - 0x20], rbx
mov r14, r8
and dword [rax - 0x28], ebx
mov rbp, rcx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
jne 0x140011cd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011d6f
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
jne 0x140011cf2
mov ebx, 0x8007000e
jmp 0x140011d6f
mov edx, dword [rsp + 0x68]
mov r9, rax
mov r8d, esi
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140011d20
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011d66
lea r9, [rsp + 0x20]
mov rcx, rdi
lea r8, [rsp + 0x28]
lea rdx, [0x140029d10]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x140011d55
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140011d66
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rdx + 8]
mov dword [r15], ecx
mov ecx, dword [rdx + 0xc]
mov dword [r14], ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400120d4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov r13, r9
mov rcx, rdx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
or r10d, 0xffffffff
lea r9, [0x140038b50]
mov r11d, eax
xor ebx, ebx
add r11d, r11d
mov rdi, r12
cmp dword [0x140038f50], ebx
jne 0x140012160
mov dword [0x140038f50], 1
mov ecx, ebx
mov r8, r9
mov eax, ecx
mov edx, 8
test al, 1
je 0x140012147
shr eax, 1
xor eax, 0xedb88320
jmp 0x140012149
shr eax, 1
dec edx
test edx, edx
jg 0x14001213a
mov dword [r8], eax
inc ecx
add r8, 4
cmp ecx, 0xff
jle 0x140012133
test r11d, r11d
je 0x14001218a
mov edx, r11d
movzx ecx, byte [rdi]
mov eax, r10d
xor rcx, rax
inc rdi
movzx eax, cl
mov ecx, r10d
shr ecx, 8
mov r10d, dword [r9 + rax*4]
xor r10d, ecx
sub rdx, 1
jne 0x140012168
xor edx, edx
not r10d
mov eax, r10d
mov r14d, ebx
div dword [r15 + 0x18]
mov edi, edx
cmp dword [r15 + 0x18], ebx
jbe 0x1400121d5
mov rbp, qword [r15 + 0x10]
mov eax, edi
lea rsi, [rax + rax*2]
mov rcx, qword [rbp + rsi*8 + 8]
cmp dword [rsp + 0x60], ebx
je 0x1400121f9
test rcx, rcx
je 0x1400121c8
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140012222
cmp qword [rbp + rsi*8 + 8], rbx
jne 0x14001220b
cmp dword [rbp + rsi*8], ebx
jne 0x14001220b
mov ebx, 1
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
test rcx, rcx
je 0x140012222
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x140012222
inc edi
cmp edi, dword [r15 + 0x18]
jb 0x140012217
sub edi, dword [r15 + 0x18]
inc r14d
cmp r14d, dword [r15 + 0x18]
jb 0x1400121a1
jmp 0x1400121d5
mov dword [r13], edi
jmp 0x1400121da

Function at 0x140013054
Capabilities:
Read http header

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
mov dword [rsp + 0x30], 0x10
and qword [r11 - 0x30], rax
lea r9, [r11 - 0x20]
mov qword [r11 - 0x20], rax
mov rdi, rdx
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x28]
mov edx, 0x4000000b
mov qword [r11 - 0x38], rax
xor ebx, ebx
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x1400130c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400130e6
mov rdx, rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
jne 0x1400130e6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400148a0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140013100
Capabilities:
Read http header

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov dword [rsp + 0x50], 4
lea rax, [r11 + 0x18]
xor ebx, ebx
and qword [r11 - 0x10], rbx
lea r9, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov edx, 0x20000005
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x140013153
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14001315a
mov ecx, dword [rsp + 0x58]
mov qword [rdi], rcx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14001384c
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x50
lea rax, [r11 + 0x18]
xor ebx, ebx
and qword [r11 - 0x10], rbx
mov r8d, edx
and dword [rsp + 0x40], ebx
mov ebp, r9d
mov qword [r11 - 0x28], rax
mov rdx, rcx
and dword [rsp + 0x28], ebx
lea rax, [r11 - 0x10]
xor r9d, r9d
mov qword [r11 - 0x38], rax
mov ecx, 0x900
xor edi, edi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov esi, eax
test eax, eax
jne 0x1400138bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14001394b
test esi, esi
je 0x14001390a
mov rcx, qword [0x1400380b0]
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, esi
mov edx, edi
sub r8d, edi
add rdx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013902
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14001394b
add edi, dword [rsp + 0x40]
cmp edi, esi
jb 0x1400138c1
test ebp, ebp
je 0x14001394b
mov rdx, qword [0x1400380c0]
lea r9, [rsp + 0x40]
mov rcx, qword [0x1400380b0]
mov r8d, 2
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001394b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001395b
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140013974
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and qword [rax - 0x18], 0
mov ebp, r8d
mov r8, rdx
xor edi, edi
and dword [rax + 0x20], edi
mov rdx, rcx
lea rcx, [rax - 0x18]
call fcn.140010b24
mov ebx, eax
test eax, eax
js 0x140013a49
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test eax, eax
je 0x140013a08
mov rcx, qword [0x1400380b0]
lea r9, [rsp + 0x68]
and qword [rsp + 0x20], 0
mov r8d, esi
mov edx, edi
sub r8d, edi
add rdx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013a00
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140013a49
add edi, dword [rsp + 0x68]
cmp edi, esi
jb 0x1400139bf
test ebp, ebp
je 0x140013a49
mov rdx, qword [0x1400380c0]
lea r9, [rsp + 0x68]
mov rcx, qword [0x1400380b0]
mov r8d, 2
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140013a49
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140013a58
call fcn.140010d28
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140013b10
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rbp + 0x370], rax
xor ebx, ebx
lea rdi, str.unknown
cmp qword [0x1400380b0], 0xffffffffffffffff
mov r8d, 0x104
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
je 0x140013c90
cmp qword [0x140038f58], rbx
je 0x140013c90
lea rdx, [rsp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140013b95
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.140015700
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x50]
call fcn.140011c80
test eax, eax
jns 0x140013bb5
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x40], ebx
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x140013bdf
xor edx, edx
lea rcx, [rbp + 0x160]
mov r8d, 0x208
call fcn.140015700
xor ecx, ecx
call fcn.140014418
mov r8, rax
lea rdx, str._Logging_started:__S_
mov ecx, 1
call fcn.140013e64
mov edx, dword [rsp + 0x40]
lea r8, [rbp + 0x160]
mov r9d, dword [rsp + 0x44]
movzx ecx, dx
mov qword [rsp + 0x38], r8
lea r8, [rsp + 0x50]
mov dword [rsp + 0x30], ecx
mov ecx, 1
shr edx, 0x10
mov dword [rsp + 0x28], edx
lea rdx, str.Executable:__S_v_d._d._d._d_r_nComputer__:__S
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x20], eax
call fcn.140013e64
mov ecx, dword [0x1400380b8]
test ecx, ecx
je 0x140013c73
sub ecx, 1
je 0x140013c6a
sub ecx, 1
je 0x140013c61
cmp ecx, 1
jne 0x140013c7a
lea rdi, str.debug
jmp 0x140013c7a
lea rdi, str.verbose
jmp 0x140013c7a
lea rdi, str.standard
jmp 0x140013c7a
lea rdi, str.none
mov r8, rdi
lea rdx, str.____logging_level:__s____
mov ecx, 1
call fcn.140013e64
jmp 0x140013c95
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.1400148a0
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret

Function at 0x140013e88
Capabilities:
Write file on windows

Disassembly:
mov r9, r8
mov r10, rdx
cmp ecx, 4
je 0x140013e9b
cmp dword [0x1400380b8], ecx
jl 0x140013ec0
cmp qword [0x1400380b0], 0xffffffffffffffff
je 0x140013ec0
cmp qword [0x140038f58], 0
je 0x140013ec0
mov r8d, 1
mov rdx, r9
mov rcx, r10
jmp fcn.140013974
mov eax, 1
ret
Function at 0x140013f28
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
mov r8, rdx
mov edx, 0x104
lea rcx, [rsp + 0x20]
or r9, 0xffffffffffffffff
call fcn.140018a30
cmp eax, 0x50
jne 0x140013f6c
mov eax, 0x8007007a
jmp 0x140013fad
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, eax
test eax, eax
jne 0x140013fce
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.1400163ac
test rax, rax
je 0x140013f9f
mov word [rax], di
cmp di, word [rax + 2]
je 0x140013f82
cmp word [rsp + 0x20], di
je 0x140013fab
test rax, rax
jne 0x140013f6e
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400148a0
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
add eax, 0xfffffffe
cmp eax, 1
jbe 0x140013fe5
movzx eax, cx
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140013fe7
mov eax, edi
cmp eax, 1
jne 0x140013fad
jmp 0x140013f6e

Function at 0x140013ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x1400380c8]
xor rax, rsp
mov qword [rbp + 0x160], rax
and qword [rsp + 0x40], 0
mov rdi, rcx
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x60]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jne 0x1400140f5
lea rax, [rsp + 0x40]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014108
mov rcx, qword [rsp + 0x40]
call fcn.140013ff0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014108
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014108
jmp 0x1400140fd
cmp ebx, 0x80070103
je 0x140014106
test ebx, ebx
jne 0x140014108
jmp 0x140014024
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140014118
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.1400148a0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140014140
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [r11 + 0x18], 0
lea rax, [r11 + 0x18]
mov r9d, 0x2001f
mov qword [r11 - 0x18], rax
xor r8d, r8d
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
jne 0x14001417c
lea ebx, [rax - 1]
jmp 0x1400141c9
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400141c9
mov rcx, qword [rsp + 0x50]
call fcn.140013ff0
mov ebx, eax
test eax, eax
js 0x1400141c9
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400141d9
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400141ec
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
call qword [sym.imp.RPCRT4.dll_RpcImpersonateClient]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140014264
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r9, rdi
xor r8d, r8d
mov rcx, rax
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140014245
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
call qword [sym.imp.RPCRT4.dll_RpcRevertToSelf]
test eax, eax
je 0x140014264
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140014bd5
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140014bd5
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140014bd5
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140014bb9
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140014bb3
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140014bbb
add rdx, 0x28
jmp 0x140014b98
xor edx, edx
test rdx, rdx
jne 0x140014bc4
xor al, al
jmp 0x140014bdb
test dword [rdx + 0x24], 0x80000000
je 0x140014bd1
xor al, al
jmp 0x140014bdb
mov al, 1
jmp 0x140014bdb
xor al, al
jmp 0x140014bdb
add rsp, 0x18
ret

Function at 0x140015078
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14001d574
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.140021858
test al, al
je 0x14001d5ac
mov rax, qword gs:[0x60]
mov edx, dword [rax + 0xbc]
shr edx, 8
test dl, 1
jne 0x14001d5ac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, ebx
call fcn.14001d5c0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x62d961e0
Capabilities:
Hash data with md5

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x62d9621a
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0
mov qword [rcx], 0
add rsp, 0x28
ret
lea rdx, str.src_hashes_md5.c
lea rcx, [0x62e0a0b1]
mov r8d, 0xe9
call fcn.62d9b180
nop
nop
nop word cs:[rax + rax]