joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ce81890
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6ce875e4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6ce81a18
mov rax, qword [0x6ce875e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6ce818dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6ce81965
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6ce818c0
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x6ce81a4d
mov rax, qword [0x6ce875e8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6ce875e8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6ce81a30
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6ce8195e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6ce819c0
add dword [0x6ce875e4], 1
cmp edi, 8
jae 0x6ce81993
test dil, 4
jne 0x6ce81a04
test edi, edi
je 0x6ce81988
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6ce81a1f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6ce81988
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6ce819ac
jmp 0x6ce81988
add rsi, qword [0x6ce875e8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6ce8195e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6ce81988
xor esi, esi
jmp 0x6ce818e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6ce81988
mov rax, qword [0x6ce875e8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x6ce821a0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6ce878c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6ce878a0]
test rbx, rbx
je 0x6ce821f4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6ce821eb
test rsi, rsi
je 0x6ce821eb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6ce821d0
lea rcx, [0x6ce878c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6ce82430
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6ce82440
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6ce82450
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6ce82491
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6ce82488
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6ce82493
add rax, 0x28
cmp rax, r9
jne 0x6ce82474
xor eax, eax
ret

Function at 0x6ce82530
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6ce84590]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6ce8259d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce8259d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6ce8259d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6ce82594
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6ce8259f
add rax, 0x28
cmp rax, r9
jne 0x6ce82580
xor eax, eax
add rsp, 0x28
ret

Function at 0x6ce826a0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6ce84590]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6ce826c0
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce826b8
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6ce8271d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6ce82714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6ce82724
add rax, 0x28
cmp rax, r9
jne 0x6ce82700
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6ce82740
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6ce84590]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6ce827ae
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6ce827ae
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6ce827ae
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6ce827ae
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6ce827a5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6ce827b5
add rcx, 0x28
cmp rcx, rax
jne 0x6ce82790
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6ce827c8
jmp 0x6ce827ae
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6ce827d6
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6ce827ae
test r9d, r9d
jg 0x6ce827c0
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6ce82b30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__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 sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140012cb0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140012cbd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140012ccd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140012cb5
lea eax, [rcx + 1]
jmp 0x140012cdb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140012cee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140012cd4
sub eax, 3
jb 0x140012d0e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140012d5d
sar eax, 1
movsxd rbp, eax
jb 0x140012d44
jmp 0x140012d1c
add ebx, ebx
jne 0x140012d1a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140012d44
inc ecx
add ebx, ebx
jne 0x140012d2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140012d44
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140012d3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140012d2c
add ecx, 2
jmp 0x140012d49
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140012c72
jmp 0x140012cbd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x7000
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140012da9
cmp rsi, rcx
jae 0x140012db1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140012d90
cmp al, 0x8f
ja 0x140012d90
cmp byte [rsi - 2], 0xf
je 0x140012d96
sub al, 0xe8
cmp al, 1
ja 0x140012d7a
cmp rsi, rcx
jae 0x140012db1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140012d80
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140012db1
lodsb al, byte [rsi]
jmp 0x140012d90
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x10000]
mov eax, dword [rdi]
or eax, eax
je 0x140012e0e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x12000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140012dbe
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140012e08
mov qword [rbx], rax
add rbx, 8
jmp 0x140012dde
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140012e48
cmp al, 0xef
ja 0x140012e3a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140012e1a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140012e29
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.140012ec7], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.140012ec7
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140012eb7
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140003bb0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
push r14
push r15
mov eax, 0x7c10
call fcn.1400149a0
sub rsp, rax
mov rax, qword [0x140024338]
xor rax, rsp
mov qword [rsp + 0x7bf0], rax
mov r14d, r9d
mov r15, r8
mov rbx, rcx
test r9d, r9d
je 0x140003dbf
mov qword [rsp + 0x7c38], rbp
mov qword [rsp + 0x7c48], rsi
xor esi, esi
mov qword [rsp + 0x7c08], rdi
lea rdx, [rsp + 0x30]
mov eax, esi
mov qword [rsp + 0x7c00], r12
mov byte [rdx], al
inc eax
lea rdx, [rdx + 1]
cmp eax, 0x7bbe
jb 0x140003c10
mov r9d, esi
mov r10d, esi
lea r11, [rsp + 0x30]
nop word [rax + rax]
movzx r8d, byte [r11]
mov eax, 0xaf286bcb
mov ecx, r10d
lea r11, [r11 + 1]
mul r10d
sub ecx, edx
mov eax, r10d
inc r10d
shr ecx, 1
add ecx, edx
shr ecx, 5
imul ecx, ecx, 0x26
sub eax, ecx
movzx edx, byte [rax + rbx]
mov eax, 0x8cf02d5
add edx, r9d
add edx, r8d
mov r9d, edx
mul edx
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xe
imul eax, eax, 0x7bbe
sub r9d, eax
movzx eax, byte [rsp + r9 + 0x30]
mov byte [r11 - 1], al
mov byte [rsp + r9 + 0x30], r8b
cmp r10d, 0x7bbe
jb 0x140003c30
mov r12d, esi
mov ebp, esi
nop dword [rax]
inc ebp
mov eax, 0x8cf02d5
lea rcx, str.Enter_a_number:
mul ebp
mov eax, ebp
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xe
imul eax, eax, 0x7bbe
sub ebp, eax
mov eax, 0x8cf02d5
movzx ebx, byte [rsp + rbp + 0x30]
add r12d, ebx
mul r12d
mov eax, r12d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xe
imul eax, eax, 0x7bbe
sub r12d, eax
movzx eax, byte [rsp + r12 + 0x30]
mov byte [rsp + rbp + 0x30], al
mov byte [rsp + r12 + 0x30], bl
call fcn.1400097bc
lea rdx, [rsp + 0x20]
lea rcx, [0x14002071c]
call fcn.140009578
lea rcx, str.Enter_another_number:
call fcn.1400097bc
lea rdx, [rsp + 0x28]
lea rcx, [0x140020738]
call fcn.140009578
lea rcx, str.num1___f_n
movss xmm1, dword [rsp + 0x20]
cvtps2pd xmm1, xmm1
movq rdx, xmm1
call fcn.1400097bc
movsd xmm1, qword [rsp + 0x28]
lea rcx, str.num2___lf
movq rdx, xmm1
call fcn.1400097bc
movzx r8d, byte [rsp + rbp + 0x30]
add r8d, ebx
mov eax, 0x8467816b
imul r8d
add edx, r8d
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x7bbe
sub r8d, edx
movsxd rcx, r8d
movzx edx, byte [rsp + rcx + 0x30]
xor byte [rsi + r15], dl
lea esi, [rsi + 1]
dec r14d
jne 0x140003ca0
mov r12, qword [rsp + 0x7c00]
mov rdi, qword [rsp + 0x7c08]
mov rsi, qword [rsp + 0x7c48]
mov rbp, qword [rsp + 0x7c38]
mov rax, r15
jmp 0x140003dc1
xor eax, eax
mov rcx, qword [rsp + 0x7bf0]
xor rcx, rsp
call fcn.140008eb0
add rsp, 0x7c10
pop r15
pop r14
pop rbx
ret
Function at 0x140003de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov edi, edx
mov r8d, dword [rax + rcx + 0x88]
mov r11, rcx
add r8, rcx
mov r10d, dword [r8 + 0x20]
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
mov ebx, dword [r8 + 0x18]
add r10, rcx
add rsi, rcx
add rbp, rcx
test ebx, ebx
je 0x140003e6c
nop dword [rax + rax]
mov r8d, dword [r10]
xor eax, eax
add r8, r11
movzx ecx, byte [r8]
test cl, cl
je 0x140003e5c
ror eax, 0xd
movsx edx, cl
cmp cl, 0x61
jl 0x140003e4e
sub edx, 0x20
movzx ecx, byte [r8 + 1]
inc r8
add eax, edx
test cl, cl
jne 0x140003e40
cmp eax, edi
je 0x140003e83
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140003e30
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140003e6e
Function at 0x140007a10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140024338]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
call fcn.140004080
test eax, eax
je 0x140007a48
mov ecx, 0xffffe9f2
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov qword [rsp + 0x128], rdi
xor edi, edi
lea rdx, [0x14002078c]
lea rcx, [rbp - 0x70]
lea r8d, [rdi + 3]
mov qword [rbp - 0x58], 0xf
mov qword [rbp - 0x60], rdi
mov byte [rbp - 0x70], dil
call fcn.140007f70
lea r8d, [rdi + 3]
lea rdx, [0x140020790]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], dil
call fcn.140007f70
lea r8d, [rdi + 5]
lea rdx, str.t.exe
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x30], dil
call fcn.140007f70
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.140008910
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov rdx, rax
call fcn.1400089c0
cmp qword [rbp - 0x38], 0x10
jb 0x140007afa
mov rcx, qword [rbp - 0x50]
call fcn.140008ed0
cmp qword [rbp - 0x78], 0x10
lea rcx, [rsp + 0x70]
cmovae rcx, qword [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140026e50], rax
test rax, rax
je 0x140007be4
mov rax, qword [str.61iX5wo3s4R2V0NGzTxNYRJNinFtFMPhHk650]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov rax, qword [0x1400207a8]
mov qword [rbp - 0x48], rax
mov rax, qword [0x1400207b0]
mov qword [rbp - 0x40], rax
mov rax, qword [0x1400207b8]
mov qword [rbp - 0x38], rax
mov eax, dword [0x1400207c0]
mov dword [rbp - 0x30], eax
movzx eax, word [0x1400207c4]
mov word [rbp - 0x2c], ax
call fcn.140003ea0
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 0x50]
call fcn.1400103e0
lea rax, [0x1400024a0]
mov edx, 0x7f00
xor ecx, ecx
mov dword [rbp - 0x50], 0xb
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x28], rax
lea rax, str.CONTACTLIST
mov qword [rbp - 0x10], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea r9, [0x140007c90]
xor r8d, r8d
mov edx, 0x81
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.USER32.dll_DialogBoxParamW]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp qword [rbp - 0x78], 0x10
jb 0x140007bf5
mov rcx, qword [rsp + 0x70]
call fcn.140008ed0
cmp qword [rsp + 0x48], 0x10
mov byte [rsp + 0x70], dil
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], 0xf
jb 0x140007c18
mov rcx, qword [rsp + 0x30]
call fcn.140008ed0
cmp qword [rsp + 0x68], 0x10
mov byte [rsp + 0x30], dil
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0xf
jb 0x140007c3d
mov rcx, qword [rsp + 0x50]
call fcn.140008ed0
cmp qword [rbp - 0x58], 0x10
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
jb 0x140007c60
mov rcx, qword [rbp - 0x70]
call fcn.140008ed0
xor eax, eax
mov rdi, qword [rsp + 0x128]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140008eb0
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rbp
ret
Function at 0x14000cc94
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000cafc
Function at 0x140002f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x20], r14d
cmp qword [r8 + 0x18], 8
jb 0x140002f7f
mov r8, qword [r8]
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [rdx + 2]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002fb0
mov dword [rbx], eax
mov byte [rbx + 0x20], r14b
jmp 0x14000305e
mov r8d, dword [rbp + 0x20]
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov edx, 0x20
lea rcx, [rbp - 0x28]
call fcn.1400077f0
nop
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 8
jb 0x140002fed
mov rdi, qword [rdi]
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140003076
mov dword [rbx], eax
mov byte [rbx + 0x20], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14000305e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003059
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003144
call fcn.140024d94
mov rax, rbx
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, dword [rbp + 0x20]
shr rcx, 1
dec rcx
mov r8, qword [rbp - 0x18]
cmp rcx, r8
ja 0x1400030a1
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], rcx
mov word [rax + rcx*2], r14w
jmp 0x1400030f1
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x10]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400030e5
mov qword [rbp - 0x18], rcx
lea r9, [rbp - 0x28]
cmp rdi, 8
cmovae r9, qword [rbp - 0x28]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400030da
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1400030f1
mov r9, rdx
lea rcx, [rbp - 0x28]
call fcn.140007c00
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140002140
mov byte [rbx + 0x20], 1
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14000305e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003059
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003059
call fcn.140035ab4
int3
Function at 0x140014490
Capabilities:
Encode data using base64 via winapi

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
lea rax, [rsp + 0x50]
mov edx, dword [rcx + 8]
mov r14, rcx
sub edx, dword [rcx]
xor r15d, r15d
mov rcx, qword [rcx]
xor r9d, r9d
mov r8d, 0x40000001
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x1400145fb
mov rcx, qword [rbx + 0x10]
mov r8d, dword [rsp + 0x50]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
lea rsi, [rbx + 0x10]
mov qword [rsp + 0x68], rdi
mov rdi, qword [rbx + 0x18]
cmp r8, rcx
ja 0x14001450c
mov rax, rbx
cmp rdi, 8
jb 0x140014502
mov rax, qword [rbx]
mov qword [rsi], r8
mov word [rax + r8*2], r15w
jmp 0x140014551
mov rdx, r8
mov rax, rdi
sub rdx, rcx
sub rax, rcx
cmp rdx, rax
ja 0x140014546
mov qword [rsi], r8
mov r9, rbx
cmp rdi, 8
jb 0x14001452c
mov r9, qword [rbx]
lea rdi, [r9 + rcx*2]
test rdx, rdx
je 0x14001453f
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [r9 + r8*2], r15w
jmp 0x140014551
mov r9, rdx
mov rcx, rbx
call fcn.140007c00
cmp qword [rbx + 0x18], 8
mov r9, rbx
jb 0x14001455e
mov r9, qword [rbx]
mov edx, dword [r14 + 8]
lea rax, [rsp + 0x50]
sub edx, dword [r14]
mov r8d, 0x40000001
mov rcx, qword [r14]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebp, eax
test eax, eax
je 0x1400145ec
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsi]
mov rdi, qword [rbx + 0x18]
cmp r8, rcx
ja 0x1400145a8
cmp rdi, 8
jb 0x14001459e
mov rbx, qword [rbx]
mov qword [rsi], r8
mov word [rbx + r8*2], r15w
jmp 0x1400145ea
mov rdx, r8
mov rax, rdi
sub rdx, rcx
sub rax, rcx
cmp rdx, rax
ja 0x1400145df
mov qword [rsi], r8
cmp rdi, 8
jb 0x1400145c5
mov rbx, qword [rbx]
lea rdi, [rbx + rcx*2]
test rdx, rdx
je 0x1400145d8
movzx eax, r15w
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbx + r8*2], r15w
jmp 0x1400145ea
mov r9, rdx
mov rcx, rbx
call fcn.140007c00
mov eax, ebp
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x140014610
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x40
mov rbp, qword [rcx]
lea rax, [rsp + 0x60]
xor r14d, r14d
mov rbx, rdx
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov rcx, rbp
mov dword [rsp + 0x60], r14d
lea r8d, [r14 + 1]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140014739
mov rdx, qword [rbx]
mov qword [rsp + 0x68], rsi
mov rsi, qword [rbx + 8]
mov rcx, rsi
mov qword [rsp + 0x70], rdi
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x14001467b
lea rax, [rdx + rdi]
jmp 0x1400146aa
jbe 0x1400146ae
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x140014696
mov rdx, rdi
mov rcx, rbx
call fcn.1400150d0
jmp 0x1400146ae
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rsi
call fcn.140027310
lea rax, [rdi + rsi]
mov qword [rbx + 8], rax
mov r9, qword [rbx]
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov rcx, rbp
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
mov esi, eax
test eax, eax
je 0x14001472f
mov rbp, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, rbp
mov edi, dword [rsp + 0x60]
sub rcx, rdx
cmp rdi, rcx
jae 0x1400146fa
lea rcx, [rdx + rdi]
mov qword [rbx + 8], rcx
jmp 0x14001472d
jbe 0x14001472d
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rdi, rax
jbe 0x140014715
mov rdx, rdi
mov rcx, rbx
call fcn.1400150d0
jmp 0x14001472d
sub rdi, rcx
xor edx, edx
mov r8, rdi
mov rcx, rbp
call fcn.140027310
lea rax, [rdi + rbp]
mov qword [rbx + 8], rax
mov eax, esi
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rbp
pop rbx
ret