joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c06058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c061df
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 0x140c06089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c0606f
add dl, dl
jne 0x140c06096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c060f6
xor eax, eax
add dl, dl
jne 0x140c060a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c061ad
add dl, dl
jne 0x140c060b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c060c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c060d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c060dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c060ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c0607e
mov eax, 1
add dl, dl
jne 0x140c06106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c06113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c060fb
sub eax, ebx
mov ebx, 1
jne 0x140c0614c
mov ecx, 1
add dl, dl
jne 0x140c0612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c0613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c06123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c06168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c06175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c0615d
cmp eax, 0x7d00
jae 0x140c0619b
cmp eax, 0x500
jb 0x140c06196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0607e
cmp eax, 0x7f
ja 0x140c0619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c0607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c061d2
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 0x140c0607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x152aed0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x152aedd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x152aeed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x152aed5
lea eax, [rcx + 1]
jmp 0x152aefb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x152af0e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x152aef4
sub eax, 3
jb 0x152af2e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x152af7d
sar eax, 1
movsxd rbp, eax
jb 0x152af64
jmp 0x152af3c
add ebx, ebx
jne 0x152af3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x152af64
inc ecx
add ebx, ebx
jne 0x152af4a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x152af64
call r11
adc ecx, ecx
add ebx, ebx
jne 0x152af5d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x152af4c
add ecx, 2
jmp 0x152af69
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.0152ae92
jmp 0x152aedd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1113000]
mov eax, dword [rdi]
or eax, eax
je 0x152afd9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x112b000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x152af89
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x152afd3
mov qword [rbx], rax
add rbx, 8
jmp 0x152afa9
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x152b01d
cmp al, 0xef
ja 0x152b005
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x152afe5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x152aff4
mov eax, dword [rdi]
add rdi, 4
jmp 0x152aff4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x152b071
sub rsp, 0xffffffffffffff80
jmp 0x45d080
Function at 0x140001570
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140015c60], rbx
je 0x1400015d7
cmp rax, rbx
jne 0x1400015ca
mov edi, 1
mov esi, edi
jmp 0x1400015dc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400015af
mov edi, 1
mov eax, dword [0x140015c68]
cmp eax, edi
jne 0x1400015f4
mov ebx, 0x1f
mov ecx, ebx
call fcn.140194000
jmp 0x14000166a
mov eax, dword [0x140015c68]
test eax, eax
jne 0x14000165f
mov dword [0x140015c68], edi
lea r15, [0x140010c08]
lea rbx, [0x140010bf0]
mov qword [rsp + 0x30], rbx
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rbx, r15
jae 0x140001651
test eax, eax
jne 0x140001655
cmp qword [rbx], r14
je 0x140001646
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [0x140010b98]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000161e
test eax, eax
je 0x140001665
mov eax, 0xff
jmp 0x1400017cb
mov dword [0x1400153e4], edi
mov ebx, 0x1f
mov eax, dword [0x140015c68]
cmp eax, edi
jne 0x140001691
lea rdx, [0x140010be8]
lea rcx, [0x140010bb0]
call sub.msvcrt.dll__initterm
mov dword [0x140015c68], 2
test esi, esi
jne 0x14000169f
mov rax, r14
xchg qword [0x140015c60], rax
cmp qword [0x140015c80], r14
je 0x1400016dc
lea rcx, [0x140015c80]
call fcn.140001c80
test eax, eax
je 0x1400016dc
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140015c80]
mov r9, qword [0x140010b98]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400016f5
mov eax, 0xff
jmp 0x1400017cb
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000177c
test ax, ax
je 0x140001710
test edx, edx
jne 0x14000177c
sub ax, di
cmp ax, bx
ja 0x140001726
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x140001710
test byte [rsp + 0x7c], dil
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000702c
mov dword [0x1400153e0], eax
cmp dword [0x140015400], r14d
jne 0x140001765
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400153e4], r14d
jne 0x14000177a
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400153e0]
jmp 0x1400017cb
cmp ax, 0x22
jne 0x140001790
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400016fe
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.140001d14
add rsp, 0x28
jmp 0x140001570
Function at 0x14000f6a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400d7c80]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000f6c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000f6c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000f6c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000f71d
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]
mov rdx, r8
cmp rcx, r8
jb 0x14000f714
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000f6c0
add rax, 0x28
cmp rax, r9
jne 0x14000f700
xor eax, eax
ret

Function at 0x14000f720
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d7c80]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000f73f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000f748
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000f73f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14000f7e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400d7c80]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000f7ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000f808
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140005840
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x140005877
mov rbx, qword [rsp + 0x40]
mov rdi, 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__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x140005898
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000589a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400058f3
test ecx, ecx
jle 0x1400058d3
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
sub rbx, rbp
add r14, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400058f3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400058f3
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 + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140005920
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 0x140005951
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 0x14000596f
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 qword [rsp + 0x38], rdi
mov rdi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140005990
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005992
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400059c4
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rdi, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
mov rbx, rdi
je 0x140005a61
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005a02
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 rdi, 0xfff
jbe 0x140005a41
nop dword [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]
sub rdi, rax
add r14, rax
mov rbx, rdi
cmp rax, 0xfff
jne 0x140005a82
cmp rdi, rax
ja 0x140005a10
test rbx, rbx
je 0x140005a61
mov r9, qword [rsi + 0x80]
mov r8, rdi
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 + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub rbp, rdi
jmp 0x140005a64
Function at 0x140005e90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005ebd
xor eax, eax
jmp 0x140006012
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140005ee8
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140005ee8
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 0x140006012
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140006005
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140005f2b
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 0x140005f56
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 0x14000600a
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 0x140005fc5
sub eax, 1
je 0x140005fc5
cmp eax, 2
jne 0x140006005
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 0x14000600a
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005ff3
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 0x140006005
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x14000600a
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000fe60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x1400062c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140006304
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400062f0
ret
Function at 0x140006840
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140019010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006913
cmp byte [rcx + 0x71], 0
je 0x140006913
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000690f
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 0x1400068d4
sub eax, 1
je 0x1400068d8
cmp eax, 2
jne 0x14000690f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fe60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006906
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 0x14000690f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400068bc
xor al, al
jmp 0x1400068bc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fe60
add rsp, 0x60
pop rbx
ret
Function at 0x14000f590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x50
mov rdi, rcx
call qword [sym.imp.mfc140u.dll_CMFCColorButton::OnFillBackground]
xor ecx, ecx
mov eax, 1
cpuid
xor ebp, ebp
test ecx, ecx
js 0x14000f6ec
mov qword [rsp + 0x60], rsi
xor ecx, ecx
mov qword [rsp + 0x68], r14
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xorps xmm0, xmm0
lea r14, [0x14001a3f0]
xor eax, eax
lea rsi, [0x14001a468]
movups xmmword [0x14001a3f0], xmm0
mov qword [0x14001a420], rax
mov rbx, r14
movups xmmword [0x14001a400], xmm0
mov dword [0x14001a428], eax
movups xmmword [0x14001a410], xmm0
nop
mov edx, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbx], rax
add rbx, 8
cmp rbx, rsi
jl 0x14000f610
call fcn.140001750
movsxd r9, dword [0x14001a3e0]
lea rbx, [0x140019108]
mov rsi, qword [rsp + 0x60]
mov edx, 0xb
mov r8, qword [r14 + r9*8]
inc r9d
mov r14, qword [rsp + 0x68]
sub rbx, r8
mov rcx, r8
nop dword [rax + rax]
movzx eax, byte [rbx + rcx]
lea rcx, [rcx + 1]
xor al, 0xf7
mov byte [rcx - 1], al
sub rdx, 1
jne 0x14000f660
cmp r9d, 0xf
mov byte [r8 + 0xb], bpl
mov edx, 1
cmovge r9d, ebp
xor ecx, ecx
mov dword [0x14001a3e0], r9d
call qword [0x14001a390]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f6ec
call fcn.140001a40
test al, al
jne 0x14000f6e2
nop dword [rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, rax
mov qword [0x14001a3b8], rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000f6e2
call fcn.140001a40
test al, al
je 0x14000f6b0
call fcn.140004aa0
call fcn.140004400
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov dword [rsp + 0x28], ebp
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CInternetConnection::SetOption]
mov rbx, qword [rsp + 0x70]
mov eax, 1
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140002950
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0x18
mov rdi, rdx
call fcn.14001141c
mov rbx, rax
test rax, rax
jne 0x14000298a
lea eax, [rbx + 4]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov rax, qword [0x140032cd8]
test rax, rax
jne 0x1400029b7
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140032cd8], rax
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r11d, dword [0x1400312a8]
mov rax, qword [0x140032ce0]
mov rcx, qword [0x140032cd8]
mov dword [rbx], r11d
inc r11d
mov dword [0x1400312a8], r11d
mov qword [rbx + 0x10], rax
mov qword [0x140032ce0], rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov qword [rsi], rbx
mov eax, dword [rbx]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov dword [rdi], eax
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140002ab0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x230
mov rax, qword [0x140031318]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov rsi, rcx
mov eax, 0x2e
or rcx, 0xffffffffffffffff
mov r8, qword [rsi + 0x30]
mov word [rsp + 0x20], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
inc rdx
mov byte [rdi + rdx - 2], al
test al, al
jne 0x140002b00
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
movzx eax, word [0x140025d50]
lea rdx, [0x140025d58]
lea rcx, [rsp + 0x20]
mov word [rdi - 1], ax
call fcn.1400128a0
mov rcx, qword [rsi + 0x30]
lea rdx, [0x140025d54]
mov rbx, rax
call fcn.1400128a0
mov rsi, rax
nop
lea rcx, [rsp + 0x120]
mov r9, rbx
mov edx, 1
mov r8d, 0x100
call fcn.140012748
lea rcx, [rsp + 0x120]
mov r9, rsi
mov r8d, eax
mov edx, 1
mov rdi, rax
call fcn.140012388
cmp eax, edi
jne 0x140002bac
test edi, edi
jne 0x140002b50
mov rcx, rbx
call fcn.140012174
mov rcx, rsi
call fcn.140012174
lea rcx, [rsp + 0x20]
call fcn.1400120b8
xor eax, eax
jmp 0x140002bb1
mov eax, 7
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140011230
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140003f80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140003a40
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x140003ff9
lea rdx, [rbx + r9*4 + 8]
lea r8, [rbx + 8]
nop dword [rax + rax]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
sub rdx, 0x10
add r8, 0x10
cmp r10, r9
jl 0x140003fb0
cmp r11d, 1
jle 0x14000419e
mov qword [rsp + 0x30], rdi
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r9d, dword [rbx + 0x10]
add rbx, 0x10
mov rax, r9
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x26d60]
movzx eax, byte [rbx + 1]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r8d, dword [rdi + rdx*4 + 0x27160]
movzx eax, byte [rbx + 2]
xor r8d, dword [rdi + rcx*4 + 0x27960]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x27560]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r9d, dword [rbx + 4]
xor r8d, dword [rdi + rcx*4 + 0x27d60]
mov rax, r9
mov dword [rbx], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x26d60]
movzx eax, byte [rbx + 5]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r8d, dword [rdi + rdx*4 + 0x27160]
movzx eax, byte [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0x27960]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x27560]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r9d, dword [rbx + 8]
xor r8d, dword [rdi + rcx*4 + 0x27d60]
mov rax, r9
mov dword [rbx + 4], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x26d60]
movzx eax, byte [rbx + 9]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r8d, dword [rdi + rdx*4 + 0x27160]
movzx eax, byte [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x27960]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x27560]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
mov r9d, dword [rbx + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x27d60]
mov rax, r9
mov dword [rbx + 8], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x26d60]
movzx eax, byte [rbx + 0xd]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
movzx eax, byte [rbx + 0xe]
mov r8d, dword [rdi + rdx*4 + 0x27160]
xor r8d, dword [rdi + rcx*4 + 0x27960]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x27560]
movzx ecx, byte [rdi + rax*4 + 0x26d60]
xor r8d, dword [rdi + rcx*4 + 0x27d60]
sub r10, 1
mov dword [rbx + 0xc], r8d
jne 0x140004020
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret