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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rcx + 0x258]
mov rdi, r9
mov rsi, r8
mov rbx, rcx
test r10, r10
je 0x14003edc3
mov rax, qword [rcx + 0x1a8]
mov qword [rsp + 0x20], rax
call r10
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
ja 0x14003ee08
mov r9, qword [rbx + 0x1a0]
movsxd rax, edx
mov edx, 2
lea rcx, [rax + rax*2]
lea rax, [0x140072fc8]
lea r8d, [rdx - 1]
add rcx, rax
call qword [sym.imp.msvcrt.dll_fwrite]
mov r9, qword [rbx + 0x1a0]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fwrite]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x140041dc0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x798]
mov rsi, rdx
mov rdi, rcx
test rbx, rbx
je 0x140041e2d
mov rax, qword [rcx + 0x80]
test rax, rax
jne 0x140041df3
cmp qword [rcx + 0x78], rax
je 0x140041e2d
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 0
test rax, rax
jne 0x140041e06
mov rax, qword [rcx + 0x78]
mov rcx, qword [rax + 0x60]
lea r8, [0x140042d40]
lea rdx, [rsp + 0x20]
call fcn.14004ac40
cmp byte [rsp + 0x28], 0
jne 0x140041e41
mov qword [rdi + 0x798], 0
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
test rsi, rsi
je 0x140041e49
mov qword [rsi], rbx
cmp byte [rbx + 0x1f0], 0
mov rdi, qword [rbx + 0x1a8]
je 0x140041e67
mov rcx, rbx
call fcn.14003d330
test eax, eax
jne 0x140041e83
jmp 0x140041e2d
mov r9d, 2
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WSOCK32.DLL_recv]
test eax, eax
je 0x140041e2d
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rax, rdi
add rsp, 0x30
pop rdi
ret

Function at 0x1400423f0
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xd0
mov dword [rax + 0x18], 0x4020
mov dword [rax + 0x10], 0
mov dword [rax + 0x20], 4
mov eax, dword [0x140653440]
mov rbx, rcx
test eax, eax
jne 0x140042485
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x9c
call sub.msvcrt.dll_memset
mov r8b, 3
mov edx, 2
xor ecx, ecx
mov dword [rsp + 0x30], 0x9c
mov dword [rsp + 0x34], 6
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x140042479
mov dword [0x140653440], 2
add rsp, 0xd0
pop rbx
ret
mov dword [0x140653440], 1
jmp 0x14004248a
cmp eax, 2
je 0x1400424eb
lea rax, [rsp + 0xf8]
lea r9, [rsp + 0xe8]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WSOCK32.DLL_getsockopt]
test eax, eax
jne 0x1400424c7
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0xe8], eax
jg 0x1400424eb
lea r9, [rsp + 0xf0]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x20], 4
call qword [sym.imp.WSOCK32.DLL_setsockopt]
add rsp, 0xd0
pop rbx
ret
Function at 0x14005e310
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp dword [0x1406534d0], 0
mov r14, rdx
mov r15, rcx
lea rbx, [0x1406534e0]
jne 0x14005e35d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov rcx, rbx
mov dword [0x140653508], eax
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x1406534d0], 1
mov ecx, dword [0x140653508]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbp, rax
test rax, rax
jne 0x14005e432
mov rcx, qword [0x1406523a0]
lea edx, [rax + 8]
lea r8d, [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14005e45d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1406534d8]
test rax, rax
je 0x14005e3ad
mov qword [rax], rbp
mov rcx, rbx
mov qword [rbp + 8], rax
mov qword [0x1406534d8], rbp
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rbp + 0x20]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
mov dword [rsp + 0x20], 0x100000
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x18]
lea r8, [0x14005e478]
mov r9, rbp
mov dword [rsp + 0x28], 8
or dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
mov ecx, dword [0x140653508]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [0x1406523a0]
xor edx, edx
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x14005e45d
mov qword [rax + 8], r15
mov qword [rax + 0x10], r14
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov qword [rbp + 0x10], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x14005cc08
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp r8d, 2
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
jle 0x14005cc30
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x14005cc53
movzx eax, word [rdi]
cmp word [rsi], ax
jne 0x14005cc51
movzx eax, word [rdi + 2]
cmp word [rsi + 2], ax
jne 0x14005cc51
mov ecx, 0x3a
cmp cx, ax
jne 0x14005cc51
lea ebx, [rcx - 0x38]
jmp 0x14005cc53
xor ebx, ebx
movsxd rax, ebx
xor r8d, r8d
mov rcx, rdi
lea rdx, [rsi + rax*2]
call fcn.14005ca64
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_CopyFileW]
add byte [rcx - 0x5d], ch
adc byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx - 0x5d], ch
jo 0x1402338c5
invalid
invalid
push qword [rsi]
mov bh, 0xf3
invalid
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rcx - 0x5d], ch
jo 0x1402338c5
imul esp, dword [rbx - 0xc48c901], 0xfec23eff
invalid

Function at 0x14005ccd4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r13
sub rsp, 0x20
and dword [rax + 8], 0
mov rsi, r8
mov r8d, 0x40
lea r13d, [r8 - 0x28]
mov rdi, rcx
mov rcx, qword [rcx]
mov rbx, rdx
lea r9, [rax + 8]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r9, [rsp + 0x40]
lea r8d, [r13 + 0x28]
lea rcx, [rdi + 8]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rdx, [0x140115a50]
lea rcx, [rdi + 8]
mov r8, r13
call fcn.14001c8fc
mov qword [rdi + 0x15], rbx
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x14005cd5a
lea r8, [rdi + 8]
lea edx, [r13 - 0x1c]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
test rsi, rsi
je 0x14005cd5a
mov qword [rsi], rax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret
Function at 0x14005d3b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r12, r9
mov esi, r8d
mov r14, rdx
mov r15, rcx
mov edi, r8d
mov dword [r9], ebx
mov r13d, 0x80
cmp r8d, ebx
jbe 0x14005d462
mov ebp, dword [rsp + 0x80]
lea r9, [rsp + 0x70]
mov r8d, edi
mov rdx, r14
mov rcx, r15
mov dword [rsp + 0x70], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
je 0x14005d434
mov ecx, dword [rsp + 0x70]
cmp ecx, ebx
jne 0x14005d427
cmp r13d, ebx
jg 0x14005d424
mov ecx, edi
jmp 0x14005d427
dec r13d
add dword [r12], ecx
mov eax, ecx
add r14, rax
sub esi, ecx
jmp 0x14005d45e
mov r13d, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x14005d462
cmp edi, ebp
jbe 0x14005d462
cmp esi, ebp
jbe 0x14005d45c
lea edi, [rdi + rbp - 1]
shr edi, 1
cmp edi, ebp
jbe 0x14005d45e
and edi, 0xfffffe00
jmp 0x14005d45e
mov edi, esi
cmp esi, ebx
ja 0x14005d3f2
cmp dword [r12], ebx
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
seta bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14005d4e8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
test byte [0x14012d57f], 1
mov bl, cl
je 0x14005d549
lea rcx, [0x14012e0b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11d, dword [0x14012d77c]
mov dl, byte [0x14012d57f]
dec r11d
mov al, dl
or al, bl
mov dword [0x14012d77c], r11d
test al, 0xfe
je 0x14005d53c
or dl, 0x10
mov byte [0x14012d57f], dl
test r11d, r11d
jg 0x14005d53c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [0x14012e0b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x20
pop rbx
ret

Function at 0x14005d550
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x128
and dword [0x14012d79c], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [0x14012d79c]
mov cl, 0x80
test byte [rsp + 0x31], cl
je 0x14005d580
or eax, 2
mov dword [0x14012d79c], eax
test byte [rsp + 0x30], cl
je 0x14005d58f
or eax, 4
mov dword [0x14012d79c], eax
test byte [rsp + 0x32], cl
je 0x14005d59e
or eax, 1
mov dword [0x14012d79c], eax
test byte [rsp + 0x7b], cl
je 0x14005d5ad
or eax, 8
mov dword [0x14012d79c], eax
test byte [rsp + 0x7c], cl
je 0x14005d5bc
or eax, 8
mov dword [0x14012d79c], eax
add rsp, 0x128
ret

Function at 0x14005d65c
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x440
mov rbx, rdx
lea rdx, [rsp + 0x20]
xor esi, esi
mov r8d, 0x208
mov rdi, rcx
mov word [rsp + 0x20], si
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
cmp eax, esi
je 0x14005d6aa
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140c9f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140c9f1df
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 0x140c9f089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9f06f
add dl, dl
jne 0x140c9f096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9f0f6
xor eax, eax
add dl, dl
jne 0x140c9f0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c9f1ad
add dl, dl
jne 0x140c9f0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9f0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9f0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9f0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c9f0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c9f07e
mov eax, 1
add dl, dl
jne 0x140c9f106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c9f113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9f0fb
sub eax, ebx
mov ebx, 1
jne 0x140c9f14c
mov ecx, 1
add dl, dl
jne 0x140c9f12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c9f13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9f123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9f07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c9f168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c9f175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c9f15d
cmp eax, 0x7d00
jae 0x140c9f19b
cmp eax, 0x500
jb 0x140c9f196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9f07e
cmp eax, 0x7f
ja 0x140c9f19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c9f07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c9f1d2
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 0x140c9f07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000c980
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000c9cc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000c9c4
cmp dword [rcx + 0x3c], edx
jl 0x14000c9c4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000c9c4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000c9cc
mov rax, rdx
add rsp, 0x18
ret

Function at 0xb3e768
Capabilities:
Encode data using xor

Disassembly:
jmp 0xb3e772
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0xb3e79b
pop rbp
sub rbp, 0x33
sub rbp, 0x73e768
sub rsp, 0x20
jmp 0xb3e7ba
mov rax, 0x73e768
add rax, rbp
add rax, 0x84
mov rcx, 0x647
mov rdx, 0xffffffff99d1aad6
xor byte [rax], dl
inc rax
dec rcx
jne 0xb3e7d9
jmp 0xb3e7f0
sahf
pop rdi
invalid
Function at 0x1400316bc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031734
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031734
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031734
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031728
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031746
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031716
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031736

Function at 0x140033280
Capabilities:
Parse pe header

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

Function at 0x14003c014
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bd78

Function at 0x140045f30
Capabilities:
Parse pe header

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

Function at 0x140001000
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001030
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001b3c
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x18], rax
mov byte [rsp], 0x59
mov byte [rsp + 1], 0x1a
mov byte [rsp + 2], 0x2b
mov byte [rsp + 3], 0x3c
mov byte [rsp + 4], 0x38
mov byte [rsp + 5], 0x2d
mov byte [rsp + 6], 0x3c
mov byte [rsp + 7], 9
mov byte [rsp + 8], 0x2b
mov byte [rsp + 9], 0x36
mov byte [rsp + 0xa], 0x3a
mov byte [rsp + 0xb], 0x3c
mov byte [rsp + 0xc], 0x2a
mov byte [rsp + 0xd], 0x2a
mov byte [rsp + 0xe], 0x79
mov byte [rsp + 0xf], 0x3f
mov byte [rsp + 0x10], 0x38
mov byte [rsp + 0x11], 0x30
mov byte [rsp + 0x12], 0x35
mov byte [rsp + 0x13], 0x3c
mov byte [rsp + 0x14], 0x3d
mov byte [rsp + 0x15], 0x79
mov byte [rsp + 0x16], 0x71
mov byte [rsp + 0x17], 0
lea rax, [rsp]
mov rdi, qword [rsp + 0x48]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x18]
xor rcx, rsp
call fcn.14004bb20
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x14004b194
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14004b1c2
xor eax, eax
jmp 0x14004b2a8
cmp qword [rcx + 0x68], 0
je 0x14004b1d3
call fcn.14004b2c4
jmp 0x14004b2a8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14004b1ea
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14004b1ec
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14004b21e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14006dd30
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14004b2a2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14004b255
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14004b27e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14005714c
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14004b2a2
cmp rsi, rbx
ja 0x14004b25c
test rsi, rsi
je 0x14004b2a2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14005714c
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14004c76c
Capabilities:
Parse pe header

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

Function at 0x1400592d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400590d4
Function at 0x14005d960
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14005d976
mov al, 1
jmp 0x14005d9d6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14005d987
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14005d9d4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140065cbc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005d9d4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14005d9d4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14005d9d4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14005d9d6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400623bc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14004bac0
sub rsp, rax
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14005c890
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14006240b
mov rax, rbp
jmp 0x140062513
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x82340]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14006329c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x82340]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14006250f
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006250f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14006329c
test rax, rax
js 0x14006250f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14006250f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140062501
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140062501
cmp byte [rcx], 0xd
jne 0x1400624e7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400624f6
cmp byte [rcx + 1], 0xa
jne 0x1400624f6
inc rcx
jmp 0x1400624f6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x80470]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400624c9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140062513
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14004bb20
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret