joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009ada0
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x860
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov rax, qword [0x14010eec0]
xor ebx, ebx
cmp dword [rax + 0x40], ebx
je 0x14009af73
lea rdi, [0x140105fb0]
lea rdx, [0x14010e6bc]
xor r9d, r9d
mov rcx, rdi
mov r8b, 1
call fcn.140015af0
cmp eax, 1
jne 0x14009af73
cmp dword [0x14010ab40], 3
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov r9b, al
lea r8, [rsp + 0x30]
mov rcx, rdi
jne 0x14009ae25
lea rdx, [rsp + 0x40]
call fcn.140012cac
jmp 0x14009ae2f
lea rdx, [rsp + 0x38]
call fcn.140012b9c
cmp qword [rsp + 0x30], rbx
je 0x14009af73
mov rcx, qword [0x14010eec0]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
call fcn.14006bc18
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009ae90
lea rdx, [rsp + 0x50]
xor r9d, r9d
movabs r8, 0x7fffffff7fffffff
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.14000b220
cmp al, 0x43
je 0x14009ae86
cmp al, 0x4e
jne 0x14009ae90
mov rcx, qword [rsp + 0x38]
jmp 0x14009af6e
lea rdx, [0x1400c40f8]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.1400319b0
mov rdi, rax
cmp rax, rbx
jne 0x14009aecc
mov ecx, 0x1f6
call fcn.140061d2c
lea r8, [rsp + 0x50]
lea rcx, [0x14010e6bc]
mov rdx, rax
call fcn.1400964ac
jmp 0x14009ae86
mov eax, dword [0x14010ab40]
cmp eax, 3
jne 0x14009af28
mov rdx, rdi
mov ecx, 0xff
call fcn.1400ac1f4
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400ac1f4
cmp qword [rsp + 0x30], rbx
jbe 0x14009af57
mov rax, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, word [rax + rbx*2]
call fcn.1400ac1f4
mov r11, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, byte [r11 + rbx*2 + 1]
call fcn.1400ac1f4
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14009aef8
jmp 0x14009af57
cmp eax, 2
jne 0x14009af40
mov rcx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x30]
mov rdx, rcx
call qword [sym.imp.USER32.dll_CharToOemBuffA]
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r9, rdi
mov edx, 1
call fcn.1400aa698
mov rcx, rdi
call fcn.1400aa410
mov rcx, qword [rsp + 0x38]
call fcn.1400a9218
mov rcx, qword [rsp + 0x40]
call fcn.1400a9218
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x870]
add rsp, 0x860
pop rdi
ret
Function at 0x14009fb5c
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x10a0
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1090], rax
mov rbp, qword [rsp + 0x10f8]
mov rbx, qword [rsp + 0x1100]
mov r12, rdx
xor edx, edx
mov rdi, r8
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
mov rsi, r9
call fcn.1400a9164
cmp byte [rsp + 0x10f0], 0
mov eax, 0x500
lea ecx, [rax + 0x40]
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], r12
cmove eax, ecx
mov rcx, r12
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x24], eax
call fcn.140052abc
cmp rax, r12
jne 0x14009fc14
lea r8, str.._s
lea rcx, [rsp + 0x90]
mov r9, r12
mov edx, 0x800
call fcn.14005b860
lea r11, [rsp + 0x90]
mov qword [rsp + 0x38], r11
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x1400fec07], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14009fc4b
cmp qword [rsp + 0x30], 0
je 0x14009fc4b
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [0x1400fec07], 0
test eax, eax
je 0x14009fd1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x14009fd1b
cmp byte [rsp + 0x10f0], 0
jne 0x14009fd17
mov r8, qword [rsp + 0x88]
lea rdi, [0x140000000]
test r8, r8
je 0x14009fcbf
movsxd rdx, dword [0x14012bef0]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x12be70], rax
lea eax, [rdx + 1]
mov qword [rdi + rdx*8 + 0x12bdf0], r8
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov dword [0x14012bef0], eax
jmp 0x14009fd0e
xor ebx, ebx
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x12be70], rax
jne 0x14009fd01
mov rcx, qword [rbx + rdi + 0x12bdf0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14009fcf9
mov r8, qword [rbx + rdi + 0x12bdf0]
mov qword [rsp + 0x88], r8
jmp 0x14009fd01
mov r8, qword [rsp + 0x88]
add rbx, 8
cmp rbx, 0x80
jl 0x14009fcc1
test rbp, rbp
je 0x14009fd17
mov qword [rbp], r8
mov al, 1
jmp 0x14009fd1d
xor al, al
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x10a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a1a48
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1850
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1840], rax
xor r13d, r13d
mov r12b, r8b
mov rbp, rdx
cmp r9, r13
jne 0x1400a1ab0
lea r9, [0x1400c3f4c]
lea r8, [rsp + 0x40]
lea rdx, str.ExternalViewer
lea rcx, [0x1400c4810]
mov dword [rsp + 0x20], 0x400
call fcn.14005c3f4
jmp 0x1400a1acb
lea rcx, [rsp + 0x40]
sub rcx, r9
movzx eax, word [r9]
mov word [rcx + r9], ax
add r9, 2
cmp ax, r13w
jne 0x1400a1ab8
cmp word [rsp + 0x40], r13w
jne 0x1400a1ada
xor al, al
jmp 0x1400a1cb1
lea rdx, [rsp + 0x840]
mov rcx, rbp
sub rdx, rbp
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, r13w
jne 0x1400a1ae8
lea rcx, [rsp + 0x840]
call fcn.14004757c
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400310a8
cmp al, r13b
jne 0x1400a1c31
mov r14d, 0x22
cmp word [rsp + 0x40], r14w
jne 0x1400a1b3b
lea rcx, [rsp + 0x42]
mov edx, r14d
call fcn.1400a95dc
jmp 0x1400a1c09
lea rax, [rsp + 0x40]
jmp 0x1400a1c09
lea rdx, [0x1400cd09c]
mov rcx, rax
call fcn.1400abf14
mov rbx, rax
cmp rax, r13
je 0x1400a1c31
movzx ecx, word [rax]
mov rsi, rax
jmp 0x1400a1b6f
add rsi, 2
movzx ecx, word [rsi]
call fcn.14006b3c4
cmp al, r13b
jne 0x1400a1b68
lea rdx, [rsp + 0x1040]
mov rcx, rsi
sub rdx, rsi
movzx eax, word [rcx]
mov word [rdx + rcx], ax
add rcx, 2
cmp ax, r13w
jne 0x1400a1b87
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x1040]
repne scasw ax, word [rdi]
mov eax, dword [0x1400c6014]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], eax
xor eax, eax
lea rdi, [rsp + 0x1040]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x840]
sub rdi, 2
xor ecx, ecx
movzx eax, word [rdx + rcx]
mov word [rdi + rcx], ax
add rcx, 2
test ax, ax
jne 0x1400a1bd1
movzx edi, word [rbx]
mov word [rbx], r13w
cmp word [rsp + 0x40], r14w
je 0x1400a1c14
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400310a8
cmp al, r13b
jne 0x1400a1c14
mov word [rbx], di
lea rax, [rsi + 2]
cmp rax, r13
jne 0x1400a1b45
jmp 0x1400a1c31
mov rcx, r13
movzx eax, word [rsp + rcx + 0x1040]
add rcx, 2
mov word [rsp + rcx + 0x83e], ax
cmp ax, r13w
jne 0x1400a1c17
lea rdi, [0x14012bf00]
mov r8b, 1
mov rdx, rbp
mov rcx, rdi
call fcn.14009f850
mov qword [rsp + 0x30], r13
cmp r12b, r13b
sete al
lea r9, [rsp + 0x840]
lea rdx, [rsp + 0x40]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x28], rdi
mov byte [rsp + 0x20], al
call fcn.14009fb5c
cmp al, r13b
jne 0x1400a1c83
mov rcx, rdi
call fcn.14009f990
jmp 0x1400a1ad3
cmp r12b, r13b
je 0x1400a1ca7
cmp qword [0x14012bf00], r13
je 0x1400a1ca7
lea rcx, [0x1400a05c0]
mov r8, rdi
mov edx, 0x10000
call fcn.1400a9784
jmp 0x1400a1caf
mov rcx, rdi
call fcn.14009f990
mov al, 1
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1850]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400a1ce0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov dil, r8b
lea rsi, [0x14012e830]
mov r8b, 1
mov rcx, rsi
mov rbx, rdx
call fcn.14009f850
test dil, dil
mov rdx, rbx
sete al
and qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], al
call fcn.14009fb5c
test al, al
jne 0x1400a1d3c
mov rcx, rsi
call fcn.14009f990
xor al, al
jmp 0x1400a1d61
test dil, dil
je 0x1400a1d57
lea rcx, [0x1400a05c0]
mov r8, rsi
mov edx, 0x10000
call fcn.1400a9784
jmp 0x1400a1d5f
mov rcx, rsi
call fcn.14009f990
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a1d74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x1400fec20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400a1dc1
mov ecx, 0x2bc
call fcn.140061d2c
mov ecx, 0x2bd
mov rbx, rax
call fcn.140061d2c
mov rcx, qword [0x1400ffd80]
mov r9d, 0x40
mov r8, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400a1dd3
lea rdx, [0x1400fec20]
xor r8d, r8d
mov rcx, rbx
call fcn.1400a0f00
add rsp, 0x20
pop rbx
ret

Function at 0x1400a1ddc
Capabilities:
Create thread

Disassembly:
push rbx
mov eax, 0x1850
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rcx, rdx
mov rbx, rdx
call fcn.14009faf8
test al, al
je 0x1400a1e41
mov ecx, 0x65
call fcn.140061d2c
mov ecx, 0x596
mov rbx, rax
call fcn.140061d2c
mov rcx, qword [0x1400ffd80]
mov r9d, 0x30
mov r8, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400a1f80
cmp byte [0x1400fec05], 0
jne 0x1400a1e8d
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
mov byte [rsp + 0x20], 1
call fcn.14009fb5c
test al, al
jne 0x1400a1f80
mov ecx, 0x201
call fcn.140061d2c
mov rdx, rbx
mov rcx, rax
call fcn.140095e68
jmp 0x1400a1f80
lea rdx, [rsp + 0x840]
lea rcx, str.Rar_EXXXXXXX
call fcn.140086c74
test al, al
je 0x1400a1f80
lea rcx, [rsp + 0x1040]
mov edx, 0x400
call fcn.140087408
lea rcx, [rsp + 0x840]
call fcn.1400873f0
call fcn.140082880
lea rdx, [0x14010e6bc]
lea rcx, [0x140105fb0]
mov r8d, 0x400
call fcn.1400129d4
mov r11d, dword [0x1401063c4]
mov rcx, qword [0x14010eec0]
lea rdx, [0x1400c3120]
mov dword [0x14010c654], r11d
call fcn.14006ba48
lea rcx, [0x140105fb0]
xor r8d, r8d
xor edx, edx
mov dword [0x14010c240], 4
call fcn.14001731c
cmp byte [0x1400fec04], 0
jne 0x1400a1f80
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140052cbc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140052780
lea rdx, [rsp + 0x40]
lea rcx, [0x140131160]
xor r8d, r8d
call fcn.14009f850
lea rcx, [rsp + 0x1040]
call fcn.1400873f0
lea r8, [0x140131160]
lea rcx, [0x1400a05c0]
mov edx, 0x10000
call fcn.1400a9784
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x1850
pop rbx
ret
Function at 0x1400a34c4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov rdx, qword [0x140134ab0]
mov eax, ecx
lea r10, [0x1400e8690]
xor rdx, rax
mov eax, dword [0x140134ab0]
mov r9d, ecx
mov ecx, dword [0x140134ab8]
shr eax, 8
movzx r8d, dl
mov edx, dword [r10 + r8*4]
shr ecx, 8
xor edx, eax
movzx eax, dl
mov dword [0x140134ab0], edx
add eax, dword [0x140134ab4]
imul eax, eax, 0x8088405
inc eax
mov dword [0x140134ab4], eax
shr eax, 0x18
xor rax, qword [0x140134ab8]
movzx eax, al
mov eax, dword [r10 + rax*4]
xor eax, ecx
mov dword [0x140134ab8], eax
mov eax, r9d
ret

Function at 0x1400a3530
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x40
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 0x12345678
mov dword [0x140134ab4], 0x23456789
mov dword [0x140134ab8], 0x34567890
mov dword [0x140134ab0], edi
mov al, byte [rcx]
mov rbp, r8
mov r12d, edx
mov rbx, rcx
mov r11, rcx
xor esi, esi
jmp 0x1400a3589
movsx ecx, al
call fcn.1400a34c4
inc r11
mov al, byte [r11]
cmp al, sil
jne 0x1400a357b
lea rcx, [rsp + 0x20]
mov edx, 0xa
call fcn.1400209cc
mov dword [0x140134ab0], edi
mov dword [0x140134ab4], 0x23456789
mov dword [0x140134ab8], 0x34567890
jmp 0x1400a35c4
movsx ecx, al
call fcn.1400a34c4
inc rbx
mov al, byte [rbx]
cmp al, sil
jne 0x1400a35b9
mov edi, dword [0x140134ab8]
movzx ebx, byte [rsp + rsi + 0x20]
and edi, 0xfffd
mov ecx, ebx
or edi, 2
call fcn.1400a34c4
mov r11d, edi
xor r11d, 1
mov rdx, rbp
imul r11d, edi
shr r11d, 8
movzx ecx, r11b
xor ecx, ebx
call fcn.1400ac1f4
inc rsi
cmp rsi, 0xa
jl 0x1400a35cb
mov ebx, dword [0x140134ab8]
mov edi, r12d
shr edi, 0x10
and ebx, 0xfffd
movzx ecx, dil
or ebx, 2
call fcn.1400a34c4
mov r11d, ebx
mov eax, r12d
xor r11d, 1
shr eax, 8
mov rdx, rbp
imul r11d, ebx
xor r11d, eax
shr r11d, 8
movzx ecx, r11b
call fcn.1400ac1f4
mov r11d, dword [0x140134ab8]
shr r12d, 0x18
and r11d, 0xfffd
mov ecx, r12d
or r11d, 2
call fcn.1400a34c4
mov ecx, r11d
xor ecx, 1
mov rdx, rbp
imul ecx, r11d
and ecx, 0xff00
xor ecx, edi
shr ecx, 8
call fcn.1400ac1f4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a8530
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400a36a4
Capabilities:
Encode data using xor
Write file on windows

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 r13
push r14
sub rsp, 0x20
xor eax, eax
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov r12, rcx
cmp word [0x14010b748], ax
je 0x1400a371c
mov edi, r8d
mov r13, rcx
imul rdi, rbp
cmp rdi, rax
je 0x1400a371c
mov ebx, dword [0x140134ab8]
movsx ecx, byte [r13]
and ebx, 0xfffd
or ebx, 2
call fcn.1400a34c4
mov r11d, ebx
xor r11d, 1
imul r11d, ebx
shr r11d, 8
xor byte [r13], r11b
inc r13
sub rdi, 1
jne 0x1400a36e7
mov r9, r14
mov r8, rsi
mov rdx, rbp
mov rcx, r12
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
jmp fcn.1400aa698
Function at 0x1400a585c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x430
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rbx, rcx
mov ecx, 0x50
mov rdi, rdx
call fcn.1400ac1f4
mov rdx, rdi
mov ecx, 0x4b
call fcn.1400ac1f4
mov rdx, rdi
mov ecx, 3
call fcn.1400ac1f4
mov rdx, rdi
mov ecx, 4
call fcn.1400ac1f4
movsx ecx, byte [rbx + 2]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 3]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x3c]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x3d]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 6]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 7]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 8]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 9]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xa]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xb]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xc]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xd]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xe]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0xf]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x10]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x11]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x12]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x13]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x14]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x15]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x16]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x17]
mov rdx, rdi
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x18]
mov rdx, rdi
call fcn.1400ac1f4
mov r11d, dword [rbx + 0x18]
mov rdx, rdi
shr r11, 8
movsx ecx, r11b
call fcn.1400ac1f4
movsx ecx, byte [rbx + 0x20]
mov rdx, rdi
call fcn.1400ac1f4
mov r11d, dword [rbx + 0x20]
mov rdx, rdi
shr r11, 8
movsx ecx, r11b
call fcn.1400ac1f4
mov rcx, qword [rbx + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
call fcn.140053c04
mov r8, qword [rbx + 0x18]
lea rcx, [rsp + 0x20]
mov r9, rdi
mov edx, 1
call fcn.1400aa698
cmp rax, qword [rbx + 0x18]
jne 0x1400a5a4e
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1400a5a4a
mov rcx, qword [rbx + 0x50]
mov r9, rdi
mov edx, 1
call fcn.1400aa698
cmp rax, qword [rbx + 0x20]
jne 0x1400a5a4e
xor eax, eax
jmp 0x1400a5a53
mov eax, 0xa
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a8530
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x1400a5e58
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x20
mov r13, qword [rsp + 0x68]
mov esi, edx
mov ebx, ecx
mov ecx, 0x50
mov rdx, r13
mov r12, r9
mov ebp, r8d
call fcn.1400ac1f4
mov rdx, r13
mov ecx, 0x4b
call fcn.1400ac1f4
mov rdx, r13
mov ecx, 5
call fcn.1400ac1f4
mov rdx, r13
mov ecx, 6
call fcn.1400ac1f4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac1f4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac1f4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac1f4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac1f4
movsx edi, bl
mov rdx, r13
mov ecx, edi
call fcn.1400ac1f4
sar ebx, 8
mov rdx, r13
movsx ebx, bl
mov ecx, ebx
call fcn.1400ac1f4
mov rdx, r13
mov ecx, edi
call fcn.1400ac1f4
mov rdx, r13
mov ecx, ebx
call fcn.1400ac1f4
movsx ecx, sil
mov rdx, r13
call fcn.1400ac1f4
mov r11d, esi
mov rdx, r13
shr r11d, 8
movsx ecx, r11b
call fcn.1400ac1f4
mov r11d, esi
mov rdx, r13
shr r11d, 0x10
movsx ecx, r11b
call fcn.1400ac1f4
shr esi, 0x18
mov rdx, r13
movsx ecx, sil
call fcn.1400ac1f4
movsx ecx, bpl
mov rdx, r13
call fcn.1400ac1f4
mov r11d, ebp
mov rdx, r13
shr r11d, 8
movsx ecx, r11b
call fcn.1400ac1f4
mov r11d, ebp
mov rdx, r13
shr r11d, 0x10
movsx ecx, r11b
call fcn.1400ac1f4
shr ebp, 0x18
mov rdx, r13
movsx ecx, bpl
call fcn.1400ac1f4
movsx ecx, r12b
mov rdx, r13
call fcn.1400ac1f4
mov r11, r12
mov rdx, r13
shr r11, 8
movsx ecx, r11b
call fcn.1400ac1f4
test r12, r12
je 0x1400a5fd3
mov rcx, qword [rsp + 0x60]
mov r9, r13
mov r8, r12
mov edx, 1
call fcn.1400aa698
cmp rax, r12
je 0x1400a5fd3
mov eax, 0xa
jmp 0x1400a5fd5
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop r12
pop rdi
ret
Function at 0x1400ac450
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400ac466
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400ac468
xor eax, eax
test eax, eax
je 0x1400ac478
mov ecx, eax
call fcn.1400ad0e8
or eax, 0xffffffff
jmp 0x1400ac47a
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400addf7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400e0920]
jne 0x1400a854a
rol rcx, 0x10
test cx, 0xffff
jne 0x1400a8546
repz ret
ror rcx, 0x10
jmp 0x1400add50
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140135020]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140135118]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400addd5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140135020]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400addf7
mov rax, qword [rsp + 0x88]
mov qword [0x140135118], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1401350b8], rax
mov rax, qword [0x140135118]
mov qword [0x140134f90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401350a0], rax
mov dword [0x140134f80], 0xc0000409
mov dword [0x140134f84], 1
mov rax, qword [0x1400e0920]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400e0928]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140135018], eax
mov ecx, 1
call fcn.1400b5e54
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400cd5b0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140135018], 0
jne 0x1400ade7e
mov ecx, 1
call fcn.1400b5e54
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400aedf4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400b49b8
nop
cmp dword [0x140135540], 1
je 0x1400aed94
mov dword [0x14013553c], 1
mov byte [0x140135538], r12b
test ebx, ebx
jne 0x1400aed80
mov rcx, qword [0x140136030]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400aed6d
mov rcx, qword [0x140136028]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400aed0c
call fcn.1400af2b4
cmp qword [rdi], rax
jne 0x1400aed0c
jmp 0x1400aecf2
cmp rdi, rsi
jb 0x1400aed6d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400af2b4
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140136030]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140136028]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400aed4b
cmp r13, rax
je 0x1400aed6b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400aecf2
lea rdx, [0x1400c2ea0]
lea rcx, [0x1400c2e88]
call fcn.1400aeb3c
lea rdx, [0x1400c2eb0]
lea rcx, [0x1400c2ea8]
call fcn.1400aeb3c
nop
test r12d, r12d
je 0x1400aeda3
mov ecx, 8
call fcn.1400b48b8
test r12d, r12d
jne 0x1400aedce
mov dword [0x140135540], 1
lea ecx, [r12 + 8]
call fcn.1400b48b8
mov ecx, r15d
call fcn.1400aead0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400aec5c