joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ea0c
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x8a0
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov rbx, rcx
lea r8, [0x140059be0]
lea rcx, [rsp + 0x20]
mov edx, 0x432
xor edi, edi
call fcn.14001b494
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x432
call fcn.14001b410
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14000ea77
lea rcx, [rsp + 0x20]
call fcn.14001edb8
mov edi, 1
mov eax, edi
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x8b8]
add rsp, 0x8a0
pop rdi
ret

Function at 0x14000ea9c
Capabilities:
Check if file exists

Disassembly:
sub rsp, 0x28
lea rcx, [0x14003d7d0]
call fcn.14000ea0c
lea rcx, [0x14003d430]
call fcn.14000ea0c
lea rcx, [0x14003d770]
call fcn.14000ea0c
lea rcx, [0x14003d830]
call fcn.14000ea0c
lea rcx, [0x14003d890]
call fcn.14000ea0c
lea rcx, [0x14003b760]
call fcn.14000ea0c
lea rcx, [0x14003d680]
add rsp, 0x28
jmp fcn.14000ea0c

Function at 0x14000ebc0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xf8
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xor eax, eax
lea rcx, [rsp + 0x74]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
movups xmmword [rsp + 0x50], xmm0
lea r8d, [rax + 0x64]
call fcn.1400158d0
lea rax, [rsp + 0x50]
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [0x14005abe0]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
and qword [rsp + 0x38], 0
xor ecx, ecx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000ec5c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140013ce0
add rsp, 0xf8
ret

Function at 0x14000ec78
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [r11 - 0x18], 0
lea rax, [r11 - 0x18]
mov rdi, rdx
mov qword [r11 - 0x28], rax
mov rdx, rcx
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0xf003f
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000ed06
cmp qword [rsp + 0x30], 0
je 0x14000ed06
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x30]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400131e8
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rbx + 1]
call fcn.140004fd8
mov rdi, rax
test rax, rax
je 0x140013252
lea r9d, [rbx + 4]
mov dword [rsp + 0x30], ebp
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400133b0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov edi, r8d
lea rdx, str.Received_Post_Shell_Event__ld_n
lea rcx, [0x140057030]
call fcn.1400066c4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], eax
and qword [rsp + 0x40], rax
lea rdx, str.SoftwareIntelDisplayigfxcuiMISC
lea ecx, [rax + 1]
call fcn.140004fd8
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140013457
mov dword [rsp + 0x48], 2
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.InstallStage
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
and dword [rsp + 0x38], ebx
call fcn.14000db10
xor edx, edx
mov ecx, edi
call fcn.14000dd4c
mov byte [0x14005c558], 1
test rbx, rbx
je 0x14001347a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14001e480
Capabilities:
Parse pe header

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

Function at 0x14001edb8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001edd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001b2bc
or eax, 0xffffffff
jmp 0x14001edda
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400290a0
Capabilities:
Read 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 r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140028dc2
call fcn.14001b348
mov dword [rax], 0x16
call fcn.14001b1dc
jmp 0x140028f12
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140028f12
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140028f12
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140028df1
lock or dword [rcx + 0x14], 0x10
jmp 0x140028f12
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140028e05
call fcn.1400294a0
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x140028e15
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x140028e18
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.140028a78
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.140033a38
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140028f00
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140028eab
mov rcx, rbx
call fcn.140028a78
cmp eax, 0xffffffff
je 0x140028e96
mov rcx, rbx
call fcn.140028a78
cmp eax, 0xfffffffe
je 0x140028e96
mov rcx, rbx
call fcn.140028a78
movsxd rdi, eax
lea rsi, [0x14005d680]
mov rcx, rbx
sar rdi, 6
call fcn.140028a78
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140028e9d
lea rdx, [0x140055520]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140028eab
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140028ecf
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140028ecf
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140028ecf
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x140028eed
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x140028ef8
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x140028f17
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140028d8c
Function at 0x14002aaa4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140014180
sub rsp, rax
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140028a78
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002aaf3
mov rax, rbp
jmp 0x14002abfb
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5d680]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002af94
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5d680]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002abf7
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002abf7
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002af94
test rax, rax
js 0x14002abf7
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002abf7
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002abe9
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002abe9
cmp byte [rcx], 0xd
jne 0x14002abcf
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002abde
cmp byte [rcx + 1], 0xa
jne 0x14002abde
inc rcx
jmp 0x14002abde
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x55c60]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002abb1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002abfb
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140013ce0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ccb4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002cd3b
mov rsi, rbx
cmp word [rax], bp
je 0x14002ccfa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002cce4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002cce0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400274c4
mov rdi, rax
test rax, rax
je 0x14002cd28
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016740
mov rbp, rdi
xor ecx, ecx
call fcn.140026dac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14003358c
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14005d680]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x1400335ea
cmp word [rdx], r12w
jne 0x1400335ea
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400335f0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14003374b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140033726
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140033629
mov rcx, r9
jmp 0x14003364c
cmp r9, rdx
jae 0x140033663
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14003360d
jmp 0x14003374b
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140033720
cmp dword [rsp + 0x80], edi
je 0x140033720
mov rdx, r14
lea r11, [0x14005d680]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x1400336f9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x1400336cc
mov word [rbx], r12w
jmp 0x140033747
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x1400336d5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140033747
cmp word [rsp + 0x70], r12w
jne 0x140033706
cmp rbx, rsi
je 0x1400336c6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14002af9c
cmp word [rsp + 0x70], r12w
je 0x14003374b
mov word [rbx], r13w
jmp 0x140033747
lea r11, [0x14005d680]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140033743
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14003374b
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140036958
Capabilities:
Clear file content

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 r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002af9c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002af9c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140036aa8
cmp rax, 0xffffffffffffffff
je 0x140036aa8
xor edi, edi
test rbp, rbp
jle 0x140036a53
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002b040
mov rbx, rax
test rax, rax
jne 0x1400369e0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140036a49
mov edx, 0x8000
mov ecx, r14d
call fcn.140020bbc
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002a484
cmp eax, 0xffffffff
je 0x140036a29
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400369f0
mov edx, r15d
mov ecx, r14d
call fcn.140020bbc
jmp 0x140036a49
cmp byte [rsi + 0x38], dil
je 0x140036a40
cmp dword [rsi + 0x34], 5
jne 0x140036a40
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140036a49
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140026dac
jmp 0x140036abc
jns 0x140036abc
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002af9c
cmp rax, 0xffffffffffffffff
jne 0x140036a74
cmp byte [rsi + 0x30], dil
je 0x140036abc
mov edi, dword [rsi + 0x2c]
jmp 0x140036abc
mov ecx, r14d
call fcn.14002d1fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140036abc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140036abc
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140036ab5
mov eax, dword [rsi + 0x2c]
jmp 0x140036aba
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002af9c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0xd6bc20
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xd6bc2d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xd6bc3d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xd6bc25
lea eax, [rcx + 1]
jmp 0xd6bc4b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xd6bc5e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xd6bc44
sub eax, 3
jb 0xd6bc7e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xd6bccd
sar eax, 1
movsxd rbp, eax
jb 0xd6bcb4
jmp 0xd6bc8c
add ebx, ebx
jne 0xd6bc8a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd6bcb4
inc ecx
add ebx, ebx
jne 0xd6bc9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xd6bcb4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xd6bcad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xd6bc9c
add ecx, 2
jmp 0xd6bcb9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00d6bbe2
jmp 0xd6bc2d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x333c00
mov dl, 0x76
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xd6bd19
cmp rsi, rcx
jae 0xd6bd21
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xd6bd00
cmp al, 0x8f
ja 0xd6bd00
cmp byte [rsi - 2], 0xf
je 0xd6bd06
sub al, 0xe8
cmp al, 1
ja 0xd6bcea
cmp rsi, rcx
jae 0xd6bd21
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xd6bcf0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xd6bd21
lodsb al, byte [rsi]
jmp 0xd6bd00
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x969000]
mov eax, dword [rdi]
or eax, eax
je 0xd6bd7e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x96b000]
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 0xd6bd2e
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 0xd6bd78
mov qword [rbx], rax
add rbx, 8
jmp 0xd6bd4e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xd6bdd6
sub rsp, 0xffffffffffffff80
jmp 0x45d230
Function at 0x1411c9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1411c91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1411c9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411c906f
add dl, dl
jne 0x1411c9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411c90f6
xor eax, eax
add dl, dl
jne 0x1411c90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1411c91ad
add dl, dl
jne 0x1411c90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411c90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411c90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411c90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1411c90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1411c907e
mov eax, 1
add dl, dl
jne 0x1411c9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1411c9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411c90fb
sub eax, ebx
mov ebx, 1
jne 0x1411c914c
mov ecx, 1
add dl, dl
jne 0x1411c912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1411c913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411c9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411c907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1411c9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1411c9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1411c915d
cmp eax, 0x7d00
jae 0x1411c919b
cmp eax, 0x500
jb 0x1411c9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411c907e
cmp eax, 0x7f
ja 0x1411c919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1411c907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1411c91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1411c907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1800e1726
Capabilities:
Write file on windows

Disassembly:
jmp 0x18029c8b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x18036b751]
call fcn.1800e5c4f
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x18029c907
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x18029ca13
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x18029c9ac
cmp qword [rbp + 0x28], 0
jle 0x18029c9ac
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x18029c94c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.1800e57fe
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x18029ca02
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x18029ca02
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret