joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006ae40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor edi, edi
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006ae74
call fcn.14002e1d0
mov edx, edi
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rbp - 0x48]
cmp edx, 1
mov edx, 0x15e
je 0x14006ae87
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140024970
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14006aee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006aee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b078
call fcn.140133e68
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
mov r14d, 1
mov dword [rbp + 0x40], r14d
mov dword [rbp + 0x38], 0x800
lea edx, [r14 + 9]
lea rcx, [rbp - 0x28]
call fcn.1400175a0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006af20
mov rbx, qword [rax]
call fcn.14000bfcc
mov rcx, rax
test rax, rax
je 0x14006b07e
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.140006ea0
test al, al
jne 0x14006af5c
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.1400060cc
nop
mov edx, dword [rbp + 0x38]
test edx, edx
js 0x14006b089
mov rcx, qword [rsi]
sub r14d, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edx
or eax, r14d
jge 0x14006af83
mov rcx, rsi
call fcn.140007db4
mov rcx, qword [rsi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
mov rbx, qword [rbp + 0x48]
mov r8, rbx
mov rdx, qword [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006afd0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14006b007
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b067
call fcn.140133e68
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006b01e
movsxd rdx, dword [rcx - 0xc]
call fcn.1401738c0
mov edi, eax
test eax, eax
js 0x14006b06d
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14006b06d
mov dword [rax - 0x10], edi
mov ecx, edi
mov rax, qword [rsi]
mov byte [rcx + rax], 0
test r14d, r14d
sete dil
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b055
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, dil
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401462a8
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
call fcn.1401462a8
nop
mov ecx, 0x80004005
call fcn.14000c3ac
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
Function at 0x14006b0a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor edi, edi
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006b0d4
call fcn.14002e1d0
mov edx, edi
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rbp - 0x48]
cmp edx, 1
mov edx, 0x15e
je 0x14006b0e7
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140024970
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14006b145
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b140
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b2d8
call fcn.140133e68
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
mov r14d, 1
mov dword [rbp + 0x40], r14d
mov dword [rbp + 0x38], 0x800
lea edx, [r14 + 0xa]
lea rcx, [rbp - 0x28]
call fcn.1400175a0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b180
mov rbx, qword [rax]
call fcn.14000bfcc
mov rcx, rax
test rax, rax
je 0x14006b2de
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.140006ea0
test al, al
jne 0x14006b1bc
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.1400060cc
nop
mov edx, dword [rbp + 0x38]
test edx, edx
js 0x14006b2e9
mov rcx, qword [rsi]
sub r14d, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edx
or eax, r14d
jge 0x14006b1e3
mov rcx, rsi
call fcn.140007db4
mov rcx, qword [rsi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
mov rbx, qword [rbp + 0x48]
mov r8, rbx
mov rdx, qword [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006b230
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14006b267
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b262
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b2c7
call fcn.140133e68
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006b27e
movsxd rdx, dword [rcx - 0xc]
call fcn.1401738c0
mov edi, eax
test eax, eax
js 0x14006b2cd
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14006b2cd
mov dword [rax - 0x10], edi
mov ecx, edi
mov rax, qword [rsi]
mov byte [rcx + rax], 0
test r14d, r14d
sete dil
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b2b5
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, dil
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401462a8
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
call fcn.1401462a8
nop
mov ecx, 0x80004005
call fcn.14000c3ac
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
Function at 0x14006b300
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rsi, rcx
xor edi, edi
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006b334
call fcn.14002e1d0
mov edx, edi
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rbp - 0x48]
cmp edx, 1
mov edx, 0x15e
je 0x14006b347
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x50]
call fcn.140024970
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14006b3a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b3a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b538
call fcn.140133e68
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], di
mov r14d, 1
mov dword [rbp + 0x40], r14d
mov dword [rbp + 0x38], 0x800
lea edx, [r14 + 0xb]
lea rcx, [rbp - 0x28]
call fcn.1400175a0
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b3e0
mov rbx, qword [rax]
call fcn.14000bfcc
mov rcx, rax
test rax, rax
je 0x14006b53e
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.140006ea0
test al, al
jne 0x14006b41c
mov rdx, rbx
lea rcx, [rbp + 0x48]
call fcn.1400060cc
nop
mov edx, dword [rbp + 0x38]
test edx, edx
js 0x14006b549
mov rcx, qword [rsi]
sub r14d, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edx
or eax, r14d
jge 0x14006b443
mov rcx, rsi
call fcn.140007db4
mov rcx, qword [rsi]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
mov rbx, qword [rbp + 0x48]
mov r8, rbx
mov rdx, qword [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov ecx, ebx
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14006b490
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14006b4c7
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b4c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b527
call fcn.140133e68
mov rcx, qword [rsi]
test rcx, rcx
je 0x14006b4de
movsxd rdx, dword [rcx - 0xc]
call fcn.1401738c0
mov edi, eax
test eax, eax
js 0x14006b52d
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x14006b52d
mov dword [rax - 0x10], edi
mov ecx, edi
mov rax, qword [rsi]
mov byte [rcx + rax], 0
test r14d, r14d
sete dil
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b515
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
movzx eax, dil
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1401462a8
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
call fcn.1401462a8
nop
mov ecx, 0x80004005
call fcn.14000c3ac
nop
mov ecx, 0x80070057
call fcn.14000c3ac
int3
Function at 0x14006b560
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
xor edi, edi
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006b591
call fcn.14002e1d0
mov edx, edi
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rbp - 0x40]
cmp edx, 1
mov edx, 0x15e
je 0x14006b5a4
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x48]
call fcn.1400064d0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14006b602
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b5fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b74b
call fcn.140133e68
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, reloc.WS2_32.dll_listen
lea rcx, [rbp - 0x20]
call fcn.1400177a0
nop
cmp qword [rax + 0x18], 8
jb 0x14006b62b
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.1400064d0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14006b678
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b673
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b745
call fcn.140133e68
mov dword [rbp + 0x38], 4
mov dword [rbp + 0x28], edi
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x14006b6f2
xor ecx, ecx
call fcn.14017315c
mov dword [rbp + 0x28], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov al, 1
jmp 0x14006b6f4
xor al, al
mov byte [rbx], al
mov edi, dword [rbp + 0x28]
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b71c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b738
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, edi
add rsp, 0x80
pop rdi
pop rbx
pop rbp
ret
call fcn.1401462a8
nop
call fcn.1401462a8
int3
Function at 0x14006b760
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006b78d
call fcn.14002e1d0
xor edx, edx
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rsp + 0x38]
cmp edx, 1
mov edx, 0x15e
je 0x14006b7a1
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400064d0
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x14006b805
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b800
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006b8e9
call fcn.140133e68
mov dword [rsp + 0x98], 4
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x90], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov rdx, qword [rsp + 0x30]
mov ebx, 0xffffffff
add rdx, 0xffffffffffffffe8
test eax, eax
mov eax, ebx
je 0x14006b8a9
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b885
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b89f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
xor eax, eax
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
mov esi, dword [rsp + 0x88]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b8c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006b8df
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov eax, esi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
call fcn.1401462a8
nop
int3
Function at 0x14006b900
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rcx
mov edx, dword [0x14070a508]
test edx, edx
jne 0x14006b934
call fcn.14002e1d0
xor edx, edx
test al, al
setne dl
inc edx
mov dword [0x14070a508], edx
lea rcx, [rsp + 0x30]
cmp edx, 1
mov edx, 0x15e
je 0x14006b948
mov edx, 0x15d
call fcn.1400177a0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.1400064d0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14006b9a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006b9a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ba1e
call fcn.140133e68
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
mov r8, qword [rdi]
mov rdx, qword [rsp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006b9f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14006ba13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.1401462a8
nop
int3
Function at 0x14006c150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, ecx
mov rsi, rdx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8d, 0xa
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rsi]
mov ebx, eax
test rcx, rcx
je 0x14006c1c5
call fcn.140170264
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov rcx, rbx
call fcn.14017026c
mov rcx, qword [rsi + 8]
mov r8, rbx
add rcx, rax
mov qword [rsi], rax
mov rdx, rbp
call fcn.1401378a0
mov rbp, qword [rsp + 0x38]
mov qword [rsi + 8], rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14006cab0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rdi, r8
mov rsi, rdx
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14000cca0
nop
mov r9, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14006caf4
mov r9, qword [rsi]
mov rsi, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x14006cb3c
lea rax, [rcx + rsi]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.1401378a0
mov byte [rbx + rsi], 0
jmp 0x14006cb51
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140016050
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14006cc36
xor r14d, r14d
movabs r15, 0x555555555555555
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006cbb0
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.1400157e0
nop
mov rbx, qword [rdi]
cmp qword [rdi + 8], r15
je 0x14006cc8c
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r14
mov ecx, Ordinal_50
call fcn.140133e2c
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x10], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x20], xmm1
inc qword [rdi + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rsp + 0x78], r14
mov qword [rbx + 8], rax
mov qword [rcx], rax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14006cb86
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14006cc6f
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006cc6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006cc99
call fcn.140133e68
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, str.list_too_long
call fcn.140101700
nop
call fcn.1401462a8
int3
Function at 0x140070900
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x110]
sub rsp, 0x210
movzx ebx, dl
mov rdi, rcx
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14007093a
lea ebx, [rax - 1]
jmp 0x140070ac7
mov edx, 0x104
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, Ordinal_35
lea rcx, [rsp + 0x68]
call fcn.1400175a0
cmp qword [rax + 0x18], 0x10
jb 0x140070962
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x1400709ab
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400709a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140070b01
call fcn.140133e68
call fcn.14000bfcc
mov rcx, rax
test rax, rax
je 0x140070af6
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rbp + 0x130], rax
lea rax, [0x140416514]
lea r9, [0x14026cae4]
test bl, bl
cmovne r9, rax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, [rbp]
lea rdx, str._s__s_s___s_
lea rcx, [rbp + 0x130]
call fcn.140008c60
mov dword [rbp - 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
mov rbx, qword [rbp + 0x130]
cmp dword [rbx - 8], 1
jle 0x140070a45
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 0x130]
call fcn.140007220
mov rbx, qword [rbp + 0x130]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140070aa8
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140070ac7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140070ae1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000c3ac
int3
call fcn.1401462a8
int3
Function at 0x140070ed0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2050
call fcn.140134690
sub rsp, rax
mov rbx, rdx
mov dword [rsp + 0x2078], 1
mov rdi, rcx
mov dword [rsp + 0x2070], 0x2000
mov edx, 5
lea rcx, [rsp + 0x30]
call fcn.1400177a0
cmp qword [rax + 0x18], 8
jb 0x140070f18
mov rax, qword [rax]
lea rcx, [rsp + 0x2070]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x2078]
lea rcx, [rsp + 0x50]
mov rdx, rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x48]
test eax, eax
setne dil
cmp rdx, 8
jb 0x140070f8e
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140070f89
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140071063
call fcn.140133e68
test dil, dil
jne 0x14007104c
xor eax, eax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x30], rax
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140070fc0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14003a5e0
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x14007100e
mov rcx, rbx
call fcn.1400196b0
movups xmm0, xmmword [rsp + 0x30]
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm1
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2050
pop rdi
ret
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14007104c
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071047
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007105d
call fcn.140133e68
mov rbx, qword [rsp + 0x2060]
add rsp, 0x2050
pop rdi
ret
call fcn.1401462a8
int3
call fcn.1401462a8
int3