joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f9a50
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [0x1403ab0e8], 0
lea rcx, [0x140218778]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400f9a8f
xor eax, eax
jmp 0x1400f9c10
lea rdx, str.VixDiskLib_Init
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402187a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x90], rax
lea rdx, str.VixDiskLib_Connect
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
lea rdx, [0x1402187d0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, [0x1402187e8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 1
call qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov r8d, gethostbyname
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.1400a8070
lea rdx, [0x1403ab0e8]
lea rcx, [rsp + 0x60]
call qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400f9be9
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x40]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xa0]
call fcn.140010e20
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140010eb0
mov r8, rax
lea rdx, str._ERROR__VirtualDiskInit_failed:__s
mov ecx, 1
call fcn.1400dc5d0
nop
lea rcx, [rsp + 0xa0]
call fcn.140002e10
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x30]
call qword [rsp + DllRegisterServer]
xor eax, eax
jmp 0x1400f9c10
cmp qword [rsp + 0x38], 0
jne 0x1400f9bfe
mov dword [rsp + 0xc0], 1
jmp 0x1400f9c09
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
add rsp, 0xd8
ret
Function at 0x1400fa2d0
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x98], 0
cmp dword [rsp + 0x88], 0x80000000
jne 0x1400fa398
cmp dword [rsp + 0x98], 0
je 0x1400fa317
mov dword [rsp + 0x60], 0
jmp 0x1400fa31f
mov dword [rsp + 0x60], 0x20000000
mov eax, dword [rsp + 0x60]
or eax, 0x48000000
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa38e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x1402184a0]
mov ecx, 1
call fcn.1400dc5d0
mov rax, qword [rsp + 0x50]
jmp 0x1400fa4dc
mov rcx, qword [rsp + 0x80]
call fcn.1400f8fa0
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], 4
cmp dword [rsp + 0x40], 3
je 0x1400fa3c6
cmp dword [rsp + 0x40], 4
je 0x1400fa3c6
cmp dword [rsp + 0x40], 5
jne 0x1400fa3d0
mov dword [rsp + 0x44], 3
jmp 0x1400fa3f2
mov dword [rsp + 0x44], 4
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400fa3f2
mov dword [rsp + 0x44], 3
cmp dword [rsp + 0x98], 0
je 0x1400fa46d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x48000000
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa466
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, [0x140218500]
mov ecx, 1
call fcn.1400dc5d0
mov rax, qword [rsp + 0x58]
jmp 0x1400fa4dc
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x68000000
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400fa4d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, qword [rsp + 0x80]
lea rdx, str._ERROR__file_open__s_error__d
mov ecx, 1
call fcn.1400dc5d0
mov rax, qword [rsp + 0x48]
add rsp, 0x78
ret
Function at 0x140105d90
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x28]
call fcn.140001000
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea r8, [0x1402199f8]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400010b0
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
lea rdx, str.AlwaysVhdx
lea rcx, [0x140219a28]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x30]
call fcn.140001470
nop
lea rcx, [rsp + 0x28]
call fcn.140001470
cmp dword [rsp + 0x20], 0
je 0x140105e4d
lea rdx, [0x140219a38]
mov rcx, qword [rsp + 0x70]
call fcn.140002090
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x140105eda
mov rcx, qword [rsp + 0x78]
call fcn.1400f8fa0
cmp eax, 8
je 0x140105e7a
mov rcx, qword [rsp + 0x78]
call fcn.1400f8fa0
cmp eax, 4
je 0x140105e7a
mov rcx, qword [rsp + 0x78]
call fcn.1400f8fa0
cmp eax, 5
jne 0x140105eb9
mov rcx, qword [rsp + 0x78]
call fcn.140105330
mov r11, rax
movabs rax, 0x20000000000
cmp r11, rax
jbe 0x140105eb9
lea rdx, [0x140219a48]
mov rcx, qword [rsp + 0x70]
call fcn.140002090
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
jmp 0x140105eda
lea rdx, [0x140219a58]
mov rcx, qword [rsp + 0x70]
call fcn.140002090
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x140107630
Capabilities:
Get disk information

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140107663
mov eax, 1
jmp 0x140107665
xor eax, eax
add rsp, 0x28
ret

Function at 0x1401088e0
Capabilities:
Check if file exists

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x250
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x248], rax
cmp dword [rsp + 0x270], 0
je 0x140108920
mov dword [rsp + 0x240], 0xc0000000
jmp 0x14010892b
mov dword [rsp + 0x240], 0x80000000
xor r9d, r9d
mov r8d, 3
mov edx, dword [rsp + 0x240]
mov rcx, qword [rsp + 0x260]
call fcn.1400fa2d0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x140108961
mov rax, 0xffffffffffffffff
jmp 0x140108a82
mov rdx, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x20]
call fcn.140107c10
cmp eax, 1
jne 0x140108982
mov rax, qword [rsp + 0x20]
jmp 0x140108a82
mov rax, qword [rsp + 0x268]
cmp dword [rax + 0x30], 0
je 0x140108a70
xor eax, eax
mov word [rsp + 0x30], ax
lea rdi, [rsp + 0x32]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x260]
lea rcx, [rsp + 0x30]
call fcn.1400a9460
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [rsp + 0x30]
call fcn.1400a81f4
test rax, rax
je 0x1401089fa
lea rcx, [rsp + 0x30]
call fcn.1400a81f4
movzx eax, word [rsp + rax*2 + 0x2e]
cmp eax, 0x5c
je 0x1401089fa
lea rdx, [0x140219a54]
lea rcx, [rsp + 0x30]
call fcn.1400a9434
mov rdx, qword [rsp + 0x268]
add rdx, 0x448
lea rcx, [rsp + 0x30]
call fcn.1400a9434
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140108a50
mov rax, qword [rsp + 0x268]
movzx eax, word [rax + 0x448]
test eax, eax
je 0x140108a50
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
lea rdx, [rsp + 0x30]
call fcn.1400a9460
jmp 0x140108a70
mov rdx, qword [rsp + 0x268]
add rdx, 0x48
mov rcx, qword [rsp + 0x268]
add rcx, 0xc48
call fcn.1400a9460
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x250
pop rdi
ret
Function at 0x14010d830
Capabilities:
Delete directory
Delete file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x3960
call fcn.1401d5c30
sub rsp, rax
mov qword [rsp + 0x37b8], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x3950], rax
lea rcx, [rsp + 0x48]
call fcn.140002d50
nop
mov r8, qword [0x1403adac8]
lea rdx, [0x140221c80]
lea rcx, [rsp + 0x48]
call fcn.140002be0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.taskkill__F__IM_CCBootTools.exe
call fcn.1400048c0
lea rcx, [rsp + 0x50]
call fcn.14000f930
nop
lea rcx, [rsp + 0x398]
call fcn.140007bb0
nop
lea rdx, [rsp + 0x398]
lea rcx, [rsp + 0x50]
call fcn.1401b8110
mov dword [rsp + 0x3d8], 0
jmp 0x14010d8e6
mov eax, dword [rsp + 0x3d8]
add eax, 1
mov dword [rsp + 0x3d8], eax
mov edi, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007c30
cmp rdi, rax
jae 0x14010d9fa
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007c60
mov rcx, rax
add rcx, 0x1a8
lea rdx, [0x140221cf0]
call fcn.140006050
test eax, eax
je 0x14010d933
jmp 0x14010d8d5
lea rcx, [rsp + 0x3e0]
call fcn.140002d50
nop
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007c60
mov rcx, rax
add rcx, 0x1a0
xor edx, edx
call fcn.140006d70
movzx r8d, ax
lea rdx, str._c:ToolsCCBootTools.exe
lea rcx, [rsp + 0x3e0]
call fcn.140002be0
lea rcx, [rsp + 0x3e0]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [rsp + 0x3d8]
lea rcx, [rsp + 0x398]
call fcn.140007c60
mov rcx, rax
add rcx, 0x1a0
xor edx, edx
call fcn.140006d70
movzx r8d, ax
lea rdx, [0x140221d38]
lea rcx, [rsp + 0x3e0]
call fcn.140002be0
lea rcx, [rsp + 0x3e0]
call fcn.1400012c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea rcx, [rsp + 0x3e0]
call fcn.140001470
jmp 0x14010d8d5
mov dword [rsp + 0x3648], 0
lea rcx, [rsp + 0x398]
call fcn.140007c00
nop
lea rcx, [rsp + 0x50]
call fcn.140005d50
nop
lea rcx, [rsp + 0x48]
call fcn.140001470
mov eax, dword [rsp + 0x3648]
jmp 0x14010f361
mov rcx, qword [rsp + 0x3950]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x3960
pop rdi
ret
Function at 0x14010f670
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x8b0
mov qword [rsp + 0x898], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x8a8], rax
mov dword [rsp + 0x30], 5
mov rax, qword [rsp + 0x8c0]
cmp dword [rax + 0x220], 0
je 0x14010f8f1
cmp dword [rsp + 0x30], 5
jge 0x14010f6d7
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14010f6a3
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
call fcn.140010ae0
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
call fcn.140027a20
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.140081e00
nop
cmp qword [rsp + 0x60], 0
je 0x14010f752
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
lea r9, [rsp + 0x6c]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call fcn.14001cb50
mov edx, dword [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.14000f530
jmp 0x14010f717
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
mov rax, qword [rsp + 0x8c0]
mov rax, qword [rax + 0x2d0]
call qword [rax + 0x28]
mov dword [rsp + 0x70], 0
jmp 0x14010f788
mov eax, dword [rsp + 0x70]
add eax, 1
mov dword [rsp + 0x70], eax
movsxd rbx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000f920
cmp rbx, rax
jge 0x14010f8e2
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x880], rax
movsxd rdx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000f810
mov eax, dword [rax]
mov dword [rsp + 0x888], eax
mov ecx, dword [rsp + 0x888]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
lea rcx, [rsp + 0x890]
call fcn.140010e20
mov qword [rsp + 0x8a0], rax
mov rcx, qword [rsp + 0x8a0]
call fcn.140010eb0
mov r8, rax
lea rdx, [0x140222d30]
lea rcx, [rsp + 0x80]
call fcn.1400a9054
lea rcx, [rsp + 0x890]
call fcn.140002e10
lea rcx, [0x1403ac600]
call fcn.140022520
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, eax
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x880]
mov rcx, qword [rsp + 0x8c0]
call fcn.1400d8e40
mov dword [rsp + 0x88c], eax
mov rcx, qword [rsp + 0x880]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
call fcn.140010ae0
movsxd rdx, dword [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14000f810
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x298
mov r8d, dword [rsp + 0x88c]
mov edx, dword [rax]
call fcn.14001cb20
mov rcx, qword [rsp + 0x8c0]
add rcx, 0x2d0
mov rax, qword [rsp + 0x8c0]
mov rax, qword [rax + 0x2d0]
call qword [rax + 0x28]
jmp 0x14010f77d
lea rcx, [rsp + 0x38]
call fcn.140081e20
jmp 0x14010f6a3
mov rcx, qword [rsp + 0x8a8]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x8b0
pop rbx
ret
Function at 0x1401103d0
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x1401104b2
mov qword [rsp + 0x28], 0
call qword [sym.imp.WS2_32.dll_WSACreateEvent]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call sub.IPHLPAPI.DLL_NotifyAddrChange
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140110442
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x140110442
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, [0x140222cc8]
mov ecx, 1
call fcn.1400dc5d0
jmp 0x1401104b2
mov dword [rsp + 0x20], 0x102
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x220], 0
je 0x140110478
cmp dword [rsp + 0x20], 0x102
jne 0x140110478
mov edx, 0x3e8
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x20], eax
jmp 0x14011044a
cmp dword [rsp + 0x20], 0
jne 0x1401104a2
mov rax, qword [rsp + 0x70]
add rax, 0x378
mov ecx, 1
xchg dword [rax], ecx
lea rdx, str.IP_changed_notification
mov ecx, 1
call fcn.1400dc5d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_WSACloseEvent]
jmp 0x1401103d9
add rsp, 0x68
ret
Function at 0x140116810
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2088
call fcn.1401d5c30
sub rsp, rax
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x2070], rax
mov r8d, 0x38
xor edx, edx
lea rcx, [rsp + 0x2030]
call fcn.1400a8070
mov r8d, 0x2000
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400a8070
mov rdx, qword [rsp + 0x2090]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
cdqe
movzx eax, word [rsp + rax*2 + 0x30]
cmp eax, 0x5c
jne 0x1401168a5
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, 1
movsxd rcx, eax
xor eax, eax
mov word [rsp + rcx*2 + 0x30], ax
mov eax, 0x610
mov word [rsp + 0x2050], ax
mov qword [rsp + 0x2058], 0
mov qword [rsp + 0x2030], 0
mov qword [rsp + 0x2060], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x2040], rax
mov rax, qword [rsp + 0x2098]
mov qword [rsp + 0x2048], rax
mov dword [rsp + 0x2038], 2
lea rcx, [rsp + 0x2030]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x14011691d
mov dword [rsp + 0x2068], 1
jmp 0x140116928
mov dword [rsp + 0x2068], 0
mov eax, dword [rsp + 0x2068]
mov rcx, qword [rsp + 0x2070]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x2088
ret
Function at 0x140117200
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.140116c90
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011725f
xor eax, eax
jmp 0x140117402
movzx eax, word [0x140222ea4]
mov word [rsp + 0x90], ax
lea rdi, [rsp + 0x92]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x4c0], 0x3fff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x4bc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x84], 0
je 0x1401173f2
mov edx, dword [rsp + 0x84]
lea rcx, [0x140223548]
call fcn.1400ac814
mov dword [rsp + 0x6c], 0
jmp 0x140117354
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x1401173f2
mov dword [rsp + 0x68], 0xff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x2b0]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x1401173ed
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x140223560]
lea rcx, [rsp + 0x4d0]
call fcn.1400a9054
lea rcx, [rsp + 0x4d0]
call fcn.140117200
jmp 0x140117349
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0xcd0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0xce0
pop rdi
ret
Function at 0x1401178c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xce0
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0xcd0], rax
mov rcx, qword [rsp + 0xcf0]
call fcn.140117200
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011791d
jmp 0x140117ace
movzx eax, word [0x140222eb4]
mov word [rsp + 0x90], ax
lea rdi, [rsp + 0x92]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x78], 0x104
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x4c0], 0x3fff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x4bc]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x84], 0
je 0x140117aae
mov edx, dword [rsp + 0x84]
lea rcx, [0x140223598]
call fcn.1400ac814
mov dword [rsp + 0x6c], 0
jmp 0x140117a12
mov eax, dword [rsp + 0x6c]
add eax, 1
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x6c], eax
jae 0x140117aae
mov dword [rsp + 0x68], 0xff
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x2b0]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jne 0x140117aa9
lea r9, [rsp + 0x2b0]
mov r8, qword [rsp + 0xcf0]
lea rdx, [0x1402235b0]
lea rcx, [rsp + 0x4d0]
call fcn.1400a9054
lea rcx, [rsp + 0x4d0]
call fcn.1401178c0
jmp 0x140117a07
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0xcf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0xcd0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0xce0
pop rdi
ret
Function at 0x14011bdd0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x2048
call fcn.1401d5c30
sub rsp, rax
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x2038], rax
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x14011be5e
lea rax, [rsp + 0x2070]
mov qword [rsp + 0x2030], rax
mov r9, qword [rsp + 0x2030]
mov r8, qword [rsp + 0x2068]
mov edx, 0x2000
lea rcx, [rsp + 0x30]
call fcn.1400ad7d8
mov qword [rsp + 0x2030], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x2038]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x2048
ret
Function at 0x1401331b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.14000f720
lea r8, [0x140232e80]
lea rdx, [0x140232e88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1401331e6
xor eax, eax
jmp 0x14013321a
call fcn.14000f720
mov rdx, qword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r8d, 0x200
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400a8d20
mov eax, 1
add rsp, 0x38
ret