joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008a70
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140027010]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140008ac6
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14000a4a8
cmp rax, 0x105
jb 0x140008add
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400183b0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.14000a3f8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.1400257e0
test eax, eax
je 0x140008ac6
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008b2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008ac6
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.1400257e0
test eax, eax
je 0x140008ac6
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008b5f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008ac6
mov esi, 1
jmp 0x140008ac6

Function at 0x140008c30
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x468
mov esi, edx
mov rbx, rcx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea r14, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000ba10
mov rcx, r14
call fcn.140008a70
test eax, eax
je 0x140008ca6
xor edi, edi
lea r14, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000ba10
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.140008b70
test eax, eax
jne 0x140008cc5
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400183b0
mov eax, edi
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.1400257e0
test eax, eax
je 0x140008ca6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x140008ca6
mov rbx, rax
lea rdi, [rsp + 0x250]
mov rcx, rdi
mov r8d, esi
call fcn.140025940
mov rcx, rdi
call fcn.140013ac0
mov rsi, rax
mov qword [rsp + 0x20], 0
lea r14, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
setne al
cmp dword [r14], esi
sete cl
and cl, al
movzx edi, cl
jmp 0x140008ca6
Function at 0x140008e90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x140038120], 0
je 0x140008f2a
mov rsi, rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov r9, qword [0x140038120]
lea rcx, str._Warning:
mov edx, 0xd
mov r8d, 1
call fcn.140013178
mov rbx, qword [rsp + 0x30]
mov rdi, qword [0x140038120]
call fcn.140001080
mov rcx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rdx, rdi
mov r8, rsi
xor r9d, r9d
call fcn.14000c39c
mov r9, qword [0x140038120]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140013178
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400183b0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000f71c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000f84c
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14000f8b3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f8b3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f8b3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f8b3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f8b3
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f8b3
cmp dword [rcx + 0xf8], 0
je 0x14000f8b3
mov ecx, ebx
call fcn.14000f798
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14000f9cc
cmp dword [rbp + 0x20], 0
je 0x14000f900
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f7f4
int3

Function at 0x140012190
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400121b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140010350
or eax, 0xffffffff
jmp 0x1400121b2
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400259b0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, [0x14002fa8c]
call fcn.1400120b8
test rax, rax
je 0x140025a27
mov rsi, rax
mov rcx, rax
xor edx, edx
mov r8d, 2
call fcn.140012a6c
mov ebp, 6
test eax, eax
je 0x140025a2e
mov rcx, rsi
call fcn.1400121b8
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400183b0
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, 6
jmp 0x140025a07
mov rcx, rsi
call fcn.140012c7c
test eax, eax
jle 0x1400259ff
mov r14d, eax
lea rcx, [r14 + 1]
call fcn.14000a3e8
mov rbx, rax
mov rcx, rsi
xor edx, edx
xor r8d, r8d
call fcn.140012a6c
mov ebp, 6
test eax, eax
je 0x140025a69
mov rcx, rbx
call fcn.14000a3f0
jmp 0x1400259ff
mov edx, 1
mov rcx, rbx
mov r8, r14
mov r9, rsi
call fcn.1400127d8
cmp rax, r14
jne 0x140025a5f
mov byte [rbx + r14], 0
lea r14, [rsp + 0x38]
mov qword [r14], rbx
lea r15, [0x14002cfb0]
xor r12d, r12d
xor r13d, r13d
mov rcx, r15
mov rdx, r14
call fcn.140025be0
test rax, rax
je 0x140025b8e
mov rbp, rax
movzx eax, byte [rax]
cmp eax, 0x23
je 0x140025a9b
cmp eax, 0x3b
je 0x140025a9b
jmp 0x140025ac7
mov al, byte [rbp + 1]
inc rbp
cmp al, 9
je 0x140025ac1
movzx ecx, al
cmp ecx, 0x20
je 0x140025ac1
mov qword [rsp + 0x30], rbp
test al, al
je 0x140025a9b
cmp ecx, 0x5b
jne 0x140025b07
inc rbp
mov qword [rsp + 0x30], rbp
lea rcx, [0x14002cfb6]
lea r13, [rsp + 0x30]
mov rdx, r13
call fcn.140025be0
test rax, rax
je 0x140025a98
jmp 0x140025b9f
test r13b, 1
je 0x140025a9b
lea rcx, [0x14002cfb8]
lea rdx, [rsp + 0x30]
call fcn.140025be0
test rax, rax
je 0x140025a9b
mov rcx, rbp
call fcn.140025c70
test eax, eax
jne 0x140025a9b
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
call fcn.140013ac0
lea rcx, [rax + 1]
mov qword [rsp + 0x20], rcx
call fcn.14000a3e8
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, qword [rsp + 0x20]
call fcn.14000ba10
mov rcx, qword [rdi]
mov qword [rdi], rbp
test rcx, rcx
je 0x140025b79
call fcn.14000a3f0
mov rbp, qword [rdi]
mov rcx, rbp
mov rdx, qword [rsp + 0x28]
call fcn.1400135e0
inc r12d
jmp 0x140025a9b
xor eax, eax
cmp r12d, 1
setne al
lea ebp, [rax + rax*4]
jmp 0x140025a5f
lea rcx, [0x14002cfb3]
mov rdx, r13
call fcn.140025be0
test rax, rax
jne 0x140025a98
mov rcx, rbp
lea rdx, str.Strings
call fcn.1400134c0
test eax, eax
sete r13b
jmp 0x140025a9b
Function at 0x1400c86f4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400c873e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400c873e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400c873e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400c873e
cmp dword [rcx + 0x84], 0xe
jbe 0x1400c873e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400c8740
xor al, al
add rsp, 0x28
ret

Function at 0x1400ceb70
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400ce96c
Function at 0x1400d3eb8
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400d3ee8
xor eax, eax
jmp 0x1400d3fab
mov rbp, rbx
cmp word [rax], si
je 0x1400d3f0d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400d3ef4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400d3ef0
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400d3dd8
movsxd r14, eax
test eax, eax
jne 0x1400d3f4b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400d3ee1
mov rcx, r14
call fcn.1400d066c
mov rdi, rax
test rax, rax
jne 0x1400d3f64
xor ecx, ecx
call fcn.1400cf9f4
jmp 0x1400d3f40
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400d3dd8
test eax, eax
jne 0x1400d3f95
mov rcx, rdi
call fcn.1400cf9f4
jmp 0x1400d3f9f
xor ecx, ecx
call fcn.1400cf9f4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400d82cc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400d82e2
mov al, 1
jmp 0x1400d8342
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400d82f3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400d8340
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400d47d8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400d8340
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400d8340
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400d8340
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400d8342
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400d9380
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400d2ea8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400d940a
cmp byte [rbp - 0x21], r15b
je 0x1400d9405
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400d9440
call fcn.1400cfc44
test eax, eax
jne 0x1400d942c
cmp byte [rbp - 0x21], r15b
je 0x1400d9424
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400d9440
cmp byte [rbp - 0x21], r15b
je 0x1400d943d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400d2488
test eax, eax
jne 0x1400d94e0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400d2ea8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400d947f
cmp byte [rbp - 0x21], r15b
je 0x1400d94b4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400d94b4
call fcn.1400cfc44
test eax, eax
jne 0x1400d94a0
cmp byte [rbp - 0x21], r15b
je 0x1400d9499
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400d94b4
cmp byte [rbp - 0x21], r15b
je 0x1400d94b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400d2488
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400d94e0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400d94e3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400d94f1
mov rcx, rdi
call fcn.1400cf9f4
cmp byte [rbp + 0x3f], r15b
je 0x1400d9500
mov rcx, qword [rbp + 0x27]
call fcn.1400cf9f4
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400dba70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400dba98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400dba98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1401767c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1401767cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1401767dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1401767c5
lea eax, [rcx + 1]
jmp 0x1401767eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1401767fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1401767e4
sub eax, 3
jb 0x14017681e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14017686d
sar eax, 1
movsxd rbp, eax
jb 0x140176854
jmp 0x14017682c
add ebx, ebx
jne 0x14017682a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140176854
inc ecx
add ebx, ebx
jne 0x14017683a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140176854
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14017684d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14017683c
add ecx, 2
jmp 0x140176859
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140176782
jmp 0x1401767cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xdd600
mov dl, 0x17
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1401768bd
cmp rsi, rcx
jae 0x1401768c5
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1401768a4
cmp al, 0x8f
ja 0x1401768a4
cmp byte [rsi - 2], 0xf
je 0x1401768aa
sub al, 0xe8
cmp al, 1
ja 0x14017688e
cmp rsi, rcx
jae 0x1401768c5
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140176894
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1401768c5
lodsb al, byte [rsi]
jmp 0x1401768a4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x172000]
mov eax, dword [rdi]
or eax, eax
je 0x140176922
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x176000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1401768d2
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14017691c
mov qword [rbx], rax
add rbx, 8
jmp 0x1401768f2
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14017695c
cmp al, 0xef
ja 0x14017694e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14017692e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14017693d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1401769db], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1401769db
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1401769cb
sub rsp, 0xffffffffffffff80
jmp 0x1400013f0
Function at 0x140001ce0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x17]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x17
jb 0x140001ce6
mov rax, rcx
ret

Function at 0x140001cfc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x13]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x13
jb 0x140001d02
mov rax, rcx
ret

Function at 0x140001d18
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xe]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xe
jb 0x140001d1e
mov rax, rcx
ret

Function at 0x140001d34
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x12
jb 0x140001d3a
mov rax, rcx
ret

Function at 0x140001d50
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x11]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x11
jb 0x140001d56
mov rax, rcx
ret

Function at 0x140001d6c
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x10]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x10
jb 0x140001d72
mov rax, rcx
ret

Function at 0x140001d88
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x15]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x15
jb 0x140001d8e
mov rax, rcx
ret

Function at 0x140001da4
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x14]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0x14
jb 0x140001daa
mov rax, rcx
ret

Function at 0x140001dc0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 9]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 9
jb 0x140001dc6
mov rax, rcx
ret

Function at 0x140001ddc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xc]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xc
jb 0x140001de2
mov rax, rcx
ret

Function at 0x140001df8
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0xd]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 0xd
jb 0x140001dfe
mov rax, rcx
ret

Function at 0x140001e14
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x12]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 9
jb 0x140001e1a
mov rax, rcx
ret

Function at 0x140001e38
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 2]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 2
jb 0x140001e3e
mov rax, rcx
ret
Function at 0x1400031e0
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 5]
inc r8d
xor byte [rdx], al
inc rdx
cmp r8d, 5
jb 0x1400031e6
mov rax, rcx
ret

Function at 0x1400031fc
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 0x4a]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x25
jb 0x140003202
mov rax, rcx
ret

Function at 0x140003220
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov rdx, rcx
mov al, byte [rdx + 8]
inc r8d
xor al, byte [rdx]
movsx eax, al
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 4
jb 0x140003226
mov rax, rcx
ret
Function at 0x1400017b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x1400017e3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140001826
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r11d, eax
add r11, rbx
and edi, 0xf
jbe 0x140001821
cmp rbx, r11
jae 0x140001826
dec edi
movzx eax, word [rbx]
lea rbx, [rbx + rax*2 + 2]
jne 0x140001810
cmp rbx, r11
jb 0x14000182a
xor eax, eax
jmp 0x140001836
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400018b0
Capabilities:
Read file on windows
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 rsi, rdx
xor edx, edx
mov r12, r8
mov rbx, rcx
xor ebp, ebp
call fcn.1401989ec
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasb al, byte [rdi]
lea rdx, [0x1401aba54]
not rcx
lea r13, [rcx - 1]
mov rcx, rbx
call fcn.14014293c
lea rdx, [0x1401aba64]
mov rcx, rsi
mov rdi, rax
call fcn.14014293c
mov rcx, rdi
mov rbx, rax
call fcn.140142814
test eax, eax
jne 0x140001976
nop dword [rax]
mov edx, 1
lea rcx, [rsp + 0x58]
mov r9, rdi
mov r8d, edx
call fcn.1401427f4
mov rcx, rdi
call fcn.140142814
test eax, eax
jne 0x14000196a
mov eax, ebp
mov r9, rbx
cdq
idiv r13d
movsxd rax, edx
mov edx, 1
movzx ecx, byte [rax + r12]
mov r8d, edx
xor byte [rsp + 0x58], cl
lea rcx, [rsp + 0x58]
call fcn.140142484
inc ebp
mov rcx, rdi
call fcn.140142814
test eax, eax
je 0x140001920
mov rcx, rdi
call fcn.140142290
mov rcx, rbx
call fcn.140142290
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 0x1400019a0
Capabilities:
Delete file

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x160
mov rax, qword [0x14023ea70]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rdi, rcx
lea rdx, [0x1401ab981]
mov rcx, rbp
call fcn.1400073f0
mov rbx, rax
test rax, rax
je 0x140001a05
mov rdx, rdi
mov rcx, rax
call fcn.140005580
mov rcx, rbx
test eax, eax
jne 0x140001a00
lea r8, [rsp + 0x20]
or edx, 0xffffffff
call fcn.140005520
test eax, eax
je 0x140001a09
mov rcx, rbx
call fcn.140007720
xor eax, eax
jmp 0x140001a62
mov qword [rsp + 0x190], rsi
mov esi, dword [rsp + 0x20]
xor edi, edi
test esi, esi
jle 0x140001a44
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov edx, edi
mov rcx, rbx
call fcn.140005520
lea r8, [rsp + 0x24]
mov edx, edi
mov rcx, rbx
call fcn.140007400
inc edi
cmp edi, esi
jl 0x140001a20
mov rcx, rbx
call fcn.140007720
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rsi, qword [rsp + 0x190]
mov eax, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140141c90
add rsp, 0x160
pop rdi
pop rbp
pop rbx
ret