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

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401b4d80]
mov eax, ecx
imul eax, ecx
and eax, 0x8000000f
jge 0x140050e2e
dec eax
or eax, 0xfffffff0
inc eax
xor ebx, ebx
cmp eax, 0xe
jne 0x140050e9f
mov eax, 0x3e88cb3d
mov r8d, ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
imul edx, edx, 0x83
sub eax, edx
cmp eax, 0x59
je 0x140050e96
nop dword [rax + rax]
mov eax, ecx
inc r8d
or eax, 0xffffff63
add ecx, eax
mov eax, ecx
imul eax, ecx
cmp r8d, eax
jg 0x140050e96
mov eax, 0x3e88cb3d
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
imul edx, edx, 0x83
sub eax, edx
cmp eax, 0x59
jne 0x140050e60
mov ecx, r8d
mov dword [0x1401b4d80], ecx
cmp byte [0x1401b5fc5], bl
je 0x140050ec1
lea rax, [0x1401b0810]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x50
pop rbx
ret
imul ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
cmp ecx, 3
jne 0x140050eea
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401b4d80], eax
mov dword [rsp + 0x20], 0x2a003d
mov dword [rsp + 0x24], 0x50008
mov dword [rsp + 0x28], 0xa000c
mov dword [rsp + 0x2c], 0x1f002e
mov dword [rsp + 0x30], 0x250041
mov dword [rsp + 0x34], 0x460019
mov dword [rsp + 0x38], 0x3d
mov dword [rsp + 0x3c], 0x80008
mov dword [rsp + 0x40], 0x17000b
mov dword [rsp + 0x44], 6
lea rax, [0x1401b0810]
lea rdx, [0x1401afda0]
nop dword [rax + rax]
movzx ecx, byte [rbx + rdx]
inc rbx
xor cx, word [rsp + rbx*2 + 0x1e]
mov word [rax + rbx*2 - 2], cx
cmp rbx, 0x13
jl 0x140050f50
mov byte [0x1401b5fc5], 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x50
pop rbx
ret

Function at 0x140050f90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401b5fa0], 0
lea rax, [0x1401b09e8]
jne 0x14005106c
xor r8d, r8d
mov dword [rsp], 0xa001b
mov dword [rsp + 4], 0xc0016
mov dword [rsp + 8], 0x1d000d
mov dword [rsp + 0xc], 0x17004b
mov dword [rsp + 0x10], 0x40001
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x4b000e
mov dword [rsp + 0x18], 0x140000
mov dword [rsp + 0x1c], 0xe0006
lea r9, [0x1401afda1]
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 0x140051010
mov byte [0x1401b5fa0], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x38
ret
Function at 0x140051190
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401b5fb9], 0
je 0x1400511c5
lea rax, [0x1401b0580]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x38
ret
xor r8d, r8d
mov dword [rsp], 0x1b0024
mov dword [rsp + 4], 0x70001
mov dword [rsp + 8], 0x1b0033
mov dword [rsp + 0xc], 0x40004
mov dword [rsp + 0x10], 0x180016
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x4b001e
mov dword [rsp + 0x18], 0x10001d
mov dword [rsp + 0x1c], 0xd0007
lea rcx, [0x1401b0580]
lea r9, [0x1401afda1]
nop dword [rax + rax]
movzx eax, byte [r8 + r9 - 1]
movzx edx, word [rsp + r8*2 + 2]
add r8, 4
xor ax, word [rsp + r8*2 - 8]
mov word [rcx + r8*2 - 8], ax
movzx eax, byte [r8 + r9 - 4]
xor dx, ax
movzx eax, byte [r8 + r9 - 3]
xor ax, word [rsp + r8*2 - 4]
mov word [rcx + r8*2 - 6], dx
mov word [rcx + r8*2 - 4], ax
movzx eax, byte [r8 + r9 - 2]
xor ax, word [rsp + r8*2 - 2]
mov word [rcx + r8*2 - 2], ax
cmp r8, 0x10
jl 0x140051220
mov r9d, dword [0x1401b4d80]
mov eax, 0xb21642c9
mov r8d, r9d
imul r8d, r9d
imul r8d
add edx, r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub r8d, edx
cmp r8d, 0x16
jne 0x1400512ae
dec r9d
mov dword [0x1401b4d80], r9d
mov byte [0x1401b5fb9], 1
mov rax, rcx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x38
ret
Function at 0x1400554f0
Capabilities:
Acquire debug privileges

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rsp + 0xa50], rax
mov edi, edx
mov ecx, dword [0x1401b4d80]
imul ecx, ecx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
shl eax, 2
sub ecx, eax
cmp ecx, 2
jne 0x14005554f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetFileType]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.140026d20
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.14003c990
test eax, eax
jne 0x1400555b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004c550
mov rbx, rax
call fcn.14004dff0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400514f0
lea rdx, [0x140177a50]
lea rcx, [rsp + 0x38]
call fcn.1400cfab8
nop
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x140055612
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004c550
mov rbx, rax
call fcn.14004e6f0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.1400514f0
lea rdx, [0x140177a50]
lea rcx, [rsp + 0x38]
call fcn.1400cfab8
nop
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 qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x58]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14005569c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.14004c550
mov r11, rax
call fcn.14004d2d0
mov rdx, rax
mov r8, r11
lea rcx, [rsp + 0x38]
call fcn.1400514f0
lea rdx, [0x140177a50]
lea rcx, [rsp + 0x38]
call fcn.1400cfab8
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x1401b4d80]
mov r8d, ecx
imul r8d, ecx
mov eax, 0x66666667
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub r8d, eax
cmp r8d, 3
jne 0x140055746
xor edi, edi
lea rsi, [rsp + 0x90]
nop word [rax + rax]
xor r9d, r9d
nop word [rax + rax]
lea ebx, [r9 + 1]
lea r8d, [rdi + 1]
mov eax, ecx
cdq
idiv r8d
mov r8d, edx
mov eax, ecx
sub eax, edi
imul r8d, eax
mov eax, ecx
cdq
idiv ebx
add r8d, eax
sub r8d, r9d
mov edx, r8d
lea rcx, [0x140140c00]
call fcn.1400c8aec
mov r9d, ebx
add rsi, 4
cmp ebx, 0x17
jge 0x140055737
mov ecx, dword [0x1401b4d80]
jmp 0x1400556f0
inc edi
cmp edi, 0x1b
jge 0x140055746
mov ecx, dword [0x1401b4d80]
jmp 0x1400556e0
mov eax, 1
mov rcx, qword [rsp + 0xa50]
xor rcx, rsp
call fcn.1400c7be0
lea r11, [rsp + 0xa60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140056c80
Capabilities:
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rbp, rdx
mov rsi, rcx
mov edx, 0x5c
mov rcx, qword [rcx + 0x1b0]
call fcn.1400ca4c8
or rbx, 0xffffffffffffffff
test rax, rax
jne 0x140056cba
mov eax, ebx
jmp 0x140056cc4
sub rax, qword [rsi + 0x1b0]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x88]
lea rcx, [rsi + 0x1b0]
call fcn.140025d50
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsi + 0x1b0]
mov rcx, qword [rsi + 0x2d8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140056d6e
call fcn.14004e5b0
mov r8, rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140019ad0
nop
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x20], rbp
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140056d62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x140056d6e
mov dil, 1
jmp 0x140056e78
call fcn.14004ef80
mov rdi, rax
lea rcx, str._k_f_
mov rdx, qword [str._k_f_]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x140056dce
test rdi, 0xffffffffffff0000
jne 0x140056dbf
movzx edi, di
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x140056de1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400026c0
jmp 0x140056de1
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x140056dc2
jmp 0x140056dd0
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400023d0
nop
call fcn.14004e940
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140019ad0
nop
lea r8, [rsi + 0x190]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000f640
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140056e2a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.1400146d0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140056e58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x140056e75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor dil, dil
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140056e95
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140058f10
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.14000a8e0
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 0x140059032
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 0x140058f83
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 0x140058ffc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x140058ffc
mov rcx, rax
call fcn.14004c170
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 0x140058fde
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x140059004
test rsi, rsi
je 0x140059004
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140059004
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x140059015
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 0x14005901d
Function at 0x14005ae70
Capabilities:
Encode data using xor
Get disk size
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rbx, rcx
cmp byte [rcx + 0x10], 0
je 0x14005ae9f
call fcn.14005b120
test al, al
je 0x14005b0c2
xor ebp, ebp
mov dword [rsp + 0x90], ebp
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
mov r8d, 0x1000
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005af62
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x14005af2d
cmp eax, 0x3e5
je 0x14005af27
lea rax, str.Channel_read_failure
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.1400cb068
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x50], rax
lea rdx, [0x140177bb8]
lea rcx, [rsp + 0x50]
call fcn.1400cfab8
int3
mov byte [rbx + 0x10], 1
jmp 0x14005af62
lea rcx, [rsp + 0x38]
call fcn.1400cb0e0
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x38], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x38], rax
lea rdx, [0x140177b70]
lea rcx, [rsp + 0x38]
call fcn.1400cfab8
int3
cmp byte [rbx + 0x10], bpl
jne 0x14005b0c2
mov rdi, qword [rbx + 0x50]
sub rdi, qword [rbx + 0x48]
mov edx, dword [rsp + 0x90]
add rdx, rdi
lea rcx, [rbx + 0x48]
call fcn.14002e780
mov r8d, dword [rsp + 0x90]
mov rcx, qword [rbx + 0x48]
add rcx, rdi
mov rdx, qword [rbx + 0x60]
call fcn.1400c7c10
mov ecx, dword [0x1401b4d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2e8ba2e9
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub r8d, edx
cmp r8d, 0x13
jne 0x14005afe7
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov r8d, dword [0x1401b4d80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
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, 0x10
jne 0x14005b0be
mov ecx, ebp
and ecx, 1
dec ecx
not ecx
and ecx, r8d
mov eax, ebp
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
add r8d, eax
inc ebp
cmp ebp, 0x100
jl 0x14005b024
mov dword [0x1401b4d80], r8d
mov al, 1
jmp 0x14005b0c4
xor al, al
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005c9b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
mov rbx, rdx
mov r10, rcx
test r8d, r8d
jle 0x14005ca1e
mov qword [rsp + 0x10], rdi
mov r11, rcx
sub rbx, rcx
lea rdi, str._it_came_to_pass_when_we_came_up_unto_thy_servant_my_father__we_told_him_the_words_of_my_lord.
nop word [rax + rax]
mov eax, 0xae4c415d
lea r11, [r11 + 1]
imul r9d
add edx, r9d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r9d
inc r9d
imul edx, edx, 0x5e
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 0x14005c9e0
mov rdi, qword [rsp + 0x10]
mov rax, r10
pop rbx
ret
Function at 0x1400626c0
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 [0x1401ace90]
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 0x14006274e
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 0x14006274e
call fcn.140004520
mov ebx, eax
jmp 0x140062873
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006276f
call fcn.140004520
jmp 0x140062862
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 0x140062792
call fcn.140004520
jmp 0x140062862
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 0x1400627b4
mov ebx, 0x8007000e
jmp 0x140062864
mov ecx, eax
test eax, eax
je 0x1400627ec
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x1400627e2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x1400627ec
lea rcx, [rsp + 0x70]
call fcn.140064cf0
jmp 0x1400627f6
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x140062809
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006281a
mov ebx, 0x8007000e
jmp 0x140062864
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 0x14006283f
call fcn.140004520
jmp 0x140062862
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.1400636d0
mov ebx, eax
test rdi, rdi
je 0x140062873
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14006288a
lea rcx, [rsp + 0x70]
call fcn.140064ce0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140069910
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400ccc90
sub rsp, rax
lea r8, [0x14017ad08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140070330
cmp dword [0x14017a24c], 0
jne 0x14006995c
mov edx, 1
lea r8, [0x14017ad20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140070330
mov edx, 1
lea r8, [0x14017ad38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140070330
mov edx, 1
lea r8, [0x14017ad50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140070330
cmp dword [0x14017a24c], 0
jne 0x1400699b7
mov edx, 1
lea r8, [0x14017ad68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140070330
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401b0fe0]
lea rbx, [0x1401b1fc8]
mov edi, 1
lea rbp, [0x14017ad80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x140069a1b
mov ecx, edi
call fcn.1400ccee4
test rax, rax
je 0x140069a12
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400ccd80
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x140069a1b
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x1400699e5
mov edx, 1
lea r8, [0x14017ad88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14017a24c], 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.140070330
Function at 0x14006c990
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.0x14006c9e7
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x6cb90]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x14006c9e7.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 0x14006ca00
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 0x14006fb40
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400ccc90
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x14006fb5c
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401b2b58], 0
je 0x14006fc1b
mov edx, 0x1d
lea r8, [0x14017b960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.140070330
mov rcx, qword [0x1401b2b20]
test rcx, rcx
je 0x14006fc21
call fcn.1400800d0
cmp edi, eax
jge 0x14006fc21
mov rcx, qword [0x1401b2b20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.1400800e0
mov rbx, rax
test rax, rax
je 0x14006fbd8
dec dword [rax]
cmp dword [rax], 0
jg 0x14006fbd6
mov rcx, qword [0x1401b2b20]
xor r8d, r8d
mov edx, edi
call fcn.140080100
jmp 0x14006fbd8
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x14017b990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.140070330
test rbx, rbx
je 0x14006fc16
mov rcx, qword [rbx + 8]
lea rdx, [0x14017b9a8]
mov r8d, 0x14f
call qword [0x1401b2b58]
mov rcx, rbx
call fcn.1400717e0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x14017b978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.140070330