joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140004410]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140004420]
mov dword [rax], 1
mov rax, qword [0x140004430]
mov dword [rax], 1
mov rax, qword [0x1400043b0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140004400]
mov dword [0x14000700c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x1400044e0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x1400044c0]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004360]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140002110
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002128
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140002130
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002140
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14000218d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x140002184
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000218f
add rax, 0x28
cmp rax, r9
jne 0x140002170
xor eax, eax
ret

Function at 0x140002190
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002220
mov rdx, qword [0x1400043b0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000220e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000220e
cmp word [rax + 0x18], 0x20b
jne 0x14000220e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002220
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400021f9
add rbx, 0x28
cmp rbx, rdi
je 0x140002220
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400021f0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x140002230
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002250
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002258
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002250
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400022ad
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x1400022a4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002250
add rax, 0x28
cmp rax, r9
jne 0x140002290
xor eax, eax
ret

Function at 0x1400022b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400022cf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400022d8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400022cf
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400022f0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1400043b0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002310
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002318
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002310
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x140002360
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002357
test rcx, rcx
je 0x140002310
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002348
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000238f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002398
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x1400023b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023d0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023d8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023d0
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x1400023d0
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140002424
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140002430
add rdx, 0x28
cmp r9, rdx
jne 0x140002410
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002440
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x1400043b0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002462
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002470
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002462
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002462
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x140002462
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x1400024c5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x1400024d8
add rdx, 0x28
cmp rdx, r10
jne 0x1400024b0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400024e7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400024f7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x1400024ce
test ecx, ecx
jg 0x1400024e0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x18000b530
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1c], 0
je 0x18000b553
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x1b
jb 0x18000b540
mov byte [rcx + 0x1c], 0
mov rax, rcx
ret

Function at 0x18000b560
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x15], 0
je 0x18000b583
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x14
jb 0x18000b570
mov byte [rcx + 0x15], 0
mov rax, rcx
ret

Function at 0x18000bbf0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x1a], 0
je 0x18000bc13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x19
jb 0x18000bc00
mov byte [rcx + 0x1a], 0
mov rax, rcx
ret
Function at 0x18000daa0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x18], 0
je 0x18000dac3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x4c]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x17
jb 0x18000dab0
mov byte [rcx + 0x18], 0
mov rax, rcx
ret

Function at 0x180010340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x180010363
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x180010350
mov byte [rcx + 0xb], 0
mov rax, rcx
ret

Function at 0x180010370
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x180010393
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x180010380
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x1800103a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x1800103c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x1800103b0
mov byte [rcx + 0x10], 0
mov rax, rcx
ret

Function at 0x1800103d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x1800103f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x1800103e0
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x180010400
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x180010423
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x180010410
mov byte [rcx + 0xe], 0
mov rax, rcx
ret

Function at 0x180010430
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x180010453
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x180010440
mov byte [rcx + 0xf], 0
mov rax, rcx
ret

Function at 0x180010460
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x180010483
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x180010470
mov byte [rcx + 8], 0
mov rax, rcx
ret
Function at 0x180013440
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x180013463
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x180013450
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x180013470
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x180013493
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x180013480
mov byte [rcx + 0x11], 0
mov rax, rcx
ret

Function at 0x180013510
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x13], 0
je 0x180013533
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x12
jb 0x180013520
mov byte [rcx + 0x13], 0
mov rax, rcx
ret

Function at 0x1800135a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x1800135c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x1800135b0
mov byte [rcx + 0x17], 0
mov rax, rcx
ret

Function at 0x1800135d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x1800135f3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x1800135e0
mov byte [rcx + 0x16], 0
mov rax, rcx
ret

Function at 0x180013600
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x180013623
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x180013610
mov byte [rcx + 0xa], 0
mov rax, rcx
ret

Function at 0x180013630
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xa], 0
je 0x180013653
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 9
jb 0x180013640
mov byte [rcx + 0xa], 0
ret

Function at 0x180013660
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x16], 0
je 0x180013683
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x15
jb 0x180013670
mov byte [rcx + 0x16], 0
ret

Function at 0x180013690
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x17], 0
je 0x1800136b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x16
jb 0x1800136a0
mov byte [rcx + 0x17], 0
ret
Function at 0x180013a50
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 0x180013a78
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 0x180013a9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180013aa0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180013af9
test ecx, ecx
jle 0x180013ad9
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 0x180013af9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180013af9
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 0x180013b20
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 0x180013b42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180013b58
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 0x180013b74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180013b76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180013bb2
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 0x180013c4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180013bed
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 0x180013c2e
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 0x180013c4e
cmp rbx, rax
ja 0x180013c00
test rbx, rbx
je 0x180013c4e
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 0x180014080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1801ab040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800140ad
xor eax, eax
jmp 0x180014219
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800140e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800140e7
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 0x180014219
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18001420c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18001412a
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 0x180014155
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 0x180014211
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 0x1800141c4
sub eax, 1
je 0x1800141c4
cmp eax, 2
jne 0x18001420c
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 0x180014211
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800141f2
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 0x18001420c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180014211
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800cac00
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1800142f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x11], 0
je 0x180014313
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x10
jb 0x180014300
mov byte [rcx + 0x11], 0
ret

Function at 0x180014320
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x180014343
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x180014330
mov byte [rcx + 5], 0
ret
Function at 0x180014a00
Capabilities:
Encode data using xor

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

Function at 0x180014a30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xf], 0
je 0x180014a53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xe
jb 0x180014a40
mov byte [rcx + 0xf], 0
ret

Function at 0x180014a60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x180014a83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x180014a70
mov byte [rcx + 0xe], 0
ret

Function at 0x180014a90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x180014ab3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x180014aa0
mov byte [rcx + 0xd], 0
ret

Function at 0x180014ac0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x10], 0
je 0x180014ae3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xf
jb 0x180014ad0
mov byte [rcx + 0x10], 0
ret

Function at 0x180014af0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x180014b13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x180014b00
mov byte [rcx + 6], 0
ret

Function at 0x180014b20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xb], 0
je 0x180014b43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6b]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xa
jb 0x180014b30
mov byte [rcx + 0xb], 0
ret
Function at 0x180015550
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1801ab040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180015623
cmp byte [rcx + 0x71], 0
je 0x180015623
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18001561f
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 0x1800155e4
sub eax, 1
je 0x1800155e8
cmp eax, 2
jne 0x18001561f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800cac00
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180015616
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 0x18001561f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1800155cc
xor al, al
jmp 0x1800155cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800cac00
add rsp, 0x60
pop rbx
ret

Function at 0x1800169f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
xor eax, eax
mov dword [rbp - 0x40], 0x29052908
mov word [rbp - 0xc], ax
mov rdi, rcx
mov dword [rbp - 0x3c], 0x29072919
mov edx, 0x296b
mov dword [rbp - 0x38], 0x29152915
mov dword [rbp - 0x34], 0x295f291f
mov dword [rbp - 0x30], 0x29172900
mov dword [rbp - 0x2c], 0x291f2907
mov dword [rbp - 0x28], 0x290c2907
mov dword [rbp - 0x24], 0x29142910
mov dword [rbp - 0x20], 0x2951291c
mov dword [rbp - 0x1c], 0x2911291e
mov dword [rbp - 0x18], 0x29e5290d
mov dword [rbp - 0x14], 0x29e629af
mov dword [rbp - 0x10], 0x29e829ef
mov byte [rbp - 0xa], 1
nop
lea ecx, [rdx + rax]
xor word [rbp + rax*2 - 0x40], cx
inc rax
cmp rax, 0x1a
jb 0x180016a70
lea rcx, [rbp - 0x40]
mov byte [rbp - 0xa], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rdi + 0x10]
movsxd rbx, dword [rax + 0xced28]
mov rax, qword [rcx]
call qword [rax]
mov rdi, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + rbx*8]
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret

Function at 0x18001a120
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x12], 0
je 0x18001a143
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x6d]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x11
jb 0x18001a130
mov byte [rcx + 0x12], 0
mov rax, rcx
ret