joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006b50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140006bc4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006be0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006bbd
mov qword [rsi], rdi
call fcn.140006780
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.plugin_container.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
sbb ebx, dword [rsi + riz*4 + 0xfcd97e]
mov edx, 0xef394a1b
jl 0x14007ac96
fild qword [rsi + 0x63]
xor byte [rax], bl
xchg r12d, eax
push rax
scasd eax, dword [rdi]
scasb al, byte [rdi]
invalid
adc esp, edx
scasd eax, dword [rdi]
invalid
invalid

Function at 0x140006c50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006ce0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1581954009_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006ca8
add rdi, rbx
sub rsi, rbx
je 0x140006ce0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006ca0
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006ca0
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140036e40
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140b580b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140b58237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b580e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b580c7
add dl, dl
jne 0x140b580ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b5814e
xor eax, eax
add dl, dl
jne 0x140b580fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b58205
add dl, dl
jne 0x140b5810e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5811b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b58128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b58135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b58142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b580d6
mov eax, 1
add dl, dl
jne 0x140b5815e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b5816b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b58153
sub eax, ebx
mov ebx, 1
jne 0x140b581a4
mov ecx, 1
add dl, dl
jne 0x140b58186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b58193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b5817b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b580d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b581c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b581cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b581b5
cmp eax, 0x7d00
jae 0x140b581f3
cmp eax, 0x500
jb 0x140b581ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b580d6
cmp eax, 0x7f
ja 0x140b581f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b580d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b5822a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140b580d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001050
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create thread
Get file attributes
Get file size
Read file on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 0x17]
mov dword [rbp + 0x17], 0x6e72656b
mov dword [rbp + 0x1b], 0x32336c65
mov dword [rbp + 0x1f], 0x6c6c642e
mov byte [rbp + 0x23], 0
mov dword [rbp + 0x27], 0x74726956
mov dword [rbp + 0x2b], 0x506c6175
mov dword [rbp + 0x2f], 0x65746f72
mov word [rbp + 0x33], 0x7463
mov byte [rbp + 0x35], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x1400010d6
xor r9d, r9d
lea r8, str.info
lea rdx, str.LoadLibraryA_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140001274
lea rdx, [rbp + 0x27]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001cc48], rax
test rax, rax
jne 0x140001112
xor r9d, r9d
lea r8, str.info
lea rdx, str.GetProcAddress_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140001274
mov qword [rsp + 0xa0], rbx
lea rcx, [rbp + 0xb]
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x80], r15
mov dword [rbp + 0xb], 0x622e6373
mov word [rbp + 0xf], 0x6e69
mov byte [rbp + 0x11], 0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001247
test al, 0x10
jne 0x140001247
xor r15d, r15d
lea rcx, [rbp + 0xb]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140001247
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
lea r9d, [r15 + 4]
mov r8d, 0x1000
mov esi, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r9, [rbp + 7]
mov dword [rbp + 7], r15d
mov rdx, rax
mov qword [rsp + 0x20], r15
mov r8d, esi
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140001247
cmp esi, dword [rbp + 7]
jne 0x140001247
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9, rbx
mov qword [rsp + 0x28], r15
lea r8, section..text
mov dword [rsp + 0x20], r15d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14000122c
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test rbx, rbx
je 0x140001243
mov r8d, 0x10000
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000124c
mov eax, 1
mov r14, qword [rsp + 0x88]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x80]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400012a0
add rsp, 0x90
pop rbp
ret
Function at 0x140001c88
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001cd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001cd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001cd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001cd2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001cd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001cd4
xor al, al
add rsp, 0x28
ret

