joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f59a0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4f5a5a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.004041e0
xorps xmm15, xmm15
mov r14, qword [0x007a71a0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4f5a2d
xor eax, eax
lea rbx, [0x0060df14]
mov ecx, 1
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
lea r8, [0x00579433]
mov r9d, 2
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
call fcn.00450c40
add rsp, 0x48
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0060cf60]
mov esi, 1
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
call fcn.00450b80
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0046e7c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004f59a0

Function at 0x504040
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x504058
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x504058
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x504060
xor eax, eax
ret
cmp rbx, 3
je 0x50406c
cmp rbx, 4
jne 0x504099
cmp al, 0x2c
ja 0x504086
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x504096
cmp al, 0x24
je 0x504096
nop dword [rax]
cmp al, 0x26
jae 0x504096
jmp 0x504099
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x504096
cmp al, 0x5b
je 0x504096
cmp al, 0x5d
jne 0x504099
xor eax, eax
ret
cmp al, 0x2f
ja 0x5040d2
nop dword [rax]
cmp al, 0x26
ja 0x5040b1
cmp al, 0x24
je 0x5040f1
cmp al, 0x26
je 0x5040f1
jmp 0x50416b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x5040f1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x504168
cmp al, 0x2f
je 0x5040f1
jmp 0x50416b
cmp al, 0x3d
ja 0x5040e9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x5040f1
nop
cmp al, 0x3d
je 0x5040f1
jmp 0x50416b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x504160
cmp rbx, 2
jg 0x504127
cmp rbx, 1
je 0x504121
nop dword [rax]
cmp rbx, 2
jne 0x50416b
cmp al, 0x2f
je 0x504112
cmp al, 0x3b
je 0x504112
cmp al, 0x2c
jne 0x504119
mov ecx, 1
jmp 0x50411e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x50414a
cmp al, 0x40
je 0x504139
cmp al, 0x2f
je 0x504139
cmp al, 0x3f
jne 0x504142
mov ecx, 1
nop
jmp 0x504147
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x504159
cmp rbx, 7
jne 0x50416b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x504168
cmp al, 0x7e
jne 0x50416b
xor eax, eax
ret
cmp rbx, 7
jne 0x504181
cmp al, 0x21
je 0x50417d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x504181
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x51a3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea r12, [rsp - 0x10]
cmp r12, qword [r14 + 0x10]
jbe 0x51a5b4
push rbp
mov rbp, rsp
sub rsp, 0x88
mov qword [rsp + 0x98], rax
mov rcx, qword [rax + 0x2c8]
mov qword [rsp + 0x58], rcx
mov rdi, qword [rax + 0x2d0]
mov qword [rsp + 0x40], rdi
mov rsi, qword [rax + 0x2d8]
mov qword [rsp + 0x48], rsi
mov edx, 1
jmp 0x51a430
inc rdx
cmp rdx, rdi
jl 0x51a439
xor ebx, ebx
jmp 0x51a468
mov qword [rsp + 0x50], rdx
movzx eax, byte [rcx + rdx]
call fcn.0047cfe0
xor eax, 1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov ebx, eax
mov rax, qword [rsp + 0x98]
test bl, bl
jne 0x51a42d
jmp 0x51a494
movzx r9d, byte [rsp + 0x31]
mov r10, qword [rsp + 0x50]
lea rdx, [r9 + r10]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
cmp rdx, rdi
jge 0x51a598
mov qword [rsp + 0x50], rdx
movups xmmword [rsp + 0x60], xmm15
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x78], xmm15
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], rsi
mov r10, qword [rax + 0x1a0]
mov r11, qword [r10]
xor ebx, ebx
mov r8, rdx
mov rdx, r10
mov rax, r9
call r11
mov byte [rsp + 0x38], al
mov byte [rsp + 0x39], bl
mov byte [rsp + 0x3a], cl
mov byte [rsp + 0x3b], dil
mov byte [rsp + 0x3c], sil
mov byte [rsp + 0x3d], r8b
mov word [rsp + 0x3e], r9w
mov r9, qword [rsp + 0x38]
mov qword [rsp + 0x30], r9
movzx eax, byte [rsp + 0x30]
movzx ebx, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x32]
movzx edi, byte [rsp + 0x33]
movzx esi, byte [rsp + 0x34]
movzx r8d, byte [rsp + 0x35]
movzx r9d, word [rsp + 0x36]
call fcn.00519140
nop dword [rax + rax]
test al, al
je 0x51a46e
mov rcx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rdx, rcx
sub rdx, rbx
mov rsi, qword [rsp + 0x40]
sub rsi, rbx
mov rdi, qword [rsp + 0x98]
mov qword [rdi + 0x2d0], rsi
mov qword [rdi + 0x2d8], rdx
neg rdx
sar rdx, 0x3f
and rdx, rbx
mov rax, qword [rsp + 0x58]
add rdx, rax
mov qword [rdi + 0x2c8], rdx
add rsp, 0x88
pop rbp
ret
mov rdx, qword [rax + 0x1a8]
mov qword [rax + 0x2b0], rdx
mov rcx, qword [rdx]
call rcx
add rsp, 0x88
pop rbp
ret
mov qword [rsp + 8], rax
call fcn.0046e7c0
mov rax, qword [rsp + 8]
jmp fcn.0051a3e0
Function at 0x1400011f0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x90], 0x68
xorps xmm0, xmm0
movups xmmword [r11 - 0x80], xmm0
movups xmmword [r11 - 0x70], xmm0
movups xmmword [r11 - 0x60], xmm0
movups xmmword [r11 - 0x50], xmm0
movups xmmword [r11 - 0x40], xmm0
movups xmmword [r11 - 0x30], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [r11 - 0x88]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Eternea.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400012a9
lea rdx, str.Failed_to_start_target_process.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001400
mov rcx, rax
lea rdx, [0x1400015d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140001387
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400034e0]
movdqu xmmword [rsp + 0x60], xmm1
movsd xmm0, qword [str.ETDLL.dll]
movsd qword [rsp + 0x50], xmm0
movzx eax, byte [0x1400034a0]
mov byte [rsp + 0x58], al
mov byte [rsp + 0x59], 0
lea rdx, [rsp + 0x50]
mov ecx, dword [rsp + 0x80]
call fcn.140001000
movzx ebx, al
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000133c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001337
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400016b0
test bl, bl
jne 0x14000134c
lea rdx, str.DLL_injection_failed.
jmp 0x140001283
lea rdx, str.DLL_injection_successful.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001400
mov rcx, rax
lea rdx, [0x1400015d0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140001690
add rsp, 0x110
pop rbx
ret
Function at 0x140001f68
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001fb2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001fb2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001fb2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001fb2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001fb2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001fb4
xor al, al
add rsp, 0x28
ret
Function at 0x140001700
Capabilities:
Create thread
Get session user name

Disassembly:
sub rsp, 0x188
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, str.Bot_Started
lea rcx, [rsp + 0x38]
call fcn.1400018a0
nop
lea rcx, [rsp + 0x38]
call fcn.140001290
xor edx, edx
mov r8d, 0x101
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x101
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140001774
lea rdx, [rsp + 0x60]
lea rcx, str.User:__s
call fcn.140001070
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400016c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
mov r9d, 0xffffffff
mov r8d, 1
lea rdx, [rsp + 0x58]
mov ecx, r8d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000180a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002228
xor eax, eax
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140001e10
add rsp, 0x188
ret

Function at 0x14000294c
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1400136d0
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 0x14001127b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014a10
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014a30
xor al, al
jmp 0x140014ab1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014a43
xor al, al
jmp 0x140014ab1
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 0x140014a6d
xor al, al
jmp 0x140014ab1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014a81
xor al, al
jmp 0x140014ab1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014a93
xor al, al
jmp 0x140014ab1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014aaf
xor al, al
jmp 0x140014ab1
mov al, 1
add rsp, 0x38
ret
Function at 0x140017e50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov dword [rsp + 0x34], eax
mov rbx, rdx
mov dword [rsp + 0x30], esi
mov rdi, rcx
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x140017e9c
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
lea r9, [rsp + 0x30]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140017eea
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140017ee5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017f09
mov rcx, r8
call fcn.14003cad0
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400439cc
int3

Function at 0x140017f10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [rdx + 0x10]
lea r9, [rsp + 0x30]
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x30], esi
mov rcx, qword [rcx + 8]
lea rdx, [rsp + 0x34]
add eax, eax
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 4]
mov dword [rsp + 0x34], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp qword [rbx + 0x18], 7
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jbe 0x140017f62
mov rdx, qword [rbx]
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
add r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140017fb4
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140017faf
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017fd3
mov rcx, r8
call fcn.14003cad0
mov qword [rbx + 0x10], rsi
mov word [rbx], si
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x18], 7
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
call fcn.1400439cc
int3
Function at 0x140019f20
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r9
mov r13, r8
mov rbp, rdx
mov qword [rsp + 0x38], rdx
mov r14, rcx
mov qword [rsp + 0x40], rdx
mov rbx, qword [rsp + 0xe0]
xor edi, edi
cmp qword [rcx + 0x18], 7
jbe 0x140019f6a
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140019f9e
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], rdi
mov r8d, 0x19
lea rdx, str.Error:_Ini_File_Not_Exist
mov rcx, rbp
call fcn.140008090
jmp 0x14001a0d4
mov ebp, 1
mov ecx, 0x208
call fcn.14003cd80
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdi, 0xffffffffffffffff
mov r15d, 0x104
nop dword [rax + rax]
mov rax, r14
cmp qword [r14 + 0x18], 7
jbe 0x140019fed
mov rax, qword [r14]
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140019ffa
mov r8, qword [rbx]
mov rdx, r12
cmp qword [r12 + 0x18], 7
jbe 0x14001a009
mov rdx, qword [r12]
mov rcx, r13
cmp qword [r13 + 0x18], 7
jbe 0x14001a017
mov rcx, qword [r13]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [r15 - 1]
cmp eax, ecx
jb 0x14001a098
mov r8, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14001a03f
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001a064
add rax, 2
test ecx, ecx
jne 0x14001a050
test edx, edx
je 0x14001a098
mov rcx, rsi
call fcn.14003cad0
inc ebp
imul r15d, ebp, 0x104
mov ecx, r15d
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14003cd80
mov rsi, rax
jmp 0x140019fe0
mov rbp, qword [rsp + 0x38]
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x14001a0a0
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140007910
mov rcx, rsi
call fcn.14003cad0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x10], xmm1
mov rax, rbp
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14003cab0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001ab90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rbx, rcx
xor ebp, ebp
sub rcx, 0xffffffffffffff80
call fcn.1400398c0
test eax, eax
setne dl
mov byte [rbx + 0x108], dl
test eax, eax
je 0x14001abda
cmp qword [rbx + 0xc8], 0x10000
jae 0x14001abda
lea rcx, [rbx + 0x80]
call fcn.140039c80
mov eax, dword [rbx + 0x2f4]
cmp byte [rbx + 0x108], bpl
je 0x14001ace5
cmp eax, 1
je 0x14001acc2
mov dword [rbx + 0x2f4], 1
call fcn.140019260
test al, al
je 0x14001ad3e
lea rcx, [rbx + 0x10]
call fcn.140034f10
test al, al
je 0x14001ad3e
lea rcx, [rbx + 0x10]
call fcn.140035100
mov rcx, rbx
call fcn.14001c7a0
add rbx, 0x5c0
cmp byte [rbx + 8], bpl
jne 0x14001ad29
cmp qword [rbx + 0x18], rbp
je 0x14001ad29
mov word [rbx + 8], 0x101
mov dword [rbx + 0x20], 0x32
mov ecx, 8
call fcn.14003cb04
mov qword [rax], rbx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebp
mov r9, rax
lea r8, [0x14001ecd0]
xor edx, edx
xor ecx, ecx
call fcn.140048e68
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001ad51
cmp dword [rsp + 0x38], 0
je 0x14001ad46
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003c234
test eax, eax
jne 0x14001ad46
jmp 0x14001ad29
mov eax, dword [0x140084248]
inc eax
mov dword [0x140084248], eax
cmp eax, 5
jle 0x14001ad29
mov dword [0x140084248], ebp
mov rcx, rbx
call fcn.14001a8d0
jmp 0x14001ad29
test eax, eax
je 0x14001ad29
mov dword [rbx + 0x2f4], ebp
mov rcx, rbx
call fcn.14001c7a0
mov byte [rbx + 0x5c8], bpl
mov edi, 0x1388
cmp byte [rbx + 0x5c9], bpl
je 0x14001ad29
nop dword [rax]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
sub edi, 0x32
js 0x14001ad29
cmp byte [rbx + 0x5c9], bpl
jne 0x14001ad10
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xor ecx, ecx
call fcn.1400489dc
nop
mov ecx, 1
call fcn.14003c198
nop
mov dword [rsp + 0x38], ebp
mov ecx, 6
call fcn.14003c198
int3
Function at 0x14001c7a0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
lea rcx, [0x1400848c0]
call fcn.14003c2d4
test eax, eax
jne 0x14001c84f
cmp dword [0x14008490c], 0x7fffffff
je 0x14001c83a
mov rcx, qword [rbx + 8]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r8d, [rax + 4]
xor edi, edi
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbx + 0xc0]
lea r9, [rsp + 0x48]
mov rcx, qword [rbx + 8]
lea r8d, [rdi + 4]
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [0x1400848c0]
mov rdi, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
jmp fcn.14003c2dc
mov ecx, 6
mov dword [0x14008490c], 0x7ffffffe
call fcn.14003c198
int3
mov ecx, 5
call fcn.14003c198
int3
Function at 0x14001dff0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x50], rdx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov rdi, qword [0x140084330]
lea r14, [0x1400848c0]
mov qword [rsp + 0x58], r14
mov rcx, r14
call fcn.14003c2d4
test eax, eax
jne 0x14001e148
cmp dword [0x14008490c], 0x7fffffff
je 0x14001e133
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x30]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x38]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400075b0
mov rdx, rax
mov rcx, rdi
call fcn.140017e50
nop
mov dword [rsp + 0x48], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x38]
lea r8d, [rbp + 4]
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
movsxd rsi, dword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbx], bpl
mov dword [rsp + 0x40], 2
mov rdx, rsi
cmp rsi, 0xf
jbe 0x14001e0eb
mov rcx, rbx
call fcn.1400119a0
mov qword [rbx + 0x10], rbp
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14001e0f8
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x48]
mov r8d, esi
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop
mov rcx, r14
call fcn.14003c2dc
mov rax, rbx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov dword [0x14008490c], 0x7ffffffe
mov ecx, 6
call fcn.14003c198
int3
mov ecx, 5
call fcn.14003c198
int3
Function at 0x14001ed20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov ebx, ecx
mov rsi, r8
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdi, rax
test rax, rax
je 0x14001ee4c
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdx, rdi
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test rbx, rbx
je 0x14001ee4c
test eax, eax
je 0x14001ee4c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r14, rax
test rax, rax
je 0x14001ee4c
mov rcx, qword [rsi]
mov dword [rbp - 0x20], 0xa5b3c85d
mov dword [rbp - 0x1c], 0x9c0b2567
mov dword [rbp - 0x18], 0x8757bcec
mov dword [rbp - 0x14], 0x32f0e63c
mov dword [rbp - 0x10], 0x5825e0a5
mov dword [rbp - 0xc], 0xab318d0c
mov dword [rbp - 8], 0x88ec5ded
mov dword [rbp - 4], 0xc7062ba4
cmp rcx, qword [rsi + 8]
je 0x14001edeb
mov qword [rsi + 8], rcx
mov rax, qword [rsi + 0x10]
sub rax, rcx
mov qword [rbp + 0x38], rdi
cmp rdi, rax
jbe 0x14001ee07
lea rdx, [rbp + 0x38]
mov rcx, rsi
call fcn.14001ee70
xor ebx, ebx
test rdi, rdi
je 0x14001ee48
nop
mov rdx, qword [rsi + 8]
mov rax, rbx
and eax, 0x1f
movzx ecx, byte [rbp + rax - 0x20]
xor cl, byte [r14 + rbx]
mov byte [rbp + 0x20], cl
cmp rdx, qword [rsi + 0x10]
je 0x14001ee34
mov byte [rdx], cl
inc qword [rsi + 8]
jmp 0x14001ee40
lea r8, [rbp + 0x20]
mov rcx, rsi
call fcn.14001ef60
inc rbx
cmp rbx, rdi
jb 0x14001ee10
mov al, 1
jmp 0x14001ee4e
xor al, al
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret