joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007d240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov qword [rsp + 0x50], rbx
mov r12, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor edi, edi
lea r13, [0x18011a930]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx r14d, byte [r8]
mov qword [r12], rbx
movzx eax, byte [rbx]
test byte [rax + r13 + 1], 8
je 0x18007d29f
nop
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x18007d290
mov qword [rsp + 0x58], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x18007d2b6
mov r15d, ebp
jmp 0x18007d2bf
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x50]
jne 0x18007d3f8
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x18007d3f8
movsd xmm2, qword [0x18011c908]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x18007d30a
test r11d, r11d
jne 0x18007d35f
mov r11d, ebp
inc rdx
jmp 0x18007d2f0
test byte [r8 + r13 + 1], 0x10
je 0x18007d35f
test r10d, r10d
jne 0x18007d321
cmp r8b, 0x30
jne 0x18007d321
inc esi
jmp 0x18007d352
inc r10d
cmp r10d, 0x1e
jg 0x18007d34f
test byte [rcx + r13 + 1], 2
je 0x18007d337
add ecx, 0xffffffd0
jmp 0x18007d33d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x18007d352
inc r9d
test r11d, r11d
je 0x18007d35a
dec r9d
inc rdx
jmp 0x18007d2f0
lea eax, [rsi + r10]
test eax, eax
je 0x18007d3f8
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x18007d3de
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x18007d390
mov eax, 2
jmp 0x18007d39e
cmp cl, 0x2b
mov rax, rdi
mov ebp, edi
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r13 + 1], 2
je 0x18007d3f8
nop
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r13 + 1], 2
jne 0x18007d3b0
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x18007d3ea
xorps xmm1, xmmword [0x180118610]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x18007d3fb
xorps xmm0, xmm0
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x18007e8d0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor r9d, r9d
mov qword [rdx + 0x10], 0xffffffffffffffff
lea r10, [r8 + 0x18]
mov dword [rdx + 8], r9d
mov dword [rdx], 7
mov r11, rdx
movzx r8d, byte [r10]
test r8b, r8b
je 0x18007e938
nop word [rax + rax]
movzx edx, r8b
lea r10, [r10 + 1]
sub r8b, 0x41
cmp r8b, 0x19
movzx r8d, byte [r10]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r9d
imul r9d, eax, 0x401
mov eax, r9d
shr eax, 6
xor r9d, eax
test r8b, r8b
jne 0x18007e900
lea eax, [r9 + r9*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
movsxd rcx, eax
mov qword [r11 + 8], rcx
ret
Function at 0x18007f610
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rcx + 0x30]
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
xor edi, edi
mov ebp, r8d
mov r14, rdx
sub ecx, 0x28
je 0x18007f728
sub ecx, 0x53
je 0x18007f719
sub ecx, 0xaa
je 0x18007f6ee
cmp ecx, 1
jne 0x18007f80d
mov r9, qword [rbx + 0x18]
mov r10d, edi
add r9, 0x18
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x30], 7
movzx r8d, byte [r9]
test r8b, r8b
je 0x18007f6c8
nop dword [rax + rax]
movzx edx, r8b
lea r9, [r9 + 1]
sub r8b, 0x41
cmp r8b, 0x19
movzx r8d, byte [r9]
lea eax, [rdx + 0x20]
movzx ecx, al
cmova ecx, edx
movsx eax, cl
add eax, r10d
imul r10d, eax, 0x401
mov eax, r10d
shr eax, 6
xor r10d, eax
test r8b, r8b
jne 0x18007f690
lea eax, [r10 + r10*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
mov rcx, rbx
call fcn.180076320
jmp 0x18007f791
mov rdx, qword [rbx + 0x18]
mov rcx, rsi
call fcn.18006ccf0
mov rcx, rbx
mov qword [rsp + 0x40], 0xffffffffffffffff
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x38], eax
call fcn.180076320
jmp 0x18007f791
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18007e960
jmp 0x18007f791
mov rcx, rbx
call fcn.180076320
cmp dword [rbx + 0x10], 0x29
jne 0x18007f73c
mov dword [rsp + 0x30], edi
jmp 0x18007f77d
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180081010
cmp dword [rbx + 0x10], 0x2c
jne 0x18007f76a
mov rcx, rbx
call fcn.180076320
mov rcx, qword [rbx + 0x30]
lea rdx, [rsp + 0x30]
call fcn.18006bd60
jmp 0x18007f73c
mov r8d, 0xffffffff
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18006cb30
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov r9d, ebp
mov rcx, rbx
lea r8d, [rdx - 1]
call fcn.18007e700
mov ecx, dword [rsp + 0x30]
mov ebx, dword [r14 + 8]
lea eax, [rcx - 0xe]
cmp eax, 1
jbe 0x18007f7b8
test ecx, ecx
je 0x18007f7b2
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18006bd60
movzx edi, byte [rsi + 0x3c]
sub edi, ebx
mov r9d, edi
mov dword [rsp + 0x20], 2
mov r8d, ebx
mov edx, Ordinal_41
mov rcx, rsi
call fcn.18006b850
mov edx, ebp
mov qword [r14 + 0x10], 0xffffffffffffffff
mov rcx, rsi
mov dword [r14], reloc.WS2_32.dll_ntohl
mov dword [r14 + 8], eax
call fcn.18006be00
inc bl
mov byte [rsi + 0x3c], bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180106c20
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, str.function_arguments_expected
mov rcx, rbx
call fcn.1800763f0
int3
Function at 0x180082560
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, qword [rcx + 0x18]
mov r10, r8
shr r10, 5
mov edi, r8d
inc r10
mov rsi, r8
mov r14, rdx
mov r13, rcx
xor edi, dword [rbp + 0x60]
mov r9, r8
cmp r8, r10
jb 0x18008231e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + r9 - 1]
mov eax, edi
shl eax, 5
sub r9, r10
add ecx, eax
mov eax, edi
shr eax, 2
add ecx, eax
xor edi, ecx
cmp r9, r10
jae 0x180082300
mov r15d, dword [rbp + 0x3c]
movsxd rdx, edi
lea eax, [r15 - 1]
movsxd rcx, eax
mov rax, qword [rbp + 0x30]
and rcx, rdx
mov rbx, qword [rax + rcx*8]
lea r12, [rax + rcx*8]
test rbx, rbx
je 0x180082369
movzx eax, byte [rbx + 0xb]
cmp rsi, rax
jne 0x180082360
lea rdx, [rbx + 0x18]
mov r8, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800823fc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180082340
cmp dword [rbp + 0x38], r15d
jl 0x18008239a
cmp r15d, 0x3fffffff
jg 0x18008239a
lea edx, [r15 + r15]
mov rcx, r13
call fcn.1800826b0
mov eax, dword [rbp + 0x3c]
dec eax
movsxd rcx, eax
movsxd rax, edi
and rcx, rax
mov rax, qword [rbp + 0x30]
lea r12, [rax + rcx*8]
lea r8, [rsi + 0x19]
mov edx, 8
mov rcx, r13
call fcn.180072080
mov r8, rsi
mov rdx, r14
mov rbx, rax
lea rcx, [rax + 0x18]
mov dword [rax + 0xc], edi
mov byte [rax + 0xa], 0
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi + 0x18], 0
mov byte [rbx + 0xb], sil
mov rcx, qword [r12]
mov qword [rbx + 0x10], rcx
mov qword [r12], rbx
inc dword [rbp + 0x38]
mov rbp, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movzx eax, byte [rbx + 9]
movzx ecx, byte [rbp + 0x64]
xor al, 3
xor cl, 3
test al, cl
jne 0x1800823dc
mov byte [rbx + 9], al
jmp 0x1800823dc
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
cmp r8, 0x28
ja 0x180082585
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp 0x1800822b0
lea rax, [r8 + 1]
movabs rdx, 0x7fffffffffffffe7
cmp rax, rdx
ja 0x1800825f1
mov rax, qword [rcx + 0x18]
add r8, 0x19
mov qword [rsp + 0x30], rbx
mov edx, Ordinal_27
mov qword [rsp + 0x38], rdi
mov ebx, dword [rax + 0x60]
call fcn.180072080
mov r8, rsi
mov rdx, rbp
mov rdi, rax
lea rcx, [rax + 0x18]
mov dword [rax + 0xc], ebx
mov byte [rax + 0xa], 0
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x40]
mov byte [rdi + rsi + 0x18], 0
mov qword [rdi + 0x10], rsi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
call fcn.18007b3d0
int3
Function at 0x18009ee80
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
mov qword [0x1802efbc0], 0
xor eax, eax
mov byte [0x1802efbc8], 0
lea rcx, [0x1802ef8d0]
mov byte [0x1802efc30], al
movups xmmword [0x1802efbf0], xmm0
mov dword [0x1802ef738], eax
movups xmmword [0x1802efc00], xmm0
mov qword [0x1802efb90], rax
movups xmmword [0x1802efc10], xmm0
mov dword [0x1802efb98], eax
movups xmmword [0x1802efc20], xmm0
mov byte [0x1802efb9c], al
movups xmmword [0x1802efb80], xmm0
mov qword [0x1802efb70], 0
mov word [0x1802efb78], 0
mov byte [0x1802efb7a], 0
call fcn.180003e60
cmp byte [0x1802efb08], 0
je 0x18009eff7
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 5
call fcn.18009b000
mov rax, qword [0x1802f0150]
mov rcx, qword [rax]
test rcx, rcx
je 0x18009ef49
cmp qword [rcx + 8], 0
jne 0x18009ef9a
cmp byte [0x1802ef619], 0
jne 0x18009ef81
call fcn.1800196a0
test al, al
je 0x18009ef76
lea rdx, [0x1800ac9f0]
lea rcx, [0x1802eff90]
call fcn.180019ae0
mov byte [0x1802ef619], al
jmp 0x18009ef7d
movzx eax, byte [0x1802ef619]
test al, al
je 0x18009ef52
mov byte [reloc.WS2_32.dll_accept], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180106c20
add rsp, 0x68
ret
movdqa xmm0, xmmword [0x18013f3d0]
lea rcx, [rsp + 0x28]
movdqa xmm1, xmmword [0x18013f480]
movdqu xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x48], 0x2b3d2476
movdqu xmmword [rsp + 0x38], xmm1
mov dword [rsp + 0x4c], 0x7c2e3e2c
mov word [rsp + 0x50], 0x100
call fcn.1800a77f0
mov rdx, rax
lea r8, str.Erro
mov r9d, reloc.WS2_32.dll_recv
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
lea rdx, [0x1802efb10]
lea rcx, [rsp + 0x28]
call fcn.18000a550
lea rcx, [rsp + 0x28]
call fcn.18000a230
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x18009fc00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rbp - 8], rax
mov ecx, dword [0x1802f0758]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1802ef5a0], eax
jg 0x18009fca4
mov rax, qword [0x1802ef598]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180106c20
add rsp, 0x60
pop rbp
ret
lea eax, [r8 + rdx]
xor word [rbp + rdx*2 - 0x40], ax
inc rdx
cmp rdx, 0xa
jb 0x18009fc60
mov byte [rbp - 0x2a], 0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rbp - 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [0x1802ef598], rax
lea rcx, [0x1802ef5a0]
call fcn.180107224
jmp 0x18009fc3a
lea rcx, [0x1802ef5a0]
call fcn.180107290
cmp dword [0x1802ef5a0], 0xffffffff
jne 0x18009fc3a
movdqa xmm0, xmmword [0x18013f450]
movdqu xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 0x202f2214
mov dword [rbp - 0x14], 0x343e3f39
mov word [rbp - 0x10], 0x100
xor edx, edx
mov eax, edx
nop
lea ecx, [rax + 0x36]
xor byte [rbp + rax - 0x28], cl
inc rax
cmp rax, 0x18
jb 0x18009fce0
mov byte [rbp - 0xf], dl
mov dword [rbp - 0x40], 0xa580a75
mov dword [rbp - 0x3c], 0xa5c0a4a
mov dword [rbp - 0x38], 0xa6f0a68
mov dword [rbp - 0x34], 0xa590a12
mov dword [rbp - 0x30], 0xa530a52
mov word [rbp - 0x2c], dx
mov byte [rbp - 0x2a], 1
mov r8d, 0xa36
jmp 0x18009fc60
Function at 0x1800a2340
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
lea rbx, [0x1802effd0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], al
jne 0x1800a2391
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.18005a740
lea rdx, [rsp + 0x38]
lea rcx, [0x1802ef8d0]
call fcn.180005ec0
cmp byte [0x1802efb08], 0
jne 0x1800a23ea
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180106c20
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rdx, [0x18014c6cb]
lea rcx, [rsp + 0x38]
call fcn.18000a510
mov r14, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rdx, [0x18014c6cb]
lea rcx, [rsp + 0x78]
call fcn.18000a510
mov rsi, rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.18000a510
mov rdi, rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x28], 0x5c5b5e5a
mov dword [rbp - 0x24], 0x594854
mov byte [rbp - 0x20], 1
lea rcx, [rbp - 0x28]
call fcn.1800a7790
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.18000a510
mov rbx, rax
lea rdx, [0x1802efbd0]
lea rcx, [rbp - 0x18]
call fcn.18000a550
nop
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.1800a5870
movdqa xmm0, xmmword [0x18013f400]
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x18013f490]
movdqu xmmword [rbp - 8], xmm1
mov dword [rbp + 8], 0x78153220
mov dword [rbp + 0xc], 0x3430387a
mov dword [rbp + 0x10], 0xe40343d
mov dword [rbp + 0x14], 0x1004209
lea rcx, [rbp - 0x18]
call fcn.1800a7820
mov rdx, rax
lea rcx, [rbp + 0x18]
call fcn.18000a510
lea rcx, [0x1802efba0]
call fcn.18000a230
mov rbx, rax
lea rcx, [rbp + 0x18]
call fcn.18000a230
mov r9d, 0x40
mov r8, rbx
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x1800a6240
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800a6313
cmp byte [rcx + 0x71], 0
je 0x1800a6313
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1800a630f
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 0x1800a62d4
sub eax, 1
je 0x1800a62d8
cmp eax, 2
jne 0x1800a630f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180106c20
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1800a6306
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 0x1800a630f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800a62bc
xor al, al
jmp 0x1800a62bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180106c20
add rsp, 0x60
pop rbx
ret

Function at 0x1800a7790
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x1800a77b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x36]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x1800a77a0
mov byte [rcx + 8], 0
mov rax, rcx
ret

Function at 0x1800a77c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x20], 0
je 0x1800a77e3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x36]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1f
jb 0x1800a77d0
mov byte [rcx + 0x20], 0
mov rax, rcx
ret

Function at 0x1800a77f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x29], 0
je 0x1800a7813
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x36]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x28
jb 0x1800a7800
mov byte [rcx + 0x29], 0
mov rax, rcx
ret

Function at 0x1800a7820
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2f], 0
je 0x1800a7843
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x36]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2e
jb 0x1800a7830
mov byte [rcx + 0x2f], 0
mov rax, rcx
ret
Function at 0x1800ad930
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1802ee528]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1800ad95d
xor eax, eax
jmp 0x1800adac6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1800ad99d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1800ad99d
mov rcx, rdi
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], sil
mov eax, esi
jmp 0x1800adabe
cmp qword [rdi + 0x80], 0
je 0x1800adab9
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1800ad9d7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1800ada02
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800adabe
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
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 0x1800ada71
sub eax, 1
je 0x1800ada71
cmp eax, 2
jne 0x1800adab9
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1800adabe
mov rbx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1800ada9f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1800adab9
lea rax, [rsp + 0x40]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1800adabe
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180106c20
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800b12c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rbp, rcx
test r8, r8
jg 0x1800b12f1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1800b1308
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
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 qword [rsp + 0x30], rbx
mov rbx, rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x1800b1359
cmp rax, rsi
mov rdi, rsi
mov rcx, rbp
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, rbp
add r14, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [rbp + 0x80], 0
mov rdi, rbx
je 0x1800b13d1
mov rcx, rbp
call int.1800a70b0
cmp rbx, 0xfff
jbe 0x1800b13b1
nop word [rax + rax]
mov r9, qword [rbp + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1800b13f2
cmp rbx, rax
ja 0x1800b1380
test rdi, rdi
je 0x1800b13d1
mov r9, qword [rbp + 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 rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
sub rsi, rbx
jmp 0x1800b13d4
invalid
Function at 0x1800b1400
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x1800b1421
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x1800b149c
test rax, rax
jle 0x1800b147c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x1800b149c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800b149c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
add byte [rdi], al
movabs byte [0x173d921a1ae92072], al
jne 0x180270839
lea ecx, [rdi + rcx*2 + 0x36b1b6be]
xor esi, ebp
invalid
pop rdx
sti
cli
cli
ficom word [rcx + 0xd4f249b]
and al, 0x4f
or eax, 0x4010041
adc byte [rax], al
add dword [rax + rdx], eax
add byte [rcx], al
add al, 0x10
add byte [rcx], al
add al, 0x10
add byte [rcx], al
add al, 0x10
sub byte [rsi], al
xor ebp, 0x2b3fd7eb
mov ebx, 0x35bfec2b
xor eax, 0xf23b356c
invalid
pop rbp
pop rbp
jg 0x18027086e
cmc
shr dword [rbp], 1
cmp eax, 0xb4e9edd8
jmp 0x1a2719631
jp 0x1802708a6
test byte [rdi + rcx*8 + 0x45], dh
clc
fsubrp st(0)
idiv dword [0x181e740b6]
invalid
invalid