joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cbb0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000cc52
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14000cc47
mov dword [rsp + 0x54], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x54]
add rsp, 0x68
ret

Function at 0x14000cc70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
call fcn.140009e20
nop
mov dword [rsp + 0x30], 0x1000
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000a5f0
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x34], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14000cd06
cmp dword [rsp + 0x34], 1
je 0x14000cd19
lea rdx, [0x14002bc8c]
lea rcx, [rsp + 0x50]
call fcn.14000a200
jmp 0x14000cd32
mov edx, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.14000a6d0
lea rcx, [rsp + 0x50]
call fcn.14000a970
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.140009e90
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.140009e60
mov rax, qword [rsp + 0x80]
add rsp, 0x78
ret

Function at 0x14000ce10
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14000cece
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000cec3
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret
Function at 0x14000cee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000cf58
cmp dword [rsp + 0x30], 4
je 0x14000cf49
cmp dword [rsp + 0x30], 3
jne 0x14000cf58
cmp dword [rsp + 0x34], 4
jne 0x14000cf58
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
add rsp, 0x48
ret
Function at 0x140010400
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140010480
cmp dword [rsp + 0x34], 3
jne 0x140010480
cmp qword [rsp + 0x60], 0
je 0x14001047e
mov dword [rsp + 0x38], 1
jmp 0x140010495
cmp dword [rsp + 0x30], 0xea
je 0x140010495
mov rax, qword [rsp + 0x68]
mov dword [rax], 0
mov eax, dword [rsp + 0x38]
add rsp, 0x48
ret
Function at 0x140014fc0
Capabilities:
Encrypt data using blowfish

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
jmp 0x140014fe7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x140015050
mov dword [rsp + 0x24], 0
jmp 0x140015002
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x14001504e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x400
lea rcx, [0x14002db40]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x24]
movsxd rdx, dword [rsp + 0x20]
imul rdx, rdx, 0x400
mov r8, qword [rsp + 0x50]
lea rdx, [r8 + rdx + 0x48]
movsxd r8, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
mov dword [rdx + r8*4], eax
jmp 0x140014ff8
jmp 0x140014fdd
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x20], 0
jmp 0x14001506c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x12
jge 0x1400150fa
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
jmp 0x140015093
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 4
jge 0x1400150d3
mov eax, dword [rsp + 0x34]
shl eax, 8
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x58]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x24], eax
jl 0x1400150d1
mov dword [rsp + 0x24], 0
jmp 0x140015089
movsxd rax, dword [rsp + 0x20]
lea rcx, [0x14002daf0]
mov edx, dword [rsp + 0x34]
mov eax, dword [rcx + rax*4]
xor eax, edx
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx*4], eax
jmp 0x140015062
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x20], 0
jmp 0x14001511f
mov eax, dword [rsp + 0x20]
add eax, 2
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x12
jge 0x140015161
lea r8, [rsp + 0x2c]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140015210
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, qword [rsp + 0x50]
mov edx, dword [rsp + 0x2c]
mov dword [rcx + rax*4], edx
jmp 0x140015114
mov dword [rsp + 0x20], 0
jmp 0x140015175
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 4
jge 0x140015202
mov dword [rsp + 0x24], 0
jmp 0x140015195
mov eax, dword [rsp + 0x24]
add eax, 2
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x100
jge 0x1400151fd
lea r8, [rsp + 0x2c]
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140015210
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x400
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x48]
movsxd rcx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov dword [rax + rcx*4], edx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x400
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x48]
mov ecx, dword [rsp + 0x24]
inc ecx
movsxd rcx, ecx
mov edx, dword [rsp + 0x2c]
mov dword [rax + rcx*4], edx
jmp 0x14001518a
jmp 0x14001516b
add rsp, 0x48
ret
Function at 0x140015530
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax + 0x10], 0
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x67452301
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0xefcdab89
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x98badcfe
mov eax, 4
imul rax, rax, 3
mov rcx, qword [rsp + 8]
mov dword [rcx + rax], 0x10325476
ret

