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

Disassembly:
mov r8, rcx
xor r11d, r11d
mov eax, edx
lea r10, [rax + rcx]
and rax, 0xfffffffffffffffc
mov r9d, r11d
add rax, rcx
mov edx, r11d
mov rcx, rax
sub rcx, r8
add rcx, 3
shr rcx, 2
cmp r8, rax
cmova rcx, r11
test rcx, rcx
je 0x140026eae
xor r9d, dword [r8]
inc rdx
add r8, 4
rol r9d, 3
cmp rdx, rcx
jb 0x140026e9b
mov rdx, r10
sub rdx, r8
cmp r8, r10
cmova rdx, r11
test rdx, rdx
je 0x140026edd
mov r10, r8
neg r10
movzx eax, byte [r8]
inc r8
xor r9d, eax
lea rcx, [r10 + r8]
rol r9d, 3
cmp rcx, rdx
jb 0x140026ec6
mov eax, r9d
ret

Function at 0x1400279dc
Capabilities:
Create directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, edx
movzx edi, cl
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0xb0912206
mov ecx, 0x8ebfb9c5
mov r8d, 0x2e152258
mov ebx, eax
call fcn.1400018d0
lea rcx, [rsp + 0x50]
lea rcx, [rcx + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor edx, edx
movsxd rcx, eax
mov word [rsp + rcx*2 + 0x50], di
mov word [rsp + rcx*2 + 0x52], dx
test esi, esi
je 0x140027aa5
dec esi
je 0x140027a83
dec esi
jne 0x140027a7c
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
jmp 0x140027ace
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x4000000
mov r8d, 5
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
jmp 0x140027ac0
mov eax, 2
mov qword [rsp + 0x30], rdx
mov edx, 0xc0000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r8d, [rax + 1]
lea rcx, [rsp + 0x50]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140028e04
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbp, rcx
mov ecx, 0x104
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, 0x23f0587c
mov ecx, 0x1ddec441
mov r8d, 0xbd745822
mov ebx, eax
call fcn.1400018d0
lea rcx, [rdi + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r14d, r14d
movsxd rcx, eax
mov esi, r14d
lea rdi, [rdi + rcx*2]
movzx ebx, byte [rsi + rbp + 0x25c]
mov edx, 0x7feeefd
mov ecx, 0x39d072f4
mov r8d, 0x997aeeaf
call fcn.1400018d0
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
inc rsi
add rdi, 4
cmp rsi, 8
jl 0x140028e73
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov dword [rdi], 0x74002e
mov dword [rdi + 4], 0x740078
mov word [rdi + 8], r14w
mov rdi, qword [rsp + 0x48]
mov al, 1
add rsp, 0x20
pop r14
ret

Function at 0x14002cbec
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x150], rax
xor ebx, ebx
test byte [rdx], 0xc0
mov r13, rcx
mov rcx, qword [rbp + 0x1c0]
mov esi, r9d
mov r15, r8
mov rdi, rdx
je 0x14002cd4e
movabs rax, 0xb31fa6feddf8a00b
lea rdx, [rsp + 0x30]
mov qword [rbp + 0x140], rax
movabs rax, 0x780f056a569fdfd8
mov qword [rbp + 0x148], rax
call fcn.14008f44c
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.140002700
lea rax, [rbp + 0x130]
mov r8, rdi
sub r8, rax
mov edx, ebx
lea rcx, [rbp + 0x130]
add rcx, rdx
inc rdx
mov al, byte [r8 + rcx]
xor byte [rcx], al
cmp rdx, 0x10
jl 0x14002cc84
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.14008ebf8
lea rax, [rbp + 0x30]
lea r8d, [rsi - 0x10]
lea rdx, [r15 + 0x10]
lea rcx, [rdi + 0x10]
lea r9, [rbp + 0x140]
mov qword [rsp + 0x20], rax
call fcn.14008f86c
cmp dword [r13 + 0x270], ebx
jbe 0x14002cd14
mov edi, ebx
test esi, esi
jle 0x14002cd14
mov r14, r15
mov rdx, qword [r13 + 0x268]
mov r8d, edi
mov r9d, 0x800
sar r8d, 0xb
mov rcx, r14
add r8d, dword [rbp + 0x1c8]
call fcn.14003211c
add edi, 0x800
add r14, 0x800
cmp edi, esi
jl 0x14002cce0
mov eax, 0x2aaaaaab
mov ecx, 1
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r8, edx
cmp rcx, r8
jge 0x14002cd4e
lea rax, [r15 + 0xc4]
cmp byte [rax], 0x47
jne 0x14002cd4e
inc rcx
inc ebx
add rax, 0xc0
cmp rcx, r8
jl 0x14002cd39
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400e79e0
add rsp, 0x260
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x14002d608
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
call fcn.14002d540
sub rdi, rbx
mov ecx, 4
mov eax, dword [rdi + rbx]
xor dword [rbx], eax
lea rbx, [rbx + 4]
dec rcx
jne 0x14002d625
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140030a18
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 0x228]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov ebx, r8d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140030a47
cmp dword [rsp + 0x40], ebx
jne 0x140030a47
mov al, 1
jmp 0x140030a49
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x140036560
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rsi, rdx
mov rdi, rcx
cmp r8d, 0x80
jne 0x140036608
mov ebx, dword [rdx + 0xc]
mov r11d, dword [rdx + 8]
mov r9d, dword [rdx + 4]
mov r10d, dword [rdx]
mov edx, dword [rdx]
mov r8d, dword [rcx]
shr edx, 8
mov eax, ebx
and r10d, 0xffffff00
or eax, 1
xor edx, r8d
shr r8d, 0x18
sub edx, r9d
xor edx, r11d
imul edx, eax
movzx eax, byte [rsi]
xor r8d, eax
shl edx, 8
or edx, r8d
mov dword [rcx], edx
mov edx, r9d
or edx, 1
mov eax, edx
imul eax, dword [rcx + 4]
sub eax, ebx
add eax, r11d
or r11d, 1
xor eax, r10d
mov dword [rcx + 4], eax
mov eax, r11d
imul eax, dword [rcx + 8]
mov ecx, ebx
xor ebx, dword [rdi + 0xc]
sub ecx, eax
sub ebx, r10d
mov eax, r10d
not eax
imul ebx, r11d
imul ecx, eax
add ecx, r9d
imul ebx, edx
mov dword [rdi + 8], ecx
mov dword [rdi + 0xc], ebx
jmp 0x14003661e
sub rsi, rcx
mov ecx, 4
mov eax, dword [rsi + rdi]
xor dword [rdi], eax
lea rdi, [rdi + 4]
dec rcx
jne 0x140036610
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x140037e88
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movaps xmmword [rax - 0x28], xmm6
mov eax, dword [rsp + 0x70]
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov r15, rcx
test eax, eax
jle 0x140037f01
lea r14d, [rax - 1]
mov rdi, rdx
shr r14d, 4
sub rdi, rbx
inc r14d
movups xmm6, xmmword [rsi]
mov r8, rbx
mov rdx, rsi
mov rcx, r15
call fcn.140037fbc
mov ecx, InitCommonControls
mov al, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
dec rcx
jne 0x140037edf
movups xmm0, xmm6
add rsi, 0x10
sub rdi, 0x10
movdqu xmmword [rbp], xmm0
dec r14
jne 0x140037ec9
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14003be9c
Capabilities:
Encode data using xor

Disassembly:
lea rax, [0x140142f00]
mov r8d, ecx
add r8, rax
mov al, byte [r8]
inc r8
xor al, 0x85
mov byte [rdx], al
inc rdx
test al, al
je 0x14003becf
movzx ecx, al
mov al, byte [r8]
inc r8
xor al, 0x85
mov byte [rdx], al
inc rdx
dec rcx
jne 0x14003bebd
ret

Function at 0x14003cd59
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
jle 0x14003cfbb
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r15d, [r8 - 1]
mov r14, rcx
mov rdi, rdx
shr r15d, 3
mov r9, rdx
mov ebp, 0xa
movabs rbx, 0xff000000000000
movabs rcx, 0xff0000000000
movabs r8, 0xff00000000
inc r15d
mov r11d, 0xff000000
lea r13, [0x140000000]
mov rdx, qword [r14]
xor esi, esi
mov r10, rdx
mov rax, rdx
shr rax, 0x10
and r10, rbx
or r10, rax
mov rax, rdx
and rax, rcx
shr r10, 0x10
mov rcx, rdx
or r10, rax
and ecx, 0xff00
mov rax, rdx
and rax, r8
shr r10, 0x10
mov r8d, r9d
or r10, rax
mov rax, rdx
shl rax, 0x10
shr r10, 8
or rcx, rax
mov rax, rdx
and rdx, r11
shl rcx, 0x10
and eax, 0xff0000
or rcx, rax
shl rcx, 0x10
or rcx, rdx
mov rdx, r9
shl rcx, 8
shr rdx, 0x20
or r10, rcx
and edx, 0xffffff
mov r11, r10
shr r11, 0x20
test ebp, ebp
jle 0x14003ce91
lea rbx, [rsp]
and edx, 0xffffff
mov eax, esi
inc esi
movzx ecx, dl
xor rcx, rax
movzx eax, byte [rcx + r13 + 0x152ec0]
mov ecx, edx
shl edx, 0x11
shl eax, 4
shr ecx, 7
add eax, r8d
mov dword [rbx], eax
mov eax, r8d
shl r8d, 0x11
shr eax, 0xf
or r8d, ecx
lea rbx, [rbx + 4]
or edx, eax
cmp esi, ebp
jl 0x14003ce47
movabs rbx, 0xff000000000000
mov r8d, 9
mov eax, r8d
cdq
idiv ebp
movsxd rax, edx
mov edx, dword [rsp + rax*4]
add edx, r10d
movzx ecx, dl
xor edx, dword [r13 + rcx*4 + 0x16fb00]
mov ecx, edx
mov eax, edx
ror ecx, 0xa
rol eax, 9
xor ecx, eax
xor ecx, edx
sub r11d, ecx
mov ecx, r11d
mov r11d, r10d
mov r10d, ecx
cmp r8d, 5
jne 0x14003cee5
mov r9d, ecx
and r9d, 0xffffff
shl r9, 0x20
or r9, r11
xor r9, rdi
dec r8d
jns 0x14003ce97
mov r8, rcx
movabs rcx, 0xff0000000000
mov ebp, 2
shl r8, 0x20
or r8, r11
mov r11d, 0xff000000
mov rdx, r8
mov rax, r8
shr rax, 0x10
and rdx, rbx
or rdx, rax
mov rax, r8
and rax, rcx
shr rdx, 0x10
movabs rcx, 0xff00000000
or rdx, rax
mov rax, r8
and rax, rcx
shr rdx, 0x10
mov rcx, r8
and ecx, 0xff00
or rdx, rax
mov rax, r8
shl rax, 0x10
shr rdx, 8
or rcx, rax
mov rax, r8
and r8, r11
shl rcx, 0x10
and eax, 0xff0000
or rcx, rax
shl rcx, 0x10
or rcx, r8
movabs r8, 0xff00000000
shl rcx, 8
or rdx, rcx
movabs rcx, 0xff0000000000
mov qword [r14], rdx
add r14, 8
dec r15
jne 0x14003cdc2
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x14003cfbc
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x30
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r9, rdx
mov r8, rcx
mov r10, rcx
shr r9, 0x20
shr r8, 0x20
lea rbx, [rsp]
and r9d, 0xffffff
xor r11d, r11d
lea rsi, [0x140000000]
and r9d, 0xffffff
mov eax, r11d
inc r11d
movzx ecx, r9b
xor rcx, rax
movzx eax, byte [rcx + rsi + 0x152ec0]
mov ecx, r9d
shl r9d, 0x11
shl eax, 4
shr ecx, 7
add eax, edx
mov dword [rbx], eax
mov eax, edx
shl edx, 0x11
shr eax, 0xf
or edx, ecx
lea rbx, [rbx + 4]
or r9d, eax
cmp r11d, 0xa
jl 0x14003cffb
mov r9d, 9
mov edx, dword [rsp + r9*4]
add edx, r10d
movzx ecx, dl
xor edx, dword [rsi + rcx*4 + 0x16fb00]
mov eax, edx
mov ecx, edx
ror ecx, 0xa
rol eax, 9
xor ecx, eax
xor ecx, edx
sub r8d, ecx
dec r9
mov eax, r8d
mov r8d, r10d
mov r10d, eax
jns 0x14003d045
shl rax, 0x20
or rax, r8
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret

Function at 0x14003d094
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov r8, rdx
mov r9, rcx
mov r11, rcx
shr r8, 0x20
shr r9, 0x20
mov ebx, ecx
and r8d, 0xffffff
xor r10d, r10d
lea rsi, [rsp]
mov edi, r10d
lea r14, [0x140000000]
and r8d, 0xffffff
mov eax, edi
inc edi
movzx ecx, r8b
xor rcx, rax
movzx eax, byte [rcx + r14 + 0x152ec0]
mov ecx, r8d
shl r8d, 0x11
shl eax, 4
shr ecx, 7
add eax, edx
mov dword [rsi], eax
mov eax, edx
shl edx, 0x11
shr eax, 0xf
or edx, ecx
lea rsi, [rsi + 4]
or r8d, eax
cmp edi, 0xa
jl 0x14003d0e3
mov edx, dword [rsp + r10*4]
inc r10
add edx, ebx
movzx ecx, dl
xor edx, dword [r14 + rcx*4 + 0x16fb00]
mov ecx, edx
mov eax, edx
ror ecx, 0xa
rol eax, 9
xor ecx, eax
xor ecx, edx
add ecx, r9d
mov r9d, ebx
mov ebx, ecx
cmp r10, 0xa
jl 0x14003d125
mov eax, ecx
shl rax, 0x20
or rax, r9
xor rax, r11
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x14003e580
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx]
test r8d, r8d
je 0x14003e5b2
mov r10d, r8d
movzx eax, byte [rdx]
movzx r8d, r9b
lea r11, [0x14010ac20]
xor r8, rax
mov rax, r9
inc rdx
mov r9, qword [r11 + r8*8]
shr rax, 8
xor r9, rax
dec r10
jne 0x14003e58b
mov qword [rcx], r9
ret
Function at 0x14004333c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x300
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
movzx esi, dx
mov r15, rcx
lea rdx, [rsp + 0x60]
mov ecx, 0x104
mov rbp, r8
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140043385
lea rbx, [rsp + 0x60]
mov edx, 0xa7294353
mov ecx, 0xbc1f3225
mov r8d, 0xb2556f67
movzx r14d, si
lea rbx, [rbx + rax*2]
call fcn.140001ec8
mov r8d, r14d
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov qword [rsp + 0x30], rdi
lea r9, [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov edx, 0xc0000000
mov r8d, 3
mov dword [rsp + 0x28], 0x4000080
mov dword [rsp + 0x48], 0x18
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140043414
xor al, al
jmp 0x1400434b5
mov edx, 0xfe79d5bf
mov ecx, 0xe54fa4b7
mov r8d, 0xeb05f99c
call fcn.140001ec8
mov edx, 0x2ff67125
mov ecx, 0x34c0005d
mov r8d, 0x3a8a5d00
mov rbx, rax
call fcn.140001ec8
lea rcx, [rsp + 0x60]
mov r9, rbx
mov r8, r15
mov rdx, rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x60]
or r9d, 0xffffffff
mov r8, rsi
mov rdx, r15
call fcn.1400437a4
test eax, eax
je 0x1400434a9
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140043b44
mov rbx, rax
test rax, rax
je 0x1400434a9
mov rdx, rbp
mov rcx, rax
call fcn.140043894
mov dil, al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400434dc
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov esi, edx
mov rdi, rcx
mov r8d, 0xe332c5
mov edx, 0x159f1ee6
mov ecx, 0xea96c84
call fcn.140001ec8
mov edx, 0xb3c20c52
mov ecx, 0xa8f47dd6
mov r8d, 0xa6be2050
mov rbx, rax
call fcn.140001ec8
lea rcx, [rbp - 0x20]
mov r9, rbx
mov rdx, rax
mov r8, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
and qword [rsp + 0x50], 0
xor eax, eax
lea r8d, [rax + 0x60]
lea rcx, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.1400ea1b0
and dword [rbp - 0x54], 0
mov eax, 1
lea rdx, [rbp - 0x20]
mov word [rbp - 0x50], ax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
mov dword [rsp + 0x70], 0x68
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x1400435eb
test esi, esi
je 0x1400435d5
mov rcx, qword [rsp + 0x50]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x380
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400437a4
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
and qword [rbp - 0x39], 0
xor eax, eax
mov rbx, r8
mov rsi, rcx
mov rdi, rdx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x11]
xor edx, edx
mov r14d, r9d
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
call fcn.1400ea1b0
and qword [rbp + 0x37], 0
lea rax, [rbp - 0x39]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x19]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
mov rdx, rsi
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rbp - 0x19], 0x68
mov dword [rbp + 0x23], 0x100
mov qword [rbp + 0x3f], rbx
mov dword [rsp + 0x20], 1
mov qword [rbp + 0x47], rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x140043872
test r14d, r14d
je 0x14004385e
mov rcx, qword [rbp - 0x39]
mov edx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140043b44
Capabilities:
Get file size
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor edi, edi
mov r14, rdx
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rsi, rcx
mov qword [rax + 0x18], rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x140043b9d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140043b9d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140043c07
cmp dword [rsp + 0x60], edi
jne 0x140043b90
lea ebx, [rbp + 1]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov rcx, rax
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rsi
mov rbx, rax
test rax, rax
je 0x140043b93
lea r9, [rsp + 0x68]
mov r8d, ebp
mov rdx, rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140043bf0
cmp dword [rsp + 0x68], ebp
jne 0x140043bf0
mov rdi, rbx
mov dword [r14], ebp
jmp 0x140043c04
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140044018
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x10
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rsp + 8], rax
movzx r10d, byte [rdx + 2]
movzx r11d, byte [rdx + 4]
movzx eax, byte [rdx + 3]
movzx edi, byte [rdx]
movzx esi, byte [rdx + 1]
shl r11d, 8
or r11d, eax
mov r14, r9
lea r15, [0x140000000]
shl r11d, 8
movzx ebx, cl
bts edi, 8
or r11d, r10d
and r10d, 7
mov rbp, r8
add r11d, r11d
sub r11d, r10d
add r11d, 8
mov eax, r11d
mov edx, r11d
shr rax, 8
shr rdx, 0x18
movzx ecx, al
movzx eax, r11b
movzx eax, byte [rax + r15 + 0x10e800]
movzx r9d, byte [rcx + r15 + 0x10e800]
shl eax, 8
or r9d, eax
mov eax, r11d
shr rax, 0x10
shl r9d, 8
movzx ecx, al
movzx eax, byte [rcx + r15 + 0x10e800]
or r9d, eax
movzx eax, byte [rdx + r15 + 0x10e800]
shl r9d, 8
or r9d, eax
xor r10d, r10d
mov r11d, r10d
mov r8b, byte [rsi + r15 + 0x10e500]
mov esi, edi
mov ecx, r9d
xor r8b, byte [rdi + r15 + 0x10e600]
shr ecx, 0x13
and edi, 1
movzx eax, r8b
shl edi, 8
inc r11
xor edi, eax
mov eax, r9d
shr esi, 1
shr eax, 0xb
xor cl, al
mov eax, r9d
shr eax, 0xa
xor cl, al
mov eax, r9d
shr eax, 7
xor cl, al
mov eax, r9d
shr eax, 8
movzx edx, cl
mov ecx, edx
shl ecx, 0x18
mov r9d, ecx
or r9d, eax
movzx eax, r8b
movzx ecx, byte [rax + r15 + 0x10e800]
mov eax, ebx
xor eax, edx
add r10d, eax
add r10d, ecx
mov byte [rsp + r11 - 1], r10b
shr r10d, 8
cmp r11, 5
jl 0x1400440e1
movzx eax, byte [rbp + 4]
mov dl, byte [rax + r15 + 0x10e400]
xor dl, byte [rbp + 3]
xor dl, byte [rsp + 4]
mov byte [r14 + 4], dl
movzx eax, byte [rbp + 3]
movzx edx, dl
mov cl, byte [rax + r15 + 0x10e400]
xor cl, byte [rbp + 2]
xor cl, byte [rsp + 3]
mov byte [r14 + 3], cl
movzx eax, byte [rbp + 2]
movzx ecx, cl
mov r10b, byte [rax + r15 + 0x10e400]
xor r10b, byte [rsp + 2]
xor r10b, byte [rbp + 1]
mov byte [r14 + 2], r10b
movzx eax, byte [rbp + 1]
mov r8b, byte [rax + r15 + 0x10e400]
xor r8b, byte [rbp]
xor r8b, byte [rsp + 1]
mov byte [r14 + 1], r8b
movzx eax, byte [rbp]
movzx r8d, r8b
mov r9b, byte [rax + r15 + 0x10e400]
xor r9b, dl
xor r9b, byte [rsp]
mov byte [r14], r9b
mov al, byte [rdx + r15 + 0x10e400]
movzx edx, r10b
xor al, cl
xor al, byte [rsp + 4]
mov byte [r14 + 4], al
mov al, byte [rcx + r15 + 0x10e400]
movzx ecx, r9b
xor al, dl
xor al, byte [rsp + 3]
mov byte [r14 + 3], al
mov al, byte [rdx + r15 + 0x10e400]
xor al, r8b
xor al, byte [rsp + 2]
mov byte [r14 + 2], al
mov al, byte [r8 + r15 + 0x10e400]
xor al, cl
xor al, byte [rsp + 1]
mov byte [r14 + 1], al
mov al, byte [rcx + r15 + 0x10e400]
xor al, byte [rsp]
mov byte [r14], al
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x10
pop r15
pop r14
pop rdi
ret
Function at 0x14004f6f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14016ff80], 0
mov r11, rcx
lea rsi, [0x14016ff90]
jne 0x14004f75c
mov dword [0x14016ff80], 1
xor r9d, r9d
mov r10, rsi
mov ebx, 0x100
mov rax, r9
mov ecx, 8
test al, 1
je 0x14004f745
shr rax, 1
movabs rdi, 0x95ac9329ac4bc9b5
xor rax, rdi
jmp 0x14004f748
shr rax, 1
dec rcx
jne 0x14004f72f
mov qword [r10], rax
inc r9
add r10, 8
dec rbx
jne 0x14004f727
test edx, edx
je 0x14004f782
mov rcx, qword [r8]
movzx eax, byte [r11]
inc r11
xor rax, rcx
shr rcx, 8
movzx eax, al
mov rax, qword [rsi + rax*8]
xor rax, rcx
mov qword [r8], rax
dec edx
jne 0x14004f760
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret