joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004d238
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, rdx
lea rdx, [rcx + 0x10]
mov r8, rcx
mov rsi, rcx
call fcn.140003c58
and dword [rsi + 0x44], 0
mov byte [rsi + 0x40], 0
mov r15, qword [0x1401a74f0]
call fcn.140009374
xor edi, edi
mov ebx, 0x81
mov rcx, r15
lea r8d, [rdi + 5]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbp, rax
test rax, rax
je 0x14004d352
lea r8d, [rbx + 0x6f]
mov edx, ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14004d2c6
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbp
mov rcx, r15
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14004d33e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14004d33e
mov rcx, rax
call fcn.1400411ac
and qword [rsp + 0x20], rbx
lea r9, [0x14004dc78]
mov rdx, rax
mov r8, r12
mov rcx, r15
mov rbp, rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rdi, rax
test rax, rax
jne 0x14004d320
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rbp, r14
je 0x14004d346
test rbp, rbp
je 0x14004d346
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14004d346
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x14004d352
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rsi + 0x44], 0
jge 0x14004d372
test rdi, rdi
je 0x14004d372
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [rsi + 0x44]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rax, rdi
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x14004f8e8
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
lea rax, vtable.CRSimpleIPCChannel.0
mov qword [rcx], rax
mov esi, 1
xor edi, edi
cmp byte [rcx + 0x10], dil
je 0x14004f942
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [rsp + 0x58], edi
lea rdx, [rbx + 0x18]
mov r9d, esi
lea r8, [rsp + 0x58]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp byte [rbx + 0x78], dil
je 0x14004f975
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_CancelIo]
mov dword [rsp + 0x58], edi
lea rdx, [rbx + 0x80]
mov r9d, esi
lea r8, [rsp + 0x58]
mov rcx, qword [rbx + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [0x1401a8d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x66666667
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub r8d, eax
cmp r8d, 3
jne 0x14004f9c1
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
nop
lea rsi, vtable.CRMutex.0
mov qword [rbx + 0x130], rsi
lea rcx, [rbx + 0x138]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14004f9f6
cmp rcx, 0xffffffffffffffff
je 0x14004f9f6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbx + 0x100]
mov qword [rsp + 0x58], rcx
call fcn.140050a60
nop
mov qword [rbx + 0xd0], rsi
lea rcx, [rbx + 0xd8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rcx, qword [rbx + 0xb0]
test rcx, rcx
je 0x14004fa43
call fcn.1400bcfa4
mov qword [rbx + 0xb0], rdi
mov qword [rbx + 0xb8], rdi
mov qword [rbx + 0xc0], rdi
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14004fa5c
cmp rcx, 0xffffffffffffffff
je 0x14004fa5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14004fa76
call fcn.1400bcfa4
mov qword [rbx + 0x60], rdi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], rdi
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x14004fa90
call fcn.1400bcfa4
mov qword [rbx + 0x48], rdi
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], rdi
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14004faa5
cmp rcx, 0xffffffffffffffff
je 0x14004faa5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x14004ff24
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rsi, rcx
cmp byte [rcx + 0x10], 0
je 0x14004ff89
call fcn.140050100
test al, al
jne 0x14004ff89
mov ecx, dword [0x1401a8d80]
imul ecx, ecx
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xf
jne 0x1400500b0
call fcn.1400bd978
mov dword [0x1401a8d80], eax
jmp 0x1400500b0
and dword [rbp + 0x20], 0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
mov r8d, 0x1000
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140050030
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14004ffff
cmp eax, 0x3e5
je 0x14004fff9
lea rax, str.Channel_read_failure
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 0x20]
call fcn.1400c0448
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rbp - 0x20], rax
lea rdx, [0x14016be58]
lea rcx, [rbp - 0x20]
call fcn.1400c4e98
int3
mov byte [rsi + 0x10], 1
jmp 0x140050030
lea rcx, [rbp - 0x38]
call fcn.1400c04c0
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rbp - 0x38], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rbp - 0x38], rax
lea rdx, [0x14016be10]
lea rcx, [rbp - 0x38]
call fcn.1400c4e98
int3
cmp byte [rsi + 0x10], 0
jne 0x1400500b0
lea rdi, [rsi + 0x48]
mov rbx, qword [rdi + 8]
sub rbx, qword [rdi]
mov edx, dword [rbp + 0x20]
add rdx, rbx
mov rcx, rdi
call fcn.1400247c0
mov r8d, dword [rbp + 0x20]
mov rcx, qword [rdi]
add rcx, rbx
mov rdx, qword [rsi + 0x60]
call fcn.1400bcff0
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [0x1401a8d80]
imul ecx, ecx
mov eax, 0x6bca1af3
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0xd
jne 0x1400500ac
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov al, 1
jmp 0x1400500b2
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400515e8
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rbx, rdx
mov r11, rcx
xor r10d, r10d
mov dword [rsp + 0x20], r10d
mov r9d, dword [0x1401a8d80]
lea r8d, [r9 + 2]
lea eax, [r9 + 1]
imul r8d, eax
imul r8d, r9d
mov eax, 0x38e38e39
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub r8d, eax
cmp r8d, 7
jne 0x140051675
mov edx, r10d
mov r8d, 8
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
mov edx, ecx
xor edx, eax
dec r8
jne 0x140051646
add r9d, edx
inc r10d
cmp r10d, 0x100
jl 0x14005163d
mov dword [0x1401a8d80], r9d
lea rdx, [r11 + 0x190]
mov rcx, rbx
call fcn.140002bac
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140051724
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov r11, rdx
mov r9, rcx
test r8d, r8d
jle 0x140051778
mov rbx, rcx
sub r11, rcx
mov eax, 0x81020409
imul r10d
add edx, r10d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r10d
inc r10d
imul edx, edx, 0x7f
sub eax, edx
movsxd rcx, eax
lea rax, str._Rebekah_took_goodly_raiment_of_her_eldest_son_Esau__which_were_with_her_in_the_house__and_put_them_upon_Jacob_her_younger_son:
mov al, byte [rcx + rax]
xor al, byte [r11 + rbx]
mov byte [rbx], al
inc rbx
cmp r10d, r8d
jl 0x14005173d
mov rbx, qword [rsp + 8]
mov rax, r9
ret
Function at 0x1400573ec
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400c2070
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, r8
mov rbx, rcx
lea r8, str._ver
lea rcx, [rsp + 0x40]
call fcn.140017bcc
nop
and dword [rsp + 0x38], 0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x61]
call fcn.1400c2400
mov dword [rsp + 0x30], 0x1000
or dword [rsp + 0x34], 0xffffffff
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140057500
lea r9d, [rax + 3]
cmp dword [rsp + 0x34], r9d
jne 0x140057500
cmp dword [rsp + 0x30], 0x1000
je 0x140057500
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1400574fc
lea rdx, str.error_writing_ver
lea rcx, [rsp + 0x50]
call fcn.140002c48
nop
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x40]
call fcn.14004c728
nop
mov rdx, qword [rsp + 0x50]
jmp 0x140057526
mov bl, 1
jmp 0x14005753c
lea rdx, str.error_reading_ver
lea rcx, [rsp + 0x48]
call fcn.140002c48
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rbx + 0x40]
call fcn.14004c728
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14005753a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor bl, bl
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140057556
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov al, bl
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400bcfc0
add rsp, 0x1070
pop rdi
pop rbx
pop rbp
ret
Function at 0x140057d7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1401a0e90]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov r14, r8
mov rbx, rdx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x70], rdi
xor edx, edx
lea r8d, [rdi + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140057e09
xor edx, edx
lea r8d, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x140057e09
call fcn.140003c08
mov ebx, eax
jmp 0x140057f18
mov r8, r15
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x140057e2a
call fcn.140003c08
jmp 0x140057f07
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140057e20
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x140057e65
mov ebx, 0x8007000e
jmp 0x140057f09
mov ecx, eax
test eax, eax
je 0x140057e9d
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140057e93
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x140057e9d
lea rcx, [rsp + 0x70]
call fcn.140059f54
jmp 0x140057ea7
mov ecx, 0x80070216
call fcn.140001874
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140057eb9
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140057e5b
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x140057e20
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], di
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140058bdc
mov ebx, eax
test rsi, rsi
je 0x140057f18
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x140057f2f
lea rcx, [rsp + 0x70]
call fcn.140059f4c
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400bcfc0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005ecf0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400c2070
sub rsp, rax
lea r8, [0x14016ed08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140065720
cmp dword [0x14016e24c], 0
jne 0x14005ed3c
mov edx, 1
lea r8, [0x14016ed20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140065720
mov edx, 1
lea r8, [0x14016ed38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140065720
mov edx, 1
lea r8, [0x14016ed50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140065720
cmp dword [0x14016e24c], 0
jne 0x14005ed97
mov edx, 1
lea r8, [0x14016ed68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140065720
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401a4fe0]
lea rbx, [0x1401a5fc8]
mov edi, 1
lea rbp, [0x14016ed80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x14005edfb
mov ecx, edi
call fcn.1400c22c4
test rax, rax
je 0x14005edf2
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400c2160
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x14005edfb
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x14005edc5
mov edx, 1
lea r8, [0x14016ed88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14016e24c], 0
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp fcn.140065720
Function at 0x140061d70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r10, dword [rdx + 8]
lea rbx, [rcx - 1]
movsxd rcx, dword [r8 + 8]
xor rcx, r10
shr rbx, 0x3f
movsxd rsi, r9d
dec rbx
lea eax, [rsi - 1]
mov r11, r8
and rcx, rbx
mov rdi, rdx
xor r10d, ecx
mov dword [rdx + 8], r10d
xor dword [r8 + 8], ecx
cmp eax, 9
ja case.default.0x140061dc7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x61f70]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x140061dc7.10
nop word [rax + rax]
mov rax, qword [r11]
mov r8, qword [rdi]
inc r9
mov rcx, qword [r8 + r9*8 - 8]
mov rdx, qword [rax + r9*8 - 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + r9*8 - 8], rcx
mov rax, qword [r11]
xor qword [rax + r9*8 - 8], rdx
cmp r9, rsi
jl 0x140061de0
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x48]
mov rdx, qword [rax + 0x48]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x48], rcx
mov rax, qword [r11]
xor qword [rax + 0x48], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x40]
mov rdx, qword [rax + 0x40]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x40], rcx
mov rax, qword [r11]
xor qword [rax + 0x40], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x38]
mov rdx, qword [rax + 0x38]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x38], rcx
mov rax, qword [r11]
xor qword [rax + 0x38], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x30]
mov rdx, qword [rax + 0x30]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x30], rcx
mov rax, qword [r11]
xor qword [rax + 0x30], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x28]
mov rdx, qword [rax + 0x28]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x28], rcx
mov rax, qword [r11]
xor qword [rax + 0x28], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x20]
mov rdx, qword [rax + 0x20]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x20], rcx
mov rax, qword [r11]
xor qword [rax + 0x20], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x18]
mov rdx, qword [rax + 0x18]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x18], rcx
mov rax, qword [r11]
xor qword [rax + 0x18], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 0x10]
mov rdx, qword [rax + 0x10]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 0x10], rcx
mov rax, qword [r11]
xor qword [rax + 0x10], rdx
mov rax, qword [r11]
mov r8, qword [rdi]
mov rcx, qword [r8 + 8]
mov rdx, qword [rax + 8]
xor rdx, rcx
and rdx, rbx
xor rcx, rdx
mov qword [r8 + 8], rcx
mov rax, qword [r11]
xor qword [rax + 8], rdx
mov r8, qword [rdi]
mov rax, qword [r11]
mov rsi, qword [rsp + 0x10]
mov rdx, qword [r8]
mov rcx, qword [rax]
mov rdi, qword [rsp + 0x18]
xor rcx, rdx
and rcx, rbx
mov rbx, qword [rsp + 8]
xor rdx, rcx
mov qword [r8], rdx
mov rax, qword [r11]
xor qword [rax], rcx
ret
Function at 0x140064f40
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400c2070
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x140064f5c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401a6b58], 0
je 0x14006501b
mov edx, 0x1d
lea r8, [0x14016f960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.140065720
mov rcx, qword [0x1401a6b20]
test rcx, rcx
je 0x140065021
call fcn.140075490
cmp edi, eax
jge 0x140065021
mov rcx, qword [0x1401a6b20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.1400754a0
mov rbx, rax
test rax, rax
je 0x140064fd8
dec dword [rax]
cmp dword [rax], 0
jg 0x140064fd6
mov rcx, qword [0x1401a6b20]
xor r8d, r8d
mov edx, edi
call fcn.1400754c0
jmp 0x140064fd8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x14016f990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.140065720
test rbx, rbx
je 0x140065016
mov rcx, qword [rbx + 8]
lea rdx, [0x14016f9a8]
mov r8d, 0x14f
call qword [0x1401a6b58]
mov rcx, rbx
call fcn.140066bd0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x14016f978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.140065720
Function at 0x1400653e0
Capabilities:
Access the windows event log

Disassembly:
add byte [rax - 0x77], cl
and al, 0x40
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r12
push r13
mov eax, 0x278
call fcn.1400c2070
sub rsp, rax
lea rbp, [rsp + 0x50]
mov rax, qword [0x1401a0e90]
xor rax, rbp
mov qword [rbp + 0x210], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x140065460
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x140065460
lea rbx, [rbp + 0x268]
call fcn.1400c2b18
mov rdx, qword [rbp + 0x260]
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1400c28ec
jmp 0x140065628
mov r8, qword [rbp + 0x260]
mov rcx, r8
call fcn.140064f20
inc eax
mov edi, eax
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140065489
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c2070
sub rsp, rcx
xor esi, esi
lea rbx, [rsp + 0x50]
test rbx, rbx
jne 0x1400654b0
lea rbx, str.no_stack_
jmp 0x140065583
mov r9d, edi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1400654f9
mov rdx, rsi
test rdi, rdi
je 0x1400654f9
nop word [rax + rax]
mov rax, qword [rbp + 0x260]
inc rdx
movsx ecx, byte [rdx + rax - 1]
mov word [rbx + rdx*2 - 2], cx
cmp rdx, rdi
jb 0x1400654e0
mov rdx, rsi
test rdi, rdi
je 0x140065583
mov r10d, 0x53
lea r9, [0x140000000]
lea r11d, [r10 + 0x20]
lea r12d, [r10 - 0x10]
lea r13d, [r10 + 0x10]
nop
cmp word [rbx + rdx*2], 0x25
jne case.0x140065552.47
lea r8, [rbx + rdx*2 + 2]
nop dword [rax]
movzx eax, word [r8]
add eax, 0xffffffd6
cmp eax, 0x49
ja case.0x140065552.47
cdqe
movzx eax, byte [r9 + rax + 0x65660]
mov ecx, dword [r9 + rax*4 + 0x65648]
add rcx, r9
jmp rcx
inc rdx
add r8, 2
jmp 0x140065530
mov word [rbx + rdx*2 + 2], r10w
jmp case.0x140065552.47
mov word [rbx + rdx*2 + 2], r11w
jmp case.0x140065552.47
mov word [rbx + rdx*2 + 2], r12w
jmp case.0x140065552.47
mov word [rbx + rdx*2 + 2], r13w
inc rdx
cmp rdx, rdi
jb 0x140065520
lea r9, [rbp + 0x268]
lea rcx, [rbp + 0x10]
mov r8, rbx
mov edx, 0xff
call fcn.1400c27d8
mov word [rbp + 0x20e], si
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14006560f
call fcn.140065250
test eax, eax
jle 0x14006560f
lea rdx, str.OPENSSL
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov qword [rsp + 0x40], rsi
mov ecx, 1
mov rbx, rax
lea rax, [rbp + 0x10]
mov edx, ecx
mov qword [rbp], rax
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], esi
mov word [rsp + 0x28], cx
mov rcx, rbx
xor r9d, r9d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x140065628
lea r8, str.OpenSSL:_FATAL
lea rdx, [rbp + 0x10]
mov r9d, 0x10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rbp + 0x210]
xor rcx, rbp
call fcn.1400bcfc0
lea rsp, [rbp + 0x228]
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400656f0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
test r8, r8
je 0x140065713
sub rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor al, byte [rcx - 1]
or r9b, al
sub r8, 1
jne 0x140065700
movzx eax, r9b
ret

Function at 0x140065720
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x20
call fcn.1400c2070
sub rsp, rax
mov edi, r9d
mov rsi, r8
mov ebx, edx
mov ebp, ecx
test edx, edx
jns 0x1400657b0
cmp qword [0x1401a6b50], 0
je 0x1400657be
mov ecx, edx
call fcn.140065040
test rax, rax
je 0x14006577b
mov r9d, edi
mov r8, rsi
mov rdx, rax
mov ecx, ebp
call qword [0x1401a6b50]
mov ecx, ebx
call fcn.140064f40
jmp 0x1400657be
lea r9, str.pointer___NULL
lea rdx, str..cryptocryptlib.c
lea rcx, str._s__d_:_OpenSSL_internal_error__assertion_failed:__s_n
mov r8d, 0x253
call fcn.1400653e0
mov ecx, 0x16
call fcn.1400c31c8
mov ecx, 3
call fcn.1400c2e80
int3
mov rax, qword [0x1401a6b28]
test rax, rax
je 0x1400657be
call rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140066440
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r9, rcx
test rcx, rcx
je 0x140066497
movzx eax, byte [rcx]
test al, al
je 0x140066497
mov r10d, 0x100
nop dword [rax + rax]
movsx edx, al
inc r9
or edx, r10d
add r10d, 0x100
mov eax, edx
shr eax, 2
xor eax, edx
and eax, 0xf
movzx ecx, al
mov al, byte [r9]
imul edx, edx
rol r8d, cl
xor r8d, edx
test al, al
jne 0x140066460
mov eax, r8d
shr eax, 0x10
xor eax, r8d
ret
xor eax, eax
ret

Function at 0x140069990
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400c2070
sub rsp, rax
lea r8, [0x1401704d0]
lea edx, [rax - 0x26]
lea ecx, [rax - 0x1f]
mov r9d, 0xcb
call fcn.140065720
mov rax, qword [0x1401a6be8]
mov edx, 2
test rax, rax
lea r11, [0x1401704a0]
lea r8, [0x1401704e8]
cmovne r11, rax
lea ecx, [rdx + 8]
mov r9d, 0xce
mov qword [0x1401a6be8], r11
add rsp, 0x28
jmp fcn.140065720