Function at 0x1400173f0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140017456
lea rdx, str.DIMLog.txt
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
xor r9d, r9d
mov r8d, 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400174f0
nop
mov rax, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x280]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x30]
mov r8d, 0x7001
lea rdx, [rsp + 0x50]
mov rcx, rax
mov rax, qword [rsp + 0x20]
call qword [rax + 0x58]
test eax, eax
je 0x1400174bf
mov rax, qword [rsp + 0x280]
mov rcx, rax
call fcn.1400176f0
mov rax, qword [rsp + 0x280]
mov byte [rax + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.1400175e0
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140021890
add rsp, 0x270
pop rdi
ret

Function at 0x14001b710
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1400054c0
jmp 0x14001b74d
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140005210
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.140005500
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140005a90
movzx eax, al
test eax, eax
je 0x14001b7cc
lea rcx, [rsp + 0x28]
call fcn.1400051f0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x70]
call fcn.14001b5c0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.14001f240
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001b7bc
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x14001b73b
movzx eax, byte [rsp + 0x20]
add rsp, 0x68
ret
Function at 0x14001d040
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.MSVCR120.dll_memset
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x28]
call sub.MSVCR120.dll_memset
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x20]
call sub.MSVCR120.dll_memset
nop
mov rax, qword [rsp + 0x50]
add rax, 0xa0
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
nop
jmp 0x14001d0b8
mov rax, qword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14001f240
Capabilities:
Parse url

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x68a0
call fcn.1400218e0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14003b250]
xor rax, rsp
mov qword [rsp + 0x6890], rax
mov dword [rsp + 0x28], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x40]
call fcn.140020950
nop
mov rax, qword [rsp + 0x68b0]
add rax, 8
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_7775]
movzx eax, al
test eax, eax
jne 0x14001f317
xor eax, eax
mov word [rsp + 0x6680], ax
lea rax, [rsp + 0x6682]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68b0]
add rax, 8
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov rdx, qword [rsp + 0x68c0]
lea rcx, [rsp + 0x6680]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rsp + 0x6680]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x14001f3ff
mov rax, qword [rsp + 0x68b0]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x14001f399
xor eax, eax
mov word [rsp + 0x6470], ax
lea rax, [rsp + 0x6472]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
lea rcx, [rsp + 0x41c8]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov r8, rax
mov rdx, qword [rsp + 0x68c0]
lea rcx, [rsp + 0x6470]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rsp + 0x6470]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
jmp 0x14001f3ff
xor eax, eax
mov word [rsp + 0x6260], ax
lea rax, [rsp + 0x6262]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x68b0]
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x6260]
call qword [sym.imp.MSVCR120.dll_wcscpy_s]
lea rcx, [rsp + 0x6260]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea rdx, [rsp + 0x6260]
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1498]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x68b8]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
mov eax, dword [rsp + 0x28]
or eax, 1
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x40]
call fcn.140020ac0
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, qword [rsp + 0x68b8]
mov rcx, qword [rsp + 0x6890]
xor rcx, rsp
call fcn.140021890
add rsp, 0x68a0
pop rdi
ret

Function at 0x14001fa70
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x28], 0xfffffffffffffffe
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call fcn.14001fc10
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
add rsp, 0x38
ret
Function at 0x14001fdf0
Capabilities:
Delete registry key

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.14001fcc0
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [rsp + 0xb8], 0xffffffff
je 0x14001fef6
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xb8]
lea rcx, [rsp + 0x70]
call fcn.140020320
lea rcx, [rsp + 0x50]
mov rdi, rcx
mov rsi, rax
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x80]
call fcn.140003350
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140020470
mov r9d, 0x400
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140002f50
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov rcx, qword [rsp + 0x40]
mov r9, rcx
lea r8, [0x140030de0]
mov rdx, rax
mov rcx, 0xffffffff80000001
call fcn.14000cac0
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x1413fc0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1413fc237
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 0x1413fc0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413fc0c7
add dl, dl
jne 0x1413fc0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413fc14e
xor eax, eax
add dl, dl
jne 0x1413fc0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413fc205
add dl, dl
jne 0x1413fc10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413fc11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413fc128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413fc135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413fc142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1413fc0d6
mov eax, 1
add dl, dl
jne 0x1413fc15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413fc16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413fc153
sub eax, ebx
mov ebx, 1
jne 0x1413fc1a4
mov ecx, 1
add dl, dl
jne 0x1413fc186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413fc193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413fc17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413fc0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1413fc1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413fc1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413fc1b5
cmp eax, 0x7d00
jae 0x1413fc1f3
cmp eax, 0x500
jb 0x1413fc1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413fc0d6
cmp eax, 0x7f
ja 0x1413fc1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413fc0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413fc22a
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 0x1413fc0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007a90
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140007ab8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140007ade
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140007ae0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007b39
test ecx, ecx
jle 0x140007b19
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140007b39
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007b39
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140007b60
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140007b82
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140007b98
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140007bb4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140007bb6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007bf2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140007c8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140007c2d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140007c6e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140007c8e
cmp rbx, rax
ja 0x140007c40
test rbx, rbx
je 0x140007c8e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140008090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14014c010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400080bd
xor eax, eax
jmp 0x14000821a
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1400080e8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1400080e8
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x14000821a
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000820d
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000812b
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140008156
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008212
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400081c5
sub eax, 1
je 0x1400081c5
cmp eax, 2
jne 0x14000820d
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140008212
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400081f3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000820d
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140008212
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400b5c60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret