joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001b380
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
sub rsp, 0x38
mov rax, qword [rcx + 0x2720]
xor ebp, ebp
sub rax, qword [rcx + 0x2718]
mov rbx, rcx
mov rcx, qword [rcx + 8]
xor r8d, r8d
sar rax, 3
xor edx, edx
lea r9d, [rbp + 2]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x58], ebp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [rsp + 0x50], ebp
je 0x18001b4a1
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x60], rsi
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 0x2720]
lea esi, [rbp + 4]
sub rax, qword [rbx + 0x2718]
mov edi, ebp
sar rax, 3
test rax, rax
je 0x18001b453
mov ecx, ebp
nop dword [rax + rax]
mov rdx, qword [rbx + 0x2718]
lea r9, [rsp + 0x58]
mov r8d, 0x20
mov qword [rsp + 0x20], rbp
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [rbx + 0x2720]
inc edi
sub rax, qword [rbx + 0x2718]
add esi, 0x20
sar rax, 3
mov ecx, edi
cmp rcx, rax
jb 0x18001b410
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x58]
mov r8d, 4
mov dword [rsp + 0x50], esi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x58]
mov r8d, 0x6a
mov qword [rsp + 0x20], rbp
lea rdx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
add rsp, 0x38
pop rbp
pop rbx
ret
Function at 0x18001da30
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rdi, rcx
je 0x18001daa5
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor ebx, ebx
mov rcx, qword [rdi + 8]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x18001da70
inc ebx
cmp ebx, 2
jl 0x18001da51
jmp 0x18001da75
cmp ebx, 2
jl 0x18001da8e
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, qword [rdi + 8]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 8], 0
mov eax, 1
add rsp, 0x20
pop rdi
ret

