joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6337ede80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, eax
and r10d, 7
je 0x7ff6337edeb1
cmp eax, r10d
jge 0x7ff6337ede9f
call fcn.7ff6337ed5d0
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov dword [rbx + 0x14], eax
mov eax, dword [rbx + 0x10]
xor r8d, r8d
mov r9d, eax
test eax, eax
jle 0x7ff6337edef2
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r10d, cl
nop word [rax + rax]
shr ecx, 8
lea eax, [r9 - 8]
mov byte [rdx], r10b
lea rdx, [rdx + 1]
inc r8d
mov dword [rbx + 0x14], ecx
mov r9d, eax
movzx r10d, cl
test eax, eax
jg 0x7ff6337eded0
mov dword [rbx + 0x10], eax
jns 0x7ff6337edf18
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.zlib_corrupt
mov qword [rdx + rcx], rax
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x7ff6337edf47
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r8
jb 0x7ff6337edf31
xor dl, dl
jmp 0x7ff6337edf3a
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x7ff6337edf25
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x7ff6337edef4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x7ff6337edfb1
mov rax, qword gs:[0x58]
mov edx, 0x28
mov rcx, qword [rax]
lea rax, str.read_past_buffer
mov qword [rdx + rcx], rax
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x7ff6337edfcb
mov rcx, rbx
call fcn.7ff6337ed7c0
test eax, eax
je 0x7ff6337edfa4
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call fcn.7ff63380d9fa
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x7ff633807060
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
sub rcx, qword [rbp + 0x18]
call fcn.7ff633721800
mov r8, qword [rbp + 0x18]
xor ebx, ebx
mov r15, qword [rbp + 0x20]
mov r13, rax
mov r12d, ebx
mov r14, r15
mov rdx, r8
cmp r15, r8
je 0x7ff633807118
mov edi, ebx
nop dword [rax]
call qword [str.__nT_]
inc r12d
lea rdi, [rdi + 1]
mov r8d, eax
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0xff
sub r8d, ecx
inc r8b
mov byte [rdi + r13 - 1], r8b
mov rax, qword [rbp + 0x18]
xor r8b, byte [rax + rdi - 1]
ror r8b, 0x16
add r8b, 0xc
mov byte [rax + rdi - 1], r8b
mov r14, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x18]
mov rcx, r14
sub rcx, rdx
movsxd rax, r12d
cmp rax, rcx
jb 0x7ff6338070b0
mov r15d, r14d
mov r8d, edx
sub r15d, r8d
lea rcx, [rbp + 0x18]
sub r14, rdx
lea rdx, [r15 + r14]
call fcn.7ff63372a8b0
mov rcx, qword [rbp + 0x18]
mov rdx, r13
add rcx, r14
mov r8d, r15d
call fcn.7ff63380d9fa
mov eax, dword [rbp + 0x20]
lea rcx, [rbp + 0x18]
sub eax, dword [rbp + 0x18]
mov dword [rbp + 8], eax
mov rdi, qword [rbp + 0x20]
sub rdi, qword [rbp + 0x18]
lea rdx, [rdi + 4]
call fcn.7ff63372a8b0
mov rax, qword [rbp + 0x18]
mov rcx, r13
mov dword [rdi + rax], r15d
mov eax, dword [rbp + 0x20]
sub eax, dword [rbp + 0x18]
mov dword [rbp + 8], eax
call fcn.7ff63380c288
cmp dword [rbp + 8], ebx
jbe 0x7ff633807197
mov rdx, rbx
nop dword [rax]
mov rcx, qword [rbp + 0x18]
lea rdx, [rdx + 1]
movzx eax, byte [rbp + 0x10]
inc ebx
xor byte [rcx + rdx - 1], al
cmp ebx, dword [rbp + 8]
jb 0x7ff633807180
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x7ff6338071c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
mov r8d, ebx
cmp dword [rcx + 8], ebx
jbe 0x7ff6338071f9
mov edx, ebx
nop word [rax + rax]
mov rcx, qword [rdi + 0x18]
lea rdx, [rdx + 1]
movzx eax, byte [rdi + 0x10]
inc r8d
xor byte [rcx + rdx - 1], al
cmp r8d, dword [rdi + 8]
jb 0x7ff6338071e0
mov rax, qword [rdi + 0x18]
mov rdx, qword [rdi + 0x20]
sub rdx, rax
cmp rdx, 4
jb 0x7ff6338072dd
add rdx, 0xfffffffffffffffc
mov qword [rsp + 0x48], r12
lea rcx, [rdi + 0x18]
mov r12d, dword [rax + rdx]
call fcn.7ff63372a8b0
mov eax, dword [rdi + 0x20]
sub eax, dword [rdi + 0x18]
mov dword [rdi + 8], eax
test r12d, r12d
je 0x7ff6338072d8
mov qword [rsp + 0x40], rbp
mov ecx, r12d
mov qword [rsp + 0x50], r14
mov ebp, r12d
mov qword [rsp + 0x58], r15
call fcn.7ff633721800
mov r15, qword [rdi + 0x20]
mov r14, rax
mov rax, qword [rdi + 0x18]
sub r15, rax
cmp r12, r15
ja 0x7ff6338072c9
test r15, r15
je 0x7ff6338072c9
sub r15, r12
mov r8d, r12d
mov rcx, r14
lea rdx, [rax + r15]
call fcn.7ff63380d9fa
mov rdx, r15
lea rcx, [rdi + 0x18]
call fcn.7ff63372a8b0
mov eax, dword [rdi + 0x20]
sub eax, dword [rdi + 0x18]
mov dword [rdi + 8], eax
test r12d, r12d
je 0x7ff6338072c1
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x18]
lea rbx, [rbx + 1]
movzx eax, byte [rcx + rbx - 1]
sub al, 0xc
rol al, 0x16
xor al, byte [r14 + rbx - 1]
mov byte [rcx + rbx - 1], al
sub rbp, 1
jne 0x7ff6338072a0
mov rcx, r14
call fcn.7ff63380c288
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x7ff633807440
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r15
sub rsp, 0x48
mov r15d, r8d
mov rbp, rcx
test r8d, r8d
je 0x7ff633807680
mov qword [rax + 8], rbx
mov ecx, r15d
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
call fcn.7ff633721800
xor r12d, r12d
mov r13, rax
mov r14d, r12d
mov esi, r15d
test r15d, r15d
je 0x7ff63380757f
nop dword [rax]
nop word [rax + rax]
mov rax, qword gs:[0x60]
movsxd rdi, r14d
add rdi, r13
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff633807537
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff633807537
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rdx, [rbx + r9*4]
mov ecx, dword [rdx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x7ff633807532
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x7ff633807510
cmp r8d, 0xece4502d
je 0x7ff63380753c
test r9d, r9d
jne 0x7ff6338074f0
mov rax, qword [rax]
jmp 0x7ff6338074c0
mov eax, dword [r11 + 0x24]
mov rdx, rdi
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx r8d, word [rax + r9*2]
xor r9d, r9d
mov eax, dword [rcx + r8*4]
mov r8d, esi
mov rcx, qword [rbp + 0x10]
add rax, r10
call rax
mov edi, eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x7ff633807583
add r14d, eax
sub esi, eax
cmp r14d, r15d
jb 0x7ff6338074a0
jmp 0x7ff633807583
mov edi, dword [rsp + 0x70]
mov rax, qword gs:[0x60]
mov rsi, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov r11d, dword [rcx + r10 + 0x88]
add r11, r10
cmp r11, r10
je 0x7ff633807615
mov r9d, dword [r11 + 0x18]
test r9d, r9d
je 0x7ff633807615
mov ebx, dword [r11 + 0x20]
nop word [rax + rax]
dec r9d
lea rdx, [rbx + r9*4]
mov r8d, dword [rdx + r10]
mov edx, 0x811c9dc5
add r8, r10
movzx ecx, byte [r8]
inc r8
test cl, cl
je 0x7ff633807610
nop
movsx ecx, cl
lea r8, [r8 + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [r8 - 1]
test cl, cl
jne 0x7ff6338075f0
cmp edx, 0xa45cec64
je 0x7ff63380761a
test r9d, r9d
jne 0x7ff6338075d0
mov rax, qword [rax]
jmp 0x7ff6338075a0
mov eax, dword [r11 + 0x24]
mov r8, r15
mov ecx, dword [r11 + 0x1c]
add rax, r10
add rcx, r10
movzx edx, word [rax + r9*2]
mov r9d, dword [rcx + rdx*4]
mov rdx, r13
mov rcx, qword [rsp + 0x68]
add r9, r10
call r9
mov rcx, r13
call fcn.7ff63380c288
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
cmp edi, 0xffffffff
je 0x7ff633807679
test edi, edi
cmovne r12d, r14d
mov eax, r12d
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x20]
add rsp, 0x48
pop r15
pop rbp
ret
mov eax, 0xffffffff
jmp 0x7ff633807662
xor eax, eax
add rsp, 0x48
pop r15
pop rbp
ret
Function at 0x7ff633807b90
Capabilities:
Access peb ldr_data
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov rax, qword gs:[0x60]
mov esi, r8d
mov rbp, rdx
mov r14, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r10, qword [rax + 0x30]
movsxd r9, dword [r10 + 0x3c]
mov ebx, dword [r9 + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x7ff633807c37
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x7ff633807c37
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
mov r8d, 0x811c9dc5
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x7ff633807c32
nop
movsx edx, dl
lea rcx, [rcx + 1]
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx - 1]
test dl, dl
jne 0x7ff633807c10
cmp r8d, 0x7261c8af
je 0x7ff633807c3c
test r9d, r9d
jne 0x7ff633807bf0
mov rax, qword [rax]
jmp 0x7ff633807bc0
mov ecx, dword [rbx + 0x24]
mov r8d, esi
add rcx, r10
movzx edx, word [rcx + r9*2]
xor r9d, r9d
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rcx + rdx*4]
mov rdx, rbp
mov rcx, qword [r14 + 0x10]
add rax, r10
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
jmp rax

Function at 0x7ff633809e30
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
nop
mov eax, dword [0x7ff633a12808]
nop
syscall
ret

Function at 0x7ff63380d2d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x7ff633810328]
test rax, rax
je 0x7ff63380d31e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff63380d31e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff63380d31e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff63380d31e
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff63380d31e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x7ff63380d320
xor al, al
add rsp, 0x28
ret
Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov esi, r9d
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 0x40
xor r14d, r14d
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8, r15
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x140001526
mov rbx, rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov rdx, rbx
mov r8, r12
mov r9, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001523
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea r9, [0x140001440]
xor r14d, r14d
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rdi], rax
test rax, rax
je 0x140001526
test esi, esi
je 0x14000151e
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r14, rbx
jmp 0x140001526
xor r14d, r14d
mov rax, r14
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x140001990
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
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.1400027e0
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.1400027e0
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 0x140001a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405290c4]
mov rbx, rcx
test esi, esi
jle 0x140001b30
mov rax, qword [0x1405290c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001a4b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001ad5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001a30
mov rcx, rbx
call fcn.140002470
mov rdi, rax
test rax, rax
je 0x140001b52
mov rax, qword [0x1405290c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400025b0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405290c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001b37
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001ace
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001ae0
add dword [0x1405290c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405290c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001ace
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001990
nop dword [rax]
xor esi, esi
jmp 0x140001a58
mov rax, qword [0x1405290c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001990
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001990
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400020e0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140529120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140529100]
test rbx, rbx
je 0x14000213c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140002133
test eax, eax
jne 0x140002133
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002118
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1405263e0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002490
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400024ed
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400024e4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002490
add rax, 0x28
cmp rax, r9
jne 0x1400024d0
xor eax, eax
ret

Function at 0x1400024f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405263e0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000250f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002518
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000250f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400025b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405263e0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400025cf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400025d8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001082
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1402dc320
xor r8d, r8d
mov r9d, edx
mov r10, rcx
test edx, edx
jle 0x1402dc36d
lea r11, str.:34_FKSV33UP
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xaaaaaaab
lea r10, [r10 + 1]
mul r8d
mov eax, r8d
inc r8d
shr edx, 3
lea ecx, [rdx + rdx*2]
shl ecx, 2
sub eax, ecx
cdqe
movzx eax, byte [rax + r11]
xor byte [r10 - 1], al
cmp r8d, r9d
jl 0x1402dc340
mov eax, r9d
ret

Function at 0x1400010c3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x1402dd15c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1402dd1e9
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1402dd1e9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1402dd1e9
sub r8, rdx
movzx edx, word [rcx + 0x14]
add rdx, 0x18
add rdx, rcx
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1402dd1d0
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1402dd1ca
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1402dd1d2
add rdx, 0x28
jmp 0x1402dd1af
xor edx, edx
test rdx, rdx
jne 0x1402dd1db
xor al, al
jmp 0x1402dd1ef
cmp dword [rdx + 0x24], 0
jge 0x1402dd1e5
xor al, al
jmp 0x1402dd1ef
mov al, 1
jmp 0x1402dd1ef
xor al, al
jmp 0x1402dd1ef
add rsp, 0x18
ret

Function at 0x14000111d
Capabilities:
Terminate process

Disassembly:
jmp 0x1402dc960
push rbx
sub rsp, 0x20
mov rbx, rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000114f
Capabilities:
Terminate process

Disassembly:
jmp 0x1402dc948
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400011ef
test al, al
je 0x1402dc813
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400011cc
mov bl, al
mov ecx, dword [0x1402e4838]
cmp ecx, 1
je 0x1402dc81e
test ecx, ecx
jne 0x1402dc749
mov dword [0x1402e4838], 1
lea rdx, [0x1402e2660]
lea rcx, [0x1402e2330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1402dc72a
mov eax, 0xff
jmp 0x1402dc803
lea rdx, [0x1402e2220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x1402e4838], 2
jmp 0x1402dc751
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011b8
call fcn.140001172
mov rbx, rax
cmp qword [rax], 0
je 0x1402dc784
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1402dc784
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1402e7020]
call fcn.140001195
mov rbx, rax
cmp qword [rax], 0
je 0x1402dc7a6
mov rcx, rax
call fcn.1400010c3
test al, al
je 0x1402dc7a6
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.14000114a
mov ebx, eax
call fcn.140001154
test al, al
je 0x1402dc828
test sil, sil
jne 0x1402dc7dd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1400010b9
mov eax, ebx
jmp 0x1402dc803
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400011c2
nop
mov ecx, 7
call fcn.1400011c2
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001163
add rsp, 0x28
jmp 0x1402dc6bc

Function at 0x140001154
Capabilities:
Parse pe header

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

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x00502ea0]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x00502eb0]
mov dword [rax], 1
mov rax, qword [0x00502ec0]
mov dword [rax], 1
mov rax, qword [0x00502e90]
mov dword [rax], 1
mov rax, qword [0x00502d80]
cmp word [rax], 0x5a4d
je 0x4010b0
mov rax, qword [0x00502e80]
mov dword [0x00509008], edx
mov eax, dword [rax]
test eax, eax
je 0x4010a0
mov ecx, 2
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x00502e40]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x00502d30]
cmp dword [rax], 1
je 0x4010f0
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401075
movsxd rcx, dword [rax + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x401058
movzx ecx, word [rax + 0x18]
cmp cx, 0x10b
je 0x401103
cmp cx, 0x20b
jne 0x401058
cmp dword [rax + 0x84], 0xe
jbe 0x401058
mov ecx, dword [rax + 0xf8]
xor edx, edx
test ecx, ecx
setne dl
jmp 0x401058
lea rcx, [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401058
mov r8d, dword [rax + 0xe8]
xor edx, edx
test r8d, r8d
setne dl
jmp 0x401058