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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011c8ae
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011c8ae
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011c8ae
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011c8ae
cmp dword [rcx + 0x84], 0xe
jbe 0x14011c8ae
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14011c8b0
xor al, al
add rsp, 0x28
ret

Function at 0x14011d420
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14011d45a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011d45f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14011d4a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140134df0]
cmp byte [rcx + rax], 0
je 0x14011d4a8
dec r8
sub rdx, 1
jne 0x14011d48e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x14000dbb8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000dbf2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000dbf7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14000dc40
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400106a0]
cmp byte [rcx + rax], 0
je 0x14000dc40
dec r8
sub rdx, 1
jne 0x14000dc26
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14000e7bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000e806
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000e806
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000e806
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000e806
cmp dword [rcx + 0x84], 0xe
jbe 0x14000e806
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000e808
xor al, al
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x1400022c8]
lea r9, str._J_ms8m
mov r8d, 5
mov qword [rsp + 0x38], rax
lea rax, [0x1400022b8]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140029a2c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d034
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d034
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b7c
cmp rax, 0xffffffffffffffff
je 0x140029b7c
xor edi, edi
test rbp, rbp
jle 0x140029b27
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f948
mov rbx, rax
test rax, rax
jne 0x140029ab4
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029b1d
mov edx, 0x8000
mov ecx, r14d
call fcn.14001a99c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001dd10
cmp eax, 0xffffffff
je 0x140029afd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029ac4
mov edx, r15d
mov ecx, r14d
call fcn.14001a99c
jmp 0x140029b1d
cmp byte [rsi + 0x38], dil
je 0x140029b14
cmp dword [rsi + 0x34], 5
jne 0x140029b14
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029b1d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b700
jmp 0x140029b90
jns 0x140029b90
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d034
cmp rax, 0xffffffffffffffff
jne 0x140029b48
cmp byte [rsi + 0x30], dil
je 0x140029b90
mov edi, dword [rsi + 0x2c]
jmp 0x140029b90
mov ecx, r14d
call fcn.140018e54
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b90
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b89
mov eax, dword [rsi + 0x2c]
jmp 0x140029b8e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d034
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac80
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002aca8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002aca8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1409fb000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x1409fb00a
jmp 0x1409fd00f
jmp fcn.14068a160
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
invalid
mov qword [rsp + 0x18], rbx
jp 0x14000206f
adc byte [rax], al
add al, ch
sbb byte [rbx - 0x39b80000], dl
loopne 0x14000210c
mov eax, dword [0x140040040]
xor rax, rsp
mov al, 0x84
retf
add byte [rax], al
lea rsp, [rdx]
and al, 0x30
xchg rsp, rax
mov word [rax + rsi], fs
or byte [rax], al
add al, ch
nop
pop rdi
add byte [rax], al
invalid

Function at 0x140006f30
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call 0x14044b440
xor dword [0x1458c5920], eax
rcl byte [rax - 0x5bb780fd], 0xc4
xor byte [rax + riz + 0x4014], al
mov rdx, rcx
call 0x12ec9a2a6
dec dword [rbx]
add byte [rcx - 0x16], al
add byte [rax], ah
add byte [rax + rcx*2 + 0x20345493], bl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
shl byte [rdx + 0xa1eb0], 0x20
invalid

