joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140962d13
Capabilities:
Encode data using xor

Disassembly:
and qword [rsp + r10 - 0x8f0], r11
call fcn.14090170d
in al, 0x8f
out 0xe6, al
cli
or esp, edi
rol byte [rsi], cl
xor ecx, dword [rdi + 0x7a]
cmpsb byte [rsi], byte [rdi]
xchg ebx, eax
fucompi st(2)
mov esi, 0x63a0f8b
xor ebp, dword [rdi + 0x4763569a]
loop 0x140962d25
stc
sbb ah, dh
invalid

Function at 0x1409665fa
Capabilities:
Encode data using xor

Disassembly:
jae 0x1409b0e94
invalid
call fcn.140894f4f
test eax, 0x6285201c
cld
loopne 0x1409b0ecd
sbb ebp, ebp
fadd dword [rcx + rsi*2 - 3]
enter 0x1124, 0x15
and byte [rcx + rbx*2 + 0x6d], ch
pop rax
in al, dx
fstp dword [rbp + 0x63f97ca8]
fimul dword [rcx + 0x1d622085]
mov bh, 0x73
xor r8b, byte [rdi]
retf
int 0x63
jb 0x1409b0f3c
shr byte [rbx - 0x95cb1cb], cl
invalid
hlt

Function at 0x14097910b
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
shl qword [rsp + rsi + 0x8ff6a8e], 0xe9
shl dword [rsp + rsi + 0x8ff6a9e], 0xb9
push rdi
lea rsi, [rsi*2 - 0x5ddf86f8]
add word [rsp + rsi + 0x6fde5c0c], 0xab2f
push r15
add qword [rsp + 0x10], 0xfffffffffff4f6c2
bswap esi
jno 0x1408a0f64

Function at 0x14097a77a
Capabilities:
Encode data using xor

Disassembly:
add byte [rsp + 0x30], 0x8c
call fcn.14095ba3d
cmp r9w, 0x8cb8
mov qword [rsp + 0x10], r9
not word [rsp + 0x10]
jg 0x1409641d6
sal dword [rdx], 1
adc edi, edi
retf 0x6356

Function at 0x14098a2c5
Capabilities:
Encode data using xor

Disassembly:
sub eax, 0xc2555b44
movabs dword [0x7c0a8516212eea53], eax
pop rsp
movsd dword [rdi], dword [rsi]
in eax, dx
stosd dword [rdi], eax
xor al, 0xb2
xor ch, al
push rsp
int1
dec dword [rax - 0x3f]
shr qword [rsp + 0x20], 0x6d
shr qword [rsp + 0x20], 0x6d
xchg qword [rsp + 0x40], rax
mov r15, qword [rsp + 0x18]
cmp r13, qword [rsp + 0x20]
mov word [rsp + 0x20], 0x7b2c
movsx edi, word [rsp + 0x22]
call fcn.1408a406e
mov cl, 4
enter 0x49fd, 0x7c
clc
int1
push qword [rcx + 0x49fdc804]
jl 0x14098a2ea
int 0xd1
in al, 0x20
adc eax, 0x4d78f4c1
cmp dword [rsi + rdi*4 - 0x2f1a160b], edi
xchg esp, eax
movabs eax, dword [0xd599aca8fbbff87d]
loopne 0x14098a2aa
cmp dword [rsi + 0x7f4aa60c], edi
jle 0x14098a2e9
jrcxz 0x14098a32b
pop rcx
invalid
out 0x92, al
ror esi, 0x89
test eax, 0x223233b9
neg dword [rax - 0x21e6404d]
vdivpd xmm3, xmm14, xmm5
jg 0x14098a32b
outsb dx, byte [rsi]
cmc
clc
invalid

Function at 0x14098a9b8
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
shl word [rsp + 0x18], 0x47
neg word [rsp + 0x18]
cmp byte [rsp + 0x18], r15b
jne 0x140889d65

Function at 0x140996816
Capabilities:
Authenticate hmac
Encode data using base64

Disassembly:
push rbp
mov rbp, r8
or r8, rbp
test bpl, 0xa6
movsx r8d, r10b
jo 0x1409bd07c
mov r10d, 0x6f086ab3
mov qword [rsp + 0x48], rax
js 0x14089e832
push rcx
mov qword [rsp + 8], 0xffffffff83972cc7
lea rsp, [rsp + 8]
call fcn.1409cafe5
lea r10, [r11 + r10*4 + 0x4eb89f0e]
je 0x1408a3624
mov byte [rsp + 0x20], 0xa0
ja 0x14089fa42
call fcn.140928c68
movabs dword [0x7bfecaffab9e0a3f], eax
jge 0x14099687a
cmp cl, byte es:[rdi]
invalid
hlt
Function at 0x14099f2f2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
invalid
push rcx
shr al, 0xc1
test al, 0xb5
jo 0x14099f26a
invalid
jle 0x140956f33
mov r10, qword [rsp + r10*2 - 0x1f889306]
call fcn.1408b1692
pushfq
jg 0x14099f2cb
test byte [rdx - 0xd310449], 0x77
xchg edx, eax
pop rsp
invalid

Function at 0x1409a6adc
Capabilities:
Encode data using base64

Disassembly:
add qword [rsp + 0x28], 0xffffffffffede38c
lea rbp, [rdi*2 - 0x2cfd3d8]
not r12b
shl r12d, 0xe9
sub di, 0x1a9f
sub dword [rsp + 8], 0x5947fb4
mov qword [rsp + 0x10], r12
test byte [rsp + 8], bpl
jg 0x14093ef68
stosd dword [rdi], eax
adc eax, 0xf73dae9f
invalid

Function at 0x1409b2119
Capabilities:
Encode data using base64
Packed with generic packer
Write file on windows

Disassembly:
lea r8, [rdx + riz + 0x1f0fc12b]
and r8d, 0x798ba729
xchg qword [rsp + rdi - 0x1000b1a0], rax
mov r8, qword [rsp + 0x50]
je 0x14088c4bf
add qword [rsp], 0xffffffffbf6b8d72
cmp di, cx
call fcn.14090c7b7

Function at 0x1409b2176
Capabilities:
Encode data using base64
Packed with generic packer

Disassembly:
movabs r13, 0xdd19f62202256e38
call fcn.14089f230
and r13, 0xffffffffc58d4d2a
xor r12w, r12w
js 0x14096cc78
shr r12, 0x8d
xchg qword [rsp + r13 - 0x583ffba], rbx
mov r13, qword [rsp + r13*2 - 0xb07ffd4]
xor r12d, r12d
and r12b, r12b
jae 0x1409654fc

Function at 0x1409b676e
Capabilities:
Encode data using xor

Disassembly:
jge 0x140993c69
not cl
lea r13, [r13 + r13*4 - 0xc647a70]
or r13b, 0x12
sub r13w, 0x3a2b
add qword [rsp], 0xfffffffffff897b1
test r13d, r13d
call fcn.14089f991
loopne 0x1409b67f0
xor dword [rax + rcx*4 + 0x28e4d1bd], 0xf4c11d
xor eax, 0x3db84471
leave
invalid
add al, 0xeb
cmp al, 0x47
invalid
Function at 0x1414047db
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
shl r10d, 0x22
xor edi, edi
setno r9b
not bl
movzx r11d, sp
movzx ebx, r8b
xchg r10b, r11b
movzx r10d, si
movsx r8w, al
mov r11, rcx
dec r8
not r10w
mov r8, rdi
cmovbe r10, r8
dec r10w
nop
movsx r10, r15w
movzx r9d, byte [r11]
inc r10
dec r10b
not r10b
movzx r10d, byte [rdx]
jmp 0x141404835
inc r11
jmp 0x14140483d
inc rdx
test bl, bl
je 0x141404869
mov ecx, r8d
mov eax, 0x4220363a
cmc
rol eax, cl
cmc
add al, r8b
jmp 0x14140485d
xor r9b, al
jmp 0x141404865
inc r8
clc
test r9b, r9b
jmp 0x141404871
je 0x141404880
cmp r9b, r10b
je 0x14140481f
cmp r9b, r10b
jmp 0x141404888
jae 0x1414048a3
or eax, 0xffffffff
setne dil
mov rbx, qword [rsp + 8]
movsxd rdi, edi
mov rdi, qword [rsp + 0x10]
ret
mov rbx, qword [rsp + 8]
movzx eax, ax
seta dil
movsx rax, di
setp al
movzx eax, r11w
mov eax, edi
movsx rdi, r11w
xchg edi, edi
movsx di, r11b
mov rdi, qword [rsp + 0x10]
jmp 0x1414048d1
ret
Function at 0x180011570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800115cd
lea rbx, [0x180090d20]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800115b4
cmp r10, 2
jb 0x1800115b4
cmp byte [r9], r8b
jne 0x1800115b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180011590
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001160f
lea rbx, [0x180090d20]
cmp r8b, 0x23
jne 0x1800115f3
cmp byte [r9], r8b
jne 0x1800115f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800115e0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180011750
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18001176a
mov qword [r8], 0
lea rdx, [0x180090afc]
call fcn.180011620
mov rbx, rax
test rax, rax
jne 0x18001178a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180011861
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180011861
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180011861
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180011861
cmp rdi, 0xffffffffffffffff
je 0x180011861
mov rax, qword [0x1800b10a8]
test rax, rax
je 0x1800117fe
inc dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180011861
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18001184e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800b10a8]
test rax, rax
je 0x180011843
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18001186a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18001185c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18001186c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180017800
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180017850
lea r11, [0x180090d20]
nop dword [rax]
cmp r9b, 0x23
jne 0x180017833
cmp byte [r8], r9b
jne 0x180017833
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180017820
mov rcx, qword [0x1800b10a8]
not eax
movsxd rdx, dword [rcx + 0x1be8]
mov r9, qword [rcx + 0x1bf0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800178b1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800178a9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800178ac
mov rdx, r8
test rdx, rdx
jne 0x180017880
cmp r9, r10
je 0x1800178c0
cmp dword [r9], eax
jne 0x1800178c0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18001cb50
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800b10a8]
lea rdx, [0x180090d20]
mov r8, rcx
mov rbx, qword [rax + 0x1c08]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18001cc51
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001cc3d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001cc42
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180024550
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18001cc70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800b10a8]
lea rdx, [0x180090d20]
mov r8d, ecx
mov rbx, qword [rax + 0x1c08]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x18001cd27
lea ecx, [r9 + 1]
test r8d, r8d
je 0x18001cd13
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x18001cd18
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.180024550
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180022350
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800223f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800223aa
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180024320
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180011c70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x3108]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800b10a0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800223ff
mov rcx, rbx
call fcn.180011c70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180041240
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd r12, edx
mov r15d, r9d
mov rbp, r8
mov r14, rcx
test rcx, rcx
je 0x1800413a0
test r8, r8
je 0x1800413a0
mov rdi, qword [rsp + 0x60]
test rdi, rdi
je 0x1800413a0
mov qword [rsp + 0x40], rbx
mov ecx, 0x100
mov qword [rsp + 0x48], rsi
call fcn.180083fd4
xor ecx, ecx
mov r10, rax
mov edx, ecx
mov r8, rax
nop
mov byte [r8], dl
lea r8, [r8 + 1]
inc edx
cmp edx, 0x100
jl 0x1800412a0
mov r9d, ecx
mov r11d, ecx
mov rbx, r10
nop word [rax + rax]
movzx esi, byte [rbx]
mov eax, r11d
cdq
idiv r15d
movsxd rax, edx
movzx edx, byte [rax + rbp]
add r9d, edx
add r9d, esi
and r9d, 0x800000ff
jge 0x1800412ed
dec r9d
or r9d, 0xffffff00
inc r9d
movsxd rdx, r9d
inc r11d
movzx eax, byte [rdx + r10]
mov byte [rbx], al
inc rbx
mov byte [rdx + r10], sil
cmp r11d, 0x100
jl 0x1800412c0
mov rsi, qword [rsp + 0x48]
mov r8d, ecx
mov rbx, r12
test r12d, r12d
jle 0x180041384
sub r14, rdi
nop dword [rax]
inc ecx
and ecx, 0x800000ff
jge 0x180041334
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r9, ecx
movzx r11d, byte [r9 + r10]
add r8d, r11d
and r8d, 0x800000ff
jge 0x180041355
dec r8d
or r8d, 0xffffff00
inc r8d
movsxd rdx, r8d
movzx eax, byte [rdx + r10]
mov byte [r9 + r10], al
mov byte [rdx + r10], r11b
movzx eax, byte [r9 + r10]
add eax, r11d
movzx edx, al
movzx eax, byte [rdx + r10]
xor al, byte [r14 + rdi]
mov byte [rdi], al
inc rdi
sub rbx, 1
jne 0x180041320
mov rax, qword [rsp + 0x68]
mov rcx, r10
mov dword [rax], r12d
call fcn.180083790
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffff
jmp 0x1800413a2
xor eax, eax
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800457f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rcx
mov rdi, r8
lea rcx, [0x180095200]
mov ebx, edx
jmp 0x1800d5d2c
Function at 0x180046350
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 0x180046378
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 0x18004639e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800463a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800463f9
test ecx, ecx
jle 0x1800463d9
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 0x1800463f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800463f9
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 0x180046420
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 0x180046442
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180046458
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 0x180046474
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180046476
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800464b2
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 0x18004654e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800464ed
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 0x18004652e
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 0x18004654e
cmp rbx, rax
ja 0x180046500
test rbx, rbx
je 0x18004654e
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 0x180046970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18004699d
xor eax, eax
jmp 0x180046afa
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x1800469c8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x1800469c8
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 0x180046afa
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180046aed
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x180046a0b
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 0x180046a36
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 0x180046af2
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 0x180046aa5
sub eax, 1
je 0x180046aa5
cmp eax, 2
jne 0x180046aed
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 0x180046af2
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180046ad3
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 0x180046aed
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180046af2
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800836a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x180047510
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800475e3
cmp byte [rcx + 0x71], 0
je 0x1800475e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800475df
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 0x1800475a4
sub eax, 1
je 0x1800475a8
cmp eax, 2
jne 0x1800475df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800836a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800475d6
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 0x1800475df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18004758c
xor al, al
jmp 0x18004758c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800836a0
add rsp, 0x60
pop rbx
ret

Function at 0x180048570
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
lea r9, [rsp + 0x28]
mov edx, 5
lea r8d, [rdx + 0x3b]
movabs rdi, 0x140401a74
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x20], rax
cmp rax, 5
jae 0x1800485cb
movzx ecx, byte [rax + rbx]
mov byte [rax + rdi], cl
inc rax
jmp 0x1800485b4
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x1800485e9
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800836a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800487c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
lea r9, [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 0x3e]
movabs rdi, 0x14088c5a6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x20], rax
cmp rax, 2
jae 0x18004881b
movzx ecx, byte [rax + rbx]
mov byte [rax + rdi], cl
inc rax
jmp 0x180048804
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x180048839
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800836a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret