joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f5e38
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov r12, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
test dl, dl
je 0x1400f5ec4
lea rax, [0x14010c130]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1401801e0]
lea r8, str.NtMapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400f5858
lea rax, [0x14010c1a0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400f5858
jmp 0x1400f5ed0
cmp qword [r12 + 0x18], 0
je 0x1400f606f
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r13
mov rdi, rax
mov rsi, qword [r12 + 0x18]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.1400f56c0
mov rbx, rax
mov rax, 0xfffffffffffff000
mov rcx, rbx
and rcx, rax
lea rdx, [rcx + rdi]
and ebx, 0xfff
add rsi, 0x105f
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call r13
mov rdi, rax
test rax, rax
jne 0x1400f5f86
lea rdx, str..._.._sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x184
call fcn.140025970
mov rcx, rsi
call fcn.140025a00
mov rcx, rsi
call fcn.140025a10
add rdi, rbx
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi], r15
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x1401ba420]
mov r8d, 0x150
xor edx, edx
call fcn.140135a50
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, rsi
call fcn.1400f6354
mov ebx, eax
test eax, eax
jne 0x1400f6071
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x1400f6071
cmp qword [rsp + 0x40], 0x20
jne 0x1400f6071
lea rax, [rsp + 0x3c]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x1401ba420]
mov r9d, 0x150
call fcn.1400d0610
mov ebx, eax
jmp 0x1400f6071
xor ebx, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140132550
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f7940
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov eax, dword [0x1401ba588]
mov ecx, dword [0x1401b7730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f79c3
lea rcx, [0x1401ba580]
call fcn.14005c600
test rax, rax
jne 0x1400f79b2
mov ecx, 4
call fcn.1401321a8
mov rsi, rax
mov dword [rax], 0
lea rcx, [0x1401ba580]
call fcn.14005c600
test rax, rax
je 0x1400f79a3
mov rcx, rax
call fcn.1401321e4
lea rcx, [0x1401ba580]
mov rdx, rsi
call fcn.14005c640
lea rcx, [0x1401ba580]
add rsp, 0x20
pop rsi
jmp fcn.14005c600
lea rcx, [0x1401ba588]
call fcn.140132300
cmp dword [0x1401ba588], 0xffffffff
jne 0x1400f7966
mov qword [0x1401ba580], 0
lea rcx, [0x1401ba580]
lea rdx, [0x1400251c0]
call fcn.14005c690
lea rcx, [0x1401ba588]
call fcn.140132398
jmp 0x1400f7966
Function at 0x1400fbd00
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1400fbd93
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x1400fbd93
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xb3
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.140001e21
mov rcx, rsi
call fcn.14002e260
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
Function at 0x14010bd34
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret

Function at 0x140111552
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.140111ff8
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14011cad0
test al, al
je 0x140111620
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x140111669
mov rcx, rdi
call fcn.140111ff8
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14011cad0
test al, al
je 0x1401116b2
cmp dword [r15], 0x4550
jne 0x1401116f5
mov sil, 1
test r14, r14
je 0x140111769
mov qword [r14], rdi
jmp 0x140111769
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x140111767
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x140111735
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x140111767
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140111735
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x140111767
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14011165e
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x140111767
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001e21
movzx r8d, byte [rsi]
test r8b, 1
je 0x14011174e
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x140111754
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001e21
mov rcx, rdi
call fcn.14002e260
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14011178a
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.140111ff8
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.14011cad0
test al, al
je 0x140111858
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401118a1
mov rcx, rdi
call fcn.140111ff8
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.14011cad0
test al, al
je 0x1401118ea
cmp dword [r15], 0x4550
jne 0x14011192d
mov sil, 1
test r14, r14
je 0x1401119a1
mov qword [r14], rdi
jmp 0x1401119a1
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x14011199f
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x14011196d
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x14011199f
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x14011196d
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x14011199f
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140111896
mov ecx, 1
call fcn.14002dd00
test al, al
je 0x14011199f
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002dda0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001e21
movzx r8d, byte [rsi]
test r8b, 1
je 0x140111986
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x14011198c
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001e21
mov rcx, rdi
call fcn.14002e260
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140114590
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1400ef130
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140135640
Function at 0x140118dca
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
mov r15, r9
mov rbp, r8
mov rbx, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x380]
mov rsi, qword [rsp + 0x370]
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x78], rdx
call fcn.140055b68
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.1400989d6
test al, al
je 0x140118e8a
mov rax, qword [rsp + 0x378]
mov rcx, qword [rsp + 0x368]
mov edx, dword [rsp + 0x360]
mov r8d, dword [rsp + 0x358]
mov r9, qword [rsp + 0x350]
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
mov rcx, rbx
mov rdx, rbp
mov r8, r15
call rdi
mov esi, 1
test eax, eax
jne 0x140118fd5
call fcn.140055b68
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.1400989c6
xor esi, esi
test al, al
je 0x140118fd5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edx, 0x18
mov rcx, r14
mov r8d, 1
call fcn.1400d1a4a
test al, al
je 0x140118fcb
call fcn.1400d1980
test rax, rax
je 0x140118fcb
mov rsi, rax
mov qword [rsp + 0x70], 0
lea rdi, [rsp + 0xe0]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140135a50
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140118f1b
mov qword [rsp + 0x70], rdi
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.1400d2a0e
lea rsi, [0x140180450]
lea rax, [rsp + 0x88]
mov ecx, 0xb
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
movabs rcx, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x50]
mov qword [rdx], rcx
mov dword [rdx], 0x18
mov qword [rdx + 8], r14
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
lea r9, [rsp + 0x80]
mov rcx, rbx
mov edx, 0xd
call fcn.140118ff7
mov edi, eax
test eax, eax
jne 0x140118fc7
mov ecx, dword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp dword [rsp + 0x90], 0
sete sil
test edi, edi
je 0x140118fd5
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140132550
mov eax, esi
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14011b5c0
Capabilities:
Read file via mapping

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov edi, edx
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov dword [rsp + 0x20], edx
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.1400067ee
mov rcx, qword [rsi]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14011b62a
mov eax, edi
mov qword [rsp + 0x20], rax
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1401402c4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401403f4
Function at 0x14004f8e0
Capabilities:
Encode data using xor

Disassembly:
ja 0x14004f934
out 0x55, eax
test eax, 0x41e9a160
adc eax, 0xe0ac7732
div dword [rsi]
out 0xdc, al
invalid
sbb eax, dword [rcx - 0x72192c27]
wait
shr bh, cl
cmpsd dword [rsi], dword [rdi]
neg dword [rbx]
mov edx, 0xefc786e4
leave
test al, 0xc
jno 0x14004f961
lodsd eax, dword [rsi]
sub dh, byte [rbp - 0x7c]
jg sym.Test.exe_interception_receive
invalid
pop rsp
pop rbx
cmp edi, dword [rsi + rdx*2 + 0x290f8d81]
invalid

Function at 0x140ab2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140ab21df
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 0x140ab2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ab206f
add dl, dl
jne 0x140ab2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ab20f6
xor eax, eax
add dl, dl
jne 0x140ab20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140ab21ad
add dl, dl
jne 0x140ab20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ab20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ab20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ab20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140ab20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140ab207e
mov eax, 1
add dl, dl
jne 0x140ab2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140ab2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ab20fb
sub eax, ebx
mov ebx, 1
jne 0x140ab214c
mov ecx, 1
add dl, dl
jne 0x140ab212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ab213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ab2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ab207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140ab2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140ab2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140ab215d
cmp eax, 0x7d00
jae 0x140ab219b
cmp eax, 0x500
jb 0x140ab2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ab207e
cmp eax, 0x7f
ja 0x140ab219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140ab207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140ab21d2
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 0x140ab207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14105c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.14105c1df
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 0x14105c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14105c06f
add dl, dl
jne 0x14105c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14105c0f6
xor eax, eax
add dl, dl
jne 0x14105c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14105c1ad
add dl, dl
jne 0x14105c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14105c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14105c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14105c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14105c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14105c07e
mov eax, 1
add dl, dl
jne 0x14105c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14105c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14105c0fb
sub eax, ebx
mov ebx, 1
jne 0x14105c14c
mov ecx, 1
add dl, dl
jne 0x14105c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14105c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14105c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14105c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14105c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14105c15d
cmp eax, 0x7d00
jae 0x14105c19b
cmp eax, 0x500
jb 0x14105c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105c07e
cmp eax, 0x7f
ja 0x14105c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14105c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14105c1d2
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 0x14105c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400027c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400751c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002893
cmp byte [rcx + 0x71], 0
je 0x140002893
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000288f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002854
sub eax, 1
je 0x140002858
cmp eax, 2
jne 0x14000288f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140054e40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002886
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000288f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000283c
xor al, al
jmp 0x14000283c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140054e40
add rsp, 0x60
pop rbx
ret
Function at 0x140002a40
Capabilities:
Encode data using xor
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400751c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor ebx, ebx
mov qword [rsp + 0x78], rcx
mov dword [rsp + 0x38], ebx
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rbx
mov rdi, rcx
mov qword [rsp + 0x28], rbx
lea rcx, [0x140059ac0]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x140002c4e
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140002610
mov r9, rax
cmp byte [rax + 0x12], bl
je 0x140002cc5
cmp dword [0x140075180], 2
jl 0x140002c10
movdqa xmm0, xmmword [0x140059ee0]
mov rcx, rax
movdqa xmm5, xmmword [0x140059e90]
movdqa xmm4, xmmword [0x140059ed0]
movdqa xmmword [rsp + 0x50], xmm0
mov edx, dword [rsp + 0x50]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x140059eb0]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, xmm4
mov eax, ebx
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140059ec0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140059ec0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x10
jl 0x140002b00
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x13
jge 0x140002cc5
movsxd r8, ebx
add r8, r9
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x13
jge 0x140002cc5
jmp 0x140002c20
mov ecx, dword [rsp + 0x78]
lea r10, [rsp + 0x95]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r10], cl
mov ecx, edx
test edx, edx
jne 0x140002c60
lea r9, [rsp + 0x40]
mov rdx, r10
lea r8, [rsp + 0x95]
mov rcx, rdi
call fcn.1400012e0
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140054e40
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rdi
ret
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.1400023b0
lea rdx, [0x1400718f8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3