Function at 0x14001105d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test byte [rax + rcx*4], ah
add byte [rax], al
add byte [rax], dl
sbb byte [rbx], bl
add byte [rcx - 0x7c], dl
and al, 0xfb
add byte [rax], al
add byte [rdx], bl
inc dword [rax]
add bh, al
test byte [rax + rdx*8], ah
add byte [rax + rax - 0x30], al
add byte [rax], al
add byte [rcx - 9], al
invalid
dec dword [rsi + 0x66000000]
cmp esp, dword [0xc2105c8d]
adc bh, bh
inc dword [rdi]
mov ecx, dword [rsp - 0x6f]
cmp bx, cx
jb 0x14001d737
cmp di, word [rcx - 0x11]
push rsp
jb 0x140010f41
mov ecx, dword [rsp + 0x5e]
or byte [rbx], bh
out 0xf, al
invalid
add byte [rbx + rcx*4 + 0x55], cl
cmpsd dword [rsi], dword [rdi]
lea r11, [0x13f090000]
mov rsi, rsi
movabs r11, 0x3d700042962eb8c
retf 0x8842
Function at 0x1400035f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003642
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003642
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003642
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003642
cmp dword [rcx + 0x84], 0xe
jbe 0x140003642
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003644
xor al, al
add rsp, 0x28
ret
Function at 0x180002b20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x240
xor edi, edi
cmp qword [0x180005088], rdi
mov qword [rsp + 0x250], rdi
je 0x180002d32
cmp dword [0x180005090], edi
je 0x180002d32
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rdi + 8]
mov r8d, 0xff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180002b78
mov dword [rax], 0xe7
mov rbx, rax
cmp dword [rbx], 0x15e
jle 0x180002bed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetCriticalSectionSpinCount]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_RegisterClassW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsWindowVisible]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_IsDialogMessageW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.180001590
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0xe]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, 0x6ae69f02
call fcn.180001000
mov rcx, rax
mov edx, 0x91765761
call fcn.180001130
mov ecx, 0x6ae69f02
mov rbx, rax
call fcn.180001000
mov rcx, rax
mov edx, 0x8670f6ca
call fcn.180001130
mov rdi, rax
test rbx, rbx
je 0x180002d32
test rax, rax
je 0x180002d32
lea rcx, [0x180005020]
call fcn.180001480
test eax, eax
je 0x180002d32
movss xmm0, dword [0x180005004]
mulss xmm0, dword [0x180004100]
mov rdx, qword [0x180005078]
mov ecx, dword [0x180005070]
cvttss2si rax, xmm0
imul eax, eax, 0x2710
neg rax
mov qword [rsp + 0x258], rax
call fcn.180003a90
lea rdx, [rsp + 0x258]
xor ecx, ecx
call fcn.180003ab2
lea rdx, [0x1800039e0]
mov ecx, 1
call rbx
mov rbx, rax
test rax, rax
je 0x180002d32
call fcn.180003600
mov rcx, rbx
call rdi
test eax, eax
je 0x180002d32
mov edx, dword [0x180005090]
lea r8, [rsp + 0x250]
mov rcx, qword [0x180005088]
call fcn.180003280
test eax, eax
je 0x180002d32
mov rcx, qword [rsp + 0x250]
call fcn.180003160
xor eax, eax
mov rbx, qword [rsp + 0x260]
add rsp, 0x240
pop rdi
ret
mov rbx, qword [rsp + 0x260]
mov rax, 0xffffffffffffffff
add rsp, 0x240
pop rdi
ret
Function at 0x140007dc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x140007dfb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140007e20
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400300e0], 0
jne 0x140007e38
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140007dee
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3da]
mov qword [rsp + 0x20], 0
lea rdi, [0x140030100]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140007f04
test al, 0x10
je 0x140007e04
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140007e04
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140007eb0
jmp 0x140007e04

Function at 0x14000e570
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015730
sub rsp, rax
mov eax, dword [0x140034100]
mov rsi, rcx
test eax, eax
je 0x14000e610
xor ebx, ebx
lea rdi, [0x140032100]
test eax, eax
jg 0x14000e5ac
jmp 0x14000e5c0
add rbx, 1
cmp dword [0x140034100], ebx
jle 0x14000e5c0
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000e5a0
jmp 0x14000e5f7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000e5d5
cmp word [rsi + 2], 0x3a
je 0x14000e5f7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000e660
movsxd rbx, dword [0x140034100]
cmp ebx, 0x3ff
jle 0x14000e678
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str.HOME
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007540
test al, al
je 0x14000e69a
movsxd rbx, dword [0x140034100]
mov rcx, rdi
lea rdi, [0x140032100]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x140034100]
add eax, 1
mov dword [0x140034100], eax
jmp 0x14000e591
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000e5e4
xor eax, eax
jmp 0x14000e5fc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x140034100], 1
mov rdx, rax
lea rax, [0x140032100]
mov qword [rax + rbx*8], rdx
jmp 0x14000e5f7
mov rcx, rbx
call fcn.140007d00
nop
nop word cs:[rax + rax]
nop
Function at 0x140011217
Capabilities:
Terminate process

