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

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rsp + 0x290], rax
cmp byte [0x1401aa97e], 0
je 0x14004c4f1
lea rax, [0x1401a5370]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x2a8
ret
mov r9d, dword [0x1401a9d80]
xor ecx, ecx
mov eax, 0x2aaaaaab
lea r8d, [r9 + 1]
mov dword [rsp + 0x270], 0x6001a
mov dword [rsp + 0x274], 0x70013
mov dword [rsp + 0x278], 0x150040
mov dword [rsp + 0x27c], 0x110010
mov dword [rsp + 0x280], 0x110006
imul r8d, r9d
imul r8d
sar edx, 2
mov dword [rsp + 0x284], 0x4005c
mov dword [rsp + 0x288], 0x2000e
mov eax, edx
mov word [rsp + 0x28c], cx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0xd
jne 0x14004c5a4
mov edx, ecx
lea r8, [rsp]
nop
mov eax, dword [r8]
inc edx
lea r8, [r8 + 4]
imul eax, eax, 0xb0
add r9d, eax
movsxd rax, edx
cmp rax, 0x270
jb 0x14004c580
mov dword [0x1401a9d80], r9d
lea rax, [0x1401a5370]
lea r9, [0x1401a4d91]
nop word [rax + rax]
movzx edx, byte [rcx + r9 - 1]
movzx r8d, word [rsp + rcx*2 + 0x272]
add rcx, 2
xor dx, word [rsp + rcx*2 + 0x26c]
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 0x14004c5c0
mov byte [0x1401aa97e], 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x2a8
ret
Function at 0x14004c620
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x78], r13
mov r13d, dword [0x1401a9d80]
mov eax, 0x6bca1af3
lea ecx, [r13 + 1]
xor r10d, r10d
imul ecx, r13d
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x13
sub ecx, edx
cmp ecx, 0x10
jne 0x14004c72c
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x48], r14
mov eax, r13d
mov qword [rsp + 0x40], r15
cdq
mov r11d, 0xcc
mov r14d, r10d
sub eax, edx
sar eax, 1
mov r15d, eax
nop word [rax + rax]
test r15d, r15d
jle 0x14004c70b
mov eax, r13d
mov ebx, r10d
mov rsi, r15
cdq
and edx, 3
lea edi, [rdx + rax]
sar edi, 2
nop dword [rax + rax]
mov r8d, r10d
mov r9d, r10d
mov edx, r10d
cmp edi, 2
jl 0x14004c6f1
lea edx, [rdi - 2]
mov ecx, ebx
shr edx, 1
inc edx
mov eax, edx
add edx, edx
nop dword [rax + rax]
dec r9d
add r8d, ecx
add r9d, ecx
sub ecx, 2
dec rax
jne 0x14004c6e0
cmp edx, edi
jge 0x14004c6fc
mov eax, ebx
sub eax, edx
add r11d, eax
lea eax, [r9 + r8]
add ebx, r14d
add r11d, eax
dec rsi
jne 0x14004c6c0
inc r14d
cmp r14d, r11d
jl 0x14004c6a0
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
cmp byte [0x1401aa992], r10b
mov r13, qword [rsp + 0x78]
lea rax, [0x1401a5770]
jne 0x14004c7d8
mov dword [rbp - 0x50], 0xc0013
mov dword [rbp - 0x4c], 0x2b0011
mov dword [rbp - 0x48], 0x140002
mov dword [rbp - 0x44], 0xf0017
mov dword [rbp - 0x40], 0x2b000c
mov dword [rbp - 0x3c], 0xd0013
mov dword [rbp - 0x38], 0x80003
mov dword [rbp - 0x34], 0x3f0017
mov dword [rbp - 0x30], 0xb0025
mov dword [rbp - 0x2c], 0x3001f
mov dword [rbp - 0x28], 0x520051
mov word [rbp - 0x24], r10w
lea r8, [0x1401a4d91]
nop
movzx ecx, byte [r10 + r8 - 1]
movzx edx, word [rbp + r10*2 - 0x4e]
add r10, 2
xor cx, word [rbp + r10*2 - 0x54]
mov word [rax + r10*2 - 4], cx
movzx ecx, byte [r10 + r8 - 2]
xor dx, cx
mov word [rax + r10*2 - 2], dx
cmp r10, 0x16
jl 0x14004c7a0
mov byte [0x1401aa992], 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x50
pop rbp
ret
Function at 0x14004c7f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rbp - 8], rax
cmp byte [0x1401aa98d], 0
lea rax, [0x1401a52f8]
jne 0x14004c8ee
mov dword [rbp - 0x40], 0x1f001a
mov dword [rbp - 0x3c], 0x390015
mov dword [rbp - 0x38], 0x1e0018
mov dword [rbp - 0x34], 0x1b0007
mov dword [rbp - 0x30], 0x60019
mov dword [rbp - 0x2c], 0x170011
mov dword [rbp - 0x28], 2
xor r8d, r8d
mov dword [rbp - 0x24], 0x1d002d
mov dword [rbp - 0x20], 0xc001e
mov dword [rbp - 0x1c], 0x30012
mov dword [rbp - 0x18], 0x1a0034
mov dword [rbp - 0x14], 0x180008
mov dword [rbp - 0x10], 0x11
lea r9, [0x1401a4d91]
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 0x14004c880
mov byte [0x1401aa98d], 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x40
pop rbp
ret

Function at 0x14004c900
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp byte [0x1401aa975], 0
je 0x14004c935
lea rax, str.___t_n
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x58
ret
mov eax, dword [0x1401a9d80]
mov qword [rsp + 0x50], rbx
xor ebx, ebx
lea ecx, [rax + 1]
mov dword [rsp + 0x20], 0x280022
mov dword [rsp + 0x24], 0xa0009
mov dword [rsp + 0x28], 0x130002
mov dword [rsp + 0x2c], 0x1b0027
mov dword [rsp + 0x30], 0x2d005b
imul ecx, eax
mov eax, 0x2e8ba2e9
mov dword [rsp + 0x34], 0x4e0006
mov dword [rsp + 0x38], 0x110034
mov dword [rsp + 0x3c], 0x120011
mov qword [rsp + 0x40], 0x1c0014
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x16
sub ecx, edx
cmp ecx, 0xa
jne 0x14004c9d3
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 [0x1401a9d80], r8d
lea rax, str.___t_n
lea rdx, [0x1401a4d90]
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 0x14004c9e1
mov byte [0x1401aa975], 1
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x58
ret
Function at 0x14004ca20
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x1401aa979], 0
lea rax, [0x1401a59e8]
jne 0x14004cafc
xor r8d, r8d
mov dword [rsp], 0x80004
mov dword [rsp + 4], 0x30017
mov dword [rsp + 8], 0x40003
mov dword [rsp + 0xc], 0x130042
mov dword [rsp + 0x10], 0xc001b
mov word [rsp + 0x20], r8w
mov dword [rsp + 0x14], 0x430011
mov dword [rsp + 0x18], 0x50009
mov dword [rsp + 0x1c], 0x14001f
lea r9, [0x1401a4d91]
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 0x14004caa0
mov byte [0x1401aa979], 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x38
ret
Function at 0x140050d70
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call fcn.1400260f0
mov rcx, rax
lea r9, [rsp + 0x30]
mov r8d, 0x20028
mov rdx, rbx
call fcn.14003b220
test eax, eax
jne 0x140050e02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140048d40
mov rbx, rax
call fcn.14004a200
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.14004cf50
lea rdx, [0x14016ca48]
lea rcx, [rsp + 0x38]
call fcn.1400ca6e8
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 0x140050e61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140048d40
mov rbx, rax
call fcn.14004a810
mov rdx, rax
mov r8, rbx
lea rcx, [rsp + 0x38]
call fcn.14004cf50
lea rdx, [0x14016ca48]
lea rcx, [rsp + 0x38]
call fcn.1400ca6e8
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 0x140050ee5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.140048d40
mov r9, rax
call fcn.140049850
mov rdx, rax
mov r8, r9
lea rcx, [rsp + 0x38]
call fcn.14004cf50
lea rdx, [0x14016ca48]
lea rcx, [rsp + 0x38]
call fcn.1400ca6e8
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400c2810
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140052250
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 + 0x1b8]
call fcn.1400c5214
or rbx, 0xffffffffffffffff
test rax, rax
jne 0x14005228a
mov eax, ebx
jmp 0x140052294
sub rax, qword [rsi + 0x1b8]
sar rax, 1
lea r8d, [rax + 1]
lea rdx, [rsp + 0x88]
lea rcx, [rsi + 0x1b8]
call fcn.140025310
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rsi + 0x1b8]
mov rcx, qword [rsi + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005233e
call fcn.14004a630
mov r8, rax
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.140019af0
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 0x140052332
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x14005233e
mov dil, 1
jmp 0x140052448
call fcn.14004ae90
mov rdi, rax
lea rcx, [0x1401a19a8]
mov rdx, qword [0x1401a19a8]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
test rdi, rdi
je 0x14005239e
test rdi, 0xffffffffffff0000
jne 0x14005238f
movzx edi, di
mov ecx, edi
call fcn.1400019e0
test rax, rax
je 0x1400523b1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140002750
jmp 0x1400523b1
mov rax, rbx
inc rax
cmp word [rdi + rax*2], 0
jne 0x140052392
jmp 0x1400523a0
xor eax, eax
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140002460
nop
call fcn.14004a970
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140019af0
nop
lea r8, [rsi + 0x198]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14000ea60
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400523fa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140013c70
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140052428
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 0x140052445
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 0x140052465
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 0x140054510
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.14000a6b0
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 0x140054632
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 0x140054583
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 0x1400545fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbp, rax
test rax, rax
je 0x1400545fc
mov rcx, rax
call fcn.140048960
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 0x1400545de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rsi, rbp
je 0x140054604
test rsi, rsi
je 0x140054604
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140054604
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rbp, qword [rsp + 0x58]
test ebx, ebx
je 0x140054615
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 0x14005461d
Function at 0x1400561d0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0xa0
mov qword [r11 - 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, rcx
mov rax, qword [rcx + 0x128]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 0x30]
mov qword [r11 - 0x80], rax
mov rax, qword [rcx + 0x98]
mov qword [r11 - 0x78], rax
xor r14d, r14d
mov rcx, rbx
call fcn.140056130
test al, al
je 0x14005642c
cmp byte [rbx + 0x10], r14b
je 0x14005623d
mov rcx, rbx
call fcn.140056480
test al, al
je 0x140056372
mov dword [rsp + 0xc8], r14d
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
mov r8d, 0x1000
mov rdx, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400562fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x1400562c9
cmp eax, 0x3e5
je 0x1400562c3
lea rax, str.Channel_read_failure
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.1400c5c98
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x68], rax
lea rdx, [0x14016cbb0]
lea rcx, [rsp + 0x68]
call fcn.1400ca6e8
mov byte [rbx + 0x10], 1
jmp 0x1400562fd
lea rcx, [rsp + 0x48]
call fcn.1400c5d10
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x48], rax
lea rax, vtable.CRSimpleIPCExceptionDisconnected.0
mov qword [rsp + 0x48], rax
lea rdx, [0x14016cb68]
lea rcx, [rsp + 0x48]
call fcn.1400ca6e8
cmp byte [rbx + 0x10], r14b
jne 0x140056345
mov rsi, qword [rbx + 0x50]
sub rsi, qword [rbx + 0x48]
mov edx, dword [rsp + 0xc8]
add rdx, rsi
lea rcx, [rbx + 0x48]
call fcn.14002d150
mov rcx, qword [rbx + 0x48]
mov r8d, dword [rsp + 0xc8]
add rcx, rsi
mov rdx, qword [rbx + 0x60]
call fcn.1400c2840
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov sil, 1
jmp 0x140056375
mov ecx, dword [0x1401a9d80]
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, 0xf
jne 0x140056372
inc dword [0x1401aa7f0]
xor sil, sil
mov rcx, rbx
call fcn.140056600
movzx edi, al
mov rcx, rbx
call fcn.140056af0
or dil, sil
je 0x140056392
jmp 0x140056217
mov r9d, 0x7530
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 3]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1400563c0
mov rcx, qword [rbx + 0x128]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x140056217
cmp eax, 3
jae 0x1400563d7
mov rcx, rbx
call fcn.140056480
mov rcx, rbx
call fcn.140056990
jmp 0x1400563ed
cmp eax, 0x102
jne 0x1400563fa
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400563ed
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rbx
call fcn.140056af0
jmp 0x140056217
lea rcx, [rsp + 0x80]
call fcn.1400c5d10
nop
lea rax, vtable.CRSimpleIPCException.0
mov qword [rsp + 0x80], rax
lea rdx, [0x14016cbb0]
lea rcx, [rsp + 0x80]
call fcn.1400ca6e8
nop
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret
Function at 0x140057c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [0x1401a9d80]
mov rdi, rdx
mov rbx, rcx
lea eax, [r10 + 1]
lea r9d, [r10 + 2]
xor r11d, r11d
mov esi, r8d
imul r9d, eax
mov eax, 0x66666667
imul r9d, r10d
imul r9d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r9d, ecx
cmp r9d, 0xb
jne 0x140057cbd
mov r8d, r11d
test r10d, r10d
je 0x140057cb6
nop dword [rax + rax]
mov eax, r10d
mov ecx, r10d
cdq
and ecx, 1
sub eax, edx
add r8d, ecx
sar eax, 1
mov r10d, eax
jne 0x140057ca0
mov dword [0x1401a9d80], r8d
test esi, esi
jle 0x140057d06
mov r8, rbx
sub rdi, rbx
lea r9, str.My_lord_asked_his_servants__saying__Have_ye_a_father__or_a_brother_
nop
mov eax, 0x7a44c6b
lea r8, [r8 + 1]
imul r11d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r11d
inc r11d
imul edx, edx, 0x43
sub eax, edx
movsxd rcx, eax
movzx eax, byte [rcx + r9]
xor al, byte [rdi + r8 - 1]
mov byte [r8 - 1], al
cmp r11d, esi
jl 0x140057cd0
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
Function at 0x14005d530
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 [0x1401a1e90]
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 0x14005d5be
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 0x14005d5be
call fcn.1400042f0
mov ebx, eax
jmp 0x14005d6e3
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14005d5df
call fcn.1400042f0
jmp 0x14005d6d2
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 0x14005d602
call fcn.1400042f0
jmp 0x14005d6d2
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 0x14005d624
mov ebx, 0x8007000e
jmp 0x14005d6d4
mov ecx, eax
test eax, eax
je 0x14005d65c
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x14005d652
lea rdx, [rcx + rcx]
cmp rdx, 0x400
jbe 0x14005d65c
lea rcx, [rsp + 0x70]
call fcn.14005fb60
jmp 0x14005d666
mov ecx, 0x80070216
call fcn.140001920
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
jmp 0x14005d679
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x14005d68a
mov ebx, 0x8007000e
jmp 0x14005d6d4
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 0x14005d6af
call fcn.1400042f0
jmp 0x14005d6d2
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.14005e540
mov ebx, eax
test rdi, rdi
je 0x14005d6e3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rax, [rsp + 0x78]
cmp qword [rsp + 0x70], rax
je 0x14005d6fa
lea rcx, [rsp + 0x70]
call fcn.14005fb50
nop
mov eax, ebx
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400c2810
add rsp, 0x490
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140064520
Capabilities:
Terminate process

