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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x1401c7faf], 0
je 0x140054e29
lea rax, [0x1401c2c48]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x40
pop rbp
ret
xor r10d, r10d
mov dword [rbp - 0x40], 0x30013
mov dword [rbp - 0x3c], 0x1a0001
mov dword [rbp - 0x38], 0x5004a
mov dword [rbp - 0x34], 0x1e0004
mov dword [rbp - 0x30], 0x11000c
mov word [rbp - 0x10], r10w
mov edx, r10d
mov dword [rbp - 0x2c], 0xe004f
mov dword [rbp - 0x28], 0x190000
mov dword [rbp - 0x24], 0x1a0042
mov dword [rbp - 0x20], 0x4b0000
mov dword [rbp - 0x1c], 0x70006
mov dword [rbp - 0x18], 0x1f001d
mov dword [rbp - 0x14], 0x180014
lea r8, [0x1401c2c48]
lea r9, [0x1401c1da1]
nop word [rax + rax]
movzx eax, byte [rdx + r9 - 1]
movzx ecx, word [rbp + rdx*2 - 0x3e]
add rdx, 6
xor ax, word [rbp + rdx*2 - 0x4c]
mov word [r8 + rdx*2 - 0xc], ax
movzx eax, byte [rdx + r9 - 6]
xor cx, ax
movzx eax, byte [rdx + r9 - 5]
xor ax, word [rbp + rdx*2 - 0x48]
mov word [r8 + rdx*2 - 0xa], cx
mov word [r8 + rdx*2 - 8], ax
movzx eax, byte [rdx + r9 - 4]
xor ax, word [rbp + rdx*2 - 0x46]
mov word [r8 + rdx*2 - 6], ax
movzx eax, byte [rdx + r9 - 3]
xor ax, word [rbp + rdx*2 - 0x44]
mov word [r8 + rdx*2 - 4], ax
movzx eax, byte [rdx + r9 - 2]
xor ax, word [rbp + rdx*2 - 0x42]
mov word [r8 + rdx*2 - 2], ax
cmp rdx, 0x18
jl 0x140054ea0
mov r9d, dword [0x1401c6d80]
mov eax, 0x38e38e39
mov byte [0x1401c7faf], 1
mov ecx, r9d
imul ecx, r9d
imul ecx, r9d
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
sub ecx, eax
cmp ecx, 2
jne 0x140054f71
mov ecx, r9d
test r9d, r9d
je 0x140054f67
dec ecx
je 0x140054f5e
inc r9d
mov dword [0x1401c6d80], r9d
jmp 0x140054f71
mov dword [0x1401c6d80], r10d
jmp 0x140054f71
mov dword [0x1401c6d80], 2
mov rax, r8
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x40
pop rbp
ret

Function at 0x140054f90
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401c7f80], 0
lea rax, [0x1401c2608]
jne 0x14005502f
mov dword [rsp], 0x70022
mov dword [rsp + 4], 0xa000e
mov dword [rsp + 8], 0x16003a
mov dword [rsp + 0xc], 0x110007
mov dword [rsp + 0x10], 0x10006
mov dword [rsp + 0x14], 0x2c001c
mov dword [rsp + 0x18], 0x10
xor ecx, ecx
mov dword [rsp + 0x1c], 0x7000d
mov dword [rsp + 0x20], 0x51001f
mov dword [rsp + 0x24], 0x4b
lea r8, [0x1401c1da0]
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 0x140055010
mov byte [0x1401c7f80], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x38
ret
Function at 0x140055050
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rsp + 0x20], rax
cmp byte [0x1401c7f9a], 0
lea rax, [0x1401c23d0]
jne 0x1400550f7
xor ecx, ecx
mov dword [rsp], 0xd001e
mov dword [rsp + 4], 0xf0019
mov dword [rsp + 8], 0x10047
mov dword [rsp + 0xc], 0x1a
mov dword [rsp + 0x10], 0xc
mov word [rsp + 0x1c], cx
mov dword [rsp + 0x14], 0x60041
mov dword [rsp + 0x18], 0xb001c
lea r9, [0x1401c1da1]
nop dword [rax]
movzx edx, byte [rcx + r9 - 1]
movzx r8d, word [rsp + rcx*2 + 2]
add rcx, 2
xor dx, word [rsp + rcx*2 - 4]
mov word [rax + rcx*2 - 4], dx
movzx edx, byte [rcx + r9 - 2]
xor r8w, dx
mov word [rax + rcx*2 - 2], r8w
cmp rcx, 0xe
jl 0x1400550c0
mov byte [0x1401c7f9a], 1
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x38
ret
Function at 0x140055110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp byte [0x1401c7f95], 0
je 0x140055143
lea rax, [0x1401c2788]
jmp 0x1400552d8
mov r8d, dword [0x1401c6d80]
mov qword [rsp + 0x90], rdi
xor edi, edi
lea eax, [r8 + 1]
lea ecx, [r8 + 2]
mov dword [rbp - 0x40], 0x70017
mov dword [rbp - 0x3c], 0x23001b
mov dword [rbp - 0x38], 5
mov dword [rbp - 0x34], 0x1e001d
imul ecx, eax
imul ecx, r8d
mov eax, 0x38e38e39
mov dword [rbp - 0x30], 0x3a0006
mov dword [rbp - 0x2c], 0xf000e
mov dword [rbp - 0x28], 0x10011
mov dword [rbp - 0x24], 0x3b0007
mov dword [rbp - 0x20], 0xf0032
imul ecx
sar edx, 2
mov dword [rbp - 0x1c], 0xe0007
mov dword [rbp - 0x18], 0x50004a
mov eax, edx
mov word [rbp - 0x14], di
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*8]
add eax, eax
sub ecx, eax
cmp ecx, 2
jne 0x1400551ff
mov qword [rsp + 0x30], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov r8d, dword [0x1401c6d80]
mov rdx, rdi
lea rbx, [0x1401c2788]
lea r9, [0x1401c1da1]
movzx eax, byte [rdx + r9 - 1]
movzx ecx, word [rbp + rdx*2 - 0x3e]
add rdx, 2
xor ax, word [rbp + rdx*2 - 0x44]
mov word [rbx + rdx*2 - 4], ax
movzx eax, byte [rdx + r9 - 2]
xor cx, ax
mov word [rbx + rdx*2 - 2], cx
cmp rdx, 0x16
jl 0x140055210
mov ecx, r8d
mov eax, 0x66666667
imul ecx, r8d
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, 0xb
jne 0x14005527e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov r8d, dword [0x1401c6d80]
mov rdi, qword [rsp + 0x90]
imul r8d, r8d
mov eax, 0x4ec4ec4f
imul r8d
mov byte [0x1401c7f95], 1
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xd
sub r8d, edx
cmp r8d, 8
jne 0x1400552d5
lea eax, [r8 + 5]
mov ecx, 0x75
test ecx, ecx
je 0x1400552cc
cdq
mov r8d, ecx
idiv ecx
mov eax, r8d
mov ecx, edx
test r8d, r8d
jne 0x1400552b8
lea edx, [rcx + rax]
mov dword [0x1401c6d80], edx
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400cc8b0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rbp
ret
Function at 0x140055300
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x1401c7fa5], 0
je 0x140055339
lea rax, [0x1401c2318]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 0x50], rbx
xor ebx, ebx
mov dword [rbp - 0x40], 0x14001e
mov dword [rbp - 0x3c], 0x31001f
mov dword [rbp - 0x38], 0xa001f
mov dword [rbp - 0x34], 0xa000d
mov r8d, ebx
mov dword [rbp - 0x30], 0x170013
mov dword [rbp - 0x2c], 0x15000c
mov dword [rbp - 0x28], 0x90010
mov dword [rbp - 0x24], 0x19003d
mov dword [rbp - 0x20], 0x80009
mov dword [rbp - 0x1c], 0xe000a
mov dword [rbp - 0x18], 0x18002f
mov dword [rbp - 0x14], 0xd0007
mov dword [rbp - 0x10], 6
lea rcx, [0x1401c2318]
lea r9, [0x1401c1da1]
nop dword [rax]
movzx eax, byte [r8 + r9 - 1]
movzx edx, word [rbp + r8*2 - 0x3e]
add r8, 5
xor ax, word [rbp + r8*2 - 0x4a]
mov word [rcx + r8*2 - 0xa], ax
movzx eax, byte [r8 + r9 - 5]
xor dx, ax
movzx eax, byte [r8 + r9 - 4]
xor ax, word [rbp + r8*2 - 0x46]
mov word [rcx + r8*2 - 8], dx
mov word [rcx + r8*2 - 6], ax
movzx eax, byte [r8 + r9 - 3]
xor ax, word [rbp + r8*2 - 0x44]
mov word [rcx + r8*2 - 4], ax
movzx eax, byte [r8 + r9 - 2]
xor ax, word [rbp + r8*2 - 0x42]
mov word [rcx + r8*2 - 2], ax
cmp r8, 0x19
jl 0x1400553b0
mov r9d, dword [0x1401c6d80]
mov eax, 0x78787879
mov byte [0x1401c7fa5], 1
lea r11d, [r9 + 1]
mov r10d, r11d
imul r10d, r9d
imul r10d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r10d
imul edx, edx, 0x11
sub eax, edx
cmp eax, 0xb
jne 0x1400554c5
mov eax, 0x92492493
imul r10d
add edx, r10d
sar edx, 2
mov r8d, edx
shr r8d, 0x1f
add edx, r8d
imul edx, edx, 7
sub r10d, edx
cmp r10d, 1
je 0x1400554c5
lea r8d, [r9 + 2]
mov eax, 0x92492493
imul r8d, r11d
imul r8d, r9d
imul r8d
add edx, r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub r8d, edx
cmp r8d, 5
jne 0x1400554c5
test r9d, r9d
je 0x1400554bb
dec r9d
je 0x1400554b3
mov dword [0x1401c6d80], r11d
jmp 0x1400554c5
mov dword [0x1401c6d80], ebx
jmp 0x1400554c5
mov dword [0x1401c6d80], 2
mov rax, rcx
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x40
pop rbp
ret

Function at 0x1400554e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401c7f8f], 0
lea rax, [0x1401c2ba8]
jne 0x14005557f
mov dword [rsp], 0x230026
mov dword [rsp + 4], 0x20003
mov dword [rsp + 8], 0x70005
mov dword [rsp + 0xc], 0xa002d
mov dword [rsp + 0x10], 0x3c0051
mov dword [rsp + 0x14], 0x4c001b
mov dword [rsp + 0x18], 0x180026
mov dword [rsp + 0x1c], 0x160001
mov dword [rsp + 0x20], 0x180003
mov dword [rsp + 0x24], 0x18
xor ecx, ecx
lea r8, [0x1401c1da0]
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 0x140055560
mov byte [0x1401c7f8f], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x38
ret
Function at 0x1400555a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov ecx, dword [0x1401c6d80]
mov eax, 0x30c30c31
mov ebx, 4
imul ecx, ecx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x15
sub ecx, edx
cmp ecx, 5
jne 0x140055626
mov eax, dword [str.gYpkF]
or r8, 0xffffffffffffffff
mov dword [rbp - 0x40], eax
movzx eax, word [0x14014fa08]
mov rcx, r8
mov word [rbp - 0x3c], ax
lea rax, [rbp - 0x40]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140055603
mov rax, rbx
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400cbef8
mov rcx, rax
call fcn.1400cd9ec
cmp byte [0x1401c7f83], 0
je 0x14005563b
lea rax, [0x1401c27b8]
jmp 0x1400556ec
xor r8d, r8d
mov dword [rbp - 0x38], 0x30000
mov dword [rbp - 0x34], 0xb001d
mov dword [rbp - 0x30], 0x100004
mov dword [rbp - 0x2c], 0x20048
mov dword [rbp - 0x28], 0x1d0011
mov word [rbp - 0x18], r8w
mov dword [rbp - 0x24], 0x41000c
mov dword [rbp - 0x20], 0xc001b
mov dword [rbp - 0x1c], 0x10000f
lea rdx, [0x1401c27b8]
lea r9, [0x1401c1da1]
nop dword [rax]
movzx eax, byte [r8 + r9 - 1]
movzx ecx, word [rbp + r8*2 - 0x36]
xor ax, word [rbp + r8*2 - 0x38]
mov word [rdx + r8*2], ax
movzx eax, byte [r8 + r9]
xor cx, ax
mov word [rdx + r8*2 + 2], cx
movzx ecx, byte [r8 + r9 + 1]
xor cx, word [rbp + r8*2 - 0x34]
mov word [rdx + r8*2 + 4], cx
movzx ecx, byte [r8 + r9 + 2]
xor cx, word [rbp + r8*2 - 0x32]
mov word [rdx + r8*2 + 6], cx
add r8, rbx
cmp r8, 0x10
jl 0x140055690
mov byte [0x1401c7f83], 1
mov rax, rdx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400cc8b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret
Function at 0x1400557e0
Capabilities:
Encode data using xor
Get disk size

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [0x1401c7fab], 0
je 0x140055815
lea rax, [0x1401c2568]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x68
ret
mov ecx, dword [0x1401c6d80]
mov qword [rsp + 0x60], rbx
xor ebx, ebx
lea eax, [rcx + 1]
lea r8d, [rcx + 2]
imul r8d, eax
mov eax, 0x78787879
imul r8d, ecx
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x11
sub r8d, edx
cmp r8d, 3
jne 0x140055864
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov dword [rsp + 0x30], 0x12003f
mov dword [rsp + 0x34], 0xa
mov dword [rsp + 0x38], 0x16003a
mov dword [rsp + 0x3c], 0x110007
mov dword [rsp + 0x40], 0x10006
mov dword [rsp + 0x44], 0x41001c
mov dword [rsp + 0x48], 0x80006
mov dword [rsp + 0x4c], 0x13000e
mov word [rsp + 0x50], bx
lea rdx, [0x1401c2568]
lea r8, [0x1401c1da1]
nop word [rax + rax]
movzx eax, byte [rbx + r8 - 1]
movzx ecx, word [rsp + rbx*2 + 0x32]
add rbx, 4
xor ax, word [rsp + rbx*2 + 0x28]
mov word [rdx + rbx*2 - 8], ax
movzx eax, byte [rbx + r8 - 4]
xor cx, ax
mov word [rdx + rbx*2 - 6], cx
movzx ecx, byte [rbx + r8 - 3]
xor cx, word [rsp + rbx*2 + 0x2c]
mov word [rdx + rbx*2 - 4], cx
movzx ecx, byte [rbx + r8 - 2]
xor cx, word [rsp + rbx*2 + 0x2e]
mov word [rdx + rbx*2 - 2], cx
cmp rbx, 0x10
jl 0x1400558c0
mov rbx, qword [rsp + 0x60]
mov byte [0x1401c7fab], 1
mov rax, rdx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x68
ret
Function at 0x140059d20
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401bee90]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov eax, dword [0x1401c6d80]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xf
sub ecx, edx
cmp ecx, 9
jne 0x140059d9e
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
lea eax, [r8 + 1]
mov dword [0x1401c6d80], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.14002b620
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.140041d40
test eax, eax
jne 0x140059e02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140051490
mov r10, rax
call fcn.140052a40
mov rdx, rax
mov r8, r10
lea rcx, [rsp + 0x38]
call fcn.140055b20
lea rdx, [0x140189250]
lea rcx, [rsp + 0x38]
call fcn.1400d4788
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 0x140059e61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140051490
mov r10, rax
call fcn.140052eb0
mov rdx, rax
mov r8, r10
lea rcx, [rsp + 0x38]
call fcn.140055b20
lea rdx, [0x140189250]
lea rcx, [rsp + 0x38]
call fcn.1400d4788
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
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
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 0x140059ee5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140051490
mov r9, rax
call fcn.140051fe0
mov rdx, rax
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.140055b20
lea rdx, [0x140189250]
lea rcx, [rsp + 0x38]
call fcn.1400d4788
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400cc8b0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x14005da40
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.14000a930
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 0x14005db62
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 0x14005dab3
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 0x14005db2c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x14005db2c
mov rcx, rax
call fcn.1400510b0
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 0x14005db0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x14005db34
test rsi, rsi
je 0x14005db34
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14005db34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x14005db45
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 0x14005db4d
Function at 0x140061570
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
mov rbx, rdx
mov r10, rcx
test r8d, r8d
jle 0x1400615db
mov qword [rsp + 0x10], rdi
mov r11, rcx
sub rbx, rcx
lea rdi, str._the_sons_of_Dan__Hushim.
nop word [rax + rax]
mov eax, 0x51eb851f
lea r11, [r11 + 1]
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r9d
inc r9d
imul edx, edx, 0x19
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 0x1400615a0
mov rdi, qword [rsp + 0x10]
mov rax, r10
pop rbx
ret
Function at 0x140067470
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 [0x1401bee90]
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 0x1400674fe
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 0x1400674fe
call fcn.140004570
mov ebx, eax
jmp 0x140067623
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14006751f
call fcn.140004570
jmp 0x140067612
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 0x140067542
call fcn.140004570
jmp 0x140067612
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 0x140067564
mov ebx, 0x8007000e
jmp 0x140067614
mov ecx, eax
test eax, eax
je 0x14006759c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x140067592
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14006759c
lea rcx, [rsp + 0x70]
call fcn.140069ad0
jmp 0x1400675a6
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x1400675b9
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x1400675ca
mov ebx, 0x8007000e
jmp 0x140067614
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 0x1400675ef
call fcn.140004570
jmp 0x140067612
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.140068480
mov ebx, eax
test rdi, rdi
je 0x140067623
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14006763a
lea rcx, [rsp + 0x70]
call fcn.140069ac0
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400cc8b0
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006e5c0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400d1960
sub rsp, rax
lea r8, [0x14018cd08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.140074fd0
cmp dword [0x14018c24c], 0
jne 0x14006e60c
mov edx, 1
lea r8, [0x14018cd20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.140074fd0
mov edx, 1
lea r8, [0x14018cd38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.140074fd0
mov edx, 1
lea r8, [0x14018cd50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.140074fd0
cmp dword [0x14018c24c], 0
jne 0x14006e667
mov edx, 1
lea r8, [0x14018cd68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.140074fd0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401c2fe0]
lea rbx, [0x1401c3fc8]
mov edi, 1
lea rbp, [0x14018cd80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x14006e6cb
mov ecx, edi
call fcn.1400d1bb4
test rax, rax
je 0x14006e6c2
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400d1a50
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x14006e6cb
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x14006e695
mov edx, 1
lea r8, [0x14018cd88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14018c24c], 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.140074fd0
Function at 0x140071640
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.0x140071697
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x71840]
add rcx, rdx
jmp rcx
mov r9d, 0xa
cmp r9, rsi
jge case.0x140071697.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 0x1400716b0
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