joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006614
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x48
mov byte [rsp + 0x20], 0x11
mov byte [rsp + 0x21], 0x68
mov byte [rsp + 0x22], 0x68
mov byte [rsp + 0x23], 0x68
mov byte [rsp + 0x24], 0x1f
mov byte [rsp + 0x25], 0x61
mov byte [rsp + 0x26], 0x52
mov byte [rsp + 0x27], 0x5f
mov byte [rsp + 0x28], 0x55
mov byte [rsp + 0x29], 0x52
mov byte [rsp + 0x2a], 0x64
mov byte [rsp + 0x2b], 0x56
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x66
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x5a
mov byte [rsp + 0x30], 0x65
mov byte [rsp + 0x31], 0x6a
mov byte [rsp + 0x32], 0x1f
mov byte [rsp + 0x33], 0x54
mov byte [rsp + 0x34], 0x60
mov byte [rsp + 0x35], 0x5e
mov byte [rsp + 0x36], 0xf1
cmp byte [0x1409d4148], 0
jne 0x1400066cc
mov byte [0x1409d4167], 1
mov eax, 0
lea rcx, [0x1409d4150]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x17
jne 0x1400066a7
mov byte [0x1409d4148], 1
lea rcx, [0x140001f6d]
call fcn.1400014f0
lea rax, [0x1409d4150]
add rsp, 0x48
ret

Function at 0x1400066d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x25], 0x5f
mov byte [rsp + 0x26], 0x60
mov byte [rsp + 0x27], 0x63
mov byte [rsp + 0x28], 0x65
mov byte [rsp + 0x29], 0x60
mov byte [rsp + 0x2a], 0x5f
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4538], 0
jne 0x140006759
mov byte [0x1409d454c], 1
mov eax, 0
lea rcx, [0x1409d4540]
movzx edx, byte [rsp + rax + 0x24]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xc
jne 0x140006734
mov byte [0x1409d4538], 1
lea rcx, [0x140001c55]
call fcn.1400014f0
lea rax, [0x1409d4540]
add rsp, 0x38
ret

Function at 0x140006766
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x25], 0x4b
mov byte [rsp + 0x26], 0x5a
mov byte [rsp + 0x27], 0x5d
mov byte [rsp + 0x28], 0x5d
mov byte [rsp + 0x29], 0x6a
mov byte [rsp + 0x2a], 0x52
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4488], 0
jne 0x1400067e7
mov byte [0x1409d449c], 1
mov eax, 0
lea rcx, [0x1409d4490]
movzx edx, byte [rsp + rax + 0x24]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xc
jne 0x1400067c2
mov byte [0x1409d4488], 1
lea rcx, [0x140001ce5]
call fcn.1400014f0
lea rax, [0x1409d4490]
add rsp, 0x38
ret
Function at 0x1400067f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x25], 0x64
mov byte [rsp + 0x26], 0x60
mov byte [rsp + 0x27], 0x61
mov byte [rsp + 0x28], 0x59
mov byte [rsp + 0x29], 0x60
mov byte [rsp + 0x2a], 0x64
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4388], 0
jne 0x140006875
mov byte [0x1409d439c], 1
mov eax, 0
lea rcx, [0x1409d4390]
movzx edx, byte [rsp + rax + 0x24]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xc
jne 0x140006850
mov byte [0x1409d4388], 1
lea rcx, [0x140001da5]
call fcn.1400014f0
lea rax, [0x1409d4390]
add rsp, 0x38
ret

Function at 0x140006882
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x24], 0x11
mov byte [rsp + 0x25], 0x54
mov byte [rsp + 0x26], 0x5d
mov byte [rsp + 0x27], 0x52
mov byte [rsp + 0x28], 0x5e
mov byte [rsp + 0x29], 0x52
mov byte [rsp + 0x2a], 0x67
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x5f
mov byte [rsp + 0x2d], 0x56
mov byte [rsp + 0x2e], 0x65
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4218], 0
jne 0x140006903
mov byte [0x1409d422c], 1
mov eax, 0
lea rcx, [0x1409d4220]
movzx edx, byte [rsp + rax + 0x24]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xc
jne 0x1400068de
mov byte [0x1409d4218], 1
lea rcx, [0x140001ec5]
call fcn.1400014f0
lea rax, [0x1409d4220]
add rsp, 0x38
ret

Function at 0x140006994
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x22], 0x11
mov byte [rsp + 0x23], 0x55
mov byte [rsp + 0x24], 0x61
mov byte [rsp + 0x25], 0x53
mov byte [rsp + 0x26], 0x60
mov byte [rsp + 0x27], 0x5d
mov byte [rsp + 0x28], 0x67
mov byte [rsp + 0x29], 0x68
mov byte [rsp + 0x2a], 0x1f
mov byte [rsp + 0x2b], 0x11
mov byte [rsp + 0x2c], 0x5f
mov byte [rsp + 0x2d], 0x56
mov byte [rsp + 0x2e], 0x65
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d43c8], 0
jne 0x140006a1f
mov byte [0x1409d43de], 1
mov eax, 0
lea rcx, [0x1409d43d0]
movzx edx, byte [rsp + rax + 0x22]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xe
jne 0x1400069fa
mov byte [0x1409d43c8], 1
lea rcx, [0x140001d75]
call fcn.1400014f0
lea rax, [0x1409d43d0]
add rsp, 0x38
ret

Function at 0x140006a2c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x22], 0x11
mov byte [rsp + 0x23], 0x56
mov byte [rsp + 0x24], 0x5e
mov byte [rsp + 0x25], 0x64
mov byte [rsp + 0x26], 0x5a
mov byte [rsp + 0x27], 0x64
mov byte [rsp + 0x28], 0x60
mov byte [rsp + 0x29], 0x57
mov byte [rsp + 0x2a], 0x65
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d41a8], 0
jne 0x140006ab7
mov byte [0x1409d41be], 1
mov eax, 0
lea rcx, [0x1409d41b0]
movzx edx, byte [rsp + rax + 0x22]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xe
jne 0x140006a92
mov byte [0x1409d41a8], 1
lea rcx, [0x140001f25]
call fcn.1400014f0
lea rax, [0x1409d41b0]
add rsp, 0x38
ret
Function at 0x140006ac4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x22], 0x11
mov byte [rsp + 0x23], 0x57
mov byte [rsp + 0x24], 0x1e
mov byte [rsp + 0x25], 0x64
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x54
mov byte [rsp + 0x28], 0x66
mov byte [rsp + 0x29], 0x63
mov byte [rsp + 0x2a], 0x56
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4168], 0
jne 0x140006b4f
mov byte [0x1409d417e], 1
mov eax, 0
lea rcx, [0x1409d4170]
movzx edx, byte [rsp + rax + 0x22]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xe
jne 0x140006b2a
mov byte [0x1409d4168], 1
lea rcx, [0x140001f55]
call fcn.1400014f0
lea rax, [0x1409d4170]
add rsp, 0x38
ret

Function at 0x140006b5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x38
mov byte [rsp + 0x22], 0x11
mov byte [rsp + 0x23], 0x54
mov byte [rsp + 0x24], 0x54
mov byte [rsp + 0x25], 0x5d
mov byte [rsp + 0x26], 0x56
mov byte [rsp + 0x27], 0x52
mov byte [rsp + 0x28], 0x5f
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x63
mov byte [rsp + 0x2b], 0x1f
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x60
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0xf1
cmp byte [0x1409d4068], 0
jne 0x140006be7
mov byte [0x1409d407e], 1
mov eax, 0
lea rcx, [0x1409d4070]
movzx edx, byte [rsp + rax + 0x22]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0xe
jne 0x140006bc2
mov byte [0x1409d4068], 1
lea rcx, [0x140002015]
call fcn.1400014f0
lea rax, [0x1409d4070]
add rsp, 0x38
ret
Function at 0x14000c840
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x14000c870
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x14000c86f
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x14000c875
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x14000c86f
mov eax, 0
jmp 0x14000c86f

Function at 0x14000cef0
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.14000cea0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140016500
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.14001f040
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.14001f040
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x140016570
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409d5954]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140016700
mov rax, qword [0x1409d5958]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400165bc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140016645
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400165a0
mov rcx, rdi
call fcn.1400170d0
test rax, rax
mov r12, rax
je 0x140016752
mov rax, qword [0x1409d5958]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140017210
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409d5958]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140016735
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001663e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400166b0
add dword [0x1409d5954], 1
cmp ebx, 8
jae 0x140016671
test bl, 4
jne 0x140016710
test ebx, ebx
je 0x140016666
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140016724
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x140016666
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001668a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409d5958]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001663e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140016500
xor esi, esi
jmp 0x1400165c7
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x140016666
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x140016666
mov rax, qword [0x1409d5958]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140016500
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140016500
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140016d20
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409d59c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409d59a0]
test rbx, rbx
je 0x140016d74
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140016d6b
test rsi, rsi
je 0x140016d6b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140016d50
lea rcx, [0x1409d59c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1400170d0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409ca750]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001713f
mov rcx, r9
call fcn.140016fa0
test eax, eax
je 0x14001713f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001713d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140017134
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001713f
add rdx, 0x28
cmp rdx, r9
jne 0x140017120
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1400217c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409c3100]
jmp 0x140017f00

Function at 0x1400217d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409c3100]
jmp 0x140017f00
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14004adf0]
mov dword [rax], 1
mov rax, qword [0x14004ae00]
mov dword [rax], 1
mov rax, qword [0x14004ae10]
mov dword [rax], 1
mov rax, qword [0x14004ada0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
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 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140024a20
Capabilities:
Query environment variable

Disassembly:
push r14
mov eax, 0x10080
push r13
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.14002e6a0
sub rsp, rax
xor eax, eax
xor edx, edx
lea rdi, str.PYTHON_FROZEN_MODULES
mov ebp, 0x50
lea r13, [rdi + 0x28]
mov word [rsp + 0x30], dx
lea r14, [rsp + 0x30]
lea r12, [rsp + 0x2e]
mov word [rsp + 0x80], ax
mov rsi, r14
nop dword [rax]
mov rax, r13
mov rbx, rsi
sub rax, rdi
cmp word [rsi], 0
je 0x140024a8e
nop word [rax + rax]
add rbx, 2
sub rax, 1
cmp word [rbx], 0
jne 0x140024a80
test rax, rax
je 0x14003f596
mov rcx, rbx
add rdi, 1
add rsi, 2
call sub.msvcrt.dll_wcslen
mov r8d, 2
mov rdx, r12
mov byte [rsp + 0x2e], bpl
lea rcx, [rbx + rax*2]
mov byte [rsp + 0x2f], 0
call sub.msvcrt.dll_mbstowcs
movzx ebp, byte [rdi]
test bpl, bpl
jne 0x140024a68
lea rbx, [rsp + 0x80]
mov r8d, 0x10000
mov rcx, r14
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [rax - 1]
xor eax, eax
cmp edx, 0xffff
ja 0x140024afa
mov rcx, rbx
call sub.msvcrt.dll__wcsdup
add rsp, 0x10080
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14002d380
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 fcn.14003eb00
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14003eb00
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x14002e052
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400530c8]
test eax, eax
je 0x14002e0ea
lea rax, [0x1400530a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400530d0]
mov qword [rbp - 8], rax
jmp 0x14002e0ce
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 0x14002e0c2
cmp qword [rbp - 0x10], 0
je 0x14002e0c2
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 0x14002e088
lea rax, [0x1400530a0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14002e0eb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14002e1f0
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 0x14002e218
mov eax, 0
jmp 0x14002e266
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 0x14002e241
mov eax, 0
jmp 0x14002e266
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 0x14002e261
mov eax, 0
jmp 0x14002e266
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x14002e26c
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 0x14002e2ea
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x14002e2e1
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 0x14002e2e1
mov rax, qword [rbp - 8]
jmp 0x14002e2ff
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 0x14002e2b4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140005c90
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000ccc0], rbx
je 0x140005cdc
cmp rax, rbx
jne 0x140005ccf
mov ebx, 1
mov esi, ebx
jmp 0x140005ce1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140005cb4
mov ebx, 1
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005cf7
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x140005d5c
mov eax, dword [0x14000ccc8]
test eax, eax
jne 0x140005d56
mov dword [0x14000ccc8], ebx
lea r15, [0x1400074d0]
lea rdi, [0x1400074b8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140005d48
test eax, eax
jne 0x140005d4c
cmp qword [rdi], 0
je 0x140005d3d
mov rax, qword [rdi]
mov rcx, qword [0x140007468]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140005d1e
test eax, eax
je 0x140005d5c
mov eax, 0xff
jmp 0x140005e38
mov dword [0x14000b204], ebx
mov eax, dword [0x14000ccc8]
cmp eax, ebx
jne 0x140005d83
lea rdx, [0x1400074b0]
lea rcx, [0x140007470]
call sub.msvcrt.dll__initterm
mov dword [0x14000ccc8], 2
test esi, esi
jne 0x140005d90
xor eax, eax
xchg qword [0x14000ccc0], rax
cmp qword [0x14000ccd0], 0
je 0x140005dc4
lea rcx, [0x14000ccd0]
call fcn.140006200
test eax, eax
je 0x140005dc4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000ccd0]
mov r9, qword [0x140007468]
call r9
mov r8, qword [0x14000b218]
mov rdx, qword [0x14000b210]
mov ecx, dword [0x14000b208]
call fcn.140001c1c
mov dword [0x14000b200], eax
cmp dword [0x14000b220], 0
jne 0x140005df4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000b204], 0
jne 0x140005e09
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000b200]
jmp 0x140005e38
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140130000
add rsp, 0x28
jmp 0x140005c90

Function at 0x1400060ec
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006138
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140006130
cmp dword [rcx + 0x3c], edx
jl 0x140006130
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140006130
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 0x140006138
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400038c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 5
nop dword [rax + rax]
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x38], eax
jne 0x1400038c6
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x3c], eax
jne 0x1400038c6
dec ebx
test ebx, ebx
jg 0x1400038d0
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140005ac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140005af1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x140005b6b
mov rdi, r14
mov rcx, rbx
call fcn.140008b30
test rax, rax
jle 0x140005b43
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.1400387e0
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 0x140005b5b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140005b63
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140005b05
sub r14, rdi
jmp 0x140005c4f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140005b82
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005b84
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005bb6
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400387e0
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 0x140005c4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140005bf1
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 0x140005c2d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.140042234
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x140005c4c
cmp rbp, rax
ja 0x140005c00
test rbp, rbp
je 0x140005c4c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.140042234
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret