joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ded00
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov al, byte [0x14012560a]
test al, al
jne 0x1400defc4
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1400f3bf0]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.140048bf0
cmp byte [r15 + 0x17], 0
js 0x1400dee37
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0xf0]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
xor r15d, r15d
mov rcx, r14
mov rdx, r12
xor r8d, r8d
call fcn.140020e70
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movabs rax, 0x4000000070
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x88], rax
lea rax, str.runas
mov qword [rsp + 0x90], rax
cmp byte [rsp + 0x127], 0
js 0x1400dee74
lea rax, [rsp + 0x110]
jmp 0x1400dee7c
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.140007240
cmp byte [rsp + 0x97], 0
jns 0x1400dedae
mov rcx, qword [rsp + 0x80]
call fcn.140092084
jmp 0x1400dedae
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x1400dee96
mov r12, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r12
mov qword [rcx + 0x28], r15
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400def29
test bl, bl
je 0x1400def21
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x9e
call fcn.140057f70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140075ed0
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140089ad0
mov r15, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r15
call fcn.140028cf0
cmp byte [rsp + 0x107], 0
jns 0x1400def4b
mov rcx, qword [rsp + 0xf0]
call fcn.140092084
cmp byte [rsp + 0x127], 0
jns 0x1400def62
mov rcx, qword [rsp + 0x110]
call fcn.140092084
mov qword [rsp + 0x40], 0xa
mov al, byte [0x14012560a]
test al, al
jne 0x1400defa0
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400941a0
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.140057f90
jmp 0x1400def75
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.1400594d0
jmp 0x1400ded4f
Function at 0x1400df720
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401257b8], 0
je 0x1400df766
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400941a0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401257a8]
test rdi, rdi
jne 0x1400df849
mov ecx, 0x18
call fcn.14009208c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400c42d0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400f3bf0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.140043d30
movzx ecx, byte [rdi + 0x17]
test cl, cl
mov rax, qword [rdi]
mov r8, qword [rdi + 8]
mov r9, rcx
cmovs r9, r8
mov r10, rdi
cmovs r10, rax
test r9, r9
je 0x1400df82d
add r9, r9
test r9, r9
je 0x1400df82d
lea rdx, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, rdx
jne 0x1400df7ef
cmp rdx, 0xfffffffffffffffe
je 0x1400df82d
sar rdx, 1
lea r9, [rdx + 1]
test cl, cl
jns 0x1400df9a5
cmp r8, rdx
jbe 0x1400df9ca
mov qword [rdi + 8], r9
mov word [rax + rdx*2 + 2], 0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140045c90
mov qword [0x1401257a8], rdi
test byte [0x140116568], 1
je 0x1400df749
cmp byte [rdi + 0x17], 0
jns 0x1400df85f
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401257b8], rax
inc rax
cmp rax, 1
ja 0x1400df749
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400c42d0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x1400df99e
mov rcx, qword [0x1401257a8]
lea rdx, [rsp + 0x40]
call fcn.140017fa0
mov rcx, qword [0x1401257a8]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1400df9ba
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400df9c7
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400df929
lea rdx, [0x140105d4c]
mov r8d, 1
call fcn.140045c90
mov rcx, qword [0x1401257a8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140045c90
mov rcx, qword [0x1401257a8]
cmp byte [rcx + 0x17], 0
jns 0x1400df952
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401257b8], rax
inc rax
cmp rax, 1
ja 0x1400df749
mov qword [0x1401257b8], 0
xor esi, esi
jmp 0x1400df749
cmp rdx, rcx
jae 0x1400df9ca
and r9b, 0x7f
mov byte [rdi + 0x17], r9b
mov rax, rdi
jmp 0x1400df826
test rax, rax
je 0x1400df9c7
mov rdx, rcx
jmp 0x1400df90f
int3
int3
Function at 0x1400e3a80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov rdx, qword [rcx]
mov r8, qword [rcx + 8]
mov rax, r8
sub rax, rdx
je 0x1400e3abd
js 0x1400e3ac1
shr rax, 2
lea r9, [0x1400fe960]
movzx r10d, byte [rdx]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rdx
cmp rdx, r8
jne 0x1400e3a9c
cmp eax, dword [rcx + 0x18]
sete al
ret
xor eax, eax
jmp 0x1400e3ab6
int3
Function at 0x1400ea410
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140114040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, 0xffffffffffffffff
xor edx, edx
div rcx
mov rbx, 0xfffffffffffffffe
sub rbx, rdx
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x28]
mov qword [rsp + 0x28], r14
mov rcx, rdi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400ea492
mov rax, qword [rsp + 0x28]
cmp rax, rbx
ja 0x1400ea450
xor edx, edx
div rsi
mov rsi, rdx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400941a0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1417f51b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1417f533f
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 0x1417f51e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417f51cf
add dl, dl
jne 0x1417f51f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417f5256
xor eax, eax
add dl, dl
jne 0x1417f5205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1417f530d
add dl, dl
jne 0x1417f5216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417f5223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417f5230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417f523d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1417f524a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1417f51de
mov eax, 1
add dl, dl
jne 0x1417f5266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1417f5273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417f525b
sub eax, ebx
mov ebx, 1
jne 0x1417f52ac
mov ecx, 1
add dl, dl
jne 0x1417f528e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417f529b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417f5283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417f51de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1417f52c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1417f52d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1417f52bd
cmp eax, 0x7d00
jae 0x1417f52fb
cmp eax, 0x500
jb 0x1417f52f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417f51de
cmp eax, 0x7f
ja 0x1417f52fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1417f51de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1417f5332
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 0x1417f51de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x40eae0
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
mov ecx, 0x70
mov edx, 1
mov rbp, rsp
push rdi
push rsi
push rbx
lea rsi, str.7eff141e576f58846c92843c10845dfff58c9d20ab149f9884ad98840f98949c13d47c98943c98845dff5e354a85ab149c13842f988485140000010086951404a66f98e5024c38845dfff58c9d20ab149f9884851440a69c13d42e988401ce38845dff652a5b0f865e57ecff94c0470c585dff16475a99ab149f98842e98c4851401a67c98845dff0efdf0aeab141c98840cff842c98840cff840c13d49c13d40505e514a0a65dff00b60892ab14950000101086ae98c45dff706277c4ab141f98c44e989445142f62b2569b220020cb945e98940000100ace18846e9894651400002333f5233777eb94d5ffffffb49e21b884a59514850eff251402ce3884a51495148514a595e5851485140d10848840b8140d1094c104b84484c0b814660d10944204b844858d571d93548042c430c41f570e831c1014cad09c1c140c13846d10848843b8149cff849c13d4653e0d1094050204b8448184b80d108476470c58840000008808b80000002758f020b0818718660d10841514c324b80225b88425de2e1c1014d09c1c1402c220c716c3ca0c13849c13d4a4a47bf0840527b884650225b8848125b8840625b884562d1384152505141514000000cc8e0f4e3884cf
and rsp, 0xfffffffffffffff0
sub rsp, 0x3b0
lea rbx, [rsp + 0x20]
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov ecx, 0x1c1
movzx eax, word [rsi]
mov word [rdi], ax
movzx eax, byte [0x004103aa]
mov byte [rdi + 2], al
call sub.msvcrt.dll_calloc
test rax, rax
je 0x40eba5
mov rdx, rax
mov rcx, rbx
mov rsi, rax
call fcn.0040ea20
xor r8d, r8d
xor edx, edx
mov ecx, 0x40000
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x40eb90
mov rdx, rsi
mov r8d, 0x1c1
mov rcx, rax
call sub.msvcrt.dll_memmove
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumWindows]
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.HeapAlloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rcx, str.malloc_error
call fcn.0040ea80
lea rsp, [rbp - 0x18]
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x180007290
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.0x1800072b1
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 0x1800072de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800072e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180007339
test ecx, ecx
jle 0x180007319
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 0x180007339
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180007339
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 dword es:[rsi + 0x1d], esp
invalid
Function at 0x180007360
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180007391
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.0x1800073a8
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 rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800073cb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800073cd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180007409
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18000749e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x180007444
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 0x18000747e
nop dword [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 0x18000749e
cmp rbx, rax
ja 0x180007450
test rbx, rbx
je 0x18000749e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
cmp eax, 0x2004e
add byte [rax], al
invalid
Function at 0x180007900
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800eb3c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000792d
xor eax, eax
jmp 0x180007a99
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180007967
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180007967
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 0x180007a99
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x180007a8c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800079aa
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 0x1800079d5
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 0x180007a91
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 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 0x180007a44
sub eax, 1
je 0x180007a44
cmp eax, 2
jne 0x180007a8c
movsx ecx, byte [rsp + 0x40]
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 0x180007a91
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x180007a72
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 0x180007a8c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x180007a91
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800a5e50
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1800080c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800eb3c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180008193
cmp byte [rcx + 0x71], 0
je 0x180008193
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000818f
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 0x180008154
sub eax, 1
je 0x180008158
cmp eax, 2
jne 0x18000818f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a5e50
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180008186
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 0x18000818f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000813c
xor al, al
jmp 0x18000813c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a5e50
add rsp, 0x60
pop rbx
ret

Function at 0x180024d00
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov qword [rsp + 0x50], rbp
mov rsi, rcx
lea rbp, [r8 - 1]
mov qword [rsp + 0x58], r12
sar rbp, 1
mov r14, r9
mov qword [rsp + 0x60], r13
mov r13, r8
mov rbx, rdx
mov r15, rdx
mov rcx, rdx
cmp rdx, rbp
jge 0x180024d70
nop dword [rax]
lea rdi, [rcx + rcx]
mov r8, qword [rsi + rdi*8 + 8]
mov rdx, qword [rsi + rdi*8 + 0x10]
call fcn.1800247b0
movzx ecx, al
xor rcx, 1
inc rcx
add rcx, rdi
mov rax, qword [rsi + rcx*8]
mov qword [rsi + rbx*8], rax
mov rbx, rcx
cmp rcx, rbp
jl 0x180024d40
cmp rcx, rbp
mov rbp, qword [rsp + 0x50]
jne 0x180024d8d
test r13b, 1
jne 0x180024d8d
mov rax, qword [rsi + r13*8 - 8]
mov qword [rsi + rbx*8], rax
lea rbx, [r13 - 1]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
cmp r15, rbx
jge 0x180024dda
nop dword [rax]
mov r8, qword [r14]
lea rdi, [rbx - 1]
sar rdi, 1
mov rdx, qword [rsi + rdi*8]
call fcn.1800247b0
test al, al
je 0x180024dda
mov rax, qword [rsi + rdi*8]
mov qword [rsi + rbx*8], rax
mov rbx, rdi
cmp r15, rdi
jl 0x180024da0
mov rax, qword [r14]
mov qword [rsi + rdi*8], rax
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [r14]
mov qword [rsi + rbx*8], rax
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800376d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xc0
mov rsi, qword [rcx + 0xe0]
mov rdi, rcx
mov rbx, qword [rcx + 0xd8]
cmp rbx, rsi
je 0x18003781b
movaps xmmword [rax - 0x18], xmm6
movss xmm6, dword [0x1800d4d8c]
movaps xmmword [rax - 0x28], xmm7
movss xmm7, dword [0x1800d4dcc]
movaps xmmword [rax - 0x38], xmm8
xorps xmm8, xmm8
nop
cmp byte [rbx + 0x10], 0
movss xmm1, dword [rbx]
movss xmm0, dword [rbx + 4]
movss xmm2, dword [rbx + 8]
je 0x18003774d
movss dword [rsp + 0x30], xmm1
lea rcx, [rsp + 0x30]
movss dword [rsp + 0x34], xmm0
movss dword [rsp + 0x38], xmm2
jmp 0x180037771
addss xmm1, xmm6
addss xmm0, xmm8
addss xmm2, xmm6
lea rcx, [rsp + 0x3c]
movss dword [rsp + 0x3c], xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm2
movsd xmm0, qword [rcx]
addss xmm1, xmm7
mov eax, dword [rcx + 8]
lea r8, [rsp + 0x50]
movsd qword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x60]
movss xmm0, dword [rcx + 4]
movaps xmm3, xmm6
addss xmm0, xmm7
mov byte [rsp + 0x28], 1
movss dword [rsp + 0x7c], xmm1
movss xmm1, dword [rcx + 8]
lea rcx, [rsp + 0x70]
addss xmm1, xmm7
mov qword [rsp + 0x88], 0
mov dword [rsp + 0x78], eax
movss dword [rsp + 0x80], xmm0
movups xmm0, xmmword [rdi + 0xc8]
mov byte [rsp + 0x20], 1
movss dword [rsp + 0x84], xmm1
movups xmm1, xmmword [rdi + 0xb8]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.18009ec80
add rbx, 0x14
cmp rbx, rsi
jne 0x180037720
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18004a7b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor edi, edi
call fcn.180007c60
cmp qword [rbx + 0x18], 0xf
mov r8, rbx
jbe 0x18004a7d9
mov r8, qword [rbx]
mov rdx, r8
mov rax, r8
jmp 0x18004a7df
mov rax, rbx
mov rdx, rbx
add rdx, qword [rbx + 0x10]
mov rcx, rdx
sub rcx, r8
cmp r8, rdx
cmova rcx, rdi
test rcx, rcx
je 0x18004a84f
cmp rcx, 0x40
jb 0x18004a84f
movdqa xmm1, xmmword [0x1800d5230]
and rcx, 0xffffffffffffffc0
nop word [rax + rax]
movdqu xmm0, xmmword [rax]
add rdi, 0x40
xorps xmm0, xmm1
movdqu xmmword [rax], xmm0
movdqu xmm0, xmmword [rax + 0x10]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x20], xmm0
movdqu xmm0, xmmword [rax + 0x30]
xorps xmm0, xmm1
movdqu xmmword [rax + 0x30], xmm0
add rax, 0x40
cmp rdi, rcx
jne 0x18004a810
cmp rax, rdx
je 0x18004a85f
xor byte [rax], 0x7f
inc rax
cmp rax, rdx
jne 0x18004a854
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret