joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001f70
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov ecx, dword [0x1800044d0]
call fcn.1800092d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x180006f70
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rax, qword [0x180006028]
mov r8d, dword [rax + 0x10]
mov rax, qword [0x180006028]
mov rdx, qword [rax + 0x20]
mov rcx, qword [0x180006030]
call qword [sym.imp.WS2_32.dll_connect]
add rsp, 0x28
ret

Function at 0x1800071b0
Capabilities:
Resolve dns

Disassembly:
sub rsp, 0x48
lea r9, [0x180006028]
lea r8, [0x180006068]
lea rdx, [0x180004008]
lea rcx, [0x180006048]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x30], 0xa
mov dword [rsp + 0x28], 0x64
lea rax, [0x1800060e0]
mov qword [rsp + 0x20], rax
mov r9d, 0x64
lea r8, [0x180006150]
mov rax, qword [0x180006028]
mov edx, dword [rax + 0x10]
mov rax, qword [0x180006028]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.WS2_32.dll_getnameinfo]
add rsp, 0x48
ret

Function at 0x180007220
Capabilities:
Create tcp socket
Initialize winsock library

Disassembly:
sub rsp, 0x28
movzx eax, word [0x1800061c0]
test eax, eax
jne 0x180007240
lea rdx, [0x1800061c0]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov r8d, 6
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x180006030], rax
mov dword [0x18000606c], 2
add rsp, 0x28
ret
Function at 0x18000a990
Capabilities:
Encrypt data using xtea

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 8], eax
mov dword [rsp + 0x10], 0x9e3779b9
mov eax, dword [rsp + 0x10]
imul eax, dword [rsp + 0x30]
mov dword [rsp], eax
mov dword [rsp + 0xc], 0
jmp 0x18000a9f4
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xc], eax
jae 0x18000aa8a
mov eax, dword [rsp + 4]
shl eax, 4
mov ecx, dword [rsp + 4]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 4]
mov ecx, dword [rsp]
shr ecx, 0xb
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 8]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
sub ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 8]
shl eax, 4
mov ecx, dword [rsp + 8]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 8]
mov ecx, dword [rsp]
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x18000a9ea
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 8]
mov dword [rcx + rax], edx
add rsp, 0x28
ret
Function at 0x18000ae00
Capabilities:
Encrypt data using xtea

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax]
mov dword [rsp + 8], eax
mov dword [rsp], 0
mov dword [rsp + 0x10], 0x9e3779b9
mov dword [rsp + 0xc], 0
jmp 0x18000ae5f
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0xc], eax
jae 0x18000aef5
mov eax, dword [rsp + 8]
shl eax, 4
mov ecx, dword [rsp + 8]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 8]
mov ecx, dword [rsp]
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 0x10]
mov ecx, dword [rsp]
add ecx, eax
mov eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp + 4]
shl eax, 4
mov ecx, dword [rsp + 4]
shr ecx, 5
xor eax, ecx
add eax, dword [rsp + 4]
mov ecx, dword [rsp]
shr ecx, 0xb
and ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rsp]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 8], eax
jmp 0x18000ae55
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 8]
mov dword [rcx + rax], edx
add rsp, 0x28
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140005500]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140005510]
mov dword [rax], 1
mov rax, qword [0x140005520]
mov dword [rax], 1
mov rax, qword [0x1400054b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400054f0]
mov dword [0x14000800c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400055c0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1400055a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140005450]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001c80
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140001cf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140008334]
mov rbx, rcx
test esi, esi
jle 0x140001e20
mov rax, qword [0x140008338]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001dc5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001d20
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001e42
mov rax, qword [0x140008338]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140008338]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001e27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001dbe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001dd0
add dword [0x140008334], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140008338]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001dbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140001d48
mov rax, qword [0x140008338]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400023b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400083a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140008380]
test rbx, rbx
je 0x14000240c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002403
test rsi, rsi
je 0x140002403
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400023e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002620
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002638
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002640
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140002650
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000269d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002694
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000269f
add rax, 0x28
cmp rax, r9
jne 0x140002680
xor eax, eax
ret

Function at 0x1400026a0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002730
mov rdx, qword [0x1400054b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000271e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000271e
cmp word [rax + 0x18], 0x20b
jne 0x14000271e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002730
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002709
add rbx, 0x28
cmp rbx, rdi
je 0x140002730
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002700
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002740
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400054b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002760
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002768
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002760
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400027bd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400027b4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002760
add rax, 0x28
cmp rax, r9
jne 0x1400027a0
xor eax, eax
ret

Function at 0x1400027c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400054b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400027df
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400027e8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400027df
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002800
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400054b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002820
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002828
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002820
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002870
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002867
test rcx, rcx
je 0x140002820
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002858
xor eax, eax
ret
Function at 0x140002880
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400054b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000289f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400028a8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400028c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400054b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400028e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400028e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400028e0
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x1400028e0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002934
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002940
add rdx, 0x28
cmp r9, rdx
jne 0x140002920
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002950
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400054b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002972
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002980
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002972
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002972
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002972
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x1400029d5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400029e8
add rdx, 0x28
cmp rdx, r10
jne 0x1400029c0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400029f7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002a07
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400029de
test ecx, ecx
jg 0x1400029f0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002ec0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x18]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x88]
mov eax, eax
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x30]
add rax, rdx
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x1c]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x40], rax
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x20]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x24]
mov edx, eax
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x50], rax
mov dword [rbp - 4], 0
jmp 0x14000300b
mov eax, dword [rbp - 4]
lea rdx, [rax*4]
mov rax, qword [rbp - 0x48]
add rax, rdx
mov eax, dword [rax]
mov dword [rbp - 0x54], eax
mov edx, dword [rbp - 0x54]
mov rax, qword [rbp - 0x18]
add rax, rdx
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], 0
mov rdx, qword [rbp - 0x68]
mov rax, qword [rbp + 0x10]
mov rcx, rax
call method.hash.returnhash_char_
mov dword [rbp - 0x74], eax
mov eax, dword [rbp - 0x74]
cmp eax, dword [rbp + 0x20]
jne 0x140003007
mov eax, dword [rbp - 4]
lea rdx, [rax + rax]
mov rax, qword [rbp - 0x50]
add rax, rdx
movzx eax, word [rax]
movzx eax, ax
lea rdx, [rax*4]
mov rax, qword [rbp - 0x40]
add rax, rdx
mov eax, dword [rax]
mov eax, eax
mov qword [rbp - 0x70], rax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x70]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
jmp 0x14000301f
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x38]
mov eax, dword [rax + 0x14]
cmp dword [rbp - 4], eax
jb 0x140002f77
mov rax, qword [rbp - 0x10]
add rsp, 0xa0
pop rbp
ret
Function at 0x14000a130
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
jne 0x14000a13e
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x10], 0
je 0x14000a170
mov r8, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
call fcn.14000d750
jmp 0x14000a1f3
movzx eax, byte [0x140022060]
test eax, eax
jne 0x14000a1b5
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000a1ae
lea rdx, [0x140016d30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140022058], rax
mov byte [0x140022060], 1
cmp qword [0x140022058], 0
je 0x14000a1e0
xor r9d, r9d
mov rax, qword [rsp + 0x40]
mov r8d, dword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [0x140022058]
jmp 0x14000a1f3
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
add rsp, 0x38
ret

Function at 0x14000a200
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 0x14000a20e
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 0x14000d470
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1400210f0]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140004ab0
nop
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 8]
or eax, 0x2001f
mov r9d, eax
mov r8, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2a0]
mov rdx, qword [rax]
lea rcx, [rsp + 0x58]
call fcn.14000c4b0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14000d4ff
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x58]
call fcn.1400059c0
mov eax, dword [rsp + 0x48]
jmp 0x14000d5bd
mov dword [rsp + 0x44], 0x100
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000d58c
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000d470
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14000d57f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x58]
call fcn.1400059c0
mov eax, dword [rsp + 0x4c]
jmp 0x14000d5bd
mov dword [rsp + 0x44], 0x100
jmp 0x14000d507
lea rcx, [rsp + 0x58]
call fcn.140008df0
mov rdx, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000a130
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x58]
call fcn.1400059c0
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140012580
add rsp, 0x298
ret
Function at 0x14000d750
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14000d7dc
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000d78f
mov eax, 1
jmp 0x14000d7fe
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000d7da
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [rsp + 0x38]
jmp 0x14000d7fe
jmp 0x14000d7f9
mov rax, qword [rsp + 0x50]
cmp dword [rax + 8], 0
je 0x14000d7f9
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x14000d7fe
mov eax, 1
add rsp, 0x48
ret
Function at 0x14000dc30
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, 0x4c8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400210f0]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
call fcn.140010260
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x78]
call fcn.140003d50
nop
mov rdx, qword [rsp + 0x4d0]
lea rcx, [rsp + 0x88]
call fcn.140004b40
lea rcx, [rsp + 0xa0]
call fcn.140004690
nop
mov edx, 0x400
mov rcx, qword [rsp + 0x4d8]
call fcn.14000c490
mov qword [rsp + 0x50], rax
mov r8d, 0x60
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dcef
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000dd05
call fcn.1400078b0
mov dword [rsp + 0x30], eax
jmp 0x14000de69
mov r8, qword [rsp + 0x4e8]
mov rdx, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000dd3b
call fcn.1400078b0
mov dword [rsp + 0x30], eax
jmp 0x14000de69
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14000dd66
call fcn.1400078b0
mov dword [rsp + 0x30], eax
jmp 0x14000de69
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x34]
inc eax
cmp eax, dword [rsp + 0x34]
jae 0x14000dd9d
mov dword [rsp + 0x30], 0x8007000e
jmp 0x14000de69
mov eax, dword [rsp + 0x34]
inc eax
mov eax, eax
mov edx, eax
lea rcx, [rsp + 0xa0]
call fcn.140006f30
nop
jmp 0x14000ddb7
lea rcx, [rsp + 0xa0]
call fcn.140005d10
test rax, rax
jne 0x14000ddd6
mov dword [rsp + 0x30], 0x8007000e
jmp 0x14000de69
lea rcx, [rsp + 0xa0]
call fcn.140005d10
mov qword [rsp + 0x68], rax
call fcn.140010260
mov ecx, dword [rsp + 0x34]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x34]
mov r8, qword [rsp + 0x70]
xor edx, edx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14000de29
call fcn.1400078b0
mov dword [rsp + 0x30], eax
jmp 0x14000de69
lea rcx, [rsp + 0xa0]
call fcn.140005d10
mov ecx, dword [rsp + 0x40]
xor edx, edx
mov word [rax + rcx*2], dx
lea rcx, [rsp + 0xa0]
call fcn.140005d10
mov r8d, dword [rsp + 0x4f0]
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14000d920
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0x38], 0
je 0x14000de7c
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0xa0]
call fcn.1400057e0
nop
lea rcx, [rsp + 0x78]
call fcn.140004f00
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140012580
add rsp, 0x4c8
ret