Disassembly:
jmp 0x140013450
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 0x14001129e
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x140011c90
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1400240a2]
call fcn.1400113bb
lea rax, str.zeze.bin
mov qword [rbp + 8], rax
mov byte [rbp + 0x28], 0x5a
mov byte [rbp + 0x29], 0xcd
mov byte [rbp + 0x2a], 0xf4
mov byte [rbp + 0x2b], 0x9e
mov byte [rbp + 0x2c], 0xd2
mov byte [rbp + 0x2d], 0xbf
mov byte [rbp + 0x2e], 0x6c
mov byte [rbp + 0x2f], 0x47
mov byte [rbp + 0x30], 0x8a
mov byte [rbp + 0x31], 0xfd
mov byte [rbp + 0x32], 0xcf
mov byte [rbp + 0x33], 0xc9
mov byte [rbp + 0x34], 0xae
mov byte [rbp + 0x35], 0x2d
mov byte [rbp + 0x36], 0x76
mov byte [rbp + 0x37], 0xd1
mov qword [rbp + 0x58], 0x10
lea rdx, [0x14001ae54]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 0x78], rax
cmp qword [rbp + 0x78], 0
jne 0x140011d53
lea rcx, str.Failed_to_open_file
call qword [sym.imp.ucrtbased.dll_perror]
mov eax, 0xffffffff
jmp 0x140011e87
mov r8d, 2
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_ftell]
cdqe
mov qword [rbp + 0x98], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_fseek]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xb8], rax
cmp qword [rbp + 0xb8], 0
jne 0x140011dc6
lea rcx, str.Memory_allocation_failed
call qword [sym.imp.ucrtbased.dll_perror]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_fclose]
mov eax, 0xffffffff
jmp 0x140011e87
mov r9, qword [rbp + 0x78]
mov r8, qword [rbp + 0x98]
mov edx, 1
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ucrtbased.dll_fread]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ucrtbased.dll_fclose]
mov r9, qword [rbp + 0x58]
lea r8, [rbp + 0x28]
mov edx, dword [rbp + 0x98]
mov rcx, qword [rbp + 0xb8]
call fcn.1400113e3
test eax, eax
je 0x140011e39
mov ecx, 2
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
lea rdx, str.Decryption_failed_n
mov rcx, rax
call fcn.140011366
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, 0xffffffff
jmp 0x140011e87
lea rcx, str.Decrypted_data:_n
call fcn.1400111b8
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r9, rax
mov r8, qword [rbp + 0x98]
mov edx, 1
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rcx, [0x14001aebc]
call fcn.1400111b8
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.ucrtbased.dll_free]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ae20]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400147a0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400147c0
xor al, al
jmp 0x140014841
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400147d3
xor al, al
jmp 0x140014841
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 0x1400147fd
xor al, al
jmp 0x140014841
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014811
xor al, al
jmp 0x140014841
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014823
xor al, al
jmp 0x140014841
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001483f
xor al, al
jmp 0x140014841
mov al, 1
add rsp, 0x38
ret
Function at 0x1400113e3
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
jmp 0x140011870
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x178]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400240a2]
call fcn.1400113bb
mov dword [rsp + 0x20], 0xf0000000
mov r9d, 0x18
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1400118f2
mov eax, 0xffffffff
jmp 0x140011a23
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x14001192a
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0xffffffff
jmp 0x140011a23
xor r9d, r9d
mov r8d, dword [rbp + 0x158]
mov rdx, qword [rbp + 0x150]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x140011969
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0xffffffff
jmp 0x140011a23
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rbp + 0x28]
mov edx, 0x6610
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x1400119a9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0xffffffff
jmp 0x140011a23
lea rax, [rbp + 0x148]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x140]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140011a01
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0xffffffff
jmp 0x140011a23
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad90]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret