joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140089ff8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp - 0x78], r14d
mov dword [rsp + 0x45], 0x5c6174
mov word [rsp + 0x36], 0x435c
mov dword [rsp + 0x3a], 0x5c656d6f
mov word [rsp + 0x3e], 0x7355
mov word [rsp + 0x33], 0x6c67
mov dword [rsp + 0x41], 0x61442072
mov word [rsp + 0x30], 0x6f47
mov word [rsp + 0x38], 0x7268
mov byte [rsp + 0x32], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x35], 0x65
mov byte [rsp + 0x40], 0x65
mov r15d, 0x104
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14004e050
lea r12d, [r14 + 0xf]
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
lea rcx, [rsp + 0x30]
call fcn.140051300
mov r8, rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003f08
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140002754
mov word [rsp + 0x5e], 0x6572
mov word [rsp + 0x5b], 0x6665
mov word [rsp + 0x50], 0x5c5c
mov dword [rsp + 0x60], 0x7365636e
mov word [rsp + 0x56], 0x6572
mov word [rsp + 0x53], 0x6365
mov word [rsp + 0x58], 0x5020
mov byte [rsp + 0x5a], WSACleanup
mov byte [rsp + 0x64], r14b
mov byte [rsp + 0x52], 0x53
mov byte [rsp + 0x55], 0x75
mov byte [rsp + 0x5d], 0x65
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call fcn.140002608
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rax, qword [rsp + 0x68]
cmp qword [rbx + 0x18], 0x10
jb 0x14008a150
mov r9, qword [rbx]
jmp 0x14008a153
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [0x1400bd11c]
mov rdx, r15
lea rcx, [rbp - 0x60]
call fcn.1400104c0
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x10], r14
cmp r12, 0x10
jb 0x14008a17e
mov rax, qword [rsi]
jmp 0x14008a181
mov rax, rsi
mov byte [rax], r14b
cmp byte [rbp - 0x60], r14b
jne 0x14008a18f
mov rax, r14
jmp 0x14008a198
lea rcx, [rbp - 0x60]
call fcn.140051300
mov r8, rax
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140003f08
nop
mov r15d, 1
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x14008a1c8
inc rdx
mov r8d, r15d
mov rcx, qword [rsp + 0x68]
call fcn.140003d58
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x78], r14
mov byte [rsp + 0x68], r14b
cmp qword [rdi + 0x18], 0x10
jb 0x14008a1ef
mov rdx, qword [rdi + 0x18]
add rdx, r15
mov r8, r15
mov rcx, qword [rdi]
call fcn.140003d58
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r14
cmp qword [rdi + 0x18], 0x10
jb 0x14008a201
mov rdi, qword [rdi]
mov byte [rdi], r14b
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14008a21c
inc rdx
mov r8, r15
mov rcx, qword [rbx]
call fcn.140003d58
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r14
cmp qword [rbx + 0x18], 0x10
jb 0x14008a22e
mov rbx, qword [rbx]
mov byte [rbx], r14b
mov rax, rsi
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14008a75c
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov r14, rdx
mov rdi, rcx
xor bl, bl
cmp qword [rcx + 0x18], 0x10
jb 0x14008a78d
mov rcx, qword [rcx]
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14008a848
and dword [rsp + 0x90], 0
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [rbx + 1]
lea rcx, [rsp + 0x48]
call fcn.140006378
nop
mov rsi, qword [rsp + 0x48]
mov byte [rbx + rsi], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x90]
mov r8d, ebx
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [rsi], 0
jne 0x14008a819
xor eax, eax
jmp 0x14008a821
mov rcx, rsi
call fcn.140051300
mov r8, rax
mov rdx, rsi
mov rcx, r14
call fcn.140003f08
mov bl, 1
mov rdx, qword [rsp + 0x58]
sub rdx, rsi
mov r8d, 1
mov rcx, rsi
call fcn.140003d58
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14008a863
inc rdx
mov r8d, 1
mov rcx, qword [rdi]
call fcn.140003d58
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
and qword [rdi + 0x10], 0
cmp qword [rdi + 0x18], 0x10
jb 0x14008a87a
mov rdi, qword [rdi]
mov byte [rdi], 0
mov al, bl
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14008a89c
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor sil, sil
mov r14, rcx
test rcx, rcx
je 0x14008aade
and qword [rsp + 0x30], 0
and dword [rbp + 0x1c0], 0
mov dword [rbp + 0x1b8], 4
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
mov dword [rsp + 0x50], pe_nt_image_headers64
mov r15d, eax
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008aad9
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14008aad0
lea rdx, [rsp + 0x7c]
mov dword [rsp + 0x3f], 0x78652e72
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x6c707865
mov word [rsp + 0x3d], 0x6572
mov word [rsp + 0x43], 0x65
mov byte [rsp + 0x3c], reloc.WS2_32.dll_WSAGetLastError
call fcn.140058848
test eax, eax
jne 0x14008aa0b
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14008aa0b
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14008a9fd
mov r9d, dword [rbp + 0x1b8]
lea rax, [rbp + 0x1b8]
mov rcx, qword [rsp + 0x30]
lea r8, [rbp + 0x1c0]
mov edx, listen
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14008a9c7
cmp r15d, dword [rbp + 0x1c0]
je 0x14008aa1e
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008a9dd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x30]
xor ebx, ebx
test rcx, rcx
je 0x14008aa0b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14008aa0b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14008a918
and dword [rbp + 0x1c8], 0
lea rcx, [rbp + 0x80]
mov r15d, 0x100
xor edx, edx
mov r8d, r15d
call fcn.14004e050
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1c8]
mov r9d, r15d
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x80]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14008aab1
mov rcx, qword [rbp + 0x80]
lea rdx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x14008aab1
mov rcx, qword [rsp + 0x48]
call fcn.140051300
lea edx, [r15 + 4]
cmp rax, rdx
jae 0x14008aaa6
mov r9, qword [rsp + 0x48]
lea r8, [0x1400bd164]
mov rcx, r14
call fcn.1400104c0
mov sil, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14008aac7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, sil
jmp 0x14008aae0
xor al, al
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008b27c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, rdx
mov r15, rcx
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x14008b2ba
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
mov rsi, rax
lea rcx, [rax + 0x18]
mov qword [rbp - 0x20], rcx
call fcn.14008c4c0
test eax, eax
setne r14b
mov dword [rbp - 0x16], 0x656c676f
mov dword [rbp - 0xe], 0x656d6f
mov dword [rbp - 0x12], 0x72684320
mov word [rbp - 0x18], 0x6f47
mov dword [rbp + 0x40], 0x6f726843
mov word [rbp + 0x45], 0x65
mov byte [rbp + 0x44], WSASetLastError
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x48]
call fcn.1400109fc
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x50]
call fcn.1400109fc
mov r9, rdi
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
test r14b, r14b
je 0x14008b378
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x48]
call fcn.1400109fc
mov r9, rdi
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400109fc
mov r9, rdi
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.1400109fc
mov r9, rdi
mov r8b, 1
xor edx, edx
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
test r14b, r14b
je 0x14008b3e6
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400109fc
mov r9, rdi
xor r8d, r8d
mov dl, 1
mov rcx, rax
call fcn.14008b670
mov bl, al
test al, al
jne 0x14008b3f0
mov rcx, rdi
call fcn.14008bacc
mov bl, al
mov byte [r15], 1
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x14008b40d
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
mov al, bl
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c030
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x140
xor edi, edi
mov rsi, rcx
mov qword [rax + 0x10], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
mov ebx, eax
call fcn.14004e050
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.14004e050
lea rdx, [rsp + 0x158]
mov ecx, ebx
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14008c0d6
mov r8, qword [rsp + 0x158]
test r8, r8
je 0x14008c0d6
lea rax, [rsp + 0x30]
xor r9d, r9d
lea edx, [rdi + 0x1c]
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r8, [rsp + 0x30]
mov rcx, rsi
lea rdx, [0x1400bd164]
call fcn.14000da78
mov rcx, qword [rsp + 0x158]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
lea r11, [rsp + 0x140]
mov al, dil
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14008c0f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, rdx
mov rbx, rcx
and dword [rbp - 0x50], 0
call fcn.140010fb4
mov rcx, rax
test rax, rax
jne 0x14008c137
mov ecx, 0x80004005
call fcn.140010d40
int3
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbx], rax
mov dword [rbp - 0x50], 1
and qword [rbp + 0x30], 0
and dword [rbp - 0x30], 0
xor eax, eax
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
mov dword [rbp - 0x3e], 0x336c6c65
mov dword [rbp - 0x38], 0x6c6c64
mov word [rbp - 0x40], 0x6873
mov word [rbp - 0x3a], 0x2e32
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14008c234
mov edx, 0x2bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7850], rax
test rax, rax
je 0x14008c1b0
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi]
call rax
mov word [rbp - 0x19], 0x776f
mov dword [rbp - 0x16], 0x646c6f46
mov dword [rbp - 0x1e], 0x4b746547
mov word [rbp - 0x12], 0x7265
mov dword [rbp - 0xf], 0x687461
mov word [rbp - 0x20], 0x4853
mov byte [rbp - 0x1a], WSASetLastError
mov byte [rbp - 0x17], WSASetLastError
mov byte [rbp - 0x10], 0x50
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7848], rax
test rax, rax
je 0x14008c22a
lea r9, [rbp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x30]
call rax
test eax, eax
jne 0x14008c22a
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x14008c22a
mov rcx, rbx
call fcn.140008a20
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c251
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c26c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov edi, 1
and qword [r11 - 0x30], 0
lea rax, [r11 - 0x30]
mov qword [r11 - 0x48], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, qword [rdx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008c363
mov dword [rsp + 0x30], edi
mov edx, 0x800
mov dword [rsp + 0x70], edx
mov rax, qword [rbx]
sub edi, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, edi
jge 0x14008c2ef
mov rcx, rbx
call fcn.140010c2c
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, qword [rsi]
lea rdx, [0x1400bcee3]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14008c329
xor eax, eax
jmp 0x14008c336
movsxd rdx, dword [rcx - 0xc]
call fcn.1400606d8
test eax, eax
js 0x14008c358
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14008c358
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14008c363
mov ecx, 0x80070057
call fcn.140010d40
int3
test edi, edi
sete bl
mov rdx, qword [r14]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14008c389
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x14008c3a7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14008c3c0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x30
and qword [r11 + 8], 0
lea rax, [r11 + 8]
mov rsi, r9
mov qword [r11 - 0x18], rax
mov rdi, r8
mov r14, rdx
mov rdx, qword [rdx]
mov r9d, 0x20206
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov ebx, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008c445
mov rcx, qword [rsi]
lea rdx, [0x1400bcee3]
mov r8, qword [rdi]
mov r9d, ebx
mov eax, dword [rcx - 0x10]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [r14]
test ebx, ebx
sete bl
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c467
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rdi]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008c484
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsi]
sub rdx, 0x18
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14008c4a2
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rsi, qword [rsp + 0x50]
mov al, bl
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14008e9dc
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x38
mov qword [rbp - 0x18], 0xfffffffffffffffe
lea rdx, [rbp + 0x38]
call fcn.14008e36c
nop
mov rax, qword [rbp + 0x38]
xor ebx, ebx
cmp dword [rax - 0x10], ebx
je 0x14008ea84
and dword [rbp + 0x28], ebx
and dword [rbp + 0x30], ebx
and qword [rbp + 0x40], rbx
lea rdx, [rbp + 0x28]
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test eax, eax
je 0x14008ea80
mov ecx, edi
call fcn.14004cf38
mov rsi, rax
mov r9, rax
mov r8d, edi
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x14008ea78
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x40]
lea rdx, [0x1400bd118]
mov rcx, rsi
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x14008ea78
cmp dword [rbp + 0x30], ebx
je 0x14008ea78
mov rax, qword [rbp + 0x40]
cmp dword [rax], 0xfeef04bd
jne 0x14008ea78
movzx ebx, word [rax + 0xa]
mov rcx, rsi
call fcn.14004c984
mov rax, qword [rbp + 0x38]
lea rdx, [rax - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14008ea9f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14008edc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x98]
sub rsp, 0x190
lea rcx, [rsp + 0x40]
mov word [rsp + 0x45], 0x3369
mov rsi, rdx
mov dword [rsp + 0x41], 0x70617374
xor edi, edi
mov word [rsp + 0x48], 0x642e
mov word [rsp + 0x4b], WSASetLastError
mov byte [rsp + 0x40], 0x57
mov byte [rsp + 0x4a], WSASetLastError
mov byte [rsp + 0x47], reloc.WLDAP32.dll_Ordinal_50
mov dword [rsp + 0x6b], 0x72657551
mov dword [rsp + 0x72], 0x6f547265
mov dword [rsp + 0x76], 0x6e656b
mov word [rsp + 0x69], 0x5354
mov byte [rsp + 0x68], 0x57
mov word [rsp + 0x6f], 0x5579
mov byte [rsp + 0x71], reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14008ee70
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d78a0], rax
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x6c656853
mov dword [rsp + 0x34], 0x2e32336c
mov word [rsp + 0x39], 0x6c6c
mov byte [rsp + 0x3b], dil
mov byte [rsp + 0x38], 0x64
mov dword [rsp + 0x52], 0x46746547
mov dword [rsp + 0x5d], 0x416874
mov word [rsp + 0x50], 0x4853
mov dword [rsp + 0x59], 0x61507265
mov word [rsp + 0x56], 0x6c6f
mov byte [rsp + 0x58], 0x64
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14008eee3
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400d7898], rax
jmp 0x14008eeea
mov rax, qword [0x1400d7898]
cmp qword [0x1400d78a0], rdi
je 0x14008ef90
test rax, rax
je 0x14008ef90
mov qword [rbp + 0xa0], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x104
mov ebx, eax
call fcn.14004e050
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x104
call fcn.14004e050
lea rdx, [rbp + 0xa0]
mov ecx, ebx
call qword [0x1400d78a0]
test eax, eax
je 0x14008ef8b
mov r8, qword [rbp + 0xa0]
test r8, r8
je 0x14008ef8b
xor r9d, r9d
lea rax, [rbp - 0x80]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 0x1a]
call qword [0x1400d7898]
lea r8, [rbp - 0x80]
mov rcx, rsi
lea rdx, [0x1400bd164]
call fcn.14000da78
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov al, dil
jmp 0x14008ef92
xor al, al
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14008efb4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, r8
mov rsi, rdx
xor ebx, ebx
mov dword [rbp - 0x20], ebx
lea rdx, [0x1400bcee3]
lea rcx, [rbp + 0x58]
call fcn.1400109fc
nop
mov dword [rbp - 0x18], 0x4c7a6f6d
mov dword [rbp - 0x14], 0x30347a
mov r13d, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14008f12f
mov dword [rbp + 0x40], ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov r12d, eax
mov ecx, eax
call fcn.14004cf38
mov rdi, rax
and qword [rsp + 0x20], r13
lea r9, [rbp + 0x40]
mov r8d, ebx
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, r15
test eax, eax
jne 0x14008f083
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008f122
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r12, 0xc
jb 0x14008f122
mov r15d, 8
mov r8d, r15d
mov rdx, rdi
lea rcx, [rbp - 0x18]
call fcn.14004f800
test eax, eax
jne 0x14008f122
mov eax, r15d
lea r8, [rdi + 8]
lea ecx, [rax + 0xf8]
shl cl, 3
movzx eax, byte [r8]
shl eax, cl
cdqe
add r13, rax
inc r15d
inc r8
movsxd rax, r15d
cmp rax, 0xc
jb 0x14008f0b3
lea rcx, [r13 + 1]
call fcn.1400587a4
mov rbx, rax
test rax, rax
je 0x14008f122
sub r12d, r15d
movsxd rcx, r15d
add rcx, rdi
mov r9d, r13d
mov r8d, r12d
mov rdx, rax
call fcn.14008defc
test eax, eax
js 0x14008f11a
mov byte [rbx + r13], 0
mov r8, rbx
lea rdx, [0x1400bd164]
lea rcx, [rbp + 0x58]
call fcn.14000da78
mov rcx, rbx
call fcn.140058358
test rdi, rdi
je 0x14008f12f
mov rcx, rdi
call fcn.14004c984
lea rdx, [rbp + 0x58]
mov rcx, rsi
call fcn.140010a98
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008f15b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [r14]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008f178
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, rsi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400946b4
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
and qword [rcx + 0x28], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret