joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009af14
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 [0x14010ef20]
xor ebx, ebx
cmp dword [rax + 0x40], ebx
je 0x14009b0e7
lea rdi, [0x140105fe0]
lea rdx, [0x14010e71c]
xor r9d, r9d
mov rcx, rdi
mov r8b, 1
call fcn.140015b20
cmp eax, 1
jne 0x14009b0e7
cmp dword [0x14010ab70], 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 0x14009af99
lea rdx, [rsp + 0x40]
call fcn.140012ce0
jmp 0x14009afa3
lea rdx, [rsp + 0x38]
call fcn.140012bd0
cmp qword [rsp + 0x30], rbx
je 0x14009b0e7
mov rcx, qword [0x14010ef20]
lea rdx, [rsp + 0x50]
mov r8d, 0x400
call fcn.14006bcf0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14009b004
lea rdx, [rsp + 0x50]
xor r9d, r9d
movabs r8, 0x7fffffff7fffffff
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.14000b270
cmp al, 0x43
je 0x14009affa
cmp al, 0x4e
jne 0x14009b004
mov rcx, qword [rsp + 0x38]
jmp 0x14009b0e2
lea rdx, [0x1400c40f8]
lea rcx, [rsp + 0x50]
xor r8d, r8d
call fcn.140031a0c
mov rdi, rax
cmp rax, rbx
jne 0x14009b040
mov ecx, 0x1f6
call fcn.140061d94
lea r8, [rsp + 0x50]
lea rcx, [0x14010e71c]
mov rdx, rax
call fcn.14009666c
jmp 0x14009affa
mov eax, dword [0x14010ab70]
cmp eax, 3
jne 0x14009b09c
mov rdx, rdi
mov ecx, 0xff
call fcn.1400ac3a4
mov rdx, rdi
mov ecx, 0xfe
call fcn.1400ac3a4
cmp qword [rsp + 0x30], rbx
jbe 0x14009b0cb
mov rax, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, word [rax + rbx*2]
call fcn.1400ac3a4
mov r11, qword [rsp + 0x40]
mov rdx, rdi
movzx ecx, byte [r11 + rbx*2 + 1]
call fcn.1400ac3a4
inc rbx
cmp rbx, qword [rsp + 0x30]
jb 0x14009b06c
jmp 0x14009b0cb
cmp eax, 2
jne 0x14009b0b4
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.1400aa848
mov rcx, rdi
call fcn.1400aa5c0
mov rcx, qword [rsp + 0x38]
call fcn.1400a93c8
mov rcx, qword [rsp + 0x40]
call fcn.1400a93c8
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x870]
add rsp, 0x860
pop rdi
ret
Function at 0x14009fcd8
Capabilities:
Create process on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
mov eax, 0x10a0
call fcn.1400baa60
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.1400a9314
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.140052af8
cmp rax, r12
jne 0x14009fd90
lea r8, str.._s
lea rcx, [rsp + 0x90]
mov r9, r12
mov edx, 0x800
call fcn.1400287d0
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 0x14009fdc7
cmp qword [rsp + 0x30], 0
je 0x14009fdc7
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [0x1400fec07], 0
test eax, eax
je 0x14009fe97
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x14009fe97
cmp byte [rsp + 0x10f0], 0
jne 0x14009fe93
mov r8, qword [rsp + 0x88]
lea rdi, [0x140000000]
test r8, r8
je 0x14009fe3b
movsxd rdx, dword [0x14012b370]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x12b2f0], rax
lea eax, [rdx + 1]
mov qword [rdi + rdx*8 + 0x12b270], r8
cdq
and edx, 0xf
add eax, edx
and eax, 0xf
sub eax, edx
mov dword [0x14012b370], eax
jmp 0x14009fe8a
xor ebx, ebx
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x12b2f0], rax
jne 0x14009fe7d
mov rcx, qword [rbx + rdi + 0x12b270]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14009fe75
mov r8, qword [rbx + rdi + 0x12b270]
mov qword [rsp + 0x88], r8
jmp 0x14009fe7d
mov r8, qword [rsp + 0x88]
add rbx, 8
cmp rbx, 0x80
jl 0x14009fe3d
test rbp, rbp
je 0x14009fe93
mov qword [rbp], r8
mov al, 1
jmp 0x14009fe99
xor al, al
mov rcx, qword [rsp + 0x1090]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x10a0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a1bc4
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.1400baa60
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 0x1400a1c2c
lea r9, [0x1400c3f4c]
lea r8, [rsp + 0x40]
lea rdx, str.ExternalViewer
lea rcx, [0x1400c4810]
mov dword [rsp + 0x20], 0x400
call fcn.14005c464
jmp 0x1400a1c47
lea rcx, [rsp + 0x40]
sub rcx, r9
movzx eax, word [r9]
mov word [rcx + r9], ax
add r9, 2
cmp ax, r13w
jne 0x1400a1c34
cmp word [rsp + 0x40], r13w
jne 0x1400a1c56
xor al, al
jmp 0x1400a1e2d
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 0x1400a1c64
lea rcx, [rsp + 0x840]
call fcn.1400475f4
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400310fc
cmp al, r13b
jne 0x1400a1dad
mov r14d, 0x22
cmp word [rsp + 0x40], r14w
jne 0x1400a1cb7
lea rcx, [rsp + 0x42]
mov edx, r14d
call fcn.1400a978c
jmp 0x1400a1d85
lea rax, [rsp + 0x40]
jmp 0x1400a1d85
lea rdx, [0x1400cd0ac]
mov rcx, rax
call fcn.1400ac0c4
mov rbx, rax
cmp rax, r13
je 0x1400a1dad
movzx ecx, word [rax]
mov rsi, rax
jmp 0x1400a1ceb
add rsi, 2
movzx ecx, word [rsi]
call fcn.14006b49c
cmp al, r13b
jne 0x1400a1ce4
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 0x1400a1d03
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 0x1400a1d4d
movzx edi, word [rbx]
mov word [rbx], r13w
cmp word [rsp + 0x40], r14w
je 0x1400a1d90
lea rdx, [rsp + 0x40]
xor ecx, ecx
call fcn.1400310fc
cmp al, r13b
jne 0x1400a1d90
mov word [rbx], di
lea rax, [rsi + 2]
cmp rax, r13
jne 0x1400a1cc1
jmp 0x1400a1dad
mov rcx, r13
movzx eax, word [rsp + rcx + 0x1040]
add rcx, 2
mov word [rsp + rcx + 0x83e], ax
cmp ax, r13w
jne 0x1400a1d93
lea rdi, [0x14012b380]
mov r8b, 1
mov rdx, rbp
mov rcx, rdi
call fcn.14009f9cc
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.14009fcd8
cmp al, r13b
jne 0x1400a1dff
mov rcx, rdi
call fcn.14009fb0c
jmp 0x1400a1c4f
cmp r12b, r13b
je 0x1400a1e23
cmp qword [0x14012b380], r13
je 0x1400a1e23
lea rcx, [0x1400a073c]
mov r8, rdi
mov edx, 0x10000
call fcn.1400a9934
jmp 0x1400a1e2b
mov rcx, rdi
call fcn.14009fb0c
mov al, 1
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1400a86e0
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 0x1400a1e5c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov dil, r8b
lea rsi, [0x14012d4b0]
mov r8b, 1
mov rcx, rsi
mov rbx, rdx
call fcn.14009f9cc
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.14009fcd8
test al, al
jne 0x1400a1eb8
mov rcx, rsi
call fcn.14009fb0c
xor al, al
jmp 0x1400a1edd
test dil, dil
je 0x1400a1ed3
lea rcx, [0x1400a073c]
mov r8, rsi
mov edx, 0x10000
call fcn.1400a9934
jmp 0x1400a1edb
mov rcx, rsi
call fcn.14009fb0c
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a1ef0
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 0x1400a1f3d
mov ecx, 0x2bc
call fcn.140061d94
mov ecx, 0x2bd
mov rbx, rax
call fcn.140061d94
mov rcx, qword [0x1400ffd80]
mov r9d, 0x40
mov r8, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400a1f4f
lea rdx, [0x1400fec20]
xor r8d, r8d
mov rcx, rbx
call fcn.1400a107c
add rsp, 0x20
pop rbx
ret

Function at 0x1400a1f58
Capabilities:
Create thread

Disassembly:
push rbx
mov eax, 0x1850
call fcn.1400baa60
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rcx, rdx
mov rbx, rdx
call fcn.14009fc74
test al, al
je 0x1400a1fbd
mov ecx, 0x65
call fcn.140061d94
mov ecx, 0x596
mov rbx, rax
call fcn.140061d94
mov rcx, qword [0x1400ffd80]
mov r9d, 0x30
mov r8, rbx
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400a20fc
cmp byte [0x1400fec05], 0
jne 0x1400a2009
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.14009fcd8
test al, al
jne 0x1400a20fc
mov ecx, 0x201
call fcn.140061d94
mov rdx, rbx
mov rcx, rax
call fcn.140096028
jmp 0x1400a20fc
lea rdx, [rsp + 0x840]
lea rcx, str.Rar_EXXXXXXX
call fcn.140086dec
test al, al
je 0x1400a20fc
lea rcx, [rsp + 0x1040]
mov edx, 0x400
call fcn.140087598
lea rcx, [rsp + 0x840]
call fcn.140087580
call fcn.1400829f8
lea rdx, [0x14010e71c]
lea rcx, [0x140105fe0]
mov r8d, 0x400
call fcn.140012a08
mov r11d, dword [0x1401063f4]
mov rcx, qword [0x14010ef20]
lea rdx, [0x1400c3120]
mov dword [0x14010c6b4], r11d
call fcn.14006bb20
lea rcx, [0x140105fe0]
xor r8d, r8d
xor edx, edx
mov dword [0x14010c2a0], 4
call fcn.140017374
cmp byte [0x1400fec04], 0
jne 0x1400a20fc
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140052cf8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400527bc
lea rdx, [rsp + 0x40]
lea rcx, [0x14012f5e0]
xor r8d, r8d
call fcn.14009f9cc
lea rcx, [rsp + 0x1040]
call fcn.140087580
lea r8, [0x14012f5e0]
lea rcx, [0x1400a073c]
mov edx, 0x10000
call fcn.1400a9934
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x1850
pop rbx
ret
Function at 0x1400a367c
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x1400a36e8
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 [0x140132734], 0x23456789
mov dword [0x140132738], 0x34567890
mov dword [0x140132730], edi
mov al, byte [rcx]
mov rbp, r8
mov r12d, edx
mov rbx, rcx
mov r11, rcx
xor esi, esi
jmp 0x1400a3741
movsx ecx, al
call fcn.1400a367c
inc r11
mov al, byte [r11]
cmp al, sil
jne 0x1400a3733
lea rcx, [rsp + 0x20]
mov edx, 0xa
call fcn.1400209f4
mov dword [0x140132730], edi
mov dword [0x140132734], 0x23456789
mov dword [0x140132738], 0x34567890
jmp 0x1400a377c
movsx ecx, al
call fcn.1400a367c
inc rbx
mov al, byte [rbx]
cmp al, sil
jne 0x1400a3771
mov edi, dword [0x140132738]
movzx ebx, byte [rsp + rsi + 0x20]
and edi, 0xfffd
mov ecx, ebx
or edi, 2
call fcn.1400a367c
mov r11d, edi
xor r11d, 1
mov rdx, rbp
imul r11d, edi
shr r11d, 8
movzx ecx, r11b
xor ecx, ebx
call fcn.1400ac3a4
inc rsi
cmp rsi, 0xa
jl 0x1400a3783
mov ebx, dword [0x140132738]
mov edi, r12d
shr edi, 0x10
and ebx, 0xfffd
movzx ecx, dil
or ebx, 2
call fcn.1400a367c
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.1400ac3a4
mov r11d, dword [0x140132738]
shr r12d, 0x18
and r11d, 0xfffd
mov ecx, r12d
or r11d, 2
call fcn.1400a367c
mov ecx, r11d
xor ecx, 1
mov rdx, rbp
imul ecx, r11d
and ecx, 0xff00
xor ecx, edi
shr ecx, 8
call fcn.1400ac3a4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a86e0
add rsp, 0x40
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400a385c
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 [0x14010b778], ax
je 0x1400a38d4
mov edi, r8d
mov r13, rcx
imul rdi, rbp
cmp rdi, rax
je 0x1400a38d4
mov ebx, dword [0x140132738]
movsx ecx, byte [r13]
and ebx, 0xfffd
or ebx, 2
call fcn.1400a367c
mov r11d, ebx
xor r11d, 1
imul r11d, ebx
shr r11d, 8
xor byte [r13], r11b
inc r13
sub rdi, 1
jne 0x1400a389f
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.1400aa848
Function at 0x1400a5a10
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.1400ac3a4
mov rdx, rdi
mov ecx, 0x4b
call fcn.1400ac3a4
mov rdx, rdi
mov ecx, 3
call fcn.1400ac3a4
mov rdx, rdi
mov ecx, 4
call fcn.1400ac3a4
movsx ecx, byte [rbx + 2]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 3]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x3c]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x3d]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 6]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 7]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 8]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 9]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xa]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xb]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xc]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xd]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xe]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0xf]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x10]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x11]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x12]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x13]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x14]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x15]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x16]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x17]
mov rdx, rdi
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x18]
mov rdx, rdi
call fcn.1400ac3a4
mov r11d, dword [rbx + 0x18]
mov rdx, rdi
shr r11, 8
movsx ecx, r11b
call fcn.1400ac3a4
movsx ecx, byte [rbx + 0x20]
mov rdx, rdi
call fcn.1400ac3a4
mov r11d, dword [rbx + 0x20]
mov rdx, rdi
shr r11, 8
movsx ecx, r11b
call fcn.1400ac3a4
mov rcx, qword [rbx + 0x68]
lea rdx, [rsp + 0x20]
mov r8d, 0x400
call fcn.140053c40
mov r8, qword [rbx + 0x18]
lea rcx, [rsp + 0x20]
mov r9, rdi
mov edx, 1
call fcn.1400aa848
cmp rax, qword [rbx + 0x18]
jne 0x1400a5c02
mov r8, qword [rbx + 0x20]
test r8, r8
je 0x1400a5bfe
mov rcx, qword [rbx + 0x50]
mov r9, rdi
mov edx, 1
call fcn.1400aa848
cmp rax, qword [rbx + 0x20]
jne 0x1400a5c02
xor eax, eax
jmp 0x1400a5c07
mov eax, 0xa
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1400a86e0
mov rbx, qword [rsp + 0x450]
add rsp, 0x430
pop rdi
ret
Function at 0x1400a600c
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.1400ac3a4
mov rdx, r13
mov ecx, 0x4b
call fcn.1400ac3a4
mov rdx, r13
mov ecx, 5
call fcn.1400ac3a4
mov rdx, r13
mov ecx, 6
call fcn.1400ac3a4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac3a4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac3a4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac3a4
mov rdx, r13
xor ecx, ecx
call fcn.1400ac3a4
movsx edi, bl
mov rdx, r13
mov ecx, edi
call fcn.1400ac3a4
sar ebx, 8
mov rdx, r13
movsx ebx, bl
mov ecx, ebx
call fcn.1400ac3a4
mov rdx, r13
mov ecx, edi
call fcn.1400ac3a4
mov rdx, r13
mov ecx, ebx
call fcn.1400ac3a4
movsx ecx, sil
mov rdx, r13
call fcn.1400ac3a4
mov r11d, esi
mov rdx, r13
shr r11d, 8
movsx ecx, r11b
call fcn.1400ac3a4
mov r11d, esi
mov rdx, r13
shr r11d, 0x10
movsx ecx, r11b
call fcn.1400ac3a4
shr esi, 0x18
mov rdx, r13
movsx ecx, sil
call fcn.1400ac3a4
movsx ecx, bpl
mov rdx, r13
call fcn.1400ac3a4
mov r11d, ebp
mov rdx, r13
shr r11d, 8
movsx ecx, r11b
call fcn.1400ac3a4
mov r11d, ebp
mov rdx, r13
shr r11d, 0x10
movsx ecx, r11b
call fcn.1400ac3a4
shr ebp, 0x18
mov rdx, r13
movsx ecx, bpl
call fcn.1400ac3a4
movsx ecx, r12b
mov rdx, r13
call fcn.1400ac3a4
mov r11, r12
mov rdx, r13
shr r11, 8
movsx ecx, r11b
call fcn.1400ac3a4
test r12, r12
je 0x1400a6187
mov rcx, qword [rsp + 0x60]
mov r9, r13
mov r8, r12
mov edx, 1
call fcn.1400aa848
cmp rax, r12
je 0x1400a6187
mov eax, 0xa
jmp 0x1400a6189
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 0x1400ac600
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400ac616
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400ac618
xor eax, eax
test eax, eax
je 0x1400ac628
mov ecx, eax
call fcn.1400ad298
or eax, 0xffffffff
jmp 0x1400ac62a
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400adfa7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400e0920]
jne 0x1400a86fa
rol rcx, 0x10
test cx, 0xffff
jne 0x1400a86f6
repz ret
ror rcx, 0x10
jmp 0x1400adf00
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140132ca0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140132d98]
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 0x1400adf85
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, [0x140132ca0]
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 0x1400adfa7
mov rax, qword [rsp + 0x88]
mov qword [0x140132d98], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140132d38], rax
mov rax, qword [0x140132d98]
mov qword [0x140132c10], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140132d20], rax
mov dword [0x140132c00], 0xc0000409
mov dword [0x140132c04], 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 [0x140132c98], eax
mov ecx, 1
call fcn.1400b6004
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400cd5c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140132c98], 0
jne 0x1400ae02e
mov ecx, 1
call fcn.1400b6004
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 0x1400aef98
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400aee0c
Function at 0x1400aefa4
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.1400b4b68
nop
cmp dword [0x1401331c0], 1
je 0x1400aef44
mov dword [0x1401331bc], 1
mov byte [0x1401331b8], r12b
test ebx, ebx
jne 0x1400aef30
mov rcx, qword [0x140133cb0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400aef1d
mov rcx, qword [0x140133ca8]
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 0x1400aeebc
call fcn.1400af464
cmp qword [rdi], rax
jne 0x1400aeebc
jmp 0x1400aeea2
cmp rdi, rsi
jb 0x1400aef1d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400af464
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140133cb0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140133ca8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400aeefb
cmp r13, rax
je 0x1400aef1b
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 0x1400aeea2
lea rdx, [0x1400c2ea0]
lea rcx, [0x1400c2e88]
call fcn.1400aecec
lea rdx, [0x1400c2eb0]
lea rcx, [0x1400c2ea8]
call fcn.1400aecec
nop
test r12d, r12d
je 0x1400aef53
mov ecx, 8
call fcn.1400b4a68
test r12d, r12d
jne 0x1400aef7e
mov dword [0x1401331c0], 1
lea ecx, [r12 + 8]
call fcn.1400b4a68
mov ecx, r15d
call fcn.1400aec80
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 0x1400aee0c