joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140026b0c
Capabilities:
Send data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x348]
sub rsp, 0x448
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rbp + 0x330], rax
and dword [rsp + 0x20], 0
mov rbx, rdx
mov r13, r8
mov r14, rcx
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov rcx, rbx
mov esi, r9d
call fcn.140026178
test r14, r14
jne 0x140026ba6
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140026b68
lea edi, [rbx + 0x38]
test esi, esi
je 0x140026b9e
lea r9, [0x140108148]
lea r8, [0x140108148]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.1400e9c20
add eax, 2
add eax, esi
add edi, eax
add edi, 0xc
jmp 0x140026cf4
lea r8, [0x14010814c]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s__r_n_r_n
lea rcx, [rsp + 0x30]
call fcn.1400e9c20
lea rdi, [rsp + 0x30]
mov r8b, 1
movsxd rcx, eax
add rdi, rcx
mov rcx, rbx
mov rdx, rdi
call fcn.140026178
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
movsxd rcx, eax
lea rax, [rsp + 0x30]
add rdi, rcx
mov rcx, r14
mov byte [rdi], 0xd
inc rdi
mov byte [rdi], 0xa
sub edi, eax
inc edi
mov r8d, edi
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140026cf6
test esi, esi
je 0x140026cab
lea r9, [0x140108148]
lea r8, [0x140108148]
lea rdx, str.__AaBbCc_r_nContent_disposition:_form_data__name__s___filename__s__r_nContent_Type:_octet_stream_r_nContent_Transfer_Encoding:_binary_r_n_r_n
lea rcx, [rsp + 0x30]
xor r15d, r15d
lea rbx, [rsp + 0x30]
call fcn.1400e9c20
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r12d, eax
lea rax, [rsp + 0x30]
mov rcx, r14
sub ebx, eax
add r12d, ebx
mov r8d, r12d
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140026cf4
add edi, r12d
mov r12d, 0x400
mov ebx, r12d
cmp esi, r12d
mov edx, r15d
cmovb ebx, esi
lea r9, [rsp + 0x20]
mov rcx, r14
mov r8d, ebx
add rdx, r13
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140026cf4
add edi, ebx
add r15d, ebx
sub esi, ebx
jne 0x140026c70
mov word [rsp + 0x30], 0xa0d
lea rdx, [rsp + 0x32]
jmp 0x140026cb0
lea rdx, [rsp + 0x30]
lea rcx, str.__AaBbCc___r_n
sub rdx, rcx
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140026cba
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140026ccf
lea r9, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov r8d, ebx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x140026cf4
add edi, ebx
mov eax, edi
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x448
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140026df0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0xe0]
lea rdx, [rsp + 0x30]
call fcn.14002132c
mov rbx, rax
test rax, rax
je 0x140026e92
mov r8d, dword [rsp + 0x30]
mov r9d, eax
mov rcx, rbx
shl r9d, 8
mov eax, r8d
mov edx, r8d
add r9d, r8d
shr eax, 2
mov dword [rsp + 0x38], r9d
test eax, eax
je 0x140026e4e
mov r8d, eax
xor dword [rcx], r9d
add rcx, 4
dec r8
jne 0x140026e3d
mov r8d, dword [rsp + 0x30]
shl eax, 2
sub edx, eax
test edx, edx
jle 0x140026e73
lea r8, [rsp + 0x38]
sub r8, rcx
mov al, byte [r8 + rcx]
dec edx
xor byte [rcx], al
inc rcx
test edx, edx
jg 0x140026e5f
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.1400265d4
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140029ff4
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 0x14002a023
cmp dword [rsp + 0x40], ebx
jne 0x14002a023
mov al, 1
jmp 0x14002a025
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x14002ac79
Capabilities:
Encode data using xor

Disassembly:
sub dl, 0x41
je 0x14002ad96
push rbx
sub rsp, 0x70
mov rax, qword [0x140163470]
xor rax, rsp
mov qword [rsp + 0x60], rax
and dword [rsp + 0x48], 0
xor eax, eax
neg r8d
mov qword [rsp + 0x4c], rax
mov qword [rsp + 0x54], rax
sbb rbx, rbx
lea r10d, [rax + 1]
mov cl, dl
and rbx, 0xfffffffffffffffc
mov eax, r10d
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], 2
shl eax, cl
mov dword [rsp + 0x54], eax
test r9d, r9d
je 0x14002acd2
mov word [rsp + 0x58], r10w
cmp dword [rsp + 0xa0], 0
jne 0x14002ad4b
mov al, byte [0x1401428ee]
xor al, 0x57
cmp al, 2
jne 0x14002acf1
lea r8, [0x1401428f0]
jmp 0x14002ad3b
test al, al
jne 0x14002ad38
xor edx, edx
mov r9d, 0x13744057
lea r8, [0x1401428f0]
movzx eax, byte [rdx + r8]
mov ecx, r9d
shr ecx, 8
xor cl, al
add eax, r9d
mov byte [rdx + r8], cl
add rdx, r10
imul r9d, eax, 0xce6d
add r9d, 0x58bf
cmp rdx, 0x10
jl 0x14002ad04
mov byte [0x1401428ee], 0x55
jmp 0x14002ad3b
xor r8d, r8d
xor edx, edx
mov rcx, r8
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14002ad50
mov eax, 0xffff
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x48]
lea r8, [rbx + 0x8004]
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov edx, 0x219
mov dword [rsp + 0x28], 0x7d0
mov dword [rsp + 0x20], 3
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400e8bc0
add rsp, 0x70
pop rbx
ret
Function at 0x14002b0dc
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 0x14002b122
xor r9d, dword [r8]
inc rdx
add r8, 4
rol r9d, 3
cmp rdx, rcx
jb 0x14002b10f
mov rdx, r10
sub rdx, r8
cmp r8, r10
cmova rdx, r11
test rdx, rdx
je 0x14002b151
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 0x14002b13a
mov eax, r9d
ret

Function at 0x14002bc14
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 [0x140163470]
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, 0x4aed40a8
mov ecx, 0x438b0c53
mov r8d, 0x3a7051a
mov ebx, eax
call fcn.140001978
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 0x14002bcdd
dec esi
je 0x14002bcbb
dec esi
jne 0x14002bcb4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rsp + 0x40]
jmp 0x14002bd06
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x4000000
mov r8d, 5
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
jmp 0x14002bcf8
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.1400e8bc0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400319b0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor r9d, r9d
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea edx, [r9 + 0x23]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor edi, edi
test eax, eax
jns 0x1400319f7
lea edx, [rdi + 0x1a]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x1400319f7
mov word [rbx], di
lea rcx, [0x1401433ca]
mov edx, 0x61857263
mov r8d, 0x14
call fcn.1400019a8
lea rcx, [rbx - 2]
mov r8, rax
lea rcx, [rcx + 2]
cmp word [rcx], di
jne 0x140031a15
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x140031a20
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], di
jne 0x140031a40
lea rax, [rbx + rax*2]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140033d0d
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
jle 0x140033f6f
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 [0x140163470]
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 0x140033e45
lea rbx, [rsp]
and edx, 0xffffff
mov eax, esi
inc esi
movzx ecx, dl
xor rcx, rax
movzx eax, byte [rcx + r13 + 0x143880]
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 0x140033dfb
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 + 0x16ffb0]
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 0x140033e99
mov r9d, ecx
and r9d, 0xffffff
shl r9, 0x20
or r9, r11
xor r9, rdi
dec r8d
jns 0x140033e4b
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 0x140033d76
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e8bc0
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 0x140033f70
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 [0x140163470]
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 + 0x143880]
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 0x140033faf
mov r9d, 9
mov edx, dword [rsp + r9*4]
add edx, r10d
movzx ecx, dl
xor edx, dword [rsi + rcx*4 + 0x16ffb0]
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 0x140033ff9
shl rax, 0x20
or rax, r8
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret

Function at 0x140034048
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 [0x140163470]
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 + 0x143880]
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 0x140034097
mov edx, dword [rsp + r10*4]
inc r10
add edx, ebx
movzx ecx, dl
xor edx, dword [r14 + rcx*4 + 0x16ffb0]
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 0x1400340d9
mov eax, ecx
shl rax, 0x20
or rax, r9
xor rax, r11
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400e8bc0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140035534
Capabilities:
Encode data using xor

Disassembly:
mov r9, qword [rcx]
test r8d, r8d
je 0x140035566
mov r10d, r8d
movzx eax, byte [rdx]
movzx r8d, r9b
lea r11, [0x140108e20]
xor r8, rax
mov rax, r9
inc rdx
mov r9, qword [r11 + r8*8]
shr rax, 8
xor r9, rax
dec r10
jne 0x14003553f
mov qword [rcx], r9
ret
Function at 0x14003c808
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 [0x140163470]
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 0x14003c851
lea rbx, [rsp + 0x60]
mov edx, 0xd45371ef
mov ecx, 0x6c64b657
mov r8d, 0xfa0f0b2f
movzx r14d, si
lea rbx, [rbx + rax*2]
call fcn.140001db8
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 0x14003c8e0
xor al, al
jmp 0x14003c981
mov edx, 0x1cba8fcb
mov ecx, 0xa48d480d
mov r8d, 0x32e6f51c
call fcn.140001db8
mov edx, 0xb047bba2
mov ecx, 0x8707c14
mov r8d, 0x9e1bc173
mov rbx, rax
call fcn.140001db8
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.14003cc70
test eax, eax
je 0x14003c975
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003d010
mov rbx, rax
test rax, rax
je 0x14003c975
mov rdx, rbp
mov rcx, rax
call fcn.14003cd60
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.1400e8bc0
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003c9a8
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 [0x140163470]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov esi, edx
mov rdi, rcx
mov r8d, 0xce649c
mov edx, 0x2e921e4b
mov ecx, 0x96a5dae7
call fcn.140001db8
mov edx, 0x5d35b261
mov ecx, 0xe502752b
mov r8d, 0x7369c897
mov rbx, rax
call fcn.140001db8
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.1400ebf40
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 0x14003cab7
test esi, esi
je 0x14003caa1
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.1400e8bc0
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x380
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003cc70
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.1400ebf40
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 0x14003cd3e
test r14d, r14d
je 0x14003cd2a
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 0x14003d010
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 0x14003d069
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14003d069
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14003d0d3
cmp dword [rsp + 0x60], edi
jne 0x14003d05c
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 0x14003d05f
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 0x14003d0bc
cmp dword [rsp + 0x68], ebp
jne 0x14003d0bc
mov rdi, rbx
mov dword [r14], ebp
jmp 0x14003d0d0
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 0x14003fcb8
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 0x14003fd60
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 0x14003fd76
sub rsi, rcx
mov ecx, 4
mov eax, dword [rsi + rdi]
xor dword [rdi], eax
lea rdi, [rdi + 4]
dec rcx
jne 0x14003fd68
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140040bdc
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 0x140040c55
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.140040d10
mov ecx, InitCommonControls
mov al, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
dec rcx
jne 0x140040c33
movups xmm0, xmm6
add rsi, 0x10
sub rdi, 0x10
movdqu xmmword [rbp], xmm0
dec r14
jne 0x140040c1d
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