Disassembly:
mov eax, 0x28
call fcn.1400c78c0
sub rsp, rax
lea r8, [0x14016fd08]
lea edx, [rax - 0x27]
lea ecx, [rax - 0x23]
mov r9d, 0x244
call fcn.14006af50
cmp dword [0x14016f24c], 0
jne 0x14006456c
mov edx, 1
lea r8, [0x14016fd20]
mov r9d, 0x247
lea ecx, [rdx + 5]
add rsp, 0x28
jmp fcn.14006af50
mov edx, 1
lea r8, [0x14016fd38]
mov r9d, 0x24b
lea ecx, [rdx + 5]
call fcn.14006af50
mov edx, 1
lea r8, [0x14016fd50]
lea ecx, [rdx + 8]
mov r9d, 0x24c
call fcn.14006af50
cmp dword [0x14016f24c], 0
jne 0x1400645c7
mov edx, 1
lea r8, [0x14016fd68]
mov r9d, 0x24f
lea ecx, [rdx + 9]
add rsp, 0x28
jmp fcn.14006af50
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
lea rsi, [0x1401a5fe0]
lea rbx, [0x1401a6fc8]
mov edi, 1
lea rbp, [0x14016fd80]
cmp qword [rbx], 0
mov dword [rbx - 8], edi
jne 0x14006462b
mov ecx, edi
call fcn.1400c7b14
test rax, rax
je 0x140064622
mov r8d, 0x20
mov rdx, rax
mov rcx, rsi
call fcn.1400c79b0
mov byte [rsi + 0x1f], 0
mov qword [rbx], rsi
cmp qword [rbx], 0
jne 0x14006462b
mov qword [rbx], rbp
inc edi
add rbx, 0x10
add rsi, 0x20
cmp edi, 0x7f
jle 0x1400645f5
mov edx, 1
lea r8, [0x14016fd88]
mov r9d, 0x26c
lea ecx, [rdx + 9]
mov dword [0x14016f24c], 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.14006af50