joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400da854
Capabilities:
Get file system object information

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3560]
mov eax, 0x3660
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0x3550], rax
cmp dword [0x140140038], 0xffffffff
mov r14, r9
mov bl, r8b
mov rdi, rdx
mov rsi, rcx
mov r13d, 0x4001
mov r15d, 0x800
jne 0x1400da906
mov r9d, 0x2b8
mov dword [rsp + 0x20], r13d
lea r8, [rbp - 0x30]
xor edx, edx
lea rcx, [0x14010f95c]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp - 0x28]
lea rdx, [rbp + 0x2550]
mov r8d, r15d
mov dword [0x1401ab2d0], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r9d, 0x2b8
mov dword [rsp + 0x20], r13d
lea r8, [rbp - 0x30]
xor edx, edx
lea rcx, [rbp + 0x2550]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp - 0x28]
mov dword [0x140140038], eax
mov r8, r15
lea rcx, [rbp + 0x550]
mov rdx, rdi
call fcn.14008e2e4
mov r8, r15
lea rdx, [rbp + 0x550]
lea rcx, [rbp + 0x550]
call fcn.140079888
movzx edi, word [rsi]
lea rax, [rbp + 0x550]
mov qword [rsp + 0x48], rax
mov r9d, 0x2b8
mov dword [rsp + 0x30], 3
lea r8, [rbp + 0x290]
mov qword [rsp + 0x34], 0x40000000
lea rcx, [rbp + 0x550]
test di, di
je 0x1400da978
neg bl
mov dword [rsp + 0x20], 0x4011
sbb edx, edx
and edx, 0x10
jmp 0x1400da97f
mov dword [rsp + 0x20], r13d
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [rbp + 0x298]
mov r8, r15
mov dword [rsp + 0x54], eax
lea rcx, [rbp + 0x1550]
test di, di
je 0x1400da9a8
mov rdx, rsi
call fcn.14008e2e4
jmp 0x1400da9d1
lea rdx, [rbp + 0x550]
call fcn.14008e2e4
lea rcx, [rbp + 0x1550]
call fcn.140079738
lea rcx, [rbp + 0x550]
call fcn.1400796e4
mov qword [rsp + 0x48], rax
mov rcx, qword [0x140148cf0]
mov edx, 0x66
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, rax
mov edx, 0x104d
mov rsi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x1401ab2d0]
lea r9, [rsp + 0x30]
mov rbx, rax
mov dword [rsp + 0x30], 3
lea rax, [rbp + 0x1550]
mov dword [rsp + 0x34], ebx
test di, di
mov qword [rsp + 0x48], rax
mov r15d, 1
mov rcx, rsi
cmovne edx, dword [0x140140038]
xor r8d, r8d
mov dword [rsp + 0x54], edx
mov edx, 0x104c
mov dword [rsp + 0x38], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r14
mov dword [rbp - 0x78], 2
call fcn.14008dc90
movsxd r8, ebx
lea r9, [rbp - 0x80]
mov edx, 0x1074
mov qword [rbp - 0x68], rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x1400daa95
lea r9, [rbp - 0x80]
mov dword [rbp - 0x70], r15d
xor r8d, r8d
mov dword [rbp - 0x74], r15d
mov edx, 0x102b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x3550]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x3660
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400dd034
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rsp + 0x2030], rax
xor r9d, r9d
mov dword [rsp + 0x20], 0x1000
lea r8, [rsp + 0x1030]
lea rdx, str.rarreg.key
lea rcx, [0x14010f1a8]
call fcn.14009f870
movsxd rdi, eax
test eax, eax
je 0x1400dd0ec
mov r8d, 0x800
lea rdx, [rsp + 0x30]
lea rcx, str.Rar_RK
call fcn.1400c56c8
mov rbx, rax
test rax, rax
je 0x1400dd0d9
mov r8, rdi
lea rcx, [rsp + 0x1030]
mov r9, rax
mov edx, 1
call fcn.1400f8a38
mov rcx, rbx
call fcn.1400f866c
lea rcx, [rsp + 0x30]
call fcn.1400d6460
lea rcx, [rsp + 0x30]
call fcn.14006909c
lea rdx, str.rarreg.key
lea rcx, [0x14010f1a8]
call fcn.14009f37c
mov rcx, qword [rsp + 0x2030]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret
Function at 0x1400dd1f8
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.1400f1270
sub rsp, rax
mov rax, qword [0x1401412b0]
xor rax, rsp
mov qword [rbp + 0xf60], rax
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x50], 0x53d00
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, [0x14010f6e0]
call fcn.14009f870
lea esi, [rdi - 0xb]
mov ebx, 0x800
mov r8b, sil
lea rcx, [rsp + 0x60]
mov edx, ebx
call fcn.140078c10
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140077d10
mov r8d, ebx
lea rdx, str.version.dat
lea rcx, [rsp + 0x60]
call fcn.14008e2ac
and dword [rsp + 0x40], 0
lea rdx, [0x140113c88]
lea rcx, [rsp + 0x60]
call fcn.14006a2ec
mov rbx, rax
test rax, rax
je 0x1400dd2d3
mov r9, rax
lea rcx, [rsp + 0x40]
mov r8d, edi
mov edx, esi
call fcn.1400fc644
mov rcx, rbx
call fcn.1400f866c
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
je 0x1400dd384
lea rdx, str.VerInfo
mov r9, rdi
lea rcx, [0x14010f6e0]
cmp dword [rsp + 0x40], eax
je 0x1400dd35c
lea r8, [rsp + 0x50]
call fcn.1400a0410
call fcn.1400a01bc
test al, al
jne 0x1400dd33f
lea rdx, [0x14010fb00]
lea rcx, [rsp + 0x60]
call fcn.14006a2ec
mov rbx, rax
test rax, rax
je 0x1400dd33f
mov r9, rax
lea rcx, [rsp + 0x50]
mov r8, rdi
mov rdx, rsi
call fcn.1400f8a38
mov rcx, rbx
call fcn.1400f866c
call fcn.1400a01c4
neg al
mov edx, 0x168
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [0x140148e04], ecx
jmp 0x1400dd41b
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.1400a0410
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x30], eax
jne 0x1400dd3db
cmp dword [rsp + 0x40], eax
je 0x1400dd3db
movsd xmm0, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.1400a01bc
test al, al
jne 0x1400dd3db
lea rdx, [0x14010fb00]
lea rcx, [rsp + 0x60]
call fcn.14006a2ec
mov rbx, rax
test rax, rax
je 0x1400dd3db
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8, rdi
mov rdx, rsi
call fcn.1400f8a38
mov rcx, rbx
call fcn.1400f866c
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 [0x140148e04], eax
mov rcx, qword [rbp + 0xf60]
xor rcx, rsp
call fcn.1400f12e0
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 0x1400de254
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 [0x1401df220]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1401b6300], eax
jle 0x1400de2d1
lea rcx, [0x1401b6300]
call fcn.1400f1a08
cmp dword [0x1401b6300], 0xffffffff
jne 0x1400de2d1
lea rcx, [0x1401b61fe]
call fcn.14008b530
nop
lea rcx, [0x14010df64]
call fcn.1400f1818
nop
lea rcx, [0x1401b6300]
call fcn.1400f19a8
mov r8b, 1
mov rdx, rdi
lea rsi, [0x1401b21d0]
mov rcx, rsi
call fcn.1400df9bc
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.1400e0aac
test al, al
jne 0x1400de329
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rsi
call fcn.1400de6b8
cmp ebx, 0x4c7
sete al
jmp 0x1400de34d
test bl, bl
je 0x1400de343
mov r8, rsi
mov edx, 0x10000
lea rcx, [0x1400de9a4]
call fcn.1400f8df8
jmp 0x1400de34b
mov rcx, rsi
call fcn.1400de6b8
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400df414
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x1060
call fcn.1400f1270
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.1400e0060
test al, al
je 0x1400df489
mov ecx, 0x65
call fcn.1400881f8
mov rbx, rax
mov ecx, 0x596
call fcn.1400881f8
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
mov rcx, qword [0x140147cd8]
call fcn.1400c6a54
jmp 0x1400df600
cmp byte [0x140147ca4], 0
jne 0x1400df4d5
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.1400e0aac
test al, al
jne 0x1400df600
mov ecx, 0x201
call fcn.1400881f8
mov rcx, rax
mov rdx, rbx
call fcn.1400d2e64
jmp 0x1400df600
mov cl, 1
call fcn.1400c0990
mov r9b, 1
mov esi, 0x800
mov r8d, esi
lea rdx, [0x14015672e]
lea rcx, str.Rar_EX
call fcn.1400c57a4
test al, al
je 0x1400df600
mov r8d, esi
lea rdx, [0x14015fb52]
lea rcx, [0x14016b340]
call fcn.140005104
mov eax, dword [0x14016b344]
mov dword [0x14015caf4], eax
lea rdx, [0x14010f558]
lea rcx, [0x140160b58]
call fcn.14008e364
mov dword [0x14015bae4], 4
mov r9d, esi
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [0x14015672e]
call fcn.1400791c8
xor r8d, r8d
xor edx, edx
lea rcx, [0x14016b340]
call fcn.140004c98
cmp byte [0x140147ca7], 0
jne 0x1400df600
mov ecx, dword [0x1401df220]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1401ba440], ecx
jle 0x1400df5d4
lea rcx, [0x1401ba440]
call fcn.1400f1a08
cmp dword [0x1401ba440], 0xffffffff
jne 0x1400df5d4
lea rcx, [0x1401ba33e]
call fcn.14008b530
nop
lea rcx, [0x14010dfa4]
call fcn.1400f1818
nop
lea rcx, [0x1401ba440]
call fcn.1400f19a8
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [0x1401b6310]
call fcn.1400df9bc
lea r8, [0x1401b6310]
mov edx, 0x10000
lea rcx, [0x1400de9a4]
call fcn.1400f8df8
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x1070]
add rsp, 0x1060
pop rsi
ret
Function at 0x1400df80c
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x6010]
mov eax, 0x6110
call fcn.1400f1270
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.1400796e4
mov r10, rax
or rdx, 0xffffffffffffffff
mov r8, rdx
xor ebx, ebx
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400df85c
inc rdx
cmp word [rax + rdx*2], bx
jne 0x1400df866
lea rax, [rdx + 1]
add rax, r8
mov r14d, 0x1000
cmp rax, r14
jb 0x1400df888
xor al, al
jmp 0x1400df99f
mov r9, r14
lea r8, [rbp + 0x4000]
mov rdx, r10
mov rcx, rdi
call fcn.1400791c8
lea rcx, [rsp + 0x40]
call fcn.14008e328
nop
mov dword [rsp + 0x20], r14d
lea r9, [0x14010f1a8]
lea r8, [rbp + 0x2000]
lea rdx, str.ViewerIgnoreModifications
lea rcx, [0x1401100d0]
call fcn.14009f9e4
cmp word [rbp + 0x2000], bx
je 0x1400df8ee
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x2000]
call fcn.1400a8784
mov r14d, 0x800
mov r8, r14
lea rdx, [rbp + 0x1000]
lea rcx, [rsp + 0x40]
call fcn.14008e438
test al, al
je 0x1400df993
mov r8d, r14d
lea rdx, [rbp]
lea rcx, [rbp + 0x1000]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x7fe
ja 0x1400df8f4
lea rdx, [0x14011eeec]
lea rcx, [rbp + 2]
call fcn.1400f39f8
mov rdi, rax
test rax, rax
je 0x1400df970
mov word [rax], bx
add rdi, 4
cmp word [rdi], bx
jne 0x1400df958
lea rdi, [0x14010f558]
mov r8d, 4
mov rdx, rsi
lea rcx, [rbp]
call fcn.14006cf30
test al, al
je 0x1400df8f4
jmp 0x1400df974
lea rdi, [rbp]
mov r8d, 4
lea rdx, [rbp + 0x4000]
mov rcx, rdi
call fcn.14006cf30
test al, al
je 0x1400df8f4
mov bl, 1
lea rcx, [rsp + 0x40]
call fcn.140004178
mov al, bl
mov rcx, qword [rbp + 0x6000]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x6110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e0aac
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.1400f1270
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.1400f24e0
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.140078a84
test rax, rax
je 0x1400e0b49
cmp word [rax], 0x2e
jne 0x1400e0b5a
cmp word [rax + 2], r13w
jne 0x1400e0b5a
or dword [rsp + 0x24], 1
lea rax, [0x14010f95c]
mov qword [rsp + 0x68], rax
mov rcx, rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
call fcn.1400796e4
cmp rax, rdi
jne 0x1400e0ba5
lea rdx, [0x14010f568]
mov rcx, rdi
call fcn.140077d50
test al, al
jne 0x1400e0ba5
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp - 0x70]
call fcn.1400026d0
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x140147ca5], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1400e0bfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1400e0be1
test rsi, rsi
je 0x1400e0bda
mov qword [rsi], r13
mov al, 1
jmp 0x1400e0cc3
cmp qword [rsp + 0x30], r13
je 0x1400e0bfa
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r13
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x140147ca5], r13b
test ebx, ebx
je 0x1400e0cc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x1400e0cc1
cmp byte [rbp + 0x2000], r13b
jne 0x1400e0bda
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x1400e0c68
movsxd rdx, dword [0x1401ae080]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1adf80], r8
mov qword [rdi + rdx*8 + 0x1ae000], rax
inc edx
and edx, 0x8000000f
jge 0x1400e0c60
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401ae080], edx
jmp 0x1400e0cb0
mov rbx, r13
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1ae000], rax
jne 0x1400e0ca3
mov rcx, qword [rbx + rdi + 0x1adf80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400e0c9f
mov r8, qword [rbx + rdi + 0x1adf80]
mov qword [rbp - 0x78], r8
jmp 0x1400e0ca3
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x1400e0c6b
test rsi, rsi
je 0x1400e0bda
mov qword [rsi], r8
jmp 0x1400e0bda
xor al, al
mov rcx, qword [rbp + 0x1f90]
xor rcx, rsp
call fcn.1400f12e0
add rsp, 0x20a0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400e1208
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140148e20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400e1257
mov ecx, 0x2bc
call fcn.1400881f8
mov ecx, 0x2bd
mov rbx, rax
call fcn.1400881f8
mov rcx, qword [0x140147cd8]
mov rdx, rax
mov r9d, 0x40
mov r8, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400c6a54
xor r8d, r8d
lea rdx, [0x140148e20]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400dfaf8
Function at 0x1400e3f4c
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 [0x1401bdd84], ebx
mov r12, rcx
mov dword [0x1401bdd88], ebp
mov r15, rdx
lea r10d, [rsi + 2]
mov edi, ebx
mov r8d, ebx
mov ecx, ebx
test r13d, r13d
jle 0x1400e3ff7
cmp word [r14 + rcx*4], bx
je 0x1400e3fdd
add edi, r10d
mov dword [rsp + 0x70], r8d
movsxd rax, edi
mov esi, r8d
mov dword [0x1401bdd84], edi
mov dword [r9 + rax*4 + 0x1bd490], r8d
cmp rcx, rbp
jae 0x1400e41cd
mov byte [rcx + r9 + 0x1bdd90], bl
jmp 0x1400e3fe3
mov word [r14 + rcx*4 + 2], bx
add r8d, r10d
add rcx, r10
cmp rcx, r13
jl 0x1400e3fa7
cmp edi, 2
jge 0x1400e408d
mov r9d, dword [0x1401be3c8]
mov r8d, dword [0x1401de3d0]
movsxd rdx, esi
cmp esi, 2
jge 0x1400e401f
add esi, r10d
add rdx, r10
mov dword [rsp + 0x70], esi
mov rcx, rdx
mov r10d, esi
jmp 0x1400e4025
mov r10d, ebx
mov rcx, rbx
inc edi
lea rbx, [0x140000000]
movsxd rax, edi
mov dword [0x1401bdd84], edi
mov dword [rbx + rax*4 + 0x1bd490], r10d
mov r10d, 1
mov word [r14 + rcx*4], r10w
lea ebx, [r10 - 1]
cmp rcx, rbp
jae 0x1400e41d3
dec r9d
lea rax, [0x140000000]
mov byte [rcx + rax + 0x1bdd90], bl
mov dword [0x1401be3c8], r9d
test r11, r11
je 0x1400e4084
movzx eax, word [r11 + rcx*4 + 2]
sub r8d, eax
mov dword [0x1401de3d0], r8d
cmp edi, 2
jl 0x1400e4008
mov eax, edi
mov dword [r15 + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
cmp eax, r10d
jl 0x1400e40bb
mov r8d, ebx
mov rdx, r14
mov rcx, r12
call fcn.1400e5334
mov r10d, 1
sub ebx, r10d
cmp ebx, r10d
jge 0x1400e409f
lea rsi, [0x140000000]
jmp 0x1400e40c7
mov r10, r15
movsxd rbx, dword [0x1401bd494]
mov r8d, r10d
movsxd rax, edi
mov rdx, r14
sub edi, r10d
mov rcx, r12
mov dword [0x1401bdd84], edi
mov eax, dword [rsi + rax*4 + 0x1bd490]
mov dword [0x1401bd494], eax
call fcn.1400e5334
movsxd rcx, dword [0x1401bd494]
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 + 0x1bd490], ebx
movsxd rax, ebp
mov dword [rsi + rax*4 + 0x1bd490], ecx
movzx eax, word [r14 + rcx*4]
add ax, word [r14 + rbx*4]
mov word [r14 + rdx*4], ax
mov al, byte [rcx + rsi + 0x1bdd90]
cmp byte [rbx + rsi + 0x1bdd90], al
cmova ecx, ebx
movsxd rax, ecx
mov cl, byte [rax + rsi + 0x1bdd90]
add cl, r15b
mov word [r14 + r9*4 + 2], r13w
mov byte [rdx + rsi + 0x1bdd90], cl
mov rdx, r14
mov word [r14 + rbx*4 + 2], r13w
mov rcx, r12
mov dword [0x1401bd494], r13d
add r13d, r15d
call fcn.1400e5334
cmp edi, 2
jge 0x1400e40c4
mov eax, dword [0x1401bd494]
sub ebp, r15d
mov rdx, qword [rsp + 0x68]
movsxd rcx, ebp
mov dword [0x1401bdd88], ebp
mov dword [rsi + rcx*4 + 0x1bd490], eax
mov rcx, r12
call fcn.1400e4fcc
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.1400e5208
call fcn.1400f104c
int3
call fcn.1400f104c
int3
Function at 0x1400e75ac
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.1400f1270
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 0x1400e7617
add rax, 2
test r8d, r8d
jne 0x1400e7601
test edx, edx
je 0x1400e781c
xor r14b, r14b
lea rdx, [rbp + 0x1f90]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
movzx ecx, word [rbp + 0x1f90]
call fcn.1400f8548
mov r15d, eax
mov r13d, 1
cmp word [rbp + 0x1f90], 0x5c
je 0x1400e768d
cmp word [rsi], 0x5c
je 0x1400e768d
cmp word [rdi], 0x5c
je 0x1400e768d
movzx ecx, word [rsi]
call fcn.1400f8548
mov ebx, eax
movzx ecx, word [rdi]
call fcn.1400f8548
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.140069390
test al, al
je 0x1400e76f2
lea rcx, [rsp + 0x30]
call fcn.140067cfc
nop
mov r8d, r13d
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400682d0
test al, al
je 0x1400e76de
lea rcx, [rsp + 0x30]
call fcn.140067dec
test al, al
je 0x1400e76de
mov rcx, rdi
call fcn.14006909c
test al, al
je 0x1400e76de
lea rcx, [rsp + 0x30]
call fcn.140067d38
jmp 0x1400e76f2
lea rcx, [rsp + 0x30]
call fcn.140067d38
mov eax, 0xf
jmp 0x1400e781e
test r14b, r14b
jne 0x1400e770f
mov rdx, rdi
mov rcx, rsi
call fcn.140069acc
test al, al
sete al
test al, al
je 0x1400e781c
lea rcx, [rsp + 0x30]
call fcn.140067cfc
nop
lea rcx, [rbp + 0xf60]
call fcn.140067cfc
nop
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400682d0
test al, al
jne 0x1400e7754
mov rdx, rsi
lea rcx, [0x14017f200]
call fcn.14006344c
mov ebx, 0xa
jmp 0x1400e77e1
mov r8d, 0x12
mov rdx, rdi
lea rcx, [rbp + 0xf60]
call fcn.140067fa0
test al, al
jne 0x1400e7774
mov ebx, 0xf
jmp 0x1400e77e1
xor edx, edx
lea rcx, [0x14017f200]
call fcn.140063558
or r9, 0xffffffffffffffff
lea r8, [rbp + 0xf60]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.1400e7058
mov r14d, eax
lea rcx, [rsp + 0x30]
call fcn.140067dec
lea rcx, [rbp + 0xf60]
call fcn.140067dec
mov dl, r13b
lea rcx, [0x14017f200]
call fcn.140063558
test r14d, r14d
je 0x1400e77fc
mov rcx, rdi
call fcn.14006909c
mov eax, 0xe
lea ebx, [rax - 4]
cmp r14d, ebx
cmove r14d, eax
mov ebx, r14d
lea rcx, [rbp + 0xf60]
call fcn.140067d38
nop
lea rcx, [rsp + 0x30]
call fcn.140067d38
mov eax, ebx
jmp 0x1400e781e
mov rcx, rsi
call fcn.14006909c
nop
lea rcx, [rbp + 0xf60]
call fcn.140067d38
nop
lea rcx, [rsp + 0x30]
call fcn.140067d38
xor eax, eax
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.1400f12e0
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 0x1400e7ba0
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 0x1400e7bf5
xor ecx, ecx
call fcn.1400fdc88
mov rbx, rax
call sub.KERNEL32.dll_GetCurrentProcessId
xor eax, ebx
mov ecx, eax
call fcn.1400fdbd8
mov r8d, 0x80
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008b678
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e7d4c
xor ebp, ebp
mov r12d, 0xfffd
call fcn.1400fdbac
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.1400e7da8
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 0x1400e7c1d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e7d4c
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.1400e7da8
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 0x1400e7c68
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.14008b8e8
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.1400e7da8
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.1400e7da8
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.1400e6bdc
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400f12e0
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret

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

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