joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4665a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403dc3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409b60
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004647a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403da0
cmp byte [0x0060820b], 0
je 0x4665b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x4637e0
jmp 0x403da0

Function at 0x4665c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00608500]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0060820b], 0
je 0x4665f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00608820]
aesenc xmm0, xmmword [0x00608830]
aesenc xmm0, xmmword [0x00608840]
movq rax, xmm0
ret
jmp 0x409d80

Function at 0x466600
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00608500]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0060820b], 0
je 0x466636
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00608820]
aesenc xmm0, xmmword [0x00608830]
aesenc xmm0, xmmword [0x00608840]
movq rax, xmm0
ret
jmp 0x409de0

Function at 0x4683c0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4683f4
mov rcx, 0x28
jmp 0x4683ff
shl rcx, 3
add rcx, 0x1480
mov qword [0x00608430], rcx
pop rbp
ret
Function at 0x472340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47240a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004032e0
xorps xmm15, xmm15
mov r14, qword [0x00608430]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4723ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004af760]
xor ebx, ebx
mov rcx, rdx
call fcn.0044b880
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00472920
inc rbx
cmp rcx, rbx
jae 0x4723de
mov edi, 1
lea rsi, [0x004af760]
call fcn.0044b960
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004f2c78]
lea rsi, [0x004f24a8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004647a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00472340
Function at 0x4922c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4929ff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4922ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x492571
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x49259d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004f4160]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004af660]
lea rbx, [0x004f2b50]
call fcn.004363a0
inc rax
cmp rax, r8
jge 0x4925c2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4925f7
lea rdi, [0x004af6e0]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4922e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4925db
jmp 0x4925b0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004647a0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004922c0

Function at 0x492ba0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x492bb7
inc rax
cmp rax, 4
jge 0x492bcf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x492bb4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x492be0
inc rax
cmp rax, 4
jge 0x492bee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x492c17
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x492bfb
jmp 0x492bdd
Function at 0x141d32210
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141d32397
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 0x141d32241
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d32227
add dl, dl
jne 0x141d3224e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d322ae
xor eax, eax
add dl, dl
jne 0x141d3225d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d32365
add dl, dl
jne 0x141d3226e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d3227b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d32288
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d32295
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d322a2
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d32236
mov eax, 1
add dl, dl
jne 0x141d322be
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d322cb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d322b3
sub eax, ebx
mov ebx, 1
jne 0x141d32304
mov ecx, 1
add dl, dl
jne 0x141d322e6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d322f3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d322db
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d32236
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d32320
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d3232d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d32315
cmp eax, 0x7d00
jae 0x141d32353
cmp eax, 0x500
jb 0x141d3234e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d32236
cmp eax, 0x7f
ja 0x141d32356
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d32236
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d3238a
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 0x141d32236
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000107c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov dword [rsp + 4], 0
mov dword [rsp + 8], 0
mov dword [rsp + 0x10], 0
mov dword [rsp + 0xc], 0
jmp 0x1400010bb
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0xc], eax
jae 0x1400011aa
mov eax, dword [rsp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 4], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 8]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 8], eax
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov al, byte [rcx + rax]
mov byte [rsp], al
movsxd rax, dword [rsp + 8]
movsxd rcx, dword [rsp + 4]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x30]
mov al, byte [r8 + rax]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 8]
mov rcx, qword [rsp + 0x30]
mov dl, byte [rsp]
mov byte [rcx + rax], dl
movsxd rax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
movzx eax, byte [rcx + rax]
movsxd rcx, dword [rsp + 8]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
add eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rsp + 0x10], eax
movsxd rax, dword [rsp + 0xc]
movsxd rcx, dword [rsp + 0x10]
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx + rcx]
mov rdx, qword [rsp + 0x38]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x38]
mov byte [rdx + rcx], al
jmp 0x1400010b1
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rsi
push rdi
sub rsp, 0x548
call fcn.140001050
lea rax, [rsp + 0x70]
lea rcx, str.cookie
mov rdi, rax
mov rsi, rcx
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1a0]
lea rcx, [0x140003290]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x39e
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x70]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.1400011b4
mov qword [rsp + 0x68], 0
jmp 0x1400013cb
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x39e
jae 0x1400013fb
mov rax, qword [rsp + 0x68]
lea rax, [rsp + rax + 0x1a0]
mov r8d, 1
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.14000107c
jmp 0x1400013be
mov byte [rsp + 0x30], 0x56
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], 0x72
mov byte [rsp + 0x33], 0x74
mov byte [rsp + 0x34], 0x75
mov byte [rsp + 0x35], 0x61
mov byte [rsp + 0x36], 0x6c
mov byte [rsp + 0x37], 0x41
mov byte [rsp + 0x38], 0x6c
mov byte [rsp + 0x39], 0x6c
mov byte [rsp + 0x3a], 0x6f
mov byte [rsp + 0x3b], 0x63
mov byte [rsp + 0x3c], 0
lea rcx, [0x140003630]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x39e
xor ecx, ecx
call qword [rsp + 0x80]
mov qword [rsp + 0x78], rax
mov r8d, 0x39e
lea rdx, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + 0x40], 0x43
mov byte [rsp + 0x41], 0x72
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], 0x61
mov byte [rsp + 0x44], 0x74
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x54
mov byte [rsp + 0x47], 0x68
mov byte [rsp + 0x48], 0x72
mov byte [rsp + 0x49], 0x65
mov byte [rsp + 0x4a], 0x61
mov byte [rsp + 0x4b], 0x64
mov byte [rsp + 0x4c], 0
lea rcx, [0x140003640]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x78]
xor edx, edx
xor ecx, ecx
call qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x50], 0x57
mov byte [rsp + 0x51], 0x61
mov byte [rsp + 0x52], 0x69
mov byte [rsp + 0x53], 0x74
mov byte [rsp + 0x54], 0x46
mov byte [rsp + 0x55], 0x6f
mov byte [rsp + 0x56], 0x72
mov byte [rsp + 0x57], 0x53
mov byte [rsp + 0x58], 0x69
mov byte [rsp + 0x59], 0x6e
mov byte [rsp + 0x5a], 0x67
mov byte [rsp + 0x5b], 0x6c
mov byte [rsp + 0x5c], 0x65
mov byte [rsp + 0x5d], 0x4f
mov byte [rsp + 0x5e], 0x62
mov byte [rsp + 0x5f], 0x6a
mov byte [rsp + 0x60], 0x65
mov byte [rsp + 0x61], 0x63
mov byte [rsp + 0x62], 0x74
mov byte [rsp + 0x63], 0
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x98]
xor eax, eax
add rsp, 0x548
pop rdi
pop rsi
ret
Function at 0x140001d10
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0xac1e8d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xac1e9d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xac1e85
lea eax, [rcx + 1]
jmp 0xac1eab
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xac1ebe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xac1ea4
sub eax, 3
jb 0xac1ede
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xac1f2d
sar eax, 1
movsxd rbp, eax
jb 0xac1f14
jmp 0xac1eec
add ebx, ebx
jne 0xac1eea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xac1f14
inc ecx
add ebx, ebx
jne 0xac1efa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xac1f14
call r11
adc ecx, ecx
add ebx, ebx
jne 0xac1f0d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xac1efc
add ecx, 2
jmp 0xac1f19
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00ac1e42
jmp 0xac1e8d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1fd000
mov dl, 0x43
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xac1f79
cmp rsi, rcx
jae 0xac1f81
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xac1f60
cmp al, 0x8f
ja 0xac1f60
cmp byte [rsi - 2], 0xf
je 0xac1f66
sub al, 0xe8
cmp al, 1
ja 0xac1f4a
cmp rsi, rcx
jae 0xac1f81
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xac1f50
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xac1f81
lodsb al, byte [rsi]
jmp 0xac1f60
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x6b5000]
mov eax, dword [rdi]
or eax, eax
je 0xac1fde
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x708d5c]
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 0xac1f8e
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 0xac1fd8
mov qword [rbx], rax
add rbx, 8
jmp 0xac1fae
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 0xac2022
cmp al, 0xef
ja 0xac200a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xac1fea
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xac1ff9
mov eax, dword [rdi]
add rdi, 4
jmp 0xac1ff9
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 0xac2076
sub rsp, 0xffffffffffffff80
jmp 0x464880
Function at 0x180001a50
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 case.default.0x180001a71
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 0x180001a9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180001aa0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180001af9
test ecx, ecx
jle 0x180001ad9
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 0x180001af9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180001af9
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x180001b20
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 0x180001b42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x180001b51
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 0x180001b74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180001b76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180001bb2
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 0x180001c4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180001bed
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 0x180001c2e
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 0x180001c4e
cmp rbx, rax
ja 0x180001c00
test rbx, rbx
je 0x180001c4e
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x1800020b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800020dd
xor eax, eax
jmp 0x180002249
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180002117
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180002117
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180002249
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000223c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000215a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
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 0x180002185
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 0x180002241
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 0x1800021f4
sub eax, 1
je 0x1800021f4
cmp eax, 2
jne 0x18000223c
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 0x180002241
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180002222
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 0x18000223c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180002241
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180002d70
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180002650
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180002723
cmp byte [rcx + 0x71], 0
je 0x180002723
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000271f
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 0x1800026e4
sub eax, 1
je 0x1800026e8
cmp eax, 2
jne 0x18000271f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180002d70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180002716
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 0x18000271f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800026cc
xor al, al
jmp 0x1800026cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180002d70
add rsp, 0x60
pop rbx
ret