joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e7830
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0xf78]
mov eax, 0x1070
call fcn.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0xf60], rax
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x55b00
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov edi, 0xc
lea r8, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea rdx, str.VerInfo
lea rcx, [0x14011c730]
call fcn.1400a78b4
lea esi, [rdi - 0xb]
mov ebx, 0x800
mov r8b, sil
lea rcx, [rsp + 0x60]
mov edx, ebx
call fcn.14007f7fc
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.14007e920
mov r8d, ebx
lea rdx, str.version.dat
lea rcx, [rsp + 0x60]
call fcn.140096160
and dword [rsp + 0x40], 0
lea rdx, [0x140120cd8]
lea rcx, [rsp + 0x60]
call fcn.1400705bc
mov rbx, rax
test rax, rax
je 0x1400e790b
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
mov edx, esi
call fcn.140107984
mov rcx, rbx
call fcn.1401039a8
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
je 0x1400e79bc
lea rdx, str.VerInfo
mov r9, rdi
lea rcx, [0x14011c730]
cmp dword [rsp + 0x40], eax
je 0x1400e7994
lea r8, [rsp + 0x50]
call fcn.1400a84f0
call fcn.1400a81f4
test al, al
jne 0x1400e7977
lea rdx, [0x14011cb30]
lea rcx, [rsp + 0x60]
call fcn.1400705bc
mov rbx, rax
test rax, rax
je 0x1400e7977
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
call fcn.140103d74
mov rcx, rbx
call fcn.1401039a8
call fcn.1400a81fc
neg al
mov edx, 0x168
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [0x140167e44], ecx
jmp 0x1400e7a53
movsd xmm0, qword [rsp + 0x40]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x48]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.1400a84f0
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jne 0x1400e7a13
cmp dword [rsp + 0x40], eax
je 0x1400e7a13
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.1400a81f4
test al, al
jne 0x1400e7a13
lea rdx, [0x14011cb30]
lea rcx, [rsp + 0x60]
call fcn.1400705bc
mov rbx, rax
test rax, rax
je 0x1400e7a13
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
call fcn.140103d74
mov rcx, rbx
call fcn.1401039a8
mov ecx, dword [rsp + 0x38]
mov eax, dword [rsp + 0x58]
shl rax, 0x20
shl rcx, 0x20
sub rax, rcx
mov ecx, dword [rsp + 0x34]
sub rax, rcx
mov ecx, dword [rsp + 0x54]
add rax, rcx
movabs rcx, 0xc92a69c000
cqo
idiv rcx
mov edx, 0x168
test eax, eax
cmovs eax, edx
mov dword [0x140167e44], eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400fc4d0
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400e891c
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov bl, r8b
mov rdi, rdx
mov ecx, dword [0x1401fe980]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d5a60], eax
jle 0x1400e8999
lea rcx, [0x1401d5a60]
call fcn.1400fcc08
cmp dword [0x1401d5a60], 0xffffffff
jne 0x1400e8999
lea rcx, [0x1401d595e]
call fcn.140093450
nop
lea rcx, [0x1401197c0]
call fcn.1400fca14
nop
lea rcx, [0x1401d5a60]
call fcn.1400fcba8
mov r8b, 1
mov rdx, rdi
lea rsi, [0x1401d1930]
mov rcx, rsi
call fcn.1400ea134
test bl, bl
sete al
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], al
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call fcn.1400eb2b8
test al, al
jne 0x1400e89f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.1400e8d9c
cmp ebx, 0x4c7
sete al
jmp 0x1400e8a15
test bl, bl
je 0x1400e8a0b
mov r8, rsi
mov edx, 0x10000
lea rcx, [0x1400e90b0]
call fcn.14010413c
jmp 0x1400e8a13
mov rcx, rsi
call fcn.1400e8d9c
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400e9858
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.1400fc460
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x30a0], rbx
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x2f50], rax
mov r15b, r8b
mov r12, rdx
xor r13d, r13d
mov ebx, 0x800
test r9, r9
jne 0x1400e98f8
mov dword [rsp + 0x20], ebx
lea r9, [0x14011bd58]
lea r8, [rsp + 0x50]
lea rdx, str.ExternalViewer
lea rcx, [0x14011d158]
call fcn.1400a7a28
mov r8d, ebx
lea rdx, [rbp + 0x1f50]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400e9908
lea rdx, [rbp + 0x1f50]
jmp 0x1400e98fb
mov rdx, r9
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.140096188
cmp word [rsp + 0x50], r13w
jne 0x1400e9917
xor al, al
jmp 0x1400e9b09
mov r8, rbx
mov rdx, r12
lea rcx, [rbp + 0xf50]
call fcn.140096188
mov rdx, rbx
lea rcx, [rbp + 0xf50]
call fcn.1400b0700
lea rcx, [rsp + 0x50]
call fcn.14006f688
test al, al
jne 0x1400e9a2d
mov eax, 0x22
cmp word [rsp + 0x50], ax
jne 0x1400e9967
mov edx, eax
lea rcx, [rsp + 0x52]
call fcn.1400fd63c
jmp 0x1400e9a0c
lea rax, [rsp + 0x50]
jmp 0x1400e9a0c
lea rdx, [0x140136ee8]
mov rcx, rax
call fcn.140108448
mov rdi, rax
test rax, rax
je 0x1400e9a2d
mov rsi, rax
movzx ecx, word [rax]
jmp 0x1400e999b
add rsi, 2
movzx ecx, word [rsi]
call fcn.140095d70
test al, al
jne 0x1400e9994
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x1f50]
call fcn.140096188
mov r8, rbx
lea rdx, [0x140120cb4]
lea rcx, [rbp + 0x1f50]
call fcn.140096160
mov r8, rbx
lea rdx, [rbp + 0xf50]
lea rcx, [rbp + 0x1f50]
call fcn.140096160
movzx r14d, word [rdi]
mov word [rdi], r13w
mov eax, 0x22
cmp word [rsp + 0x50], ax
je 0x1400e9a17
lea rcx, [rsp + 0x50]
call fcn.14006f688
test al, al
jne 0x1400e9a17
mov word [rdi], r14w
lea rax, [rsi + 2]
test rax, rax
jne 0x1400e9971
jmp 0x1400e9a2d
mov r8, rbx
lea rdx, [rbp + 0x1f50]
lea rcx, [rbp + 0xf50]
call fcn.140096188
mov ecx, dword [0x1401fe980]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401d1920], ecx
jle 0x1400e9a8b
lea rcx, [0x1401d1920]
call fcn.1400fcc08
cmp dword [0x1401d1920], 0xffffffff
jne 0x1400e9a8b
lea rcx, [0x1401d181e]
call fcn.140093450
nop
lea rcx, [0x1401197e0]
call fcn.1400fca14
nop
lea rcx, [0x1401d1920]
call fcn.1400fcba8
mov r8b, 1
mov rdx, r12
lea rbx, [0x1401cd7f0]
mov rcx, rbx
call fcn.1400ea134
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.1400eb2b8
test al, al
jne 0x1400e9adb
mov rcx, rbx
call fcn.1400e8d9c
jmp 0x1400e9910
test r15b, r15b
je 0x1400e9aff
cmp qword [0x1401cd7f0], r13
je 0x1400e9aff
mov r8, rbx
mov edx, 0x10000
lea rcx, [0x1400e90b0]
call fcn.14010413c
jmp 0x1400e9b07
mov rcx, rbx
call fcn.1400e8d9c
mov al, 1
mov rcx, qword [rbp + 0x2f50]
xor rcx, rsp
call fcn.1400fc4d0
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 0x1400e9b34
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x1060
call fcn.1400fc460
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1070], rbx
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbx, rdx
mov rcx, rdx
call fcn.1400ea85c
test al, al
je 0x1400e9ba9
mov ecx, 0x65
call fcn.1400900b8
mov rbx, rax
mov ecx, 0x596
call fcn.1400900b8
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [0x140166d18]
call fcn.1400d00d0
jmp 0x1400e9d20
cmp byte [0x140166ce4], 0
jne 0x1400e9bf5
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.1400eb2b8
test al, al
jne 0x1400e9d20
mov ecx, 0x201
call fcn.1400900b8
mov rcx, rax
mov rdx, rbx
call fcn.1400d4924
jmp 0x1400e9d20
mov cl, 1
call fcn.1400c9ca4
mov r9b, 1
mov esi, 0x800
mov r8d, esi
lea rdx, [0x14017589e]
lea rcx, str.Rar_EX
call fcn.1400cecd0
test al, al
je 0x1400e9d20
mov r8d, esi
lea rdx, [0x14017edfa]
lea rcx, [0x14018a710]
call fcn.14000606c
mov eax, dword [0x14018a714]
mov dword [0x14017bd98], eax
lea rdx, [0x14011c528]
lea rcx, [0x14017fe00]
call fcn.1400961f8
mov dword [0x14017ad84], 2
mov r9d, esi
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [0x14017589e]
call fcn.14007fd88
xor r8d, r8d
xor edx, edx
lea rcx, [0x14018a710]
call fcn.140005bbc
cmp byte [0x140166ce7], 0
jne 0x1400e9d20
mov ecx, dword [0x1401fe980]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401d9ba0], ecx
jle 0x1400e9cf4
lea rcx, [0x1401d9ba0]
call fcn.1400fcc08
cmp dword [0x1401d9ba0], 0xffffffff
jne 0x1400e9cf4
lea rcx, [0x1401d9a9e]
call fcn.140093450
nop
lea rcx, [0x140119800]
call fcn.1400fca14
nop
lea rcx, [0x1401d9ba0]
call fcn.1400fcba8
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [0x1401d5a70]
call fcn.1400ea134
lea r8, [0x1401d5a70]
mov edx, 0x10000
lea rcx, [0x1400e90b0]
call fcn.14010413c
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400fc4d0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rsi
ret
Function at 0x1400e9f38
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x6010]
mov eax, 0x6110
call fcn.1400fc460
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140160370]
xor rax, rsp
mov qword [rbp + 0x6000], rax
mov rdi, rdx
mov rsi, rcx
mov rcx, r8
call fcn.1400802e0
mov r10, rax
or rdx, 0xffffffffffffffff
mov r8, rdx
xor ebx, ebx
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400e9f88
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400e9f92
lea rax, [rdx + 1]
add rax, r8
mov r14d, 0x1000
cmp rax, r14
jb 0x1400e9fb4
xor al, al
jmp 0x1400ea0cb
mov r9, r14
lea r8, [rbp + 0x4000]
mov rdx, r10
mov rcx, rdi
call fcn.14007fd88
lea rcx, [rsp + 0x40]
call fcn.1400961bc
nop
mov dword [rsp + 0x20], r14d
lea r9, [0x14011bd58]
lea r8, [rbp + 0x2000]
lea rdx, str.ViewerIgnoreModifications
lea rcx, [0x14011d158]
call fcn.1400a7a28
cmp word [rbp + 0x2000], bx
je 0x1400ea01a
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2000]
call fcn.1400b0920
mov r14d, 0x800
mov r8, r14
lea rdx, [rbp + 0x1000]
lea rcx, [rsp + 0x40]
call fcn.1400962cc
test al, al
je 0x1400ea0bf
mov r8d, r14d
lea rdx, [rbp]
lea rcx, [rbp + 0x1000]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400ea020
lea rdx, [0x140136d6c]
lea rcx, [rbp + 2]
call fcn.1400feab8
mov rdi, rax
test rax, rax
je 0x1400ea09c
mov word [rax], bx
add rdi, 4
cmp word [rdi], bx
jne 0x1400ea084
lea rdi, [0x14011c528]
mov r8d, 5
mov rdx, rsi
lea rcx, [rbp]
call fcn.140073878
test al, al
je 0x1400ea020
jmp 0x1400ea0a0
lea rdi, [rbp]
mov r8d, 5
lea rdx, [rbp + 0x4000]
mov rcx, rdi
call fcn.140073878
test al, al
je 0x1400ea020
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140004af8
mov al, bl
mov rcx, qword [rbp + 0x6000]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x6110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400eb2b8
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.1400fc460
sub rsp, rax
mov rax, qword [0x140160370]
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.1400fd6e0
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.14007f670
test rax, rax
je 0x1400eb355
cmp word [rax], 0x2e
jne 0x1400eb366
cmp word [rax + 2], r13w
jne 0x1400eb366
or dword [rsp + 0x24], 1
lea rax, [0x14011c97c]
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
call fcn.1400802e0
cmp rax, rdi
jne 0x1400eb3b1
lea rdx, [0x14011c550]
mov rcx, rdi
call fcn.14007e954
test al, al
jne 0x1400eb3b1
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp - 0x70]
call fcn.140002810
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x140166ce5], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1400eb406
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400eb3ed
test rsi, rsi
je 0x1400eb3e6
mov qword [rsi], r13
mov al, 1
jmp 0x1400eb4cf
cmp qword [rsp + 0x30], r13
je 0x1400eb406
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x140166ce5], r13b
test ebx, ebx
je 0x1400eb4cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x1400eb4cd
cmp byte [rbp + 0x2000], r13b
jne 0x1400eb3e6
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x1400eb474
movsxd rdx, dword [0x1401cd7e0]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1cd6e0], r8
mov qword [rdi + rdx*8 + 0x1cd760], rax
inc edx
and edx, 0x8000000f
jge 0x1400eb46c
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401cd7e0], edx
jmp 0x1400eb4bc
mov rbx, r13
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1cd760], rax
jne 0x1400eb4af
mov rcx, qword [rbx + rdi + 0x1cd6e0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400eb4ab
mov r8, qword [rbx + rdi + 0x1cd6e0]
mov qword [rbp - 0x78], r8
jmp 0x1400eb4af
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x1400eb477
test rsi, rsi
je 0x1400eb3e6
mov qword [rsi], r8
jmp 0x1400eb3e6
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.1400fc4d0
add rsp, 0x20a0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400eb9e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140167e60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400eba2f
mov ecx, 0x2bc
call fcn.1400900b8
mov ecx, 0x2bd
mov rbx, rax
call fcn.1400900b8
mov rcx, qword [0x140166d18]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400d00d0
xor r8d, r8d
lea rdx, [0x140167e60]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400ea2a0
Function at 0x1400ee720
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 [0x1401dd4e4], ebx
mov r12, rcx
mov dword [0x1401dd4e8], ebp
mov r15, rdx
lea r10d, [rsi + 2]
mov edi, ebx
mov r8d, ebx
mov ecx, ebx
test r13d, r13d
jle 0x1400ee7cb
cmp word [r14 + rcx*4], bx
je 0x1400ee7b1
add edi, r10d
mov dword [rsp + 0x70], r8d
movsxd rax, edi
mov esi, r8d
mov dword [0x1401dd4e4], edi
mov dword [r9 + rax*4 + 0x1dcbf0], r8d
cmp rcx, rbp
jae 0x1400ee9a1
mov byte [rcx + r9 + 0x1dd4f0], bl
jmp 0x1400ee7b7
mov word [r14 + rcx*4 + 2], bx
add r8d, r10d
add rcx, r10
cmp rcx, r13
jl 0x1400ee77b
cmp edi, 2
jge 0x1400ee861
mov r9d, dword [0x1401ddb28]
mov r8d, dword [0x1401fdb30]
movsxd rdx, esi
cmp esi, 2
jge 0x1400ee7f3
add esi, r10d
add rdx, r10
mov dword [rsp + 0x70], esi
mov rcx, rdx
mov r10d, esi
jmp 0x1400ee7f9
mov r10d, ebx
mov rcx, rbx
inc edi
lea rbx, [0x140000000]
movsxd rax, edi
mov dword [0x1401dd4e4], edi
mov dword [rbx + rax*4 + 0x1dcbf0], r10d
mov r10d, 1
mov word [r14 + rcx*4], r10w
lea ebx, [r10 - 1]
cmp rcx, rbp
jae 0x1400ee9a7
dec r9d
lea rax, [0x140000000]
mov byte [rcx + rax + 0x1dd4f0], bl
mov dword [0x1401ddb28], r9d
test r11, r11
je 0x1400ee858
movzx eax, word [r11 + rcx*4 + 2]
sub r8d, eax
mov dword [0x1401fdb30], r8d
cmp edi, 2
jl 0x1400ee7dc
mov eax, edi
mov dword [r15 + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp eax, r10d
jl 0x1400ee88f
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.1400efb08
mov r10d, 1
sub ebx, r10d
cmp ebx, r10d
jge 0x1400ee873
lea rsi, [0x140000000]
jmp 0x1400ee89b
mov r10, r15
movsxd rbx, dword [0x1401dcbf4]
mov r8d, r10d
movsxd rax, edi
mov rdx, r14
sub edi, r10d
mov rcx, r12
mov dword [0x1401dd4e4], edi
mov eax, dword [rsi + rax*4 + 0x1dcbf0]
mov dword [0x1401dcbf4], eax
call fcn.1400efb08
movsxd rcx, dword [0x1401dcbf4]
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 + 0x1dcbf0], ebx
movsxd rax, ebp
mov dword [rsi + rax*4 + 0x1dcbf0], ecx
movzx eax, word [r14 + rcx*4]
add ax, word [r14 + rbx*4]
mov word [r14 + rdx*4], ax
mov al, byte [rcx + rsi + 0x1dd4f0]
cmp byte [rbx + rsi + 0x1dd4f0], al
cmova ecx, ebx
movsxd rax, ecx
mov cl, byte [rax + rsi + 0x1dd4f0]
add cl, r15b
mov word [r14 + r9*4 + 2], r13w
mov byte [rdx + rsi + 0x1dd4f0], cl
mov rdx, r14
mov word [r14 + rbx*4 + 2], r13w
mov rcx, r12
mov dword [0x1401dcbf4], r13d
add r13d, r15d
call fcn.1400efb08
cmp edi, 2
jge 0x1400ee898
mov eax, dword [0x1401dcbf4]
sub ebp, r15d
mov rdx, qword [rsp + 0x68]
movsxd rcx, ebp
mov dword [0x1401dd4e8], ebp
mov dword [rsi + rcx*4 + 0x1dcbf0], eax
mov rcx, r12
call fcn.1400ef7a0
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.1400ef9dc
call fcn.1400fc234
int3
call fcn.1400fc234
int3
Function at 0x1400f1ec0
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.1400fc460
sub rsp, rax
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x30e0], rbx
mov rax, qword [0x140160370]
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 0x1400f1f2b
add rax, 2
test r8d, r8d
jne 0x1400f1f15
test edx, edx
je 0x1400f2130
xor r14b, r14b
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rbp + 0x1f90]
call fcn.140103884
mov r15d, eax
mov r13d, 1
cmp word [rbp + 0x1f90], 0x5c
je 0x1400f1fa1
cmp word [rsi], 0x5c
je 0x1400f1fa1
cmp word [rdi], 0x5c
je 0x1400f1fa1
movzx ecx, word [rsi]
call fcn.140103884
mov ebx, eax
movzx ecx, word [rdi]
call fcn.140103884
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.14006f688
test al, al
je 0x1400f2006
lea rcx, [rsp + 0x30]
call fcn.14006dea0
nop
mov r8d, r13d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14006e4f0
test al, al
je 0x1400f1ff2
lea rcx, [rsp + 0x30]
call fcn.14006dfa0
test al, al
je 0x1400f1ff2
mov rcx, rdi
call fcn.14006f3a0
test al, al
je 0x1400f1ff2
lea rcx, [rsp + 0x30]
call fcn.14006ded8
jmp 0x1400f2006
lea rcx, [rsp + 0x30]
call fcn.14006ded8
mov eax, 0xf
jmp 0x1400f2132
test r14b, r14b
jne 0x1400f2023
mov rdx, rdi
mov rcx, rsi
call fcn.14006fd9c
test al, al
sete al
test al, al
je 0x1400f2130
lea rcx, [rsp + 0x30]
call fcn.14006dea0
nop
lea rcx, [rbp + 0xf60]
call fcn.14006dea0
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14006e4f0
test al, al
jne 0x1400f2068
mov rdx, rsi
lea rcx, [0x14019bd38]
call fcn.1400695c0
mov ebx, 0xa
jmp 0x1400f20f5
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0xf60]
call fcn.14006e160
test al, al
jne 0x1400f2088
mov ebx, 0xf
jmp 0x1400f20f5
xor edx, edx
lea rcx, [0x14019bd38]
call fcn.1400696d0
or r9, 0xffffffffffffffff
lea r8, [rbp + 0xf60]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400f1944
mov r14d, eax
lea rcx, [rsp + 0x30]
call fcn.14006dfa0
lea rcx, [rbp + 0xf60]
call fcn.14006dfa0
mov dl, r13b
lea rcx, [0x14019bd38]
call fcn.1400696d0
test r14d, r14d
je 0x1400f2110
mov rcx, rdi
call fcn.14006f3a0
mov eax, 0xe
lea ebx, [rax - 4]
cmp r14d, ebx
cmove r14d, eax
mov ebx, r14d
lea rcx, [rbp + 0xf60]
call fcn.14006ded8
nop
lea rcx, [rsp + 0x30]
call fcn.14006ded8
mov eax, ebx
jmp 0x1400f2132
mov rcx, rsi
call fcn.14006f3a0
nop
lea rcx, [rbp + 0xf60]
call fcn.14006ded8
nop
lea rcx, [rsp + 0x30]
call fcn.14006ded8
xor eax, eax
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.1400fc4d0
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 0x1400f24b4
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 [0x140160370]
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 0x1400f2509
xor ecx, ecx
call fcn.140108f80
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
xor eax, ebx
mov ecx, eax
call fcn.140108ed0
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140093598
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f2660
xor ebp, ebp
mov r12d, 0xfffd
call fcn.140108ea4
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.1400f26bc
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 0x1400f2531
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f2660
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.1400f26bc
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 0x1400f257c
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140093830
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.1400f26bc
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.1400f26bc
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.1400f14a4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400fc4d0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov r9d, dword [rcx + 0x1e8]
lea rbx, [0x1401fdb60]
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