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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp - 8], rax
mov r8d, dword [0x1401cbd80]
mov eax, 0x2e8ba2e9
lea ecx, [r8 + 1]
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 4
jne 0x14005950c
call fcn.1400d2038
mov r8d, dword [0x1401cbd80]
cmp r8d, eax
jne 0x14005950c
dec r8d
mov dword [0x1401cbd80], r8d
cmp byte [0x1401cdd7d], 0
je 0x14005952e
lea rax, [0x1401c76a0]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret
lea ecx, [r8 + 1]
mov eax, 0x6bca1af3
imul ecx, r8d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 7
jne 0x14005955b
dec r8d
mov dword [0x1401cbd80], r8d
mov dword [rbp - 0x40], 0x1b0004
mov dword [rbp - 0x3c], 0x3a0005
mov dword [rbp - 0x38], 0x1b001a
mov dword [rbp - 0x34], 0xb0003
mov dword [rbp - 0x30], 0x30013
mov dword [rbp - 0x2c], 0x6000f
mov dword [rbp - 0x28], 0xb0006
mov dword [rbp - 0x24], 0x1c0030
mov dword [rbp - 0x20], 0x50005
mov dword [rbp - 0x1c], 0x1d0005
mov dword [rbp - 0x18], 0x9002c
mov dword [rbp - 0x14], 0xb
xor r8d, r8d
mov dword [rbp - 0x10], 5
lea rax, [0x1401c76a0]
lea r9, [0x1401c6d91]
nop word [rax + rax]
movzx ecx, byte [r8 + r9 - 1]
movzx edx, word [rbp + r8*2 - 0x3e]
add r8, 5
xor cx, word [rbp + r8*2 - 0x4a]
mov word [rax + r8*2 - 0xa], cx
movzx ecx, byte [r8 + r9 - 5]
xor dx, cx
movzx ecx, byte [r8 + r9 - 4]
xor cx, word [rbp + r8*2 - 0x46]
mov word [rax + r8*2 - 8], dx
mov word [rax + r8*2 - 6], cx
movzx ecx, byte [r8 + r9 - 3]
xor cx, word [rbp + r8*2 - 0x44]
mov word [rax + r8*2 - 4], cx
movzx ecx, byte [r8 + r9 - 2]
xor cx, word [rbp + r8*2 - 0x42]
mov word [rax + r8*2 - 2], cx
cmp r8, 0x19
jl 0x1400595d0
mov byte [0x1401cdd7d], 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x60
pop rbp
ret

Function at 0x140059650
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401cdda0], 0
lea rax, [0x1401c7628]
jne 0x1400596ef
mov dword [rsp], 0x2c003c
mov dword [rsp + 4], 0x90019
xor ecx, ecx
mov dword [rsp + 8], 0x160000
mov dword [rsp + 0xc], 0xb0023
mov dword [rsp + 0x10], 0x280051
mov dword [rsp + 0x14], 0x5f0018
mov dword [rsp + 0x18], 0x1a0030
mov dword [rsp + 0x1c], 0x13000c
mov dword [rsp + 0x20], 0x15000f
mov dword [rsp + 0x24], 0x17
lea r8, [0x1401c6d90]
nop dword [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 0x1400596d0
mov byte [0x1401cdda0], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x38
ret
Function at 0x140059710
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401cdda4], 0
lea rax, [0x1401c74c8]
jne 0x1400597ec
xor r8d, r8d
mov dword [rsp], 0xc001a
mov dword [rsp + 4], 7
mov dword [rsp + 8], 0x10001
mov dword [rsp + 0xc], 0x30046
mov dword [rsp + 0x10], 0x90011
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x52000f
mov dword [rsp + 0x18], 0xe000d
mov dword [rsp + 0x1c], 0x150002
lea r9, [0x1401c6d91]
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 0x140059790
mov byte [0x1401cdda4], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x38
ret

Function at 0x140059910
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401cdd84], 0
lea rax, [0x1401c78f0]
jne 0x1400599ec
xor r8d, r8d
mov dword [rsp], 0x1d0025
mov dword [rsp + 4], 0xb0010
mov dword [rsp + 8], 0x7003f
mov dword [rsp + 0xc], 0x100009
mov dword [rsp + 0x10], 0x150006
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x52001f
mov dword [rsp + 0x18], 0xa0010
mov dword [rsp + 0x1c], 0x160003
lea r9, [0x1401c6d91]
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 0x140059990
mov byte [0x1401cdd84], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x38
ret
Function at 0x14005dae0
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.14002b840
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.140042c90
test eax, eax
jne 0x14005db72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140053be0
mov rbx, rax
call fcn.1400561d0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.140059bb0
lea rdx, [0x14018e3e0]
lea rcx, [rsp + 0x38]
call fcn.1400d9558
nop
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x14005dbd1
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.140053be0
mov r10, rax
call fcn.140056750
mov rdx, rax
mov r8, r10
lea rcx, [rsp + 0x38]
call fcn.140059bb0
lea rdx, [0x14018e3e0]
lea rcx, [rsp + 0x38]
call fcn.1400d9558
nop
mov dword [rsp + 0x58], 1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x5c], rax
mov r8d, dword [0x1401cbd80]
mov ecx, r8d
imul ecx, r8d
imul ecx, r8d
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub ecx, edx
cmp ecx, 3
jne 0x14005dc52
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r8d, edx
add r8d, 0x7b
movsxd rcx, r8d
mov eax, 4
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400d0cc8
mov rcx, rax
call fcn.1400d272c
neg edi
sbb eax, eax
and eax, 2
mov dword [rsp + 0x64], eax
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 0x14005dcc9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140053be0
mov rbx, rax
call fcn.140054ff0
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.140059bb0
lea rdx, [0x14018e3e0]
lea rcx, [rsp + 0x38]
call fcn.1400d9558
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140061820
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.14000a730
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 0x140061942
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 0x140061893
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 0x14006190c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14006190c
mov rcx, rax
call fcn.140053800
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 0x1400618ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x140061914
test rsi, rsi
je 0x140061914
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140061914
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x140061925
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 0x14006192d
Function at 0x1400621a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov r10, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x70], rbx
mov r9d, dword [0x1401cbd80]
mov r8d, r9d
imul r8d, r9d
imul r8d, r9d
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, 2
jne 0x14006229c
mov edx, ebx
mov ecx, edx
and ecx, 1
dec ecx
not ecx
and ecx, r9d
mov eax, edx
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r9d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r9d
sar ecx, 1
xor eax, ecx
add r9d, eax
inc edx
cmp edx, 0x100
jl 0x140062202
mov dword [0x1401cbd80], r9d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.ole32.dll_StringFromIID]
test eax, eax
jns 0x1400622f4
lea rax, str.Failure_to_set_pipe_name_1
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400d4b08
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x30], rax
lea rax, vtable.CRSimpleIPCExceptionServerException.0
mov qword [rsp + 0x30], rax
lea rdx, [0x14018e508]
lea rcx, [rsp + 0x30]
call fcn.1400d9558
int3
mov rdx, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rdx], bx
je 0x14006231b
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140062311
mov r8, rbx
mov rcx, rdi
call fcn.1400612b0
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400651c0
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x38
mov r8d, dword [0x1401cbd80]
mov eax, 0x2e8ba2e9
lea r9d, [r8 + 1]
mov ecx, r9d
imul ecx, r8d
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 3
jne 0x14006525e
mov ecx, r8d
mov eax, 0x38e38e39
imul ecx, r8d
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, 2
je 0x140065257
lea ecx, [r8 + 2]
mov eax, 0x92492493
imul ecx, r9d
imul ecx, r8d
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 9
jne 0x140065257
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor al, al
add rsp, 0x38
ret
mov al, 1
add rsp, 0x38
ret

Function at 0x140065770
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov r9d, dword [0x1401cbd80]
mov r11, rdx
mov eax, 0x88888889
mov ebx, r8d
mov r10, rcx
imul r9d, r9d
imul r9d
add edx, r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub r9d, edx
cmp r9d, 3
jne 0x1400657ad
dec dword [0x1401cdbd4]
xor r8d, r8d
test ebx, ebx
jle 0x14006580e
mov qword [rsp + 0x10], rdi
mov r9, rcx
sub r11, rcx
lea rdi, str.They_took_their_sheep__and_their_oxen__and_their_asses__and_that_which_was_in_the_city__and_that_which_was_in_the_field_
nop word [rax + rax]
mov eax, 0x88888889
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r8d
inc r8d
imul edx, edx, 0x78
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + rdi]
xor al, byte [r11 + r9 - 1]
mov byte [r9 - 1], al
cmp r8d, ebx
jl 0x1400657d0
mov rdi, qword [rsp + 0x10]
mov rax, r10
pop rbx
ret
Function at 0x14006b3a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf70]
mov eax, 0x1070
call fcn.1400d6730
sub rsp, rax
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x10a8], rbx
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0xf60], rax
mov rdi, r8
mov rsi, rcx
lea r8, str._ver
lea rcx, [rsp + 0x50]
call fcn.14001c930
nop
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x60], 0
xor edx, edx
mov r8d, 0xfff
lea rcx, [rsp + 0x61]
call fcn.1400d6ac0
mov dword [rsp + 0x30], 0x1000
mov 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 + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or ebx, 0xffffffff
test eax, eax
jne 0x14006b51c
cmp dword [rsp + 0x34], 3
jne 0x14006b51c
cmp dword [rsp + 0x30], 0x1000
je 0x14006b51c
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
lea r9d, [rbx + 4]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14006b514
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.error_writing_ver
test rdx, 0xffffffffffff0000
jne 0x14006b4f0
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14006b4fb
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400025b0
jmp 0x14006b4fb
lea rcx, [rsp + 0x40]
call fcn.140003350
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0x40]
call fcn.140060350
nop
mov rdx, qword [rsp + 0x40]
jmp 0x14006b5c4
mov dil, 1
jmp 0x14006b5df
mov r8d, dword [0x1401cbd80]
lea ecx, [r8 + 2]
lea eax, [r8 + 1]
imul ecx, eax
imul ecx, r8d
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, 8
jne 0x14006b55a
dec r8d
mov dword [0x1401cbd80], r8d
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.error_reading_ver
test rdx, 0xffffffffffff0000
jne 0x14006b5a5
movzx edi, dx
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x14006b5b0
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400025b0
jmp 0x14006b5b0
lea rcx, [rsp + 0x48]
call fcn.140003350
nop
lea rdx, [rsp + 0x48]
mov rcx, qword [rsi + 0x40]
call fcn.140060350
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
jg 0x14006b5dc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor dil, dil
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006b5f9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0x10a8]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006bea0
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 [0x1401c3e90]
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 0x14006bf2e
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 0x14006bf2e
call fcn.140004370
mov ebx, eax
jmp 0x14006c053
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006bf4f
call fcn.140004370
jmp 0x14006c042
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 0x14006bf72
call fcn.140004370
jmp 0x14006c042
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 0x14006bf94
mov ebx, 0x8007000e
jmp 0x14006c044
mov ecx, eax
test eax, eax
je 0x14006bfcc
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14006bfc2
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14006bfcc
lea rcx, [rsp + 0x70]
call fcn.14006e570
jmp 0x14006bfd6
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14006bfe9
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14006bffa
mov ebx, 0x8007000e
jmp 0x14006c044
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 0x14006c01f
call fcn.140004370
jmp 0x14006c042
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.14006ceb0
mov ebx, eax
test rdi, rdi
je 0x14006c053
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14006c06a
lea rcx, [rsp + 0x70]
call fcn.14006e560
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400d1680
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400733b0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d6730
sub rsp, rax
lea r8, [0x140191d08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140079dc0
cmp dword [0x14019124c], 0
jne 0x1400733fc
mov edx, 1
lea r8, [0x140191d20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140079dc0
mov edx, 1
lea r8, [0x140191d38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140079dc0
mov edx, 1
lea r8, [0x140191d50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140079dc0
cmp dword [0x14019124c], 0
jne 0x140073457
mov edx, 1
lea r8, [0x140191d68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140079dc0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401c7fe0]
lea rbx, [0x1401c8fc8]
mov edi, 1
lea rbp, [0x140191d80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x1400734bb
mov ecx, edi
call fcn.1400d6984
test rax, rax
je 0x1400734b2
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400d6820
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x1400734bb
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x140073485
mov edx, 1
lea r8, [0x140191d88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14019124c], 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.140079dc0
Function at 0x140076430
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.0x140076487
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x76630]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x140076487.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 0x1400764a0
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 0x1400795e0
Capabilities:
Terminate process

Disassembly:
push rdi
mov eax, 0x20
call fcn.1400d6730
sub rsp, rax
mov edi, ecx
test ecx, ecx
je 0x1400795fc
or eax, 0xffffffff
sub eax, ecx
mov edi, eax
cmp qword [0x1401c9b58], 0
je 0x1400796bb
mov edx, 0x1d
lea r8, [0x140192960]
mov r9d, 0x131
lea ecx, [rdx - 0x14]
call fcn.140079dc0
mov rcx, qword [0x1401c9b20]
test rcx, rcx
je 0x1400796c1
call fcn.140089b70
cmp edi, eax
jge 0x1400796c1
mov rcx, qword [0x1401c9b20]
mov edx, edi
mov qword [rsp + 0x30], rbx
call fcn.140089b80
mov rbx, rax
test rax, rax
je 0x140079678
dec dword [rax]
cmp dword [rax], 0
jg 0x140079676
mov rcx, qword [0x1401c9b20]
xor r8d, r8d
mov edx, edi
call fcn.140089ba0
jmp 0x140079678
xor ebx, ebx
mov edx, 0x1d
lea r8, [0x140192990]
mov r9d, 0x14b
lea ecx, [rdx - 0x13]
call fcn.140079dc0
test rbx, rbx
je 0x1400796b6
mov rcx, qword [rbx + 8]
lea rdx, [0x1401929a8]
mov r8d, 0x14f
call qword [0x1401c9b58]
mov rcx, rbx
call fcn.14007b270
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0x1d
lea r8, [0x140192978]
mov r9d, 0x135
lea ecx, [rdx - 0x13]
add rsp, 0x20
pop rdi
jmp fcn.140079dc0