joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4de590
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4def92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc503108]
test eax, eax
je 0x2fc4df02a
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc503110]
mov qword [rbp - 8], rax
jmp 0x2fc4df00e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4df002
cmp qword [rbp - 0x10], 0
je 0x2fc4df002
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4defc8
lea rax, [0x2fc5030e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4df02b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4df130
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4df158
mov eax, 0
jmp 0x2fc4df1a6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4df181
mov eax, 0
jmp 0x2fc4df1a6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4df1a1
mov eax, 0
jmp 0x2fc4df1a6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4df1ac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4df22a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4df221
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4df221
mov rax, qword [rbp - 8]
jmp 0x2fc4df23f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4df1f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d9500
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d9f02
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fe108]
test eax, eax
je 0x2fc4d9f9a
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fe110]
mov qword [rbp - 8], rax
jmp 0x2fc4d9f7e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d9f72
cmp qword [rbp - 0x10], 0
je 0x2fc4d9f72
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d9f38
lea rax, [0x2fc4fe0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d9f9b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4da0a0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4da0c8
mov eax, 0
jmp 0x2fc4da116
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4da0f1
mov eax, 0
jmp 0x2fc4da116
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4da111
mov eax, 0
jmp 0x2fc4da116
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dba60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4dc462
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc500108]
test eax, eax
je 0x2fc4dc4fa
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc500110]
mov qword [rbp - 8], rax
jmp 0x2fc4dc4de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4dc4d2
cmp qword [rbp - 0x10], 0
je 0x2fc4dc4d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4dc498
lea rax, [0x2fc5000e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4dc4fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4dc600
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4dc628
mov eax, 0
jmp 0x2fc4dc676
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4dc651
mov eax, 0
jmp 0x2fc4dc676
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4dc671
mov eax, 0
jmp 0x2fc4dc676
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4dc67c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4dc6fa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4dc6f1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4dc6f1
mov rax, qword [rbp - 8]
jmp 0x2fc4dc70f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4dc6c4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001ced0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14001cedd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14001ceed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14001ced5
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14001cf05
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14001cef2
sub eax, 3
jb 0x14001cf1f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14001cf56
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14001cf46
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14001cf44
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14001cf33
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14001ce92
jmp 0x14001cedd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3600
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14001cfa2
cmp rsi, rcx
jae 0x14001cfaa
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14001cf89
cmp al, 0x8f
ja 0x14001cf89
cmp byte [rsi - 2], 0xf
je 0x14001cf8f
sub al, 0xe8
cmp al, 1
ja 0x14001cf73
cmp rsi, rcx
jae 0x14001cfaa
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14001cf79
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14001cfaa
lodsb al, byte [rsi]
jmp 0x14001cf89
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a000]
mov eax, dword [rdi]
or eax, eax
je 0x14001d007
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2f380]
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 0x14001cfb7
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 0x14001d001
mov qword [rbx], rax
add rbx, 8
jmp 0x14001cfd7
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
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 0x14001d05f
sub rsp, 0xffffffffffffff80
jmp section.UPX0
Function at 0x180811058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1808111df
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 0x180811089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x18081106f
add dl, dl
jne 0x180811096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808110f6
xor eax, eax
add dl, dl
jne 0x1808110a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1808111ad
add dl, dl
jne 0x1808110b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808110c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808110d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1808110dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1808110ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x18081107e
mov eax, 1
add dl, dl
jne 0x180811106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180811113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1808110fb
sub eax, ebx
mov ebx, 1
jne 0x18081114c
mov ecx, 1
add dl, dl
jne 0x18081112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x18081113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180811123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18081107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180811168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180811175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x18081115d
cmp eax, 0x7d00
jae 0x18081119b
cmp eax, 0x500
jb 0x180811196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18081107e
cmp eax, 0x7f
ja 0x18081119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x18081107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1808111d2
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 0x18081107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x2406058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x24061df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x2406089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x240606f
add dl, dl
jne 0x2406096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x24060f6
xor eax, eax
add dl, dl
jne 0x24060a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x24061ad
add dl, dl
jne 0x24060b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24060c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24060d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x24060dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x24060ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x240607e
mov eax, 1
add dl, dl
jne 0x2406106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x2406113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x24060fb
sub eax, ebx
mov ebx, 1
jne 0x240614c
mov ecx, 1
add dl, dl
jne 0x240612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x240613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x2406123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x240607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x2406168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2406175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x240615d
cmp eax, 0x7d00
jae 0x240619b
cmp eax, 0x500
jb 0x2406196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x240607e
cmp eax, 0x7f
ja 0x240619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x240607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x24061d2
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 0x240607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011136
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
jmp 0x140014d30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140036040]
xor rax, rbp
mov qword [rbp + 0x1a0], rax
lea rcx, [0x14003d109]
call fcn.1400118b6
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x1d0]
call fcn.1400113bb
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
add eax, 0x10
mov dword [rbp + 0x64], eax
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x140014dce
xor eax, eax
jmp 0x140014ef8
lea r9, [rbp + 0x28]
mov r8d, 1
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
jne 0x140014dfe
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x140014ef8
mov eax, dword [rbp + 0x64]
mov ecx, eax
call fcn.1400113ac
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x88], rax
mov eax, dword [rbp + 0x44]
mov r8d, eax
mov rdx, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x88]
call fcn.140011429
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x30], eax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x140014ecf
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x188], rax
mov rcx, qword [rbp + 0x188]
call fcn.14001140b
cmp qword [rbp + 0x188], 0
jne 0x140014e9c
mov qword [rbp + 0x198], 0
jmp 0x140014eb5
mov qword [rbp + 0x88], 0x8123
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x198], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
jmp 0x140014ef8
mov rax, qword [rbp + 0x1d8]
mov ecx, dword [rbp + 0x44]
mov dword [rax], ecx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rbp + 0x88]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400263d0]
call fcn.14001173f
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rbp
call fcn.14001141f
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x140011253
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
jmp 0x140016050
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x140036040]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x14003d109]
call fcn.1400118b6
lea r8, str..
mov rdx, qword [rbp + 0x3f0]
lea rcx, [rbp + 8]
call fcn.1400116cc
nop
lea rcx, [rbp + 8]
call fcn.1400110b9
lea rdx, [rbp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x1a8], rax
cmp qword [rbp + 0x1a8], 0xffffffffffffffff
je 0x1400161ca
lea rdx, [0x1400276e8]
lea rcx, [rbp + 0x7c]
call fcn.140011997
test eax, eax
je 0x1400161a3
lea rdx, [0x1400276ec]
lea rcx, [rbp + 0x7c]
call fcn.140011997
test eax, eax
je 0x1400161a3
lea r8, [0x1400276f0]
mov rdx, qword [rbp + 0x3f0]
lea rcx, [rbp + 0x388]
call fcn.1400116cc
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 0x3b8]
mov qword [rbp + 0x3c0], rax
lea r8, [rbp + 0x7c]
mov rdx, qword [rbp + 0x3c0]
lea rcx, [rbp + 0x1c8]
call fcn.1400117fd
nop
lea rcx, [rbp + 0x388]
call fcn.140011177
mov eax, dword [rbp + 0x50]
and eax, 0x10
test eax, eax
je 0x140016183
mov rdx, qword [rbp + 0x3f8]
lea rcx, [rbp + 0x1c8]
call fcn.140011253
jmp 0x140016197
lea rdx, [rbp + 0x1c8]
mov rcx, qword [rbp + 0x3f8]
call fcn.140011479
nop
lea rcx, [rbp + 0x1c8]
call fcn.140011177
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400160e1
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 8]
call fcn.140011177
lea rcx, [rbp - 0x20]
lea rdx, [0x140031a10]
call fcn.14001173f
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.14001141f
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret
Function at 0x14001130c
Capabilities:
Write file on windows

Disassembly:
jmp 0x140014a70
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x140036040]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x14003d109]
call fcn.1400118b6
mov dword [rbp + 4], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
jne 0x140014b0a
xor eax, eax
jmp 0x140014b50
mov qword [rsp + 0x20], 0
lea r9, [rbp + 4]
mov r8d, dword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140014b41
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140014b50
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x1400265a0]
call fcn.14001173f
mov rax, rdi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.14001141f
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400114bf
Capabilities:
Terminate process

Disassembly:
jmp 0x14001de80
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