joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022120
Capabilities:
Delete file

Disassembly:
jmp 0x140022120
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea eax, [rdx - 0xac44]
mov edi, edx
mov rbx, rcx
cmp eax, 0x241bc
ja 0x140022287
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x140022280
mov rdx, qword [rbx + 0x28]
test rdx, rdx
je 0x140022280
test r8d, r8d
je 0x14002227c
sub r8d, 1
je 0x140022235
sub r8d, 1
je 0x14002222b
cmp r8d, 1
jne 0x140022287
mov dword [rsp + 0x30], 0x72
lea r9d, [r8 + 0x2e]
mov r8, rdx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea rdx, str._s_c_s__05X.ml_c
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x180], rsi
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
test al, al
jne 0x1400221e3
lea rcx, [rsp + 0x40]
call fcn.140002563
mov rax, qword [rbx + 0x20]
lea rdx, str._s_c_s__05X.ml_c
mov r8, qword [rbx + 0x28]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], 0x6e
mov r9d, 0x2f
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
mov rsi, qword [rsp + 0x180]
jmp 0x14002226e
mov dword [rsp + 0x30], 0x72
jmp 0x14002223d
mov dword [rsp + 0x30], 0x6e
mov r8, rdx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea rdx, str._s_c_s__05X.ml_c
lea rcx, [rsp + 0x40]
mov r9d, 0x2f
call fcn.1400062cb
lea rdx, [rsp + 0x40]
lea rcx, [rbx + 0x68]
call fcn.1400038a0
test al, al
jne 0x14002227c
lea rcx, [rsp + 0x40]
call fcn.140002563
xor eax, eax
jmp 0x14002228c
mov eax, 1
jmp 0x14002228c
mov eax, 6
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140003b70
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret

Function at 0x1400267e0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400267e0
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x440
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rsp + 0x430], rax
call fcn.14000308a
lea rbx, [rsp + 0x468]
mov edi, dword [rax]
call fcn.140001366
mov r9, qword [rsp + 0x460]
lea rdx, [rsp + 0x30]
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov qword [rsp + 0x20], 0
mov rcx, qword [rax]
or rcx, 1
call fcn.14000380f
mov ecx, edi
mov ebx, eax
call fcn.140004fe8
mov r9, rax
lea rcx, [rsp + 0x30]
test ebx, ebx
lea rdx, str._error__d:__s_n
mov r8d, edi
cmovs ebx, esi
movsxd rax, ebx
add rcx, rax
call fcn.1400062cb
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.140003b70
add rsp, 0x440
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002d050
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d050
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d0bb
lea rdx, [rdi + 0x230]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d0bb
lea rdx, [rdi + 0x234]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d0bb
lea rdx, [rdi + 0x120]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000648d
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14002d0f0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d0f0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x120]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x330]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x334]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x338]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x33c]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d1a4
lea rdx, [rdi + 0x220]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000648d
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14002d1f0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d1f0
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x130]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d28b
lea rdx, [rdi + 0x134]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d28b
lea rdx, [rdi + 0x138]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d28b
lea rdx, [rdi + 0x13c]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d28b
mov rdx, qword [rdi + 0x140]
mov r8d, 4
mov rcx, rbx
test rdx, rdx
jne 0x14002d298
mov dword [rsp + 0x30], edx
lea rdx, [rsp + 0x30]
call fcn.140005b00
test al, al
jne 0x14002d2b7
xor al, al
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.140005b00
test al, al
je 0x14002d28b
mov rdx, qword [rdi + 0x140]
mov rcx, rbx
mov r8d, dword [rdx]
call fcn.140005b00
test al, al
je 0x14002d28b
lea rdx, [rdi + 0x148]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d28b
lea rdx, [rdi + 0x20]
mov rcx, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14000648d

Function at 0x14002d330
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d330
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d382
lea rdx, [rdi + 0x230]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d382
lea rdx, [rdi + 0x120]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000648d
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x14002d3b0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d3b0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d434
lea rdx, [rdi + 0x230]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d434
lea rdx, [rdi + 0x234]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d434
lea rdx, [rdi + 0x238]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d434
lea rdx, [rdi + 0x120]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000648d
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14002d470
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002d470
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
lea rdx, [rcx + 0x20]
mov rcx, rbx
call fcn.14000444e
test al, al
je 0x14002d50d
lea rdx, [rdi + 0x230]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d50d
lea rdx, [rdi + 0x234]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d50d
lea rdx, [rdi + 0x238]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d50d
lea rdx, [rdi + 0x23c]
mov r8d, 4
mov rcx, rbx
call fcn.140005b00
test al, al
je 0x14002d50d
lea rdx, [rdi + 0x120]
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14000648d
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret

Function at 0x14002df50
Capabilities:
Write file on windows

Disassembly:
jmp 0x14002df50
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov r8d, 4
add rdx, 0x108
mov rsi, rcx
call fcn.140005b00
test al, al
jne 0x14002df8b
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, dword [rdi + 0x108]
test r8d, r8d
je 0x14002dfb5
mov rdx, qword [rdi + 0x100]
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140005b00
mov rbx, qword [rsp + 0x30]
mov al, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002f850
Capabilities:
Create directory

Disassembly:
jmp 0x14002f850
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rcx
test rcx, rcx
je 0x14002f8df
nop word [rax + rax]
mov edx, 0x2f
mov rcx, rdi
call fcn.1400014d8
test rax, rax
je 0x14002f88c
mov ecx, eax
lea rdi, [rax + 1]
sub ecx, ebx
jmp 0x14002f89e
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x14002f893
xor edi, edi
test ecx, ecx
jle 0x14002f8da
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140004a3e
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14002f8d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14002f8ec
lea rcx, [rsp + 0x30]
call fcn.140003080
test rdi, rdi
jne 0x14002f870
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rcx, [rsp + 0x30]
call fcn.140003080
mov rbx, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x14002fbf0
Capabilities:
Get common file path

Disassembly:
jmp 0x14002fbf0
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14015dda8]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov r10, rdx
mov rbx, rcx
mov qword [rbp - 0x69], rcx
mov qword [rbp - 0x69], 0
lea r9, [rbp - 0x69]
xor r8d, r8d
xor edx, edx
mov rcx, r10
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x14002fc44
mov rcx, rbx
call fcn.140005a15
jmp 0x14002fd5f
lea rcx, [rbp - 0x39]
call fcn.140005150
nop
mov r8, qword [rbp - 0x69]
mov r9, r8
cmp word [r8], 0
je 0x14002fc6b
nop dword [rax]
add r9, 2
cmp word [r9], 0
jne 0x14002fc60
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.140005637
nop
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdx, qword [rbp - 0x51]
mov r8, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x49]
test rdx, rdx
je 0x14002fcf6
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
cmp byte [rdx + rax - 1], 0x5c
je 0x14002fcf6
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
cmp byte [rdx + rax - 1], 0x2f
je 0x14002fcf6
cmp rdx, rcx
jae 0x14002fcdb
lea rax, [rdx + 1]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
cmp rcx, 0x10
cmovae rax, r8
mov word [rax + rdx], 0x5c
jmp 0x14002fcee
mov r9b, 0x5c
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x61]
call fcn.140004ae8
mov r8, qword [rbp - 0x61]
mov rcx, qword [rbp - 0x49]
lea rdx, [rbp - 0x61]
cmp rcx, 0x10
cmovae rdx, r8
mov rcx, rbx
call fcn.140006587
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0x10
jb 0x14002fd42
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fd3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd7f
call fcn.140005943
mov qword [rbp - 0x51], 0
mov qword [rbp - 0x49], 0xf
mov byte [rbp - 0x61], 0
lea rcx, [rbp - 0x39]
call fcn.1400025d6
mov rax, rbx
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140003b70
mov rbx, qword [rsp + 0x100]
add rsp, 0xe0
pop rbp
ret
call fcn.140002d42
nop
int3
Function at 0x14002ff20
Capabilities:
Get common file path

Disassembly:
jmp 0x14002ff20
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
movsxd rsi, edx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
call fcn.140005a15
mov dword [rsp + 0x30], 1
cmp esi, 7
ja case.default.0x14002ff67
lea rdx, [0x140000000]
mov ecx, dword [rdx + rsi*4 + 0x3016c]
add rcx, rdx
jmp rcx
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002ffa4
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov rdi, rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov edi, eax
je 0x14002ffcf
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test edi, edi
je case.default.0x14002ff67
mov rcx, rbx
call fcn.1400035ad
jmp case.default.0x14002ff67
test rbx, rbx
je 0x14002fff8
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
jmp 0x14002fffb
mov rax, rdi
mov edx, 0x1c
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test rbx, rbx
mov esi, eax
je 0x140030027
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140004a5c
test esi, esi
je case.default.0x14002ff67
jmp case.0x14002ff67.1
test rbx, rbx
je 0x14003004d
mov edx, 0x104
mov rcx, rbx
call fcn.140004df9
mov edx, 0x23
jmp 0x140030000
mov rax, rdi
mov edx, 0x23
jmp 0x140030000
lea rdx, [0x14011fd18]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
jmp case.default.0x14002ff67
lea rdx, [0x14011f580]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je case.default.0x14002ff67
lea rdx, str.VST3_
mov rcx, rbx
call fcn.140002455
jmp case.default.0x14002ff67
lea rdx, [0x14011f598]
lea rcx, [rsp + 0x60]
call fcn.140002ed7
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
jmp 0x1400300a2
lea rcx, [rsp + 0x60]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rbx
call fcn.140003d73
nop
lea rcx, [rsp + 0x60]
call fcn.140003080
lea rdx, str.VST3
mov rcx, rbx
call fcn.140002455
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov r8b, 0x2f
mov dl, 0x5c
mov rcx, rbx
call fcn.140004412
mov rax, qword [rbx]
cmp qword [rax - 0x10], 0
je 0x140030158
mov rcx, rbx
call fcn.14000452a
mov rcx, qword [rbx]
movsxd rax, dword [rcx - 0x10]
cmp byte [rax + rcx - 1], 0x2f
je 0x140030158
mov dl, 0x2f
mov rcx, rbx
call fcn.1400070a9
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140030230
Capabilities:
Create directory

Disassembly:
jmp 0x140030230
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, r8
mov rsi, rcx
mov dword [rsp + 0x20], 0
call fcn.140003ddc
mov dword [rsp + 0x20], 1
mov rax, qword [rsi]
cmp qword [rax - 0x10], 0
je 0x14003032f
test rbx, rbx
je 0x14003032f
nop word [rax + rax]
mov edx, 0x2f
mov rcx, rbx
call fcn.1400014d8
mov rdi, rax
test rax, rax
je 0x14003029b
mov ecx, edi
sub ecx, ebx
jmp 0x1400302ab
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x1400302a2
test ecx, ecx
jle 0x14003031d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140004a3e
nop
mov rdx, rax
mov rcx, rsi
call fcn.140003ef9
nop
lea rcx, [rsp + 0x58]
call fcn.140003080
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140030313
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140030313
lea rcx, [rsp + 0x28]
call fcn.14000512d
nop
mov rdx, rax
mov rcx, rsi
call fcn.140003d73
nop
lea rcx, [rsp + 0x28]
call fcn.140003080
mov dl, 0x2f
mov rcx, rsi
call fcn.1400070a9
test rdi, rdi
je 0x14003032f
lea rbx, [rdi + 1]
test rbx, rbx
jne 0x140030280
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140031220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140031220
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x1400313b4
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x1400313b4
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x1400312bb
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x1400313db
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1400312d2
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x1400312d2
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x1400312e5
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140031332
mov r8d, eax
cmp eax, 0x800
jae 0x1400312ff
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140031332
cmp eax, 0x10000
jae 0x140031319
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140031332
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x1400313b4
add qword [r14], 2
test sil, sil
jne 0x140031353
cmp r10d, 3
jae 0x14003135f
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140031391
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140031370
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x14003126f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x1400313c2
Function at 0x14003afd0
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003afd0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov r15, rdx
mov rdx, rcx
movzx ecx, byte [rsp + 0x70]
xor rcx, 1
sub rcx, 0x7fffffff
mov r8d, 0xf003f
call fcn.140003927
mov rbx, rax
xor dil, dil
xor ecx, ecx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003b091
cmp dword [rsp + 0x30], 3
jne 0x14003b091
test r14, r14
je 0x14003b088
mov ecx, dword [rsp + 0x70]
test ecx, ecx
je 0x14003b08c
cmp qword [rsi], rcx
jb 0x14003b095
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003b091
mov ecx, dword [rsp + 0x70]
mov dil, 1
jmp 0x14003b095
mov ecx, dword [rsp + 0x70]
mov qword [rsi], rcx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
movzx eax, dil
jmp 0x14003b0ad
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop r15
ret
Function at 0x14003b130
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003b130
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov esi, r8d
mov rdi, rdx
mov rdx, rcx
movzx ecx, r9b
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003b2c5
mov rbp, qword [rsp + 0x40]
mov qword [rsp + 0x38], rbp
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp eax, 2
je 0x14003b21d
test eax, eax
jne 0x14003b240
mov eax, dword [rsp + 0x30]
cmp eax, 4
je 0x14003b216
cmp eax, 5
jne 0x14003b28f
mov edx, dword [rsp + 0x88]
mov byte [rsp + 0x8b], dl
mov eax, edx
shr eax, 8
mov byte [rsp + 0x8a], al
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x89], al
shr edx, 0x18
mov byte [rsp + 0x88], dl
mov esi, dword [rsp + 0x88]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
cmp edi, 0xea
jne 0x14003b266
test rax, rax
je 0x14003b278
mov rcx, rax
call fcn.140006519
jmp 0x14003b275
test rax, rax
je 0x14003b278
mov edx, edi
mov rcx, rax
call fcn.14000148d
mov rbx, rax
mov qword [rsp + 0x48], rbx
lea rdx, [0x14014f6b8]
lea rcx, [rsp + 0x48]
call fcn.1400071e9
int3
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003b2ae
mov rcx, rax
call fcn.140006519
mov rbx, rax
mov qword [rsp + 0x50], rbx
lea rdx, [0x14014f740]
lea rcx, [rsp + 0x50]
call fcn.1400071e9
nop
mov ecx, 4
call fcn.1400013de
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14003b2e8
mov edx, ebx
mov rcx, rax
call fcn.14000148d
mov rbx, rax
jmp 0x14003b2ea
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea rdx, [0x14014f6b8]
lea rcx, [rsp + 0x38]
call fcn.1400071e9
int3
Function at 0x14003b380
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14003b380
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r12, rcx
xor esi, esi
mov dword [rsp + 0x38], esi
mov rdx, r9
call fcn.140006587
mov dword [rsp + 0x38], 1
movzx ecx, byte [rsp + 0xd0]
xor rcx, 1
sub rcx, 0x7fffffff
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
jne 0x14003b54e
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x30], esi
mov dword [rsp + 0xd0], esi
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
jne 0x14003b4b6
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14003b57f
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x14003b51a
mov ecx, eax
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5ae
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0xc0]
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov r15d, eax
test eax, eax
je 0x14003b501
mov edx, 1
mov rcx, rdi
call fcn.140005943
jmp 0x14003b5b2
cmp eax, 2
jne 0x14003b5b2
test r14, r14
je 0x14003b51a
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14003b4d0
lea rcx, [rbx + 1]
call fcn.14000376f
mov rdi, rax
test rax, rax
je 0x14003b5b2
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.1400026a3
mov byte [rdi + rbx], 0
mov rdx, rdi
mov rcx, r12
call fcn.140006cd5
mov edx, 1
mov rcx, rdi
call fcn.140005943
nop
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003b52e
mov rax, r12
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea ecx, [rsi + 4]
call fcn.1400013de
test rax, rax
je 0x14003b568
mov edx, ebx
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x40], rsi
lea rdx, [0x14014f6b8]
lea rcx, [rsp + 0x40]
call fcn.1400071e9
nop
lea ecx, [r15 + 4]
call fcn.1400013de
test rax, rax
je 0x14003b598
mov rcx, rax
call fcn.140006519
mov rsi, rax
mov qword [rsp + 0x50], rsi
lea rdx, [0x14014f740]
lea rcx, [rsp + 0x50]
call fcn.1400071e9
lea r15d, [rax + 0xe]
mov ecx, 4
call fcn.1400013de
test rax, rax
je 0x14003b5cf
mov edx, r15d
mov rcx, rax
call fcn.14000148d
mov rsi, rax
mov qword [rsp + 0x58], rsi
lea rdx, [0x14014f6b8]
lea rcx, [rsp + 0x58]
call fcn.1400071e9
int3