Function at 0x18001dad0
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r14d, r14d
lea rcx, [0x18008e0a0]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor r8d, r8d
xor edx, edx
xor dil, dil
xor sil, sil
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
je 0x18001dbea
mov qword [rsp + 0x260], rbx
mov qword [rsp + 0x28], r14
lea rdx, str.http:__profile.se.360.cn_proxyerr.php
xor r9d, r9d
mov dword [rsp + 0x20], 0x84000000
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
je 0x18001dbcc
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x200
call fcn.18005f7c0
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0x100
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r14
mov edx, 0x13
mov rcx, rbx
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x18001dbbd
lea rcx, [rsp + 0x40]
call fcn.1800685f4
add eax, 0xfffffe6d
test eax, 0xfffffffb
jne 0x18001dbbd
mov rcx, rbx
call fcn.18001d9f0
test al, al
setne dil
jmp 0x18001dbc3
xor dil, dil
mov sil, 1
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test dil, dil
jne 0x18001db31
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rbx, qword [rsp + 0x260]
movzx eax, sil
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18003ff90
lea r11, [rsp + 0x250]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x18002d9b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x1800bf808]
mov rdi, rcx
test al, 1
jne 0x18002d9e9
or eax, 1
xor ecx, ecx
mov dword [0x1800bf808], eax
call fcn.180067270
mov qword [0x1800bf800], rax
mov eax, dword [0x1800bf808]
test al, 2
jne 0x18002da0d
or eax, 2
xor ecx, ecx
mov dword [0x1800bf808], eax
call fcn.180067270
mov ecx, dword [0x1800bb05c]
add rcx, rax
mov qword [0x1800bf810], rcx
xor ecx, ecx
call fcn.180067270
mov ecx, dword [0x1800bf754]
mov rdx, rax
sub rdx, qword [0x1800bf810]
xor esi, esi
mov rbx, rax
cmp rdx, rcx
jl 0x18002da7e
lea rcx, [0x1800bf7b0]
mov qword [0x1800bf810], rax
call fcn.18003e3bc
test eax, eax
je 0x18002da4a
cmp eax, 3
jmp 0x18002da75
lea r9, [rdi - 8]
mov qword [rsp + 0x28], rsi
lea r8, [0x18002edf0]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call fcn.180068798
lea rcx, [0x1800bf7b0]
call fcn.18003e3f8
test eax, eax
je 0x18002da7e
mov ecx, eax
call fcn.18003e500
movsxd rax, dword [rdi + 0x10]
mov rcx, rbx
sub rcx, qword [0x1800bf800]
cmp rcx, rax
jl 0x18002dabd
lea r9, [rdi - 8]
mov qword [rsp + 0x28], rsi
lea r8, [0x18002f2b0]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call fcn.180068798
mov qword [0x1800bf800], rbx
call fcn.18003a9f0
mov dword [rdi + 0x10], eax
mov eax, dword [0x1800bf808]
test al, 4
jne 0x18002dae9
or eax, 4
xor ecx, ecx
mov dword [0x1800bf808], eax
call fcn.180067270
mov ecx, dword [0x1800bb05c]
add rcx, rax
mov qword [0x1800bf818], rcx
jmp 0x18002daf0
mov rcx, qword [0x1800bf818]
mov eax, dword [0x1800bf750]
sub rbx, rcx
cmp rbx, rax
jl 0x18002db57
lea rcx, [0x1800bf7b0]
call fcn.18003e3bc
test eax, eax
je 0x18002db13
cmp eax, 3
jmp 0x18002db3e
lea r9, [rdi - 8]
mov qword [rsp + 0x28], rsi
lea r8, [0x18002edf0]
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call fcn.180068798
lea rcx, [0x1800bf7b0]
call fcn.18003e3f8
test eax, eax
je 0x18002db47
mov ecx, eax
call fcn.18003e500
imul eax, dword [0x1800bb058], 0x168
mov dword [0x1800bf750], eax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18002f200
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18002f22e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180030300
cmp byte [0x1800bf6e0], 0
jne 0x18002f279
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002f269
lea rdx, [0x180092e30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800bf6d8], rax
mov byte [0x1800bf6e0], 1
jmp 0x18002f280
mov rax, qword [0x1800bf6d8]
mov byte [0x1800bf6e0], 1
jmp 0x18002f280
mov rax, qword [0x1800bf6d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18002f29f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
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 0x180030374
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180030396
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180030396
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180030396
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x18002f850
Capabilities:
Create process on windows
Create thread

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.18005f7c0
mov edx, 0x104
lea rcx, [rsp + 0x30]
call fcn.180037d10
test eax, eax
je 0x18002f908
call fcn.18003c450
test eax, eax
je 0x18002f908
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0x1d4c0
ja 0x18002f908
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.18005f7c0
lea r8, [rsp + 0x30]
lea rdx, str.__s_
lea rcx, [rsp + 0x240]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [0x1800934c0]
mov dword [rsp + 0x28], 1
lea r8, [rsp + 0x240]
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.18003a9f0
mov r9, rbx
mov qword [rsp + 0x28], 0
lea r8, [0x18002f2b0]
mov dword [rbx + 0x18], eax
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call fcn.180068798
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.18003ff90
add rsp, 0x460
pop rbx
ret
Function at 0x1800301b0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r9d, dword [rcx + 8]
xor ebp, ebp
mov rsi, rdx
mov qword [rsp + 0x48], rbp
mov r8, rdx
mov dword [rsp + 0x50], ebp
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x58], rbp
lea rcx, [rsp + 0x48]
call fcn.18002fd10
mov ebx, eax
test eax, eax
jne 0x1800302c7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1800302a1
nop dword [rax + rax]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1800301b0
mov ebx, eax
test eax, eax
jne 0x1800302c7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0x40], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x180030250
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800302b6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbp
mov rdx, rsi
mov dword [rsp + 0x50], ebp
mov rcx, rdi
call fcn.18002f200
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1800302d7
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.18003ff90
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180030300
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x18002f22e
mov r8, rdx
mov rdx, qword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180030300
cmp byte [0x1800bf6e0], 0
jne 0x18002f279
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18002f269
lea rdx, [0x180092e30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800bf6d8], rax
mov byte [0x1800bf6e0], 1
jmp 0x18002f280
mov rax, qword [0x1800bf6d8]
mov byte [0x1800bf6e0], 1
jmp 0x18002f280
mov rax, qword [0x1800bf6d8]
mov rcx, qword [rbx]
mov rdx, rdi
test rax, rax
je 0x18002f29f
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
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 0x180030374
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180030396
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180030396
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rdx, rdi
mov rcx, rsi
call rax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp dword [rcx + 8], 0
je 0x180030396
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800305a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18003062e
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x18003062e
call fcn.18002ebe0
mov ebx, eax
jmp 0x180030756
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x18003064f
call fcn.18002ebe0
jmp 0x180030745
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x180030672
call fcn.18002ebe0
jmp 0x180030745
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x180030694
mov ebx, 0x8007000e
jmp 0x180030747
mov ecx, eax
test eax, eax
je 0x1800306cc
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1800306c2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1800306cc
lea rcx, [rsp + 0x70]
call fcn.18002ead0
jmp 0x1800306d6
mov ecx, 0x80070216
call fcn.18002edd0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1800306e9
cmp qword [rsp + 0x70], 0
jne 0x1800306f8
mov ebx, 0x8007000e
jmp 0x180030747
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x180030722
call fcn.18002ebe0
jmp 0x180030745
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1800303b0
mov ebx, eax
test rdi, rdi
je 0x180030756
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x18003076d
lea rcx, [rsp + 0x70]
call fcn.18002f3a0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.18003ff90
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x180030f00
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x180030f40
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9, r8
mov r10, rdx
test r8, r8
jne 0x180030f58
lea eax, [r8 + 0xd]
add rsp, 0x38
ret
xor r8d, r8d
mov rdx, r9
nop
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x180030f64
inc eax
lea rdx, [rdx + rax*2]
lea r8d, [r8 + rax*2]
cmp eax, 1
jne 0x180030f60
mov rcx, qword [rcx]
mov rdx, r10
mov dword [rsp + 0x28], r8d
xor r8d, r8d
mov qword [rsp + 0x20], r9
lea r9d, [rax + 6]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1800327f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x40
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ecx, 0x800
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov rcx, qword [0x1800be438]
lea rax, str.APPID
mov edx, 0x65
mov qword [rsp + 0x20], rax
lea rax, str.FA8EDCDD_EFA2_477B_B00A_7F28F02CD37E
xorps xmm0, xmm0
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rax
movdqu xmmword [rsp + 0x30], xmm0
lea r8d, [rdx - 0x64]
call fcn.180031190
mov ebx, eax
test eax, eax
js 0x1800325cd
mov rax, qword [0x1800be458]
xor ebx, ebx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rdi, qword [0x1800be450]
cmp rdi, rax
jae 0x180032594
nop word [rax + rax]
mov rsi, qword [rdi]
test rsi, rsi
je 0x180032587
mov ecx, 1
call qword [rsi + 8]
mov ebx, eax
test eax, eax
js 0x1800325a8
call qword [rsi + 0x30]
mov rcx, qword [rsi]
mov r8d, 1
mov rdx, rax
call fcn.180031ce0
mov ebx, eax
test eax, eax
js 0x1800325a8
mov rax, qword [0x1800be458]
add rdi, 8
cmp rdi, rax
jb 0x180032550
test ebx, ebx
js 0x1800325a8
test ebp, ebp
je 0x1800325a8
mov rcx, qword [0x1800be448]
xor edx, edx
call fcn.1800321e0
mov ebx, eax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
test ebx, ebx
js 0x1800325cd
mov rax, qword [0x1800be420]
test rax, rax
je 0x1800325cd
mov rcx, qword [0x1800c0d38]
call rax
mov ebx, eax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
sub rsp, 0x38
cmp qword [0x1800bf960], 8
lea rcx, [0x1800bf948]
mov eax, dword [0x1800bf958]
lea rdx, [0x1800bf928]
cmovae rcx, qword [0x1800bf948]
lea r8, [0x18008e0a0]
cmp qword [0x1800bf940], 8
mov r9d, 1
cmovae rdx, qword [0x1800bf928]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, 1
lea rcx, [0x1800bf970]
add rsp, 0x38
jmp 0x1800324c0
Function at 0x180032870
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x20], rbx
push r14
sub rsp, 0x40
mov qword [rsp + 0x50], rbp
mov ebp, edx
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov ecx, 0x800
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov rcx, qword [0x1800be428]
test rcx, rcx
je 0x18003262e
call rcx
mov ebx, eax
test eax, eax
js 0x1800326ac
mov rax, qword [0x1800be458]
xor ebx, ebx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov rdi, qword [0x1800be450]
cmp rdi, rax
jae 0x18003268e
nop dword [rax]
mov rsi, qword [rdi]
test rsi, rsi
je 0x180032681
call qword [rsi + 0x30]
mov rcx, qword [rsi]
xor r8d, r8d
mov rdx, rax
call fcn.180031ce0
mov ebx, eax
test eax, eax
js 0x1800326a2
xor ecx, ecx
call qword [rsi + 8]
mov ebx, eax
test eax, eax
js 0x1800326a2
mov rax, qword [0x1800be458]
add rdi, 8
cmp rdi, rax
jb 0x180032650
test ebx, ebx
js 0x1800326a2
test ebp, ebp
je 0x1800326a2
mov rcx, qword [0x1800be448]
xor edx, edx
call fcn.1800323f0
mov ebx, eax
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
test ebx, ebx
js 0x1800326f0
mov rcx, qword [0x1800be438]
lea rax, str.APPID
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rax, str.FA8EDCDD_EFA2_477B_B00A_7F28F02CD37E
xorps xmm0, xmm0
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rax
movdqu xmmword [rsp + 0x30], xmm0
lea edx, [r8 + 0x65]
call fcn.180031190
mov ebx, eax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
sub rsp, 0x28
cmp qword [0x1800bf940], 8
lea rdx, [0x1800bf928]
mov rcx, 0xffffffff80000002
cmovae rdx, qword [0x1800bf928]
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, 1
lea rcx, [0x1800bf970]
add rsp, 0x28
jmp 0x1800325f0
Function at 0x180032b50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
sub rsp, 0x4c8
mov rax, qword [0x1800bb120]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rbp, rdx
lea r8, [0x180093800]
mov rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.18006eef0
mov rbx, qword [rsp + 0x20]
test rbx, rbx
je 0x180032c9a
mov qword [rsp + 0x4f0], rsi
lea rcx, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x4c0], rdi
call fcn.180032df0
mov r9, rbx
lea rcx, [rsp + 0xb0]
mov edx, 1
mov r8d, 0x400
call fcn.18006f1c8
mov r8d, eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x30]
mov rbx, rax
call fcn.180032e30
test ebx, ebx
je 0x180032c24
cmp ebx, 0x400
jl 0x180032c24
mov r9, qword [rsp + 0x20]
lea rcx, [rsp + 0xb0]
mov edx, 1
mov r8d, 0x400
call fcn.18006f1c8
mov r8d, eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x30]
mov ebx, eax
call fcn.180032e30
test ebx, ebx
jne 0x180032be4
mov rcx, qword [rsp + 0x20]
call fcn.1800660d8
lea rcx, [rsp + 0x30]
call fcn.180032cc0
movups xmm0, xmmword [rsp + 0x88]
lea rbx, [rsp + 0xa0]
mov rdi, rbp
mov esi, 0x10
movups xmmword [rsp + 0xa0], xmm0
nop dword [rax + rax]
movzx r9d, byte [rbx]
lea r8, str._02x
mov edx, 3
mov rcx, rdi
call fcn.180027c30
add rdi, 2
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x180032c60
mov rdi, qword [rsp + 0x4c0]
mov byte [rbp + 0x20], sil
mov rsi, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.18003ff90
add rsp, 0x4c8
pop rbp
pop rbx
ret