joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005beb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401d89cc], 0
je 0x14005bee5
lea rax, [0x1401d2510]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d4e00
add rsp, 0x38
ret
mov r9d, dword [0x1401d6d80]
mov eax, 0x2aaaaaab
xor ecx, ecx
lea r8d, [r9 + 1]
imul r8d, r9d
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 5
jne 0x14005bfbe
mov r8d, ecx
nop dword [rax]
mov edx, r8d
mov eax, r8d
inc r8d
sar eax, 1
and edx, 1
dec edx
not edx
and edx, r9d
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, r9d
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, r9d
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, r9d
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, r9d
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, r9d
xor eax, edx
mov edx, eax
sar eax, 1
and edx, 1
dec edx
not edx
and edx, r9d
xor edx, eax
mov eax, edx
sar edx, 1
and eax, 1
dec eax
not eax
and eax, r9d
xor eax, edx
add r9d, eax
cmp r8d, 0x100
jl 0x14005bf20
mov dword [0x1401d6d80], r9d
mov dword [rsp], 0x34003c
mov qword [rsp + 4], 0xd0001
mov dword [rsp + 0xc], 0x80028
mov dword [rsp + 0x10], 0x21005a
mov dword [rsp + 0x14], 0x44001b
mov dword [rsp + 0x18], 0x1a0027
mov dword [rsp + 0x1c], 0x110002
mov dword [rsp + 0x20], 0x1b000b
mov dword [rsp + 0x24], 3
lea rax, [0x1401d2510]
lea r8, [0x1401d1da0]
nop word [rax + rax]
movzx edx, byte [rcx + r8]
inc rcx
xor dx, word [rsp + rcx*2 - 2]
mov word [rax + rcx*2 - 2], dx
cmp rcx, 0x13
jl 0x14005c020
mov byte [0x1401d89cc], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d4e00
add rsp, 0x38
ret

Function at 0x14005c060
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401d89d3], 0
lea rax, [0x1401d2310]
jne 0x14005c13c
xor r8d, r8d
mov dword [rsp], 0x14001a
mov dword [rsp + 4], 0x4001f
mov dword [rsp + 8], 0x170001
mov dword [rsp + 0xc], 0x4d
mov dword [rsp + 0x10], 0x1a
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x49000c
mov dword [rsp + 0x18], 0xe001a
mov dword [rsp + 0x1c], 0x17000c
lea r9, [0x1401d1da1]
nop word [rax + rax]
movzx ecx, byte [r8 + r9 - 1]
movzx edx, word [rsp + r8*2 + 2]
add r8, 4
xor cx, word [rsp + r8*2 - 8]
mov word [rax + r8*2 - 8], cx
movzx ecx, byte [r8 + r9 - 4]
xor dx, cx
movzx ecx, byte [r8 + r9 - 3]
xor cx, word [rsp + r8*2 - 4]
mov word [rax + r8*2 - 6], dx
mov word [rax + r8*2 - 4], cx
movzx ecx, byte [r8 + r9 - 2]
xor cx, word [rsp + r8*2 - 2]
mov word [rax + r8*2 - 2], cx
cmp r8, 0x10
jl 0x14005c0e0
mov byte [0x1401d89d3], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d4e00
add rsp, 0x38
ret
Function at 0x14005c370
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rbp + 0x228], rax
mov edx, dword [0x1401d6d80]
lea ecx, [rdx + 2]
lea eax, [rdx + 1]
imul ecx, eax
imul ecx, edx
and ecx, 0x80000007
jge 0x14005c3b7
dec ecx
or ecx, 0xfffffff8
inc ecx
xor edi, edi
mov qword [rsp + 0x340], rbx
cmp ecx, 5
jne 0x14005c4ed
mov ebx, edi
nop dword [rax]
call fcn.1400d57c0
inc rbx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp + rbx*8 - 0x38], xmm0
cmp rbx, 0x46
jb 0x14005c3d0
mov r10d, 0x45
mov r9, rdi
lea r11d, [r10 + 1]
nop dword [rax]
mov edx, 0x45
cmp r9, rdx
jge 0x14005c4d8
cmp r10, 4
jl 0x14005c4ad
mov r8d, 0x41
lea rcx, [rbp + 0x1e8]
sub r8, r9
shr r8, 2
inc r8
lea rax, [r8*4]
sub rdx, rax
nop word [rax + rax]
movsd xmm0, qword [rcx + 0x10]
movsd xmm1, qword [rcx + 8]
comisd xmm0, xmm1
jbe 0x14005c45a
movsd qword [rcx + 0x10], xmm1
movsd qword [rcx + 8], xmm0
movsd xmm0, qword [rcx + 8]
movsd xmm1, qword [rcx]
comisd xmm0, xmm1
jbe 0x14005c472
movsd qword [rcx + 8], xmm1
movsd qword [rcx], xmm0
movsd xmm0, qword [rcx]
movsd xmm1, qword [rcx - 8]
comisd xmm0, xmm1
jbe 0x14005c48a
movsd qword [rcx], xmm1
movsd qword [rcx - 8], xmm0
movsd xmm0, qword [rcx - 8]
movsd xmm1, qword [rcx - 0x10]
comisd xmm0, xmm1
jbe 0x14005c4a4
movsd qword [rcx - 8], xmm1
movsd qword [rcx - 0x10], xmm0
sub rcx, 0x20
dec r8
jne 0x14005c440
cmp rdx, r9
jle 0x14005c4d8
movsd xmm0, qword [rbp + rdx*8 - 0x30]
movsd xmm1, qword [rbp + rdx*8 - 0x38]
comisd xmm0, xmm1
jbe 0x14005c4d0
movsd qword [rbp + rdx*8 - 0x30], xmm1
movsd qword [rbp + rdx*8 - 0x38], xmm0
dec rdx
cmp rdx, r9
jg 0x14005c4b2
inc r9
dec r10
dec r11
jne 0x14005c400
mov edx, dword [0x1401d6d80]
cmp byte [0x1401d89c6], dil
je 0x14005c502
lea rax, [0x1401d2608]
jmp 0x14005c60b
mov dword [rbp + 0x200], 0x50025
mov dword [rbp + 0x204], 0xf0008
mov dword [rbp + 0x208], 0x11003f
mov dword [rbp + 0x20c], 0x130002
mov dword [rbp + 0x210], 0x1c000d
mov dword [rbp + 0x214], 0x49001c
mov dword [rbp + 0x218], 0xa0007
mov dword [rbp + 0x21c], 0x14000d
mov word [rbp + 0x220], di
lea rbx, [0x1401d2608]
lea r8, [0x1401d1da1]
nop word [rax + rax]
movzx eax, byte [rdi + r8 - 1]
movzx ecx, word [rbp + rdi*2 + 0x202]
add rdi, 4
xor ax, word [rbp + rdi*2 + 0x1f8]
mov word [rbx + rdi*2 - 8], ax
movzx eax, byte [rdi + r8 - 4]
xor cx, ax
movzx eax, byte [rdi + r8 - 3]
xor ax, word [rbp + rdi*2 + 0x1fc]
mov word [rbx + rdi*2 - 6], cx
mov word [rbx + rdi*2 - 4], ax
movzx eax, byte [rdi + r8 - 2]
xor ax, word [rbp + rdi*2 + 0x1fe]
mov word [rbx + rdi*2 - 2], ax
cmp rdi, 0x10
jl 0x14005c570
lea eax, [rdx + 1]
lea r8d, [rdx + 2]
imul r8d, eax
mov eax, 0x2e8ba2e9
imul r8d, edx
imul r8d
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 0x13
jne 0x14005c601
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov byte [0x1401d89c6], 1
mov rax, rbx
mov rbx, qword [rsp + 0x340]
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.1400d4e00
mov rdi, qword [rsp + 0x348]
add rsp, 0x330
pop rbp
ret
Function at 0x140060e20
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401cee90]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.14002ca80
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.140043aa0
test eax, eax
jne 0x140060eb2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140056af0
mov rbx, rax
call fcn.140058bb0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
nop
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140060f11
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140056af0
mov rbx, rax
call fcn.1400590d0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
nop
mov eax, dword [0x1401d6d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x30c30c31
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
mov eax, ecx
sub eax, edx
cmp eax, 0x12
jne 0x140060f40
inc dword [0x1401d8658]
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x5c], rax
neg edi
sbb eax, eax
and eax, 2
mov dword [rsp + 0x64], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub ecx, eax
cmp ecx, 5
jne 0x140060f8f
mov edx, 0xbe
lea r8d, [rdx + 1]
lea rcx, [0x14015e334]
call fcn.1400d5714
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140060ffb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140056af0
mov r9, rax
call fcn.140057c50
mov rdx, rax
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.14005c7d0
lea rdx, [0x1401997e8]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400d4e00
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140064840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, r9
mov r12, r8
mov r14, rcx
call fcn.14000ace0
xor edi, edi
mov edx, 0x81
lea r8d, [rdi + 5]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rsi, rax
test rax, rax
je 0x140064962
mov edx, 0x81
mov rcx, r14
mov qword [rsp + 0x50], rbx
lea r8d, [rdx + 0x6f]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1400648b3
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rsi
mov rcx, r14
mov qword [rsp + 0x58], rbp
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14006492c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14006492c
mov rcx, rax
call fcn.140056710
mov r9, r15
mov r8, r12
mov rcx, r14
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov rsi, rax
call qword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov rdi, rax
test rax, rax
jne 0x14006490e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x140064934
test rsi, rsi
je 0x140064934
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140064934
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x140064945
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov rax, rdi
jmp 0x14006494d
Function at 0x140066e80
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
cmp byte [rcx + 0x10], 0
je 0x140066eae
call fcn.1400670a0
test al, al
je 0x140067047
mov dword [rsp + 0x80], 0
lea rax, [rsi + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
mov r8d, 0x1000
mov rdx, qword [rsi + 0x60]
mov rcx, qword [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140066f73
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140066f3e
cmp eax, 0x3e5
je 0x140066f38
lea rax, str.Channel_read_failure
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x50]
call fcn.1400d8288
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x140199910]
lea rcx, [rsp + 0x50]
call fcn.1400dccd8
int3
mov byte [rsi + 0x10], 1
jmp 0x140066f73
lea rcx, [rsp + 0x38]
call fcn.1400d8300
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x38], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x38], rax
lea rdx, [0x1401998c8]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
int3
cmp byte [rsi + 0x10], 0
jne 0x140067009
mov rbx, qword [rsi + 0x50]
sub rbx, qword [rsi + 0x48]
mov edx, dword [rsp + 0x80]
add rdx, rbx
lea rcx, [rsi + 0x48]
call fcn.140035510
mov r8d, dword [rsp + 0x80]
mov rcx, qword [rsi + 0x48]
add rcx, rbx
mov rdx, qword [rsi + 0x60]
call fcn.1400d4e30
mov rcx, qword [rsi + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r8d, dword [0x1401d6d80]
lea ecx, [r8 + 1]
imul ecx, r8d
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, 0x11
jne 0x140067005
mov ecx, 1
cmp r8d, ecx
jle 0x140066fff
nop
mov eax, r8d
cdq
idiv ecx
inc ecx
add ecx, edx
cmp ecx, r8d
jl 0x140066ff0
mov dword [0x1401d6d80], ecx
mov al, 1
jmp 0x140067049
mov ecx, dword [0x1401d6d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x78787879
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r8d, edx
cmp r8d, 2
jne 0x140067047
call fcn.1400d57c0
mov dword [0x1401d6d80], eax
xor al, al
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140067970
Capabilities:
Get disk size

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
mov edx, dword [0x1401d6d80]
lea r8d, [rdx + 2]
lea eax, [rdx + 1]
imul r8d, eax
imul r8d, edx
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, 0xb
jne 0x1400679d6
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
cmp byte [rdi + 0x78], 0
jne 0x1400679e3
xor al, al
jmp 0x140067b5b
xor edx, edx
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400679dc
mov byte [rdi + 0x78], al
mov dword [rsp + 0x60], eax
lea rdx, [rdi + 0x80]
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rcx, qword [rdi + 0xa8]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140067a92
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x38]
cmp eax, 0x6d
jne 0x140067a5d
call fcn.1400d8300
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x38], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x38], rax
lea rdx, [0x1401998c8]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
int3
lea rax, str.Failure_to_grab_write_result
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x68]
call fcn.1400d8288
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x38], rax
lea rdx, [0x140199910]
lea rcx, [rsp + 0x38]
call fcn.1400dccd8
int3
mov eax, dword [rsp + 0x60]
add qword [rdi + 0xc8], rax
mov rax, qword [rdi + 0xb8]
sub rax, qword [rdi + 0xb0]
cmp qword [rdi + 0xc8], rax
jne 0x140067afc
lea rax, [rdi + 0xd0]
mov qword [rsp + 0x68], rax
lea rbx, [rax + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rcx, [rdi + 0x100]
call fcn.140067df0
mov rax, qword [rdi + 0xb0]
mov qword [rdi + 0xb8], rax
mov qword [rdi + 0xc8], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [0x1401d6d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 8
jne 0x140067b59
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0xcccccccd
mul r8d
shr edx, 6
lea ecx, [rdx + rdx*4]
shl ecx, 4
sub r8d, ecx
inc r8d
mov dword [0x1401d6d80], r8d
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140069090
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
mov rbx, rdx
mov r10, rcx
test r8d, r8d
jle 0x140069101
mov qword [rsp + 0x10], rdi
mov r11, rcx
sub rbx, rcx
lea rdi, str._these_are_the_names_of_the_dukes_that_came_of_Esau__according_to_their_families__after_their_places__by_their_names__duke_Timnah__duke_Alvah__duke_Jetheth_
nop word [rax + rax]
mov eax, 0xd20d20d3
lea r11, [r11 + 1]
imul r9d
add edx, r9d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r9d
inc r9d
imul edx, edx, 0x9c
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + rdi]
xor al, byte [rbx + r11 - 1]
mov byte [r11 - 1], al
cmp r9d, r8d
jl 0x1400690c0
mov rdi, qword [rsp + 0x10]
mov rax, r10
pop rbx
ret
Function at 0x14006f530
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 [0x1401cee90]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r15, r9
mov rsi, r8
mov rbx, rdx
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x70], r14
xor edx, edx
lea r8d, [r14 + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14006f5be
xor edx, edx
lea r8d, [r14 + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14006f5be
call fcn.140004920
mov ebx, eax
jmp 0x14006f6e3
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006f5df
call fcn.140004920
jmp 0x14006f6d2
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14006f602
call fcn.140004920
jmp 0x14006f6d2
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [rsp + 0x30], eax
inc eax
cmp eax, ebx
jae 0x14006f624
mov ebx, 0x8007000e
jmp 0x14006f6d4
mov ecx, eax
test eax, eax
je 0x14006f65c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14006f652
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14006f65c
lea rcx, [rsp + 0x70]
call fcn.140071bb0
jmp 0x14006f666
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14006f679
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006f68a
mov ebx, 0x8007000e
jmp 0x14006f6d4
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14006f6af
call fcn.140004920
jmp 0x14006f6d2
mov ecx, eax
mov rax, qword [rsp + 0x70]
mov word [rax + rcx*2], r14w
mov r8d, dword [rsp + 0x4e0]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140070540
mov ebx, eax
test rdi, rdi
je 0x14006f6e3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14006f6fa
lea rcx, [rsp + 0x70]
call fcn.140071ba0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400d4e00
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140076b10
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d9eb0
sub rsp, rax
lea r8, [0x14019cd08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.14007d540
cmp dword [0x14019c24c], 0
jne 0x140076b5c
mov edx, 1
lea r8, [0x14019cd20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.14007d540
mov edx, 1
lea r8, [0x14019cd38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.14007d540
mov edx, 1
lea r8, [0x14019cd50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.14007d540
cmp dword [0x14019c24c], 0
jne 0x140076bb7
mov edx, 1
lea r8, [0x14019cd68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.14007d540
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401d2fe0]
lea rbx, [0x1401d3fc8]
mov edi, 1
lea rbp, [0x14019cd80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x140076c1b
mov ecx, edi
call fcn.1400da104
test rax, rax
je 0x140076c12
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400d9fa0
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x140076c1b
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x140076be5
mov edx, 1
lea r8, [0x14019cd88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14019c24c], 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.14007d540
Function at 0x140079b90
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.0x140079be7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x79d90]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x140079be7.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 0x140079c00
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 0x14007cd60
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400d9eb0
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x14007cd7c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401d4b58], 0
je 0x14007ce3b
mov edx, 0x1d
lea r8, [0x14019d960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.14007d540
mov rcx, qword [0x1401d4b20]
test rcx, rcx
je 0x14007ce41
call fcn.14008d2d0
cmp edi, eax
jge 0x14007ce41
mov rcx, qword [0x1401d4b20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.14008d2e0
mov rbx, rax
test rax, rax
je 0x14007cdf8
dec dword [rax]
cmp dword [rax], 0
jg 0x14007cdf6
mov rcx, qword [0x1401d4b20]
xor r8d, r8d
mov edx, edi
call fcn.14008d300
jmp 0x14007cdf8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x14019d990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.14007d540
test rbx, rbx
je 0x14007ce36
mov rcx, qword [rbx + 8]
lea rdx, [0x14019d9a8]
mov r8d, 0x14f
call qword [0x1401d4b58]
mov rcx, rbx
call fcn.14007ea10
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x14019d978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.14007d540