joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140060930
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x1400609e6
lea r8d, [rbx + 4]
mov qword [rsp + 0x60], rdi
lea rdx, [0x14043be40]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x1400609b0
xor eax, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
cmovne ebx, dword [rsp + 0x24]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rdi, rdi
je 0x1400609c7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
mov eax, ebx
jmp 0x1400609ce

Function at 0x140064f70
Capabilities:
Create http request

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1404554b8]
test rax, rax
jne 0x140064fc5
lea ecx, [rax + 8]
mov qword [rsp + 0x30], rbx
call fcn.140125dd0
mov rbx, rax
mov qword [rsp + 0x40], rax
xor eax, eax
lea rcx, str.WinInet
xor r9d, r9d
mov dword [rsp + 0x20], eax
xor r8d, r8d
xor edx, edx
mov qword [rbx], rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx], rax
mov rax, rbx
mov qword [0x1404554b8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x140065240
Capabilities:
Read data from internet
Receive data

Disassembly:
push rbx
push rsi
sub rsp, 0x98
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor ebx, ebx
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x34], ebx
mov rsi, r8
test rdx, rdx
je 0x14006538f
test r8, r8
je 0x14006538f
mov rcx, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov qword [rsp + 0x90], rdi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x14006536a
xor eax, eax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea edx, [rbx + 5]
mov qword [rsp + 0x50], rax
mov rcx, rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140065361
lea rcx, [rsp + 0x40]
call fcn.1402884cc
mov dword [rsp + 0x30], eax
test eax, eax
je 0x140065361
lea ecx, [rax + 1]
call fcn.140125a94
mov r8d, dword [rsp + 0x30]
xor edx, edx
inc r8d
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140065352
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x140065352
mov dword [rsi], eax
jmp 0x140065361
test rbx, rbx
je 0x140065361
mov rcx, rbx
call fcn.140125e14
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rsp + 0x90]
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x98
pop rsi
pop rbx
ret
mov rax, rbx
jmp 0x140065375
Function at 0x140068e40
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edx, 3
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0xa00000
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140068f91
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140068f11
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xa00000
mov edx, 0x180
mov rcx, rsi
mov dword [rsp + 0x20], 3
mov ebx, eax
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140068f11
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140068f08
mov edx, dword [rsp + 0x40]
test dl, 1
jne 0x140068f17
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rax, 0xffffffffffffffff
jmp 0x140068f94
and edx, 0xfffffffe
mov rcx, rsi
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140068f08
mov edx, 3
mov qword [rsp + 0x30], 0
mov r8d, edx
mov dword [rsp + 0x28], 0xa00000
xor r9d, r9d
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbx, 0xffffffffffffffff
je 0x140068f11
mov edx, dword [rsp + 0x40]
mov rcx, rsi
or edx, 1
mov dword [rsp + 0x40], edx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x140068f91
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rax, 0xffffffffffffffff
jmp 0x140068f94
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140125a70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400693f0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x140069483
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140069483
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x14006943e
mov rcx, rbx
call fcn.14004baa0
mov rcx, rax
mov rbx, rax
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, 3
mov rcx, rbx
lea r8d, [rdx + 4]
call fcn.140052070
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006947f
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1400691d0
test eax, eax
js 0x140069476
mov eax, 1
cmp word [rsp + 0x40], ax
cmova edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x140069485
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14006a5b0
Capabilities:
Query or enumerate registry key

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x288
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r13d, r13d
mov r15, r8
mov qword [rsp + 0x40], r13
mov r12, rdx
mov edi, r13d
test r8, r8
jne 0x14006a5ee
xor eax, eax
jmp 0x14006a7ae
mov qword [rsp + 0x2b0], rbx
mov qword [rsp + 0x280], rbp
mov ebp, r13d
mov qword [rsp + 0x278], rsi
mov qword [rsp + 0x270], r14
lea r14, [0x140320578]
nop dword [rax + rax]
mov rcx, qword [r14]
lea rax, [rsp + 0x40]
mov r9d, 0x2001f
mov qword [rsp + 0x20], rax
mov r8d, 4
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006a77d
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov ebx, r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006a772
nop dword [rax + rax]
mov r8d, 1
mov dword [rsp + 0x48], 0x104
lea rdx, str.DelegateFolders_088e3905_0323_4b02_9826_5d99428e115f_0DB7E03F_FC29_4DC6_9020_FF41B59E513A_1CF1260C_4DD0_4ebb_811F_33C572699FDE_24ad3ad4_a569_4530_98e1_ab02f9417aa8_374DE290_123F_4565_9164_39C4925E467B_3ADD1653_EB32_4cb0_BBD7_DFA0ABB5ACCA_3dfdf296_dbec_4fb4_81d1_6a3438bcf4de_A0953C92_50DC_43bf_BE83_3742FED03C9C_A8CDFF1C_4878_43be_B5FD_F8091C1C60D0_B4BFCC3A_DB2C_424C_B029_7FE99A87C641_d3162b92_9365_467a_956b_92703aca08af_f86fa3ab_70d2_4fc7_9c99_fcbf05467f3a_
inc ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006a73c
mov rcx, qword [rsp + 0x40]
lea r8, [0x14031e97c]
lea rdx, [rsp + 0x50]
call fcn.14005f970
mov rsi, rax
test rax, rax
je 0x14006a73c
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rdi, rax
call fcn.1402767a0
mov rcx, qword [r14]
mov r8, r15
mov qword [rdi], rcx
mov edx, 0x104
lea rcx, [rdi + 8]
call fcn.140285f3c
lea rcx, [rdi + 0x210]
mov edx, 0x104
lea r8, [rsp + 0x50]
call fcn.140285f3c
lea r9, [rsp + 0x50]
mov r8, rdi
mov rdx, r12
call fcn.14006a460
mov rcx, rsi
mov edi, eax
call fcn.140125e14
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r13
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006a690
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
add r14, 8
cmp ebp, 2
jb 0x14006a620
mov r14, qword [rsp + 0x270]
mov eax, edi
mov rsi, qword [rsp + 0x278]
mov rbp, qword [rsp + 0x280]
mov rbx, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x288
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x14006ab80
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push r14
push r15
sub rsp, 0x278
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor r15d, r15d
mov rbp, r9
mov r14, rdx
mov ebx, r15d
test r9, r9
jne 0x14006abb8
xor eax, eax
jmp 0x14006ad20
lea rax, [rsp + 0x40]
mov r9d, 0x2001f
mov r8d, 4
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006ad1e
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x270], rdi
mov edi, r15d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006ad0b
mov qword [rsp + 0x2a0], rsi
nop word [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r8, [0x14031e994]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], 0x104
inc edi
call fcn.14005f970
mov rsi, rax
test rax, rax
je 0x14006accd
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
lea rcx, [rbx + 8]
mov qword [rbx], 0xffffffff80000000
mov r8, rbp
mov edx, 0x104
call fcn.140285f3c
lea rcx, [rbx + 0x210]
mov edx, 0x104
lea r8, [rsp + 0x50]
call fcn.140285f3c
lea r9, [rsp + 0x50]
mov r8, rbx
mov rdx, r14
call fcn.14006a460
mov rcx, rsi
mov ebx, eax
call fcn.140125e14
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov edx, edi
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006ac40
mov rsi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x270]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x278
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x14006ad40
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x290
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbp, qword [rsp + 0x2e0]
xor r13d, r13d
mov r15, r9
mov r12, rdx
mov ebx, r13d
test r9, r9
je 0x14006af32
test rbp, rbp
je 0x14006af32
lea rax, [rsp + 0x40]
mov r9d, 0x20019
lea r8d, [r13 + 4]
mov qword [rsp + 0x20], rax
mov rdx, r15
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006af2e
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x2c0], rsi
mov esi, r13d
mov qword [rsp + 0x20], r13
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006af1b
mov qword [rsp + 0x280], r14
mov r14d, dword [rsp + 0x2e8]
mov qword [rsp + 0x288], rdi
nop word [rax + rax]
mov r8d, r14d
mov dword [rsp + 0x48], 0x104
mov rdx, rbp
lea rcx, [rsp + 0x60]
inc esi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006aed5
mov rcx, qword [rsp + 0x40]
lea r8, [0x14031e9bc]
lea rdx, [rsp + 0x60]
lea rbx, [rsp + 0x60]
call fcn.14005f970
mov rdi, rax
test rax, rax
je 0x14006ae7a
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.ole32.dll_IIDFromString]
test eax, eax
cmovne rbx, rdi
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rdi, rax
call fcn.1402767a0
lea rcx, [rdi + 8]
mov qword [rdi], 0xffffffff80000000
mov r8, r15
mov edx, 0x104
call fcn.140285f3c
lea rcx, [rdi + 0x210]
mov edx, 0x104
lea r8, [rsp + 0x60]
call fcn.140285f3c
mov r9, rbx
mov r8, rdi
mov rdx, r12
call fcn.14006a460
mov ebx, eax
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
mov edx, esi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006ae20
mov r14, qword [rsp + 0x280]
mov rdi, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x2c0]
mov eax, ebx
jmp 0x14006af34
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140125a70
add rsp, 0x290
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x14006b3f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x270
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rdx, [0x140323ae8]
mov rbp, rcx
call fcn.14006a2d0
xor r14d, r14d
lea rdx, [0x1403238f8]
mov rsi, rax
mov r9d, 0x2001f
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov ebx, r14d
mov qword [rsp + 0x20], rax
lea r8d, [r14 + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006b59c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
xor edx, edx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x298], rdi
mov edi, r14d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x14006b572
mov r8d, 1
lea rdx, str.iexplore.exe_msedge.exe_wordpad.exe_mspaint.exe_notepad.exe_photoviewer.dll_accwiz.exe_ARTGALRY.EXE_awdvstub.exe_cag.exe_CChat.exe_cmd.exe_CMMGR32.EXE_cryptext.dll_datainst.exe_depends.exe_drwatson.exe_dsquery.dll_ehshell.exe_explorer.exe_faxcover.exe_finder.exe_fontview.exe_fpidcwiz.exe_graflink.exe_grpconv.exe_helpctr.exe_hh.exe_HYPERTRM.EXE_inetcpl.cpl_ISIGNUP.EXE_isoburn.exe_kodakprv.EXE_licensemanagershellext.exe_MMC.exe_mnyimprt.exe_mplayer.exe_msconf.dll_mshta.exe_msiexec.exe_msimn.exe_MSInfo32.exe_msrating.dll_netshell.dll_NTVDM.exe_oledb32.dll_OpenWith.exe_ORGCHART.EXE_OSA.EXE_Outlook.EXE_perfmon.exe_provtool.exe_rasphone.exe_regedit.exe_runtimebroker.exe_sdclt.exe_shdocvw.dll_shell32.dll_shscrap.dll_snapview.exe_SystemReset.exe_taskmgr.exe_themes.exe_Ttxmpc97.exe_url.dll_wab.exe_WB32.EXE_winhlp32.exe_WINWORD.EXE_wltmime.exe_wmpdmc.exe_wmplayer.exe_wpnpinst.exe_WScript.exe_wusa.exe_zipfldr.dll_
lea rcx, [rsp + 0x50]
inc edi
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecExW]
test eax, eax
je 0x14006b522
mov ecx, 0x418
call fcn.140125dd0
xor edx, edx
mov r8d, 0x418
mov rcx, rax
mov rbx, rax
call fcn.1402767a0
lea rcx, [rbx + 8]
mov qword [rbx], 0xffffffff80000002
lea r8, [0x1403239e8]
mov edx, 0x104
call fcn.140285f3c
lea rcx, [rbx + 0x210]
mov edx, 0x104
lea r8, [rsp + 0x50]
call fcn.140285f3c
lea r9, [rsp + 0x50]
mov r8, rbx
mov rdx, rsi
call fcn.14006a460
mov ebx, eax
xor edx, edx
mov dword [rsp + 0x48], 0x104
mov r8d, 0x208
lea rcx, [rsp + 0x50]
call fcn.1402767a0
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov edx, edi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x14006b4a3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x298]
test ebx, ebx
je 0x14006b59c
mov rcx, qword [rbp + 0xa68]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x438]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r14
pop rsi
pop rbp
ret
Function at 0x14006bb10
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx edi, word [0x140455b60]
lea rax, [rsp + 0x30]
xor ebx, ebx
mov qword [rsp + 0x20], rax
mov esi, 1
mov qword [rsp + 0x30], rbx
mov r9d, esi
lea rdx, [0x140324940]
mov rcx, 0xffffffff80000002
lea r8d, [rbx + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x14006bb7f
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006bb7b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x14006bbb9
lea rcx, str.X:WindowsSystem32configDRIVERS
mov word [str.X:WindowsSystem32configDRIVERS], di
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14006bbb7
lea r8, str.X:WindowsSystem32configDRIVERS
mov rcx, 0xffffffff80000002
lea rdx, [0x140324930]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
cmove ebx, esi
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x14006bc60
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x28], rdi
lea rcx, str.dismapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
test rax, rax
je 0x14006bd37
lea rdx, str.DismInitialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.DismOpenSession
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.DismGetDrivers
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.DismCloseSession
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx]
lea rdx, str.DismDelete
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x20], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14006bd37
cmp qword [rbx + 0x10], rdi
je 0x14006bd37
cmp qword [rbx + 0x18], rdi
je 0x14006bd37
cmp qword [rbx + 0x28], rdi
je 0x14006bd37
xor r8d, r8d
lea ecx, [rdi + 2]
xor edx, edx
call rax
test eax, eax
setns dil
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140074110
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140074154
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140074140
ret
Function at 0x14007b4a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r14, r8
xor r9, rax
mov rbp, rdx
mov rbx, rcx
test r9, 0xfffffffffffffffe
je 0x14007b4d2
xor al, al
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
cmp rcx, rbp
je 0x14007b52e
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsp + 0x60]
movzx edx, word [rbx]
movzx esi, word [r14]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x60]
movzx edx, si
movzx edi, ax
mov rcx, qword [rcx + 8]
mov r8, qword [rcx]
call qword [r8 + 0x40]
cmp di, ax
jne 0x14007b543
add rbx, 2
add r14, 2
cmp rbx, rbp
jne 0x14007b4f0
mov al, 1
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
xor al, al
jmp 0x14007b530

