joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004de40
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14000c674
mov ecx, eax
lea rdx, [0x1400c5610]
call fcn.1400939d4
xor r9d, r9d
mov qword [0x1400f82d8], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.140093c4c
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14000c674
mov ecx, eax
lea rdx, [0x1400c80e0]
call fcn.1400939d4
xor r9d, r9d
mov qword [0x1400f82e0], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.140093c4c
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 0x4000
call fcn.14000c674
mov ecx, eax
lea rdx, [0x1400c80e0]
call fcn.1400939d4
xor r9d, r9d
mov qword [0x1400f82e8], rax
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 4]
call fcn.140093c4c
mov rax, qword [0x1400f82e0]
mov qword [0x1400fd220], rax
call fcn.14004a120
add rsp, 0x48
ret
Function at 0x140057ab0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x140057b0b
nop
mov rcx, qword [0x1400fbb68]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x140057b05
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x140057b25
add ebx, esi
cmp ebx, edi
jl 0x140057ad0
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140057b10

Function at 0x1400594f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140059518
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140059518
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400917ec
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400f25e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140091836
call fcn.14000bd3c
mov dword [rax], recv
call fcn.14000bd5c
mov dword [rax], reloc.WS2_32.dll_listen
call fcn.1400099ac
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140058f20
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x140091841
lea eax, [rbx + 1]
jmp 0x140091823
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x140091821
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x140091823

Function at 0x14009c560
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14009c576
mov al, 1
jmp 0x14009c5d6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14009c587
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14009c5d4
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000c5fc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14009c5d4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14009c5d4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14009c5d4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14009c5d6
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400a6da4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001f924
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001f924
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400a6ef4
cmp rax, 0xffffffffffffffff
je 0x1400a6ef4
xor edi, edi
test rbp, rbp
jle 0x1400a6e9f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140007fcc
mov rbx, rax
test rax, rax
jne 0x1400a6e2c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400a6e95
mov edx, 0x8000
mov ecx, r14d
call fcn.140002d68
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001ce14
cmp eax, 0xffffffff
je 0x1400a6e75
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400a6e3c
mov edx, r15d
mov ecx, r14d
call fcn.140002d68
jmp 0x1400a6e95
cmp byte [rsi + 0x38], dil
je 0x1400a6e8c
cmp dword [rsi + 0x34], 5
jne 0x1400a6e8c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1400a6e95
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140007794
jmp 0x1400a6f08
jns 0x1400a6f08
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001f924
cmp rax, 0xffffffffffffffff
jne 0x1400a6ec0
cmp byte [rsi + 0x30], dil
je 0x1400a6f08
mov edi, dword [rsi + 0x2c]
jmp 0x1400a6f08
mov ecx, r14d
call fcn.14000c5fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400a6f08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1400a6f08
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400a6f01
mov eax, dword [rsi + 0x2c]
jmp 0x1400a6f06
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001f924
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400ab0a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400ab2f0
mov r11d, eax
lea edx, [rax*4]
movsxd r9, edx
test edx, edx
jle 0x1400ab11d
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rcx, [rbx + 8]
nop
mov edx, dword [rcx - 8]
add r10, 4
mov eax, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rcx - 8], eax
lea rcx, [rcx + 0x10]
mov eax, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rcx - 0x14]
mov dword [rcx - 0x14], eax
mov eax, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rcx - 0x10]
mov dword [rcx - 0x10], eax
mov eax, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rcx - 0xc]
mov dword [rcx - 0xc], eax
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x1400ab0d0
cmp r11d, 1
jle 0x1400ab2d9
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
add rbx, 4
nop dword [rax + rax]
mov r9d, dword [rbx + 0x10]
lea rbx, [rbx + 0x10]
mov edx, dword [rbx - 4]
movzx eax, byte [rbx - 3]
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0xd5ba0]
movzx eax, byte [rdi + rax*4 + 0xd4fa0]
xor r8d, dword [rdi + rax*4 + 0xd53a0]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
movzx eax, byte [rbx - 2]
xor r8d, dword [rdi + rcx*4 + 0xd5fa0]
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0xd57a0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0xd57a0]
movzx eax, byte [rdi + rcx*4 + 0xd4fa0]
xor r8d, dword [rdi + rax*4 + 0xd5ba0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
movzx eax, r9b
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0xd53a0]
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0xd5fa0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx], r8d
movzx edx, byte [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0xd57a0]
movzx eax, byte [rdi + rcx*4 + 0xd4fa0]
xor r8d, dword [rdi + rax*4 + 0xd5ba0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
movzx eax, r9b
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0xd53a0]
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0xd5fa0]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [rbx + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0xd4fa0]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0xd57a0]
movzx eax, byte [rdi + rcx*4 + 0xd4fa0]
xor r8d, dword [rdi + rax*4 + 0xd5ba0]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0xd53a0]
movzx ecx, byte [rdi + rax*4 + 0xd4fa0]
xor r8d, dword [rdi + rcx*4 + 0xd5fa0]
mov dword [rbx + 8], r8d
sub r10, 1
jne 0x1400ab140
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x14002982c
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001ce24
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001ce24
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14002997c
cmp rax, 0xffffffffffffffff
je 0x14002997c
xor edi, edi
test rbp, rbp
jle 0x140029927
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f738
mov rbx, rax
test rax, rax
jne 0x1400298b4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14002991d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a758
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001db00
cmp eax, 0xffffffff
je 0x1400298fd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400298c4
mov edx, r15d
mov ecx, r14d
call fcn.14001a758
jmp 0x14002991d
cmp byte [rsi + 0x38], dil
je 0x140029914
cmp dword [rsi + 0x34], 5
jne 0x140029914
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14002991d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b4ec
jmp 0x140029990
jns 0x140029990
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001ce24
cmp rax, 0xffffffffffffffff
jne 0x140029948
cmp byte [rsi + 0x30], dil
je 0x140029990
mov edi, dword [rsi + 0x2c]
jmp 0x140029990
mov ecx, r14d
call fcn.140018c10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029990
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029990
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029989
mov eax, dword [rsi + 0x2c]
jmp 0x14002998e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001ce24
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002aa80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aaa8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aaa8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140a63000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x140a6300a
jmp 0x140a6500f
jmp fcn.140710058
Function at 0x14001515c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400151da
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400151d1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400151d1
mov rax, qword [rbp - 8]
jmp 0x1400151ef
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400151a4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400018e8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001932
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001932
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001932
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001932
cmp dword [rcx + 0x84], 0xe
jbe 0x140001932
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001934
xor al, al
add rsp, 0x28
ret
Function at 0x180945058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1809451df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180945089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18094506f
add dl, dl
jne 0x180945096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809450f6
xor eax, eax
add dl, dl
jne 0x1809450a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1809451ad
add dl, dl
jne 0x1809450b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809450c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809450d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1809450dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1809450ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18094507e
mov eax, 1
add dl, dl
jne 0x180945106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180945113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1809450fb
sub eax, ebx
mov ebx, 1
jne 0x18094514c
mov ecx, 1
add dl, dl
jne 0x18094512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18094513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180945123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180945168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180945175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18094515d
cmp eax, 0x7d00
jae 0x18094519b
cmp eax, 0x500
jb 0x180945196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094507e
cmp eax, 0x7f
ja 0x18094519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18094507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1809451d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x18094507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011208
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400144f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014510
xor al, al
jmp 0x140014591
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014523
xor al, al
jmp 0x140014591
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001454d
xor al, al
jmp 0x140014591
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014561
xor al, al
jmp 0x140014591
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014573
xor al, al
jmp 0x140014591
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001458f
xor al, al
jmp 0x140014591
mov al, 1
add rsp, 0x38
ret
Function at 0x1400123e0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113b1
movzx eax, al
test eax, eax
jne 0x140012400
mov ecx, 7
call fcn.14001132f
nop
mov byte [rsp + 0x20], 0
call fcn.140011343
mov byte [rsp + 0x21], al
cmp dword [0x14001db58], 1
jne 0x140012424
mov ecx, 7
call fcn.14001132f
nop
jmp 0x14001247c
cmp dword [0x14001db58], 0
jne 0x140012477
mov dword [0x14001db58], 1
lea rdx, [0x14001a660]
lea rcx, [0x14001a330]
call fcn.1400111a4
test eax, eax
je 0x140012458
mov eax, 0xff
jmp 0x140012581
lea rdx, [0x14001a220]
lea rcx, [section..rdata]
call fcn.140011339
mov dword [0x14001db58], 2
jmp 0x14001247c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001131b
call fcn.1400112b2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x1400124d9
mov rcx, qword [rsp + 0x30]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x1400124d9
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140024020]
nop
call fcn.1400112e4
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001250d
mov rcx, qword [rsp + 0x38]
call fcn.140011159
movzx eax, al
test eax, eax
je 0x14001250d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.140011370
nop
call fcn.140012630
mov dword [rsp + 0x28], eax
call fcn.14001128f
movzx eax, al
test eax, eax
jne 0x14001252c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001253b
call fcn.14001137a
nop
xor edx, edx
mov cl, 1
call fcn.14001114a
mov eax, dword [rsp + 0x28]
jmp 0x140012581
add rsp, 0x68
ret
Function at 0x140002150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000224b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002253
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x14000228a
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002260
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400022b5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400022db
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400022c0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a490
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4d5
xor al, al
jmp 0x14000a522
cmp word [rbx], 0
je 0x14000a4ed
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a4e0
cmp word [rsp + 0x30], 0
je 0x14000a51b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a543
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a500
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b510
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000d770
int3
Function at 0x14000ab90
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001c7a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002d510]
lea rsi, [0x14002f540]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac03
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a550
test al, al
je 0x14000acef
lea rcx, [rsp + 0x20]
call fcn.14001115c
movsxd r11, dword [0x14002d510]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002d510], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac44
mov r10, rsi
nop
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac34
add rax, 2
test ecx, ecx
jne 0x14000ac20
test edx, edx
je 0x14000ac67
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac10
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000ac50
cmp rax, 2
jne 0x14000ac6b
cmp word [rdi + 2], 0x3a
jne 0x14000ac6b
mov al, 1
jmp 0x14000acce
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ac98
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ac98
mov bl, 1
jmp 0x14000ac9c
test bl, bl
je 0x14000acc3
cmp dword [0x14002d510], 0x400
jge 0x14000acc3
mov rcx, rdi
call fcn.14001115c
movsxd rdx, dword [0x14002d510]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002d510], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b510
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000a9e0
int3