joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14035e554
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140351a6c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14035e5f5
cmp ebx, dword [rsp + 0x30]
je 0x14035e5ee
test esi, esi
je 0x14035e5ee
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14035e5c9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14035e5d6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14035e5b3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14035e5da
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14035e5f7
mov eax, 1
jmp 0x14035e5f7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14035ea3c
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14034811c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14034811c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14035eb8c
cmp rax, 0xffffffffffffffff
je 0x14035eb8c
xor edi, edi
test rbp, rbp
jle 0x14035eb37
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1403524a8
mov rbx, rax
test rax, rax
jne 0x14035eac4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14035eb2d
mov edx, 0x8000
mov ecx, r14d
call fcn.140348964
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14034ff60
cmp eax, 0xffffffff
je 0x14035eb0d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14035ead4
mov edx, r15d
mov ecx, r14d
call fcn.140348964
jmp 0x14035eb2d
cmp byte [rsi + 0x38], dil
je 0x14035eb24
cmp dword [rsi + 0x34], 5
jne 0x14035eb24
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x14035eb2d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140352160
jmp 0x14035eba0
jns 0x14035eba0
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14034811c
cmp rax, 0xffffffffffffffff
jne 0x14035eb58
cmp byte [rsi + 0x30], dil
je 0x14035eba0
mov edi, dword [rsi + 0x2c]
jmp 0x14035eba0
mov ecx, r14d
call fcn.140359278
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14035eba0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x14035eba0
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14035eb99
mov eax, dword [rsi + 0x2c]
jmp 0x14035eb9e
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14034811c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1403610fc
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1404ca6c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140361146
call fcn.14033fc94
mov dword [rax], reloc.WS2_32.dll_ntohs
call fcn.14033fcb4
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1403319d4
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140320fe0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140361151
lea eax, [rbx + 1]
jmp 0x140361133
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140361131
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140361133
Function at 0x140361d58
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14033a3f0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140361de2
cmp byte [rbp - 0x21], r15b
je 0x140361ddd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140361e18
call fcn.1403528f0
test eax, eax
jne 0x140361e04
cmp byte [rbp - 0x21], r15b
je 0x140361dfc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140361e18
cmp byte [rbp - 0x21], r15b
je 0x140361e15
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14033da18
test eax, eax
jne 0x140361eb8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14033a3f0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140361e57
cmp byte [rbp - 0x21], r15b
je 0x140361e8c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140361e8c
call fcn.1403528f0
test eax, eax
jne 0x140361e78
cmp byte [rbp - 0x21], r15b
je 0x140361e71
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140361e8c
cmp byte [rbp - 0x21], r15b
je 0x140361e89
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14033da18
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140361eb8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140361ebb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140361ec9
mov rcx, rdi
call fcn.140352160
cmp byte [rbp + 0x3f], r15b
je 0x140361ed8
mov rcx, qword [rbp + 0x27]
call fcn.140352160
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140364f70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140364f98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140364f98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14003b60c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140048cc8], rbx
je 0x14003b673
cmp rax, rbx
jne 0x14003b666
mov ebx, 1
mov esi, ebx
jmp 0x14003b678
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14003b64b
mov ebx, 1
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b690
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14003b6fc
mov eax, dword [0x140048cd0]
test eax, eax
jne 0x14003b6f1
mov dword [0x140048cd0], ebx
lea r15, [0x14003e288]
lea rdi, [0x14003e270]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14003b6e3
test eax, eax
jne 0x14003b6e7
cmp qword [rdi], r14
je 0x14003b6d8
mov rax, qword [rdi]
mov rcx, qword [0x14003e230]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14003b6ba
test eax, eax
je 0x14003b6f7
mov eax, 0xff
jmp 0x14003b852
mov dword [0x140048284], ebx
mov edi, 0x1f
mov eax, dword [0x140048cd0]
cmp eax, ebx
jne 0x14003b723
lea rdx, [0x14003e268]
lea rcx, [0x14003e238]
call sub.msvcrt.dll__initterm
mov dword [0x140048cd0], 2
test esi, esi
jne 0x14003b731
mov rax, r14
xchg qword [0x140048cc8], rax
cmp qword [0x140048ce8], r14
je 0x14003b764
lea rcx, [0x140048ce8]
call fcn.14003bbf0
test eax, eax
je 0x14003b764
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140048ce8]
mov r9, qword [0x14003e230]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14003b77d
mov eax, 0xff
jmp 0x14003b852
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14003b803
test ax, ax
je 0x14003b798
test edx, edx
jne 0x14003b803
sub ax, bx
cmp ax, di
ja 0x14003b7ae
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14003b798
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001fc0
mov dword [0x140048280], eax
cmp dword [0x1400482a0], r14d
jne 0x14003b7ec
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140048284], r14d
jne 0x14003b801
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140048280]
jmp 0x14003b852
cmp ax, 0x22
jne 0x14003b817
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14003b786
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401bc000
add rsp, 0x28
jmp 0x14003b60c
Function at 0x1427ba058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1427ba1df
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 0x1427ba089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427ba06f
add dl, dl
jne 0x1427ba096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427ba0f6
xor eax, eax
add dl, dl
jne 0x1427ba0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1427ba1ad
add dl, dl
jne 0x1427ba0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427ba0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427ba0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427ba0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1427ba0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1427ba07e
mov eax, 1
add dl, dl
jne 0x1427ba106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1427ba113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427ba0fb
sub eax, ebx
mov ebx, 1
jne 0x1427ba14c
mov ecx, 1
add dl, dl
jne 0x1427ba12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1427ba13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427ba123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427ba07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1427ba168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1427ba175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1427ba15d
cmp eax, 0x7d00
jae 0x1427ba19b
cmp eax, 0x500
jb 0x1427ba196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427ba07e
cmp eax, 0x7f
ja 0x1427ba19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1427ba07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1427ba1d2
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 0x1427ba07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x10001130
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x48
cmp qword [rcx + 0x28], 0
mov qword [rsp + 0x38], rsi
mov rsi, rcx
je 0x100011da
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsi + 0x30]
mov rax, qword [rsi + 0x28]
mov r9, qword [rsp + 0x58]
lea rdi, [rax + rdx*2]
lea r11, [rsp + 0x60]
mov r8, 0xffffffffffffffff
mov rcx, rdi
mov edx, 0x1001
mov qword [rsp + 0x20], r11
call fcn.10028250
mov edx, 0x1000
mov rcx, rdi
test eax, eax
cmovns edx, eax
mov rax, qword [rsi + 0x28]
movsxd rbx, edx
add rbx, qword [rsi + 0x30]
mov word [rax + rbx*2], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
cmp rbx, qword [rsi + 0x38]
mov rcx, rsi
cmova rbx, rax
mov qword [rsi + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x48
ret

Function at 0x10008b30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x10008b43
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x10008b91
mov eax, dword [rsp + 0x38]
jmp 0x10008ba1
cmp dword [rsp + 0x30], 4
je 0x10008b9f
mov eax, 0xd
jmp 0x10008ba1
xor eax, eax
add rsp, 0x48
ret
Function at 0x10017910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x4f8
mov qword [rsp + 0x4c8], 0xfffffffffffffffe
mov rax, qword [0x100525f8]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
call fcn.10002bb0
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x78]
call fcn.10014380
nop
mov rdx, qword [rsp + 0x500]
lea rcx, [rsp + 0x50]
call fcn.10017d50
lea rcx, [rsp + 0x90]
call fcn.10014380
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x508]
call fcn.1001b640
mov qword [rsp + 0x38], rax
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x100179c5
call fcn.10017100
mov dword [rsp + 0x4b0], eax
jmp 0x10017b8c
mov r8, qword [rsp + 0x518]
mov rdx, qword [rsp + 0x510]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x4a8], rax
cmp qword [rsp + 0x4a8], 0
jne 0x10017a04
call fcn.10017100
mov dword [rsp + 0x4b0], eax
jmp 0x10017b8c
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x4b8], rax
cmp qword [rsp + 0x4b8], 0
jne 0x10017a3b
call fcn.10017100
mov dword [rsp + 0x4b0], eax
jmp 0x10017b8c
mov rdx, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x4b8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x60]
add eax, 1
cmp eax, dword [rsp + 0x60]
jae 0x10017a9b
mov dword [rsp + 0x4c0], 0x8007000e
lea rcx, [rsp + 0x90]
call fcn.1001bbe0
nop
lea rcx, [rsp + 0x78]
call fcn.10003200
mov eax, dword [rsp + 0x4c0]
jmp 0x10017bcc
mov eax, dword [rsp + 0x60]
add eax, 1
mov eax, eax
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.1001bb80
nop
lea rcx, [rsp + 0x90]
call fcn.1001bc10
test rax, rax
jne 0x10017ad7
mov dword [rsp + 0x4b0], 0x8007000e
jmp 0x10017b8c
lea rcx, [rsp + 0x90]
call fcn.1001bc10
mov qword [rsp + 0x4d0], rax
call fcn.10002bb0
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x4d0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x4a0], eax
cmp dword [rsp + 0x4a0], 0
jne 0x10017b39
call fcn.10017100
mov dword [rsp + 0x4b0], eax
jmp 0x10017b8c
mov eax, dword [rsp + 0x4a0]
mov qword [rsp + 0x4d8], rax
lea rcx, [rsp + 0x90]
call fcn.1001bc10
mov rcx, qword [rsp + 0x4d8]
mov word [rax + rcx*2], 0
lea rcx, [rsp + 0x90]
call fcn.1001bc10
mov r8d, dword [rsp + 0x520]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.10017d80
mov dword [rsp + 0x4b0], eax
cmp qword [rsp + 0x48], 0
je 0x10017b9f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x4b0]
mov dword [rsp + 0x4c4], eax
lea rcx, [rsp + 0x90]
call fcn.1001bbe0
nop
lea rcx, [rsp + 0x78]
call fcn.10003200
mov eax, dword [rsp + 0x4c4]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.10026080
add rsp, 0x4f8
ret
Function at 0x10019760
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x1001976e
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x28
ret

Function at 0x10019790
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor eax, eax
test eax, eax
jne 0x1001979e
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add rsp, 0x28
ret

Function at 0x10019880
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x100525f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x50]
call fcn.10014380
mov r9d, 0x2001f
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x50]
call fcn.10008ab0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x100198fc
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0x50]
call fcn.10008a40
mov eax, dword [rsp + 0x270]
jmp 0x100199c0
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10019989
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.10019880
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1001997c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x274], eax
lea rcx, [rsp + 0x50]
call fcn.10008a40
mov eax, dword [rsp + 0x274]
jmp 0x100199c0
mov dword [rsp + 0x40], 0x100
jmp 0x10019904
lea rcx, [rsp + 0x50]
call fcn.10008a60
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.10019760
mov dword [rsp + 0x278], eax
lea rcx, [rsp + 0x50]
call fcn.10008a40
mov eax, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.10026080
add rsp, 0x298
ret
Function at 0x1001a060
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x1001a073
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x1001a0b0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x1001a0c8
cmp qword [rsp + 0x60], 0
je 0x1001a0e0
mov dword [rsp + 0x34], 1
jmp 0x1001a0e8
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1001a101
mov ecx, 0x80004005
call fcn.10001270
xor eax, eax
test eax, eax
jne 0x1001a0ce
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x48
ret

Function at 0x1001a150
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor eax, eax
test eax, eax
jne 0x1001a163
cmp qword [rsp + 0x70], 0
je 0x1001a17b
mov dword [rsp + 0x48], 1
jmp 0x1001a183
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x1001a19c
mov ecx, 0x80004005
call fcn.10001270
xor eax, eax
test eax, eax
jne 0x1001a169
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x30]
lea rax, [rcx + rax*2]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x40], 1
jne 0x1001a1b4
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x58
ret
Function at 0x1002bac7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x100525f8]
jne 0x1002609a
rol rcx, 0x10
test cx, 0xffff
jne 0x10026096
repz ret
ror rcx, 0x10
jmp 0x1002ba20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x10054170]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x10054268]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1002baa5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x10054170]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1002bac7
mov rax, qword [rsp + 0x88]
mov qword [0x10054268], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x10054208], rax
mov rax, qword [0x10054268]
mov qword [0x100540e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x100541f0], rax
mov dword [0x100540d0], 0xc0000409
mov dword [0x100540d4], 1
mov rax, qword [0x100525f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x10052600]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x10054168], eax
mov ecx, 1
call fcn.1002e4c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x10043fe0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x10054168], 0
jne 0x1002bb4e
mov ecx, 1
call fcn.1002e4c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret