joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f73c0
Capabilities:
Encrypt data using aes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov edx, 8
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
call sub.msvcrt.dll__lrotl
and eax, 0xff00ff
mov dword [rsp + 0x28], eax
mov edx, 8
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx]
call sub.msvcrt.dll__lrotr
and eax, 0xff00ff00
mov ecx, dword [rsp + 0x28]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov edx, 8
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 4]
call sub.msvcrt.dll__lrotl
and eax, 0xff00ff
mov dword [rsp + 0x2c], eax
mov edx, 8
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 4]
call sub.msvcrt.dll__lrotr
and eax, 0xff00ff00
mov ecx, dword [rsp + 0x2c]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 4], eax
mov edx, 8
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 8]
call sub.msvcrt.dll__lrotl
and eax, 0xff00ff
mov dword [rsp + 0x30], eax
mov edx, 8
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 8]
call sub.msvcrt.dll__lrotr
and eax, 0xff00ff00
mov ecx, dword [rsp + 0x30]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 8], eax
mov edx, 8
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xc]
call sub.msvcrt.dll__lrotl
and eax, 0xff00ff
mov dword [rsp + 0x34], eax
mov edx, 8
mov rcx, qword [rsp + 0x58]
mov ecx, dword [rcx + 0xc]
call sub.msvcrt.dll__lrotr
and eax, 0xff00ff00
mov ecx, dword [rsp + 0x34]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
shr eax, 0x10
and eax, 0xff
mov eax, eax
lea rcx, str.ccccwwww
mov eax, dword [rcx + rax*4]
and eax, 0xff000000
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
xor ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff0000
xor eax, ecx
mov ecx, dword [rsp + 0x24]
and ecx, 0xff
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [rsp + 0x24]
shr ecx, 0x18
mov ecx, ecx
lea rdx, str.ccccwwww
mov ecx, dword [rdx + rcx*4]
and ecx, 0xff
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
lea rdx, [0x18012eeb0]
xor eax, dword [rdx + rcx*4]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 4]
xor eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x14]
mov eax, dword [rax + 8]
xor eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx + 0x18]
mov eax, dword [rax + 0xc]
xor eax, ecx
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1c], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xa
jne 0x1800f75e1
jmp 0x1800f75f4
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x1800f74db
add rsp, 0x48
ret
Function at 0x1800f8140
Capabilities:
Query service status

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x50], 0
mov r8d, 1
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800f8187
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
jmp 0x1800f81ea
mov r8d, 4
lea rdx, [0x18012f190]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800f81b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
jmp 0x1800f81ea
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x1800f81e0
cmp dword [rsp + 0x34], 4
je 0x1800f81de
mov dword [rsp + 0x50], 0x426
jmp 0x1800f81ea
jmp 0x1800f81ea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x28], 0
je 0x1800f81fd
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp qword [rsp + 0x20], 0
je 0x1800f8210
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x1800f98d0
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800f992b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x1800f99dd
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800f99c4
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
cmp eax, 1
je 0x1800f9989
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x34]
jmp 0x1800f99dd
lea r8, [rsp + 0x30]
mov edx, 2
mov rcx, qword [rsp + 0x28]
call fcn.1800f9e40
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800f99b7
cmp dword [rsp + 0x30], 4
je 0x1800f99b7
mov dword [rsp + 0x34], 0x425
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1800f99ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1800f9a70
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x70], 0
jne 0x1800f9aad
mov eax, 0x57
jmp 0x1800f9b7a
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800f9add
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
jmp 0x1800f9b7a
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800f9b61
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_ControlService]
cmp eax, 1
jne 0x1800f9b4a
lea r8, [rsp + 0x30]
mov edx, 3
mov rcx, qword [rsp + 0x28]
call fcn.1800f9e40
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800f9b48
cmp dword [rsp + 0x30], 1
je 0x1800f9b48
mov dword [rsp + 0x34], 0x425
jmp 0x1800f9b54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1800f9b6b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x34]
add rsp, 0x68
ret
Function at 0x1800f9d50
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x70], 0
je 0x1800f9d88
cmp qword [rsp + 0x78], 0
jne 0x1800f9d92
mov eax, 0x57
jmp 0x1800f9e34
mov r8d, 0xf003f
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800f9dbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
jmp 0x1800f9e34
mov r8d, 0xf01ff
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800f9e1b
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp eax, 1
jne 0x1800f9e04
mov rax, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
jmp 0x1800f9e0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1800f9e25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x1800f9e40
Capabilities:
Check for time delay via gettickcount
Query service status

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x24], 0
cmp qword [rsp + 0x70], 0
jne 0x1800f9e84
mov eax, 0x57
jmp 0x1800f9f8a
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1800f9ea3
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800f9f8a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x34], eax
jne 0x1800f9f7a
xor edx, edx
mov eax, dword [rsp + 0x48]
mov ecx, 0xa
div ecx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x3e8
jae 0x1800f9ef0
mov dword [rsp + 0x28], 0x3e8
jmp 0x1800f9f02
cmp dword [rsp + 0x28], 0x2710
jbe 0x1800f9f02
mov dword [rsp + 0x28], 0x2710
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1800f9f28
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800f9f8a
mov eax, dword [rsp + 0x24]
add eax, 0x1388
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rsp + 0x54]
cmp ecx, eax
jae 0x1800f9f45
jmp 0x1800f9f7a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x44], eax
jbe 0x1800f9f63
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x1800f9f75
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsp + 0x50]
cmp eax, dword [rsp + 0x48]
jbe 0x1800f9f75
jmp 0x1800f9f7a
jmp 0x1800f9ebd
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800fa7e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800fa83e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x1800fa865
cmp qword [rsp + 0x68], 0
je 0x1800fa865
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x60], eax
jae 0x1800fa85a
mov dword [rsp + 0x34], 0x10dd
jmp 0x1800fa865
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1800fa880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800fa8d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x34], eax
jmp 0x1800fa8e9
cmp qword [rsp + 0x68], 0
je 0x1800fa8e9
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret

Function at 0x1800fa9b0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x24], 0
xor edx, edx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0xffffffff
jne 0x1800fa9ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
jmp 0x1800fa9f8
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov eax, dword [rsp + 0x24]
add rsp, 0x38
ret

Function at 0x1800faac0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1800faaea
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1800fc970
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x65b
cmp qword [rsp + 0x40], 0
jne 0x1800fc98f
mov eax, dword [rsp + 0x20]
jmp 0x1800fc99c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
add rsp, 0x38
ret

Function at 0x1800fc9b0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0x65b
cmp qword [rsp + 0x40], 0
jne 0x1800fc9cf
mov eax, dword [rsp + 0x20]
jmp 0x1800fc9dc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800fd110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x40], 0
je 0x1800fd137
cmp qword [rsp + 0x50], 0
jne 0x1800fd13e
xor eax, eax
jmp 0x1800fd1d6
cmp dword [rsp + 0x48], 0
jle 0x1800fd14c
cmp dword [rsp + 0x58], 0
jg 0x1800fd153
xor eax, eax
jmp 0x1800fd1d6
movsxd rax, dword [rsp + 0x48]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], 0
jmp 0x1800fd17b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jge 0x1800fd1d1
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, byte [rcx + rax]
movzx ecx, word [rsp + 0x60]
sar ecx, 8
xor eax, ecx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movzx eax, byte [rcx + rax]
movzx ecx, word [rsp + 0x60]
add eax, ecx
imul eax, eax, 0xce6d
add eax, 0x58bf
mov word [rsp + 0x60], ax
jmp 0x1800fd171
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800fdb60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x38], 0x57
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x48], 0x20019
cmp qword [rsp + 0x70], 0
jne 0x1800fdb9b
mov eax, dword [rsp + 0x38]
jmp 0x1800fddd3
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180158000], rax
cmp qword [0x180158000], 0
je 0x1800fdbf5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x3c]
mov rcx, rax
call qword [0x180158000]
test eax, eax
je 0x1800fdbf5
cmp dword [rsp + 0x3c], 1
jne 0x1800fdbf5
mov eax, dword [rsp + 0x48]
or eax, 0x100
mov dword [rsp + 0x48], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rsp + 0x38], eax
cmp qword [rsp + 0x40], 0
je 0x1800fdd4a
mov dword [rsp + 0x50], 0x208
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x180156e9c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [0x1801575c8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800fdc7f
mov edx, 0x104
lea rcx, [0x180156e9c]
call fcn.1800fdde0
jmp 0x1800fdc9b
mov eax, dword [rsp + 0x50]
xor edx, edx
mov ecx, 2
div rcx
lea rcx, [0x180156e9c]
mov word [rcx + rax*2 - 2], 0
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x180156e94]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [0x1801575d8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800fdce8
mov dword [0x180156e94], 1
mov dword [rsp + 0x50], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [0x180156e98]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, [0x1801575e8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1800fdd35
mov dword [0x180156e98], 0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x38], 0
jmp 0x1800fdd6f
mov edx, 0x104
lea rcx, [0x180156e9c]
call fcn.1800fdde0
mov dword [0x180156e94], 0
mov dword [0x180156e98], 0
mov eax, dword [0x180156e94]
and eax, 1
cmp eax, 1
jne 0x1800fddcf
mov dx, 0x5c
lea rcx, [0x180156e9c]
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800fddc1
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov r8, qword [rsp + 0x30]
mov edx, 0x208
lea rcx, [0x1801570a4]
call fcn.1800fc580
jmp 0x1800fddca
mov word [0x1801570a4], 0
call fcn.1800fd620
mov eax, dword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x1800fe7d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1800fe801
mov eax, dword [rsp + 0x20]
and eax, 0x10
test eax, eax
jne 0x1800fe801
mov eax, 1
jmp 0x1800fe803
xor eax, eax
add rsp, 0x38
ret

Function at 0x1800fe810
Capabilities:
Hash data with md5

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov rax, qword [rsp + 8]
mov dword [rax + 4], 0
mov rax, qword [rsp + 8]
mov dword [rax], 0
mov eax, dword [rsp + 0x10]
imul eax, eax, 0xb
add eax, 0x67452301
mov rcx, qword [rsp + 8]
mov dword [rcx + 8], eax
mov eax, dword [rsp + 0x10]
imul eax, eax, 0x47
add eax, 0xefcdab89
mov rcx, qword [rsp + 8]
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 0x10]
imul eax, eax, 0x25
add eax, 0x98badcfe
mov rcx, qword [rsp + 8]
mov dword [rcx + 0x10], eax
mov eax, dword [rsp + 0x10]
imul eax, eax, 0x61
add eax, 0x10325476
mov rcx, qword [rsp + 8]
mov dword [rcx + 0x14], eax
ret

Function at 0x180100720
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x180157688]
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x88], 0x20
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x124], 0
jne 0x180100764
mov rcx, qword [rsp + 0xb0]
call fcn.180100200
mov rax, qword [rsp + 0xb0]
cmp dword [rax + 0x124], 1
jne 0x18010079c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x122]
cmp eax, 1
jne 0x180100795
mov eax, 1
jmp 0x180100842
xor eax, eax
jmp 0x180100842
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x180130110]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801007ce
xor eax, eax
jmp 0x180100842
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180130170]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x8c], eax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x8c], 0
je 0x180100823
xor eax, eax
jmp 0x180100842
lea rdx, [rsp + 0x40]
lea rcx, [0x180130188]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180100840
mov eax, 1
jmp 0x180100842
xor eax, eax
mov rcx, qword [rsp + 0x90]
call fcn.180124250
add rsp, 0xa8
ret
Function at 0x180101070
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
lea r8, [rsp + 0x40]
lea rdx, [0x1801302d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1801010d6
jmp 0x1801011df
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x180130330]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x180101115
cmp dword [rsp + 0x38], 0
jne 0x18010111f
jmp 0x1801011df
mov eax, dword [rsp + 0x38]
mov rdx, rax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x180101148
jmp 0x1801011df
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x180130350]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jne 0x180101188
cmp dword [rsp + 0x50], 7
je 0x18010118c
jmp 0x1801011df
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
test eax, eax
je 0x1801011df
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1801011c0
mov dword [rsp + 0x54], 1
jmp 0x1801011df
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x30], rax
jmp 0x180101196
cmp qword [rsp + 0x48], 0
je 0x1801011f2
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp qword [rsp + 0x40], 0
je 0x180101205
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret