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

Disassembly:
jmp 0x14001f0d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001f0f0
xor al, al
jmp 0x14001f171
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001f103
xor al, al
jmp 0x14001f171
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001f12d
xor al, al
jmp 0x14001f171
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001f141
xor al, al
jmp 0x14001f171
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001f153
xor al, al
jmp 0x14001f171
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001f16f
xor al, al
jmp 0x14001f171
mov al, 1
add rsp, 0x38
ret
Function at 0x140011866
Capabilities:
Write file on windows

Disassembly:
jmp 0x140017b40
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x208]
mov rax, qword [0x14002c018]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x140033065]
call fcn.140011884
mov rax, qword [rbp + 0x1d0]
cmp qword [rax + 0x68], 0
je 0x140017ba6
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017bad
mov al, 1
jmp 0x140017d07
call fcn.140011258
mov rcx, qword [rbp + 0x1d0]
mov rcx, qword [rcx]
mov qword [rbp + 0x198], rcx
mov edx, eax
mov rcx, qword [rbp + 0x1d0]
mov rax, qword [rbp + 0x198]
call qword [rax + 0x18]
mov dword [rbp + 0x164], eax
call fcn.140011258
mov dword [rbp + 0x184], eax
lea rdx, [rbp + 0x164]
lea rcx, [rbp + 0x184]
call fcn.14001171c
movzx eax, al
test eax, eax
je 0x140017c08
xor al, al
jmp 0x140017d07
mov qword [rbp + 8], 0x20
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1d0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rax, qword [rbp + 0x1d0]
mov rcx, qword [rax + 0x68]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 0
je 0x140017c6d
cmp dword [rbp + 0x194], 1
je 0x140017c78
cmp dword [rbp + 0x194], 3
je 0x140017cf6
jmp 0x140017d05
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x140017cc8
mov rax, qword [rbp + 0x1d0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x140017cc8
xor al, al
jmp 0x140017d07
mov rax, qword [rbp + 0x1d0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140017ce3
mov dword [rbp + 0x194], 1
jmp 0x140017ced
mov dword [rbp + 0x194], 0
movzx eax, byte [rbp + 0x194]
jmp 0x140017d07
mov rax, qword [rbp + 0x1d0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140017d07
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140026810]
call fcn.1400116fe
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.140011415
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140785058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407851df
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 0x140785089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14078506f
add dl, dl
jne 0x140785096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407850f6
xor eax, eax
add dl, dl
jne 0x1407850a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407851ad
add dl, dl
jne 0x1407850b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407850c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407850d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407850dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407850ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14078507e
mov eax, 1
add dl, dl
jne 0x140785106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140785113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407850fb
sub eax, ebx
mov ebx, 1
jne 0x14078514c
mov ecx, 1
add dl, dl
jne 0x14078512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14078513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140785123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140785168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140785175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14078515d
cmp eax, 0x7d00
jae 0x14078519b
cmp eax, 0x500
jb 0x140785196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078507e
cmp eax, 0x7f
ja 0x14078519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14078507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407851d2
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 0x14078507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000c65c
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_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014cb8], rbx
je 0x14000c6c3
cmp rax, rbx
jne 0x14000c6b6
mov ebx, 1
mov esi, ebx
jmp 0x14000c6c8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c69b
mov ebx, 1
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c6e0
mov edi, 0x1f
mov ecx, edi
call fcn.14013d000
jmp 0x14000c74c
mov eax, dword [0x140014cc0]
test eax, eax
jne 0x14000c741
mov dword [0x140014cc0], ebx
lea r15, [0x14000eb70]
lea rdi, [0x14000eb58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c733
test eax, eax
jne 0x14000c737
cmp qword [rdi], r14
je 0x14000c728
mov rax, qword [rdi]
mov rcx, qword [0x14000eb00]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c70a
test eax, eax
je 0x14000c747
mov eax, 0xff
jmp 0x14000c8a0
mov dword [0x140014400], ebx
mov edi, 0x1f
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c773
lea rdx, [0x14000eb50]
lea rcx, [0x14000eb18]
call sub.msvcrt.dll__initterm
mov dword [0x140014cc0], 2
test esi, esi
jne 0x14000c781
mov rax, r14
xchg qword [0x140014cb8], rax
cmp qword [0x140014cd8], r14
je 0x14000c7b4
lea rcx, [0x140014cd8]
call fcn.14000cc80
test eax, eax
je 0x14000c7b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014cd8]
mov r9, qword [0x14000eb00]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c7cd
mov eax, 0xff
jmp 0x14000c8a0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000c851
cmp word [rcx], r14w
je 0x14000c7e6
test edx, edx
jne 0x14000c851
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000c7fc
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7e6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e8
mov dword [0x1400143fc], eax
cmp dword [0x140014420], r14d
jne 0x14000c83a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014400], r14d
jne 0x14000c84f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143fc]
jmp 0x14000c8a0
cmp word [rcx], 0x22
jne 0x14000c865
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 0x14000c7d6
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.14000cd00
add rsp, 0x28
jmp 0x14000c65c
Function at 0x14001134d
Capabilities:
Terminate process

Disassembly:
jmp 0x140017340
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001141a
Capabilities:
Get memory capacity

Disassembly:
jmp 0x1400159f0
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x390], rax
lea rcx, [0x1400290f4]
call fcn.1400115d7
mov edx, 0x20
lea rcx, [rbp + 8]
call fcn.1400115c8
lea rcx, [rbp + 8]
call fcn.14001147e
nop
xor eax, eax
cmp eax, 1
je 0x140015b22
mov dword [rbp + 0x50], 0x40
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rbp + 0x60]
mov qword [rbp + 0xa8], rax
xor edx, edx
mov rax, qword [rbp + 0xa8]
mov ecx, 0x100000
div rcx
mov qword [rbp + 0x388], rax
lea rdx, str.trying_to_allocate
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110af
mov rcx, qword [rbp + 0x388]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
lea rdx, str._MB_n
mov rcx, rax
call fcn.1400110af
nop
mov rcx, qword [rbp + 0xa8]
call fcn.140011299
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x388]
mov qword [rbp + 0x308], rax
mov rax, qword [rbp + 0x308]
mov qword [rbp + 0xc8], rax
lea r8, [rbp + 0xa8]
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x328]
call fcn.14001122b
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.140011609
nop
jmp 0x140015b12
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140015a45
mov dword [rbp + 0x374], 0
lea rcx, [rbp + 8]
call fcn.140011343
mov eax, dword [rbp + 0x374]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001edd0]
call fcn.140011505
mov eax, edi
mov rcx, qword [rbp + 0x390]
xor rcx, rbp
call fcn.1400112f3
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x14001142e
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018690
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400186b0
xor al, al
jmp 0x140018731
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400186c3
xor al, al
jmp 0x140018731
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400186ed
xor al, al
jmp 0x140018731
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018701
xor al, al
jmp 0x140018731
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018713
xor al, al
jmp 0x140018731
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001872f
xor al, al
jmp 0x140018731
mov al, 1
add rsp, 0x38
ret
Function at 0x1400129c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x140012a51
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x140012a51
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140012a51
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140012a35
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140012a2f
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140012a37
add rdx, 0x28
jmp 0x140012a14
xor edx, edx
test rdx, rdx
jne 0x140012a40
xor al, al
jmp 0x140012a57
test dword [rdx + 0x24], 0x80000000
je 0x140012a4d
xor al, al
jmp 0x140012a57
mov al, 1
jmp 0x140012a57
xor al, al
jmp 0x140012a57
add rsp, 0x18
ret

Function at 0x140b7e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b7e1df
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 0x140b7e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7e06f
add dl, dl
jne 0x140b7e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7e0f6
xor eax, eax
add dl, dl
jne 0x140b7e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b7e1ad
add dl, dl
jne 0x140b7e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b7e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b7e07e
mov eax, 1
add dl, dl
jne 0x140b7e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b7e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7e0fb
sub eax, ebx
mov ebx, 1
jne 0x140b7e14c
mov ecx, 1
add dl, dl
jne 0x140b7e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b7e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b7e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b7e15d
cmp eax, 0x7d00
jae 0x140b7e19b
cmp eax, 0x500
jb 0x140b7e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7e07e
cmp eax, 0x7f
ja 0x140b7e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b7e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b7e1d2
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 0x140b7e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1406a70b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406a7237
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 0x1406a70e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a70c7
add dl, dl
jne 0x1406a70ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a714e
xor eax, eax
add dl, dl
jne 0x1406a70fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406a7205
add dl, dl
jne 0x1406a710e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a711b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a7128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a7135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406a7142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406a70d6
mov eax, 1
add dl, dl
jne 0x1406a715e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406a716b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a7153
sub eax, ebx
mov ebx, 1
jne 0x1406a71a4
mov ecx, 1
add dl, dl
jne 0x1406a7186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406a7193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a717b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a70d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406a71c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406a71cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406a71b5
cmp eax, 0x7d00
jae 0x1406a71f3
cmp eax, 0x500
jb 0x1406a71ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a70d6
cmp eax, 0x7f
ja 0x1406a71f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406a70d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406a722a
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 0x1406a70d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140063760
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140063783
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x27]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x49
jb 0x140063770
mov byte [rdx + 0x4a], 0
call fcn.140073bd0
lea rax, [0x140386e50]
add rsp, 0x28
ret
Function at 0x1400661e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x34], 0
je 0x140066203
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x27]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x33
jb 0x1400661f0
mov byte [rdx + 0x34], 0
call fcn.140073bd0
lea rax, [0x140386e50]
add rsp, 0x28
ret
Function at 0x1400670c0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x14037e680]
xor rax, rsp
mov qword [rbp + 0x90], rax
lea rcx, [0x140347618]
call fcn.1402778ec
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov ebx, 6
mov r8d, ebx
lea rdx, str.458755
lea rcx, [rsp + 0x30]
call fcn.140074c40
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [0x140388670]
call fcn.140064d10
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.1402a49f0
lea rcx, [rbp - 0x80]
call fcn.14006a990
nop
lea rcx, str.C:WindowsSystem32WindowsIME.exe
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea edx, [rax + 2]
lea rcx, str.C:WindowsSystem32WindowsIME.exe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
sub r8, rdx
lea rcx, [rbp - 0x80]
call fcn.14006b330
lea rcx, [rbp - 0x78]
call fcn.14006e6d0
test rax, rax
jne 0x1400671d4
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov eax, 2
cmp qword [rbp + rcx - 0x38], 0
cmovne ebx, eax
or ebx, dword [rbp + rcx - 0x70]
and ebx, 0x17
mov dword [rbp + rcx - 0x70], ebx
mov eax, dword [rbp + rcx - 0x6c]
and eax, ebx
jne 0x1400672c1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0x40
lea r8, [0x140347698]
lea rdx, str.Latest_version_downloaded_successfully.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.14006a8e0
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x28]
call fcn.14026251c
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14006729b
mov rdx, qword [rsp + 0x78]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400672bb
call fcn.140263030
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140263010
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x1a0
pop rbp
ret
call fcn.14027e9f0
nop
test al, 4
je 0x1400672ce
lea rbx, str.ios_base::badbit_set
jmp 0x1400672e2
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.14005b7b0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14005bfb0
lea rdx, [0x140376068]
lea rcx, [rsp + 0x30]
call fcn.1402655e0
int3
Function at 0x14006a120
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14006a142
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14006a1bc
mov rdi, r14
mov rcx, rbx
call fcn.14006f970
test rax, rax
jle 0x14006a194
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1402a4350
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14006a1ac
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x14006a1b4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14006a156
sub r14, rdi
jmp 0x14006a29f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14006a1d3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14006a1d5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14006a207
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1402a4350
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14006a29c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006a242
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
cmp rbp, 0xfff
jbe 0x14006a27d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14027f9a4
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14006a29c
cmp rbp, rax
ja 0x14006a250
test rbp, rbp
je 0x14006a29c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14027f9a4
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret

Function at 0x140084570
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400845cd
lea rbx, [0x140348cc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400845b4
cmp r10, 2
jb 0x1400845b4
cmp byte [r9], r8b
jne 0x1400845b4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140084590
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14008460f
lea rbx, [0x140348cc0]
cmp r8b, 0x23
jne 0x1400845f3
cmp byte [r9], r8b
jne 0x1400845f3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400845e0
mov rbx, qword [rsp + 8]
not eax
ret