joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400de9cc
Capabilities:
Create thread
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f60]
mov eax, 0x3060
call fcn.1400f0b10
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x30a0], rbx
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov r15b, r8b
mov r12, rdx
xor r13d, r13d
mov ebx, 0x800
test r9, r9
jne 0x1400dea6c
mov dword [rsp + 0x20], ebx
lea r9, [0x14010f128]
lea r8, [rsp + 0x50]
lea rdx, str.ExternalViewer
lea rcx, [0x140110120]
call fcn.14009e864
mov r8d, ebx
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400dea7c
lea rdx, [rbp + 0x1f50]
jmp 0x1400dea6f
mov rdx, r9
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14008d254
cmp word [rsp + 0x50], r13w
jne 0x1400dea8b
xor al, al
jmp 0x1400dec7d
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0xf50]
call fcn.14008d254
mov rdx, rbx
lea rcx, [rbp + 0xf50]
call fcn.1400a74b4
lea rcx, [rsp + 0x50]
call fcn.140068258
test al, al
jne 0x1400deba1
mov eax, 0x22
cmp word [rsp + 0x50], ax
jne 0x1400deadb
mov edx, eax
lea rcx, [rsp + 0x52]
call fcn.1400f1ce0
jmp 0x1400deb80
lea rax, [rsp + 0x50]
jmp 0x1400deb80
lea rdx, [0x14011ee98]
mov rcx, rax
call fcn.1400fc848
mov rdi, rax
test rax, rax
je 0x1400deba1
mov rsi, rax
movzx ecx, word [rax]
jmp 0x1400deb0f
add rsi, 2
movzx ecx, word [rsi]
call fcn.14008ce28
test al, al
jne 0x1400deb08
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x1f50]
call fcn.14008d254
mov r8, rbx
lea rdx, [0x140113ab4]
lea rcx, [rbp + 0x1f50]
call fcn.14008d22c
mov r8, rbx
lea rdx, [rbp + 0xf50]
lea rcx, [rbp + 0x1f50]
call fcn.14008d22c
movzx r14d, word [rdi]
mov word [rdi], r13w
mov eax, 0x22
cmp word [rsp + 0x50], ax
je 0x1400deb8b
lea rcx, [rsp + 0x50]
call fcn.140068258
test al, al
jne 0x1400deb8b
mov word [rdi], r14w
lea rax, [rsi + 2]
test rax, rax
jne 0x1400deae5
jmp 0x1400deba1
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.14008d254
mov ecx, dword [0x1401dfe10]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401b2db0], ecx
jle 0x1400debff
lea rcx, [0x1401b2db0]
call fcn.1400f12b0
cmp dword [0x1401b2db0], 0xffffffff
jne 0x1400debff
lea rcx, [0x1401b2cae]
call fcn.14008a400
nop
lea rcx, [0x14010d6a8]
call fcn.1400f10c0
nop
lea rcx, [0x1401b2db0]
call fcn.1400f1250
mov r8b, 1
mov rdx, r12
lea rbx, [0x1401aec80]
mov rcx, rbx
call fcn.1400df250
test r15b, r15b
sete al
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], al
lea r9, [rbp + 0xf50]
xor r8d, r8d
lea rdx, [rsp + 0x50]
xor ecx, ecx
call fcn.1400e0370
test al, al
jne 0x1400dec4f
mov rcx, rbx
call fcn.1400ddf7c
jmp 0x1400dea84
test r15b, r15b
je 0x1400dec73
cmp qword [0x1401aec80], r13
je 0x1400dec73
mov r8, rbx
mov edx, 0x10000
lea rcx, [0x1400de268]
call fcn.1400f8538
jmp 0x1400dec7b
mov rcx, rbx
call fcn.1400ddf7c
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x30a0]
add rsp, 0x3060
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400deca8
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x1060
call fcn.1400f0b10
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1070], rbx
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rdx
mov rcx, rdx
call fcn.1400df920
test al, al
je 0x1400ded1d
mov ecx, 0x65
call fcn.140087094
mov rbx, rax
mov ecx, 0x596
call fcn.140087094
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [0x140148b90]
call int.1400c5f20
jmp 0x1400dee94
cmp byte [0x140148c34], 0
jne 0x1400ded69
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call fcn.1400e0370
test al, al
jne 0x1400dee94
mov ecx, 0x201
call fcn.140087094
mov rcx, rax
mov rdx, rbx
call fcn.1400ca204
jmp 0x1400dee94
mov cl, 1
call fcn.1400bfca8
mov r9b, 1
mov esi, 0x800
mov r8d, esi
lea rdx, [0x14015665e]
lea rcx, str.Rar_EX
call fcn.1400c4c3c
test al, al
je 0x1400dee94
mov r8d, esi
lea rdx, [0x14015fab2]
lea rcx, [0x14016b2d0]
call fcn.140005240
mov eax, dword [0x14016b2d4]
mov dword [0x14015ca54], eax
lea rdx, [0x14010f558]
lea rcx, [0x140160ab8]
call fcn.14008d2c4
mov dword [0x14015ba44], 4
mov r9d, esi
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [0x14015665e]
call fcn.140077ff0
xor r8d, r8d
xor edx, edx
lea rcx, [0x14016b2d0]
call fcn.140004dc0
cmp byte [0x140148c37], 0
jne 0x1400dee94
mov ecx, dword [0x1401dfe10]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401bb030], ecx
jle 0x1400dee68
lea rcx, [0x1401bb030]
call fcn.1400f12b0
cmp dword [0x1401bb030], 0xffffffff
jne 0x1400dee68
lea rcx, [0x1401baf2e]
call fcn.14008a400
nop
lea rcx, [0x14010d6c8]
call fcn.1400f10c0
nop
lea rcx, [0x1401bb030]
call fcn.1400f1250
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [0x1401b6f00]
call fcn.1400df250
lea r8, [0x1401b6f00]
mov edx, 0x10000
lea rcx, [0x1400de268]
call fcn.1400f8538
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rsi
ret
Function at 0x1400df0a0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x6010]
mov eax, 0x6110
call fcn.1400f0b10
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x6000], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, r8
call fcn.140078548
mov r10, rax
or rdx, 0xffffffffffffffff
mov r8, rdx
xor ebx, ebx
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400df0f0
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400df0fa
lea rax, [rdx + 1]
add rax, r8
mov r14d, 0x1000
cmp rax, r14
jb 0x1400df11c
xor al, al
jmp 0x1400df233
mov r9, r14
lea r8, [rbp + 0x4000]
mov rdx, r10
mov rcx, rdi
call fcn.140077ff0
lea rcx, [rsp + 0x40]
call fcn.14008d288
nop
mov dword [rsp + 0x20], r14d
lea r9, [0x14010f128]
lea r8, [rbp + 0x2000]
lea rdx, str.ViewerIgnoreModifications
lea rcx, [0x140110120]
call fcn.14009e864
cmp word [rbp + 0x2000], bx
je 0x1400df182
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2000]
call fcn.1400a76d4
mov r14d, 0x800
mov r8, r14
lea rdx, [rbp + 0x1000]
lea rcx, [rsp + 0x40]
call fcn.14008d398
test al, al
je 0x1400df227
mov r8d, r14d
lea rdx, [rbp]
lea rcx, [rbp + 0x1000]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400df188
lea rdx, [0x14011ed1c]
lea rcx, [rbp + 2]
call fcn.1400f3168
mov rdi, rax
test rax, rax
je 0x1400df204
mov word [rax], bx
add rdi, 4
cmp word [rdi], bx
jne 0x1400df1ec
lea rdi, [0x14010f558]
mov r8d, 5
mov rdx, rsi
lea rcx, [rbp]
call fcn.14006bdb4
test al, al
je 0x1400df188
jmp 0x1400df208
lea rdi, [rbp]
mov r8d, 5
lea rdx, [rbp + 0x4000]
mov rcx, rdi
call fcn.14006bdb4
test al, al
je 0x1400df188
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140004190
mov al, bl
mov rcx, qword [rbp + 0x6000]
xor rcx, rsp
call fcn.1400f0b80
add rsp, 0x6110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e0370
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1fa0]
mov eax, 0x20a0
call fcn.1400f0b10
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x1f90], rax
mov rsi, qword [rbp + 0x2008]
lea rcx, [rsp + 0x20]
mov rbx, qword [rbp + 0x2010]
mov rdi, rdx
xor edx, edx
mov r15, r8
mov r12, r9
lea r8d, [rdx + 0x70]
call fcn.1400f1d90
mov eax, 0x500
mov dword [rsp + 0x20], 0x70
xor r13d, r13d
mov qword [rsp + 0x38], rdi
cmp byte [rbp + 0x2000], r13b
mov qword [rsp + 0x30], rbx
lea ecx, [rax + 0x40]
cmove eax, ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
call fcn.1400778d8
test rax, rax
je 0x1400e040d
cmp word [rax], 0x2e
jne 0x1400e041e
cmp word [rax + 2], r13w
jne 0x1400e041e
or dword [rsp + 0x24], 1
lea rax, [0x14010f974]
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
call fcn.140078548
cmp rax, rdi
jne 0x1400e0469
lea rdx, [0x14010f580]
mov rcx, rdi
call fcn.140076bc8
test al, al
jne 0x1400e0469
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp - 0x70]
call fcn.14000269c
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x140148c35], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1400e04be
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400e04a5
test rsi, rsi
je 0x1400e049e
mov qword [rsi], r13
mov al, 1
jmp 0x1400e0587
cmp qword [rsp + 0x30], r13
je 0x1400e04be
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x140148c35], r13b
test ebx, ebx
je 0x1400e0585
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x1400e0585
cmp byte [rbp + 0x2000], r13b
jne 0x1400e049e
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x1400e052c
movsxd rdx, dword [0x1401aec70]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1aeb70], r8
mov qword [rdi + rdx*8 + 0x1aebf0], rax
inc edx
and edx, 0x8000000f
jge 0x1400e0524
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401aec70], edx
jmp 0x1400e0574
mov rbx, r13
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1aebf0], rax
jne 0x1400e0567
mov rcx, qword [rbx + rdi + 0x1aeb70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400e0563
mov r8, qword [rbx + rdi + 0x1aeb70]
mov qword [rbp - 0x78], r8
jmp 0x1400e0567
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x1400e052f
test rsi, rsi
je 0x1400e049e
mov qword [rsi], r8
jmp 0x1400e049e
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.1400f0b80
add rsp, 0x20a0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e0acc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140148cd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e0b1b
mov ecx, 0x2bc
call fcn.140087094
mov ecx, 0x2bd
mov rbx, rax
call fcn.140087094
mov rcx, qword [0x140148b90]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
add rsp, 0x20
pop rbx
jmp int.1400c5f20
xor r8d, r8d
lea rdx, [0x140148cd0]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400df3b8
Function at 0x1400e37d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movsxd r13, dword [rdx + 0x1c]
lea r9, [0x140000000]
mov r14, qword [rdx]
xor ebx, ebx
mov r11, qword [rdx + 8]
or esi, 0xffffffff
mov dword [rsp + 0x70], esi
mov ebp, 0x23d
mov dword [0x1401be974], ebx
mov r12, rcx
mov dword [0x1401be978], ebp
mov r15, rdx
lea r10d, [rsi + 2]
mov edi, ebx
mov r8d, ebx
mov ecx, ebx
test r13d, r13d
jle 0x1400e387b
cmp word [r14 + rcx*4], bx
je 0x1400e3861
add edi, r10d
mov dword [rsp + 0x70], r8d
movsxd rax, edi
mov esi, r8d
mov dword [0x1401be974], edi
mov dword [r9 + rax*4 + 0x1be080], r8d
cmp rcx, rbp
jae 0x1400e3a51
mov byte [rcx + r9 + 0x1be980], bl
jmp 0x1400e3867
mov word [r14 + rcx*4 + 2], bx
add r8d, r10d
add rcx, r10
cmp rcx, r13
jl 0x1400e382b
cmp edi, 2
jge 0x1400e3911
mov r9d, dword [0x1401befb8]
mov r8d, dword [0x1401defc0]
movsxd rdx, esi
cmp esi, 2
jge 0x1400e38a3
add esi, r10d
add rdx, r10
mov dword [rsp + 0x70], esi
mov rcx, rdx
mov r10d, esi
jmp 0x1400e38a9
mov r10d, ebx
mov rcx, rbx
inc edi
lea rbx, [0x140000000]
movsxd rax, edi
mov dword [0x1401be974], edi
mov dword [rbx + rax*4 + 0x1be080], r10d
mov r10d, 1
mov word [r14 + rcx*4], r10w
lea ebx, [r10 - 1]
cmp rcx, rbp
jae 0x1400e3a57
dec r9d
lea rax, [0x140000000]
mov byte [rcx + rax + 0x1be980], bl
mov dword [0x1401befb8], r9d
test r11, r11
je 0x1400e3908
movzx eax, word [r11 + rcx*4 + 2]
sub r8d, eax
mov dword [0x1401defc0], r8d
cmp edi, 2
jl 0x1400e388c
mov eax, edi
mov dword [r15 + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp eax, r10d
jl 0x1400e393f
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.1400e4bb8
mov r10d, 1
sub ebx, r10d
cmp ebx, r10d
jge 0x1400e3923
lea rsi, [0x140000000]
jmp 0x1400e394b
mov r10, r15
movsxd rbx, dword [0x1401be084]
mov r8d, r10d
movsxd rax, edi
mov rdx, r14
sub edi, r10d
mov rcx, r12
mov dword [0x1401be974], edi
mov eax, dword [rsi + rax*4 + 0x1be080]
mov dword [0x1401be084], eax
call fcn.1400e4bb8
movsxd rcx, dword [0x1401be084]
mov r15d, 1
mov r9, rcx
movsxd rdx, r13d
sub ebp, r15d
mov r8d, r15d
movsxd rax, ebp
sub ebp, r15d
mov dword [rsi + rax*4 + 0x1be080], ebx
movsxd rax, ebp
mov dword [rsi + rax*4 + 0x1be080], ecx
movzx eax, word [r14 + rcx*4]
add ax, word [r14 + rbx*4]
mov word [r14 + rdx*4], ax
mov al, byte [rcx + rsi + 0x1be980]
cmp byte [rbx + rsi + 0x1be980], al
cmova ecx, ebx
movsxd rax, ecx
mov cl, byte [rax + rsi + 0x1be980]
add cl, r15b
mov word [r14 + r9*4 + 2], r13w
mov byte [rdx + rsi + 0x1be980], cl
mov rdx, r14
mov word [r14 + rbx*4 + 2], r13w
mov rcx, r12
mov dword [0x1401be084], r13d
add r13d, r15d
call fcn.1400e4bb8
cmp edi, 2
jge 0x1400e3948
mov eax, dword [0x1401be084]
sub ebp, r15d
mov rdx, qword [rsp + 0x68]
movsxd rcx, ebp
mov dword [0x1401be978], ebp
mov dword [rsi + rcx*4 + 0x1be080], eax
mov rcx, r12
call fcn.1400e4850
mov r8d, dword [rsp + 0x70]
mov rdx, r14
mov rcx, r12
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
jmp fcn.1400e4a8c
call fcn.1400f08ec
int3
call fcn.1400f08ec
int3
Function at 0x1400e6e44
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2fa0]
mov eax, 0x30a0
call fcn.1400f0b10
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x30e0], rbx
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x2f90], rax
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov rax, rdx
mov r9, r8
sub r9, rdx
movzx edx, word [rax]
movzx r8d, word [rax + r9]
sub edx, r8d
jne 0x1400e6eaf
add rax, 2
test r8d, r8d
jne 0x1400e6e99
test edx, edx
je 0x1400e70b4
xor r14b, r14b
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rbp + 0x1f90]
call fcn.1400f7c88
mov r15d, eax
mov r13d, 1
cmp word [rbp + 0x1f90], 0x5c
je 0x1400e6f25
cmp word [rsi], 0x5c
je 0x1400e6f25
cmp word [rdi], 0x5c
je 0x1400e6f25
movzx ecx, word [rsi]
call fcn.1400f7c88
mov ebx, eax
movzx ecx, word [rdi]
call fcn.1400f7c88
cmp word [rsi + 2], 0x3a
cmovne ebx, r15d
cmp word [rdi + 2], 0x3a
cmovne eax, r15d
movzx r14d, r14b
cmp ebx, eax
cmovne r14d, r13d
mov rcx, rdi
call fcn.140068258
test al, al
je 0x1400e6f8a
lea rcx, [rsp + 0x30]
call fcn.140066b5c
nop
mov r8d, r13d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140067130
test al, al
je 0x1400e6f76
lea rcx, [rsp + 0x30]
call fcn.140066c4c
test al, al
je 0x1400e6f76
mov rcx, rdi
call fcn.140067f70
test al, al
je 0x1400e6f76
lea rcx, [rsp + 0x30]
call fcn.140066b98
jmp 0x1400e6f8a
lea rcx, [rsp + 0x30]
call fcn.140066b98
mov eax, 0xf
jmp 0x1400e70b6
test r14b, r14b
jne 0x1400e6fa7
mov rdx, rdi
mov rcx, rsi
call fcn.14006896c
test al, al
sete al
test al, al
je 0x1400e70b4
lea rcx, [rsp + 0x30]
call fcn.140066b5c
nop
lea rcx, [rbp + 0xf60]
call fcn.140066b5c
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140067130
test al, al
jne 0x1400e6fec
mov rdx, rsi
lea rcx, [0x14017f1b0]
call fcn.140062338
mov ebx, 0xa
jmp 0x1400e7079
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0xf60]
call fcn.140066e00
test al, al
jne 0x1400e700c
mov ebx, 0xf
jmp 0x1400e7079
xor edx, edx
lea rcx, [0x14017f1b0]
call fcn.140062444
or r9, 0xffffffffffffffff
lea r8, [rbp + 0xf60]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400e68dc
mov r14d, eax
lea rcx, [rsp + 0x30]
call fcn.140066c4c
lea rcx, [rbp + 0xf60]
call fcn.140066c4c
mov dl, r13b
lea rcx, [0x14017f1b0]
call fcn.140062444
test r14d, r14d
je 0x1400e7094
mov rcx, rdi
call fcn.140067f70
mov eax, 0xe
lea ebx, [rax - 4]
cmp r14d, ebx
cmove r14d, eax
mov ebx, r14d
lea rcx, [rbp + 0xf60]
call fcn.140066b98
nop
lea rcx, [rsp + 0x30]
call fcn.140066b98
mov eax, ebx
jmp 0x1400e70b6
mov rcx, rsi
call fcn.140067f70
nop
lea rcx, [rbp + 0xf60]
call fcn.140066b98
nop
lea rcx, [rsp + 0x30]
call fcn.140066b98
xor eax, eax
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x30e0]
add rsp, 0x30a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400e7438
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xd0
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
inc dword [rcx + 0x1f4]
mov r14d, r8d
cmp dword [rcx + 0x1f4], 1
mov rdi, rdx
mov rsi, rcx
jne 0x1400e748d
xor ecx, ecx
call fcn.1400fd380
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
xor eax, ebx
mov ecx, eax
call fcn.1400fd2d0
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008a548
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e75e4
xor ebp, ebp
mov r12d, 0xfffd
call fcn.1400fd2a4
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
sar eax, 7
and ebx, r12d
movzx edi, al
or ebx, 2
mov edx, edi
call fcn.1400e7640
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor al, dil
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400e74b5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e75e4
xor ebp, ebp
mov edi, dword [rsi + 0x1f0]
mov rcx, rsi
movzx ebx, byte [rsp + rbp + 0x30]
and edi, r12d
mov edx, ebx
or edi, 2
call fcn.1400e7640
mov eax, edi
xor eax, 1
imul eax, edi
shr eax, 8
xor al, bl
mov byte [rsp + rbp + 0x30], al
inc rbp
cmp rbp, 0xa
jl 0x1400e7500
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.14008a7b8
mov edi, dword [rsi + 0x1f0]
mov ebx, r14d
shr ebx, 0x10
and edi, r12d
movzx edx, bl
mov rcx, rsi
or edi, 2
call fcn.1400e7640
mov eax, edi
shr r14d, 0x18
xor eax, 1
mov edx, r14d
imul eax, edi
mov rcx, rsi
shr eax, 8
xor al, bl
mov ebx, dword [rsi + 0x1f0]
and ebx, r12d
mov byte [rsp + 0x3a], al
or ebx, 2
call fcn.1400e7640
and dword [rsp + 0x20], 0
lea rdx, [rsp + 0x30]
mov eax, ebx
mov r9d, 0xc
xor eax, 1
mov rcx, rsi
imul eax, ebx
lea r8d, [r9 - 0xb]
shr eax, 8
xor al, r14b
mov byte [rsp + 0x3b], al
call fcn.1400e6460
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f0b80
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400e7640
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, dword [rcx + 0x1e8]
lea rbx, [0x1401deff0]
mov r10, rcx
mov eax, edx
mov r11d, edx
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
mov edx, dword [r10 + 0x1f0]
mov r8d, dword [rbx + rax*4]
xor r8d, r9d
mov dword [rcx + 0x1e8], r8d
movzx eax, r8b
add eax, dword [rcx + 0x1ec]
imul ecx, eax, 0x8088405
inc ecx
mov dword [r10 + 0x1ec], ecx
shr rcx, 0x18
xor rcx, rdx
shr edx, 8
movzx eax, cl
mov eax, dword [rbx + rax*4]
mov rbx, qword [rsp + 8]
xor eax, edx
mov dword [r10 + 0x1f0], eax
mov eax, r11d
ret
Function at 0x1400e76bc
Capabilities:
Encode data using xor

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, 0x30
cmp byte [0x140159770], 0
mov rbp, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
je 0x1400e774b
cmp byte [rcx + 4], 0
je 0x1400e7708
mov edx, ebp
lea r8, [rcx + 8]
imul edx, r14d
mov rcx, r15
call fcn.1400b4598
jmp 0x1400e774b
mov rdi, r14
mov r12, r15
imul rdi, rbp
test rdi, rdi
je 0x1400e774b
mov ebx, dword [rsi + 0x1f0]
mov rcx, rsi
movsx edx, byte [r12]
and ebx, 0xfffd
or ebx, 2
call fcn.1400e7640
mov eax, ebx
xor eax, 1
imul eax, ebx
shr eax, 8
xor byte [r12], al
inc r12
sub rdi, 1
jne 0x1400e7717
and dword [rsp + 0x20], 0
mov r9, rbp
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1400e6460
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x1400ef6cc
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ef704
test al, 0x10
jne 0x1400ef700
and eax, 0xffffffdf
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400ef704
mov al, 1
jmp 0x1400ef71a
mov rdx, qword [rdi + 0x64b7d8]
mov r8, rbx
mov ecx, 0x11
call fcn.140003fd4
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f1660
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]
push r11
mov r11, qword [r14 + 0x10]
add r14, 0x18
mov r15, qword [r14]
mov r12, r15
add r12, 0x10
mov r14, qword [r12]
push rax
mov r12, qword [r14 + 0x30]
cmp r12, 0
je 0x1400f16ba
mov r15, qword [r14 + 0x60]
mov rax, qword [r15]
and eax, 0xdf00df
mov r15, qword [r15 + 0xb]
add r15d, eax
shr r15d, 2
sub r15d, 0xc914cd2
cmp r15, 0
je 0x1400f16c2
mov r14, qword [r14]
jmp 0x1400f168b
mov r14d, dword [r12 + 0x3c]
add r14, r12
add r14, 0x10
mov r15d, dword [r14 + 0x78]
add r15, r12
push r10
mov eax, dword [r15 + 0x20]
add rax, r12
mov r10d, dword [rax]
add r10, r12
mov r14d, dword [r10 + 0xb]
sub r14d, 0x746365
cmp r14d, 0
invalid
Function at 0x1400fd89c
Capabilities:
Parse pe header

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 r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400fd670
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400fd670
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400fd670
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400fd670
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400fd670
cmp dword [rcx + 0x84], 0xe
jbe 0x1400fd670
cmp dword [rcx + 0xf8], esi
je 0x1400fd670
mov ecx, r14d
call fcn.1400fd7b8
mov ecx, 2
call fcn.140102e14
nop
cmp byte [0x1401e0000], 0
jne 0x1400fd73a
mov r15d, 1
mov eax, r15d
xchg dword [0x1401dfff0], eax
test ebx, ebx
jne 0x1400fd6e3
mov rdi, qword [0x1401412b0]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401dfff8]
cmp rcx, rax
je 0x1400fd6da
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.1400136f8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401e0138]
jmp 0x1400fd6ef
cmp ebx, r15d
jne 0x1400fd6f5
lea rcx, [0x1401e0150]
call fcn.1400fe350
nop
test ebx, ebx
jne 0x1400fd70c
lea rdx, [0x14010f018]
lea rcx, [0x14010eff8]
call fcn.1400fe68c
lea rdx, [0x14010f028]
lea rcx, [0x14010f020]
call fcn.1400fe68c
movzx eax, byte [0x1401e0000]
test esi, esi
cmove eax, r15d
mov byte [0x1401e0000], al
jmp 0x1400fd73a
mov ecx, 2
call fcn.140102e68
test esi, esi
jne 0x1400fd751
mov ecx, r14d
call fcn.1400fd76c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400fd600