Function at 0x14007c8b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1403a0088]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test r8, r8
je 0x14007c8de
mov qword [r8], rbp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
js 0x14007c972
mov ecx, dword [rsp + 0x30]
add rcx, rcx
call fcn.140125a94
mov qword [rsi], rax
test rax, rax
je 0x14007c96d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x34], ebp
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x34]
mov rcx, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
js 0x14007c952
mov ecx, dword [rsp + 0x34]
dec ecx
cmp ecx, 1
jbe 0x14007c972
mov edi, 0x8007048a
mov rbx, qword [rsi]
mov rcx, rbx
call fcn.140125e14
mov eax, edi
test rbx, rbx
je 0x14007c972
mov qword [rsi], 0x8123
jmp 0x14007c972
mov eax, 8
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140125a70
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007f5e0
Capabilities:
Check if file exists

Disassembly:
xor r8d, r8d
mov r10, rcx
or rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [rcx + rdx*2], r8w
jne 0x14004c1d0
movzx r9d, r8w
test edx, edx
je 0x14004c236
nop dword [rax]
nop word [rax + rax]
movzx eax, r9w
movzx ecx, word [r10 + rax*2]
lea eax, [rcx - 0x41]
cmp ax, 5
ja 0x14004c20b
movzx eax, cx
sub rax, 0x37
jmp 0x14004c221
lea eax, [rcx - 0x61]
cmp ax, 5
movzx eax, cx
ja 0x14004c21d
sub rax, 0x57
jmp 0x14004c221
sub rax, 0x30
mov ecx, eax
inc r9w
shl r8, 4
add r8, rcx
movzx ecx, r9w
cmp ecx, edx
jb 0x14004c1f0
mov rax, r8
ret
push rdi
sub rsp, 0x20
movzx eax, word [0x140455b60]
lea rcx, str.X:windows_system32configSYSTEM
mov word [str.X:windows_system32configSYSTEM], ax
xor edi, edi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14007f6a7
lea r8, str.X:windows_system32configSYSTEM
mov rcx, 0xffffffff80000002
lea rdx, [0x1403269a0]
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
test eax, eax
jne 0x14007f6a7
lea r8, [0x140326920]
mov qword [rsp + 0x30], rbx
lea rdx, [0x140326930]
mov rcx, 0xffffffff80000002
call fcn.14005f970
mov rbx, rax
test rax, rax
jne 0x14007f66e
lea r8, str.InstallLanguage
mov rcx, 0xffffffff80000002
lea rdx, str.PESYSTEMCurrentControlSetControlNlsLanguage
call fcn.14005f970
mov rbx, rax
lea rdx, [0x1403269b8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
test rbx, rbx
je 0x14007f699
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14004c1c0
movzx eax, di
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx eax, di
add rsp, 0x20
pop rdi
ret