Function at 0x14000640c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006208
Function at 0x10003a404
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x670
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x660], rax
lea rcx, [r11 - 0x428]
lea rbx, [0x100000000]
xor edx, edx
mov rax, qword [rbx + 0x25668]
mov r8d, 0x1ee
mov qword [rcx], rax
mov rax, qword [rbx + 0x25670]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x25678]
mov qword [rcx + 0x10], rax
movzx eax, word [rbx + 0x25680]
mov word [rcx + 0x18], ax
lea rcx, [r11 - 0x40e]
call sub.msvcrt.dll_memset
mov rax, qword [rbx + 0x25688]
lea r11, [rsp + 0x458]
mov qword [r11], rax
mov rax, qword [rbx + 0x25690]
lea rcx, [rsp + 0x476]
mov qword [r11 + 8], rax
mov rax, qword [rbx + 0x25698]
xor edx, edx
mov qword [r11 + 0x10], rax
mov eax, dword [rbx + 0x256a0]
mov r8d, 0x1ea
mov dword [r11 + 0x18], eax
movzx eax, word [rbx + 0x256a4]
mov word [r11 + 0x1c], ax
call sub.msvcrt.dll_memset
xor ebx, ebx
and qword [rsp + 0x30], 0
movsxd rax, ebx
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov edi, 1
imul rax, rax, 0x208
lea rsi, [rsp + rax + 0x250]
lea rax, [rsp + 0x30]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003a565
and dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea r9d, [rdi + 3]
lea rdx, [0x1000256a8]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10003a556
mov rcx, qword [rsp + 0x30]
lea rdx, [0x1000256a8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x10003a5ae
lea r8, [0x1000256b8]
lea rcx, [rsp + 0x40]
mov r9, rsi
mov edx, 0x104
call fcn.10003a080
test eax, eax
js 0x10003a5ae
lea rax, [rsp + 0x40]
test rax, rax
je 0x10003a5ae
lea rdx, [0x1000256d8]
lea rcx, [rsp + 0x40]
call fcn.100057e78
lea rdx, [0x1000256e0]
lea rcx, [rsp + 0x40]
call fcn.100057e78
inc ebx
cmp ebx, 2
jb 0x10003a4cb
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.10007fa70
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x10003b1b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push rdi
sub rsp, 0x290
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
lea rax, [rsp + 0x58]
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
lea rdx, [0x100025840]
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x10003b24a
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea r9d, [rdi + 4]
lea rdx, [0x100025918]
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x58]
lea rdx, [0x100025840]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x10003b3e1
cmp dword [rsp + 0x50], 0xd2af9
je 0x10003b2b7
cmp dword [rsp + 0x50], 0xc00d2afb
je 0x10003b2b7
mov rcx, qword [rsp + 0x58]
lea rdx, [0x100025938]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x10003b3a9
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x60], rdi
call fcn.10003b0d4
cmp eax, edi
jne 0x10003b2f7
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
lea rdx, [0x100025938]
mov r9d, 3
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rax, [rsp + 0x60]
lea rdx, [0x100025960]
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003b3a9
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x10003b341
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.1000529a4
jmp 0x10003b343
mov eax, edi
cmp eax, edi
je 0x10003b39e
lea r8, [0x1000259c8]
lea rcx, [rsp + 0x70]
mov edx, 0x104
call fcn.100039ee4
cmp eax, edi
jl 0x10003b39e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x70]
repne scasw ax, word [rdi]
lea rdx, [0x1000259e0]
mov r9d, 1
not rcx
xor r8d, r8d
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, [0x100025918]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10007fa70
add rsp, 0x290
pop rdi
ret
Function at 0x10003be30
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
mov dword [rax + 8], ecx
push rbx
sub rsp, 0x30
and qword [rax + 0x20], 0
lea rax, [rax + 0x20]
lea rdx, [0x100025840]
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003bf29
lea ebx, [rax + 4]
cmp dword [rsp + 0x40], eax
je 0x10003bef8
and dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
lea rdx, [0x100025bd0]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, [0x100025bf8]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
lea rdx, [0x100025c28]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
lea rdx, [0x100025c50]
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret

Function at 0x10003bf38
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [0x100088818], 0
mov rdi, rcx
mov ebx, 0x80004005
jne 0x10003bfd4
mov ecx, 0x90
call fcn.10007faba
test rax, rax
je 0x10003bf82
mov rcx, rax
call fcn.10004fc40
jmp 0x10003bf84
xor eax, eax
mov qword [0x100088818], rax
test rax, rax
je 0x10003bfd9
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10003bfd9
mov rcx, qword [0x100088818]
mov eax, dword [0x1000887ec]
lea r8, [rsp + 0x20]
mov dword [rcx + 0x7c], eax
mov eax, dword [0x100086898]
mov r9d, 1
mov rdx, rdi
mov dword [rcx + 0x74], eax
call fcn.100050f2c
xor ebx, ebx
jmp 0x10003bfd9
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.10007fa70
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x10003c1c8
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x680
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov rdi, rcx
xor ebx, ebx
call fcn.100053454
cmp eax, ebx
je 0x10003c365
mov qword [rsp + 0x30], rbx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x10003c23b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10003c365
lea rax, [rsp + 0x40]
mov esi, 0x104
lea rcx, [rsp + 0x40]
sub rdi, rax
mov rdx, rsi
mov r8d, ebx
lea rax, [rdx + 0x7ffffefa]
cmp rax, rbx
je 0x10003c275
movzx eax, word [rdi + rcx]
cmp ax, bx
je 0x10003c275
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10003c253
cmp rdx, rbx
jne 0x10003c284
sub rcx, 2
mov r8d, 0x8007007a
cmp r8d, ebx
mov word [rcx], bx
jl 0x10003c365
lea rdx, [0x10002968c]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, rbx
je 0x10003c314
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
cmp eax, ebx
jl 0x10003c314
lea rcx, [0x100029690]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rax, 0x20
jbe 0x10003c308
lea rdx, [0x1000296b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rbx
je 0x10003c30e
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x40]
mov r8d, esi
call rax
cmp eax, ebx
je 0x10003c30e
lea r8, [rsp + 0x460]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.100039df8
jmp 0x10003c30e
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.ole32.dll_OleUninitialize]
lea r9, [rsp + 0x40]
lea r8, [0x100025cb8]
lea rcx, [rsp + 0x250]
mov rdx, rsi
call fcn.10003a080
cmp eax, ebx
jl 0x10003c365
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, ebx
je 0x10003c360
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x10003c365
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.10007fa70
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x10003c394
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp dword [0x1000887ec], ebx
je 0x10003c3bd
lea eax, [rbx + 1]
jmp 0x10003c420
cmp rax, rbx
je 0x10003c41e
lea rdx, [rsp + 0x30]
mov rcx, rax
mov dword [rsp + 0x30], ebx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
cmp rax, rbx
je 0x10003c41e
cmp dword [rsp + 0x30], ebx
mov edi, ebx
jle 0x10003c415
mov rbp, rax
mov rcx, qword [rbp]
lea rdx, [0x100025cc8]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, ebx
je 0x10003c40a
inc edi
add rbp, 8
cmp edi, dword [rsp + 0x30]
jl 0x10003c3e7
jmp 0x10003c415
mov ebx, 1
mov dword [0x1000887ec], ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x10003c43c
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rcx, [0x100025cd0]
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x10003c4c6
lea r8, [0x100025cf0]
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
mov rbx, rax
test rax, rax
je 0x10003c4c6
lea r8, [0x100025d10]
xor r9d, r9d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
je 0x10003c4ac
mov eax, 1
jmp 0x10003c551
lea r8, [0x100025d28]
xor r9d, r9d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowExW]
test rax, rax
jne 0x10003c4a2
lea rax, [rsp + 0x20]
mov ebx, 0x104
test rax, rax
je 0x10003c50b
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.100053eb0
test eax, eax
je 0x10003c50b
lea r8, [0x100025d48]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.100039ee4
test eax, eax
js 0x10003c50b
lea rcx, [rsp + 0x20]
call fcn.10003c1c8
test eax, eax
jne 0x10003c4a2
lea rax, [rsp + 0x20]
test rax, rax
je 0x10003c54f
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.100053eb0
test eax, eax
je 0x10003c54f
lea r8, [0x100025d68]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.100039ee4
test eax, eax
js 0x10003c54f
lea rcx, [rsp + 0x20]
call fcn.10003c1c8
test eax, eax
jne 0x10003c4a2
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.10007fa70
add rsp, 0x240
pop rbx
ret

Function at 0x10003c788
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
mov rdi, rcx
cmp rcx, rbx
je 0x10003c831
mov qword [r11 - 0x18], rbx
lea rax, [r11 + 8]
xor r9d, r9d
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 2
cmp edx, ebx
mov qword [r11 + 8], rbx
mov dword [rsp + 0x20], ebx
mov rcx, 0xffffffff80000002
lea rdx, [0x100025ec0]
jne 0x10003c7e5
lea rdx, [0x100025f30]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x10003c831
mov rcx, qword [rsp + 0x60]
cmp rcx, rbx
je 0x10003c831
lea rax, [0x1000062c0]
mov esi, 1
xor r8d, r8d
mov rdx, rdi
mov r9d, esi
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
cmp eax, ebx
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x10003c84c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x260
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r12d, r8d
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov ebp, edx
lea r8, [0x100025e98]
lea rcx, [rsp + 0x40]
lea r9, [0x100025fa0]
mov edx, 0x104
xor edi, edi
call fcn.10003a080
cmp eax, edi
jl 0x10003c947
mov qword [rsp + 0x30], rdi
mov ebx, 0x2001f
call fcn.100063fcc
cmp eax, edi
mov ecx, 0x2011f
lea rax, [rsp + 0x30]
cmovne ebx, ecx
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov r9d, ebx
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
jne 0x10003c947
mov rcx, qword [rsp + 0x30]
lea rdx, [0x100026008]
cmp ebp, edi
je 0x10003c92c
lea r9d, [rdi + 4]
lea rax, [rsp + 0x38]
lea ebx, [rdi + 1]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x38], ebx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, edi
jne 0x10003c93c
mov edx, r12d
mov rcx, rsi
mov edi, ebx
call fcn.10003c788
jmp 0x10003c93c
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, 1
cmp eax, edi
cmove edi, ebx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.10007fa70
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret

Function at 0x10003c978
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x270
mov rax, qword [0x100086110]
xor rax, rsp
mov qword [rsp + 0x260], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
lea rdx, [0x100025ec0]
mov r9d, 0x2001f
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10003ca40
xor ebx, ebx
and qword [rsp + 0x38], rbx
and qword [rsp + 0x30], rbx
and qword [rsp + 0x28], rbx
and qword [rsp + 0x20], rbx
xor edx, edx
jmp 0x10003ca14
lea rax, [rsp + 0x50]
inc ebx
test rax, rax
je 0x10003c9fa
xor edx, edx
lea rcx, [rsp + 0x50]
lea r8d, [rdx + 1]
call fcn.10003c84c
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov edx, ebx
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x10003c9de
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x100025ec0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10007fa70
add rsp, 0x270
pop rbx
ret