joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140215de7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsp
push qword [rsp + 6]
call fcn.140215dd1

Function at 0x140216efb
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rsp, [rsp + 7]
jmp 0x140216f1d
sub r13b, sil
jmp 0x14021708e
bswap edi
xchg r9w, ax
mov rbx, 0x442469a6
lea rdi, [rsi + r10]
jmp 0x140216f78
add r14b, 0x3b
not dl
cmp al, 0x7b
jns 0x140216fa0
js 0x140216f8a
or dword [rbp + reloc.IPHLPAPI.DLL_GetInterfaceInfo], ebx
insb byte [rdi], dx
jg 0x140216fa6
int1
mov r10d, r11d
xchg bl, r11b
mov rbx, rdi
jmp 0x140216f4b
mov r14b, r13b
cpuid
mov r11w, word [rsp]
bswap eax
lea rdi, [r14 + rbp]
jmp 0x140216f61
mov cl, byte [rsp]
dec rbp
mov r10w, ax
jmp 0x140216ff5
mov cl, byte [rsp]
dec rbp
mov r10w, ax
mov cl, 0x67
mov r10, qword [rsp]
ror r14b, 0
lea rbx, [rsi + riz]
jmp 0x140216fd4
jmp 0x140217013
lea rdi, [rsp + 0xa939]
bsf bp, r8w
rdtsc
bswap r10
call fcn.140217067
cld
mov r11d, dword [rsp]
mov edi, dword [rsp]
mov bl, byte [rsp]
adc r11, r14
js 0x140216fba
jns 0x140216fba
fcom dword [rbx - 0x3d]
cmpsb byte [rsi], byte [rdi]
push rbp
xchg ebp, eax
invalid
mov cl, 0x67
mov r10, qword [rsp]
jmp 0x140216fb0
bsf bp, r8w
rdtsc
bswap r10
inc cx
jmp 0x14021702c
neg r14b
sbb r9, 0x7c63f8d0
jo 0x140216fbc
lea rdi, [rsp + 0xa939]
jmp 0x140216ffd
mov r9w, 0xc79
jmp 0x14021719b
mov rbx, 0x442469a6
lea rdi, [rsi + r10]
jmp 0x140216f78
ja 0x140216f26
bswap edi
xchg r9w, ax
jmp 0x140217041
not edi
mov cl, byte [rsp]
xchg r11b, dil
call 0x140217128
bswap edi
ror r9b, 1
lea r9, [r14*4]
mov r9b, dl
adc cx, sp
jmp 0x140217160
jmp 0x14021711a
xchg qword [rsp], rdx
mov r11w, bp
call fcn.140217143
mov r9w, word [rsp]
mov r10w, r11w
push r15
xchg qword [rsp + 0x10], rdx
jmp 0x1402171ed
add r14b, 0xfe
cpuid
mov r11b, 0x2c
shr bx, cl
jp 0x140217141
not edi
mov cl, byte [rsp]
xchg r11b, dil
jmp 0x1402171d7
mov r9, rbp
jmp 0x14021720a
xchg r9, rcx
mov dil, r12b
mov dx, r14w
mov r11, qword [rsp]
mov rbp, 0xffffffffc420044d
push qword [rsp + 0x10]
ret 0x18

Function at 0x1402173bb
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea r10, [r13 + riz + 0xde]
xchg cl, r9b
jmp 0x1402173fb
mov r10w, sp
mov cx, 0x7e28
lea rsp, [rsp + 8]
add r13b, 0x3b
shl eax, 0xc
jmp 0x14021744a
not eax
mov rbx, 0xffffffffb620a517
jmp 0x1402174b2
jns 0x1402173e5
mov r11, 0xffffffff9001c801
rdtsc
jmp 0x140217434

Function at 0x1403471e2
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap rdx
xchg r10d, eax
xchg byte [rsp], r12b
mov qword [rsp], rdi
jmp 0x1403471ed
xchg dl, r11b
mov word [rsp + 2], r12w
jmp 0x1403471cc
lea rdx, [rdi*4]
lea r9, [rbp + rbp]
not r12d
mov ax, 0x7e9c
mov r12w, 0x8ee9
bsf rdi, r8
jmp 0x140347278
cld
mov rdx, rbp
mov r10d, eax
mov r13w, r12w
mov r9d, r13d
xchg r10d, edi
jmp 0x140347221
push rbx
bsr r13d, r11d
bsf r13d, edx
setge al
not r9w
lea r9, [r14*4]
jmp 0x140347237
Function at 0x140348467
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0xf], r12
adc r11b, 0xe9
mov rax, 0xc3b1c6a
jmp 0x14034844b
bsr r11d, esp
lea rsp, [rsp + 0x1b]
sub rsp, 0x15
mov r9d, ecx
push si
pop word [rsp + 4]
jmp 0x140348405
pop word [rsp + 0x26]
push r11w
mov dword [rsp + 0xd], ebx
jmp 0x1403484a3
sub rsp, 0xe
push qword [rsp + 0x25]
push qword [rsp + 0x2c]
xchg r13b, bl
mov dword [rsp + 0x1c], r9d
jmp 0x140348435
xchg r10b, r9b
xchg qword [rsp + 0x10], r12
xchg dword [rsp + 2], eax
jmp 0x14034841b
lea rdi, [0xffffffffee8b93c4]
rdtsc
shr r13w, 1
jmp 0x1403484fc
pushfq
xchg r10d, eax
lea r11, [rbx + riz - 0x3474]
jmp 0x140348475
lea r12, [r8 + r8]
mov byte [rsp + 0x1d], r13b
bswap rdx
clc
mov r13w, word [rsp + 0x2e]
mov r11w, word [rsp + 0x25]
jmp 0x14034848b
mov rax, r10
mov r10d, dword [rsp + 1]
mov word [rsp + 2], r11w
jmp 0x14034851b
mov r12b, 0xa2
add rsp, 0x16
xchg qword [rsp], rbx
mov r11w, word [rsp + 4]
dec dl
bsf r11d, edx
jmp 0x1403484be
mov r9d, 0x6d3c9d29
xchg dword [rsp + 0x38], r13d
mov eax, 0x509adb77
xchg qword [rsp + 0x10], rdx
lea rsp, [rsp + 0x20]
inc rdx
jmp 0x1403484d4
mov r12d, 0x2cf20e25
mov eax, r11d
bswap r11d
not r10
xchg byte [rsp], dl
lea rsp, [rsp + 3]
jmp 0x140348562
mov rdi, qword [rsp]
add rsp, 2
btc rbx, r15
xor rax, rbp
xchg di, r13w
mov al, r12b
jmp 0x14034854c

Function at 0x14034e482
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
call fcn.14034e055
xchg rbx, rbp
mov qword [rsp], rcx
mov bp, r12w
mov edi, dword [rsp]
jmp 0x14034e49a
jmp 0x14034e46c
mov bl, byte [rsp]
xchg dil, bl
mov rdi, qword [rsp + 0x88]
jmp 0x14034e50d
mov rbp, qword [rsp + 0x79]
bswap edi
not rdi
bswap rdi
lea rbx, [rsp + 0xf66c]
mov di, 0x3c9f
jmp 0x14034e484
mov rax, qword gs:[0x60]
mov rax, qword [rax + riz + 0x18]
mov rax, qword [rax + riz + 0x30]
jmp 0x14034e52e
lea rbx, [0xffffffff87fc898b]
mov bl, 0x17
mov bx, 0x8014
mov rbx, qword [rsp + 0x92]
lea rsp, [rsp + 0xa0]
jmp 0x14034e4b5
mov bx, r12w
mov ebx, dword [rsp]
mov bx, sp
mov ebx, 0x88bb27bb
lea rbx, [r10 + riz - 0x5072c687]
lea rbx, [r15*8]
jmp 0x14034e4d9
mov rax, qword [rax + riz]
mov rax, qword [rax + riz + 0x10]
push rax
jmp 0x14034e050
Function at 0x141f6d058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141f6d1df
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 0x141f6d089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f6d06f
add dl, dl
jne 0x141f6d096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f6d0f6
xor eax, eax
add dl, dl
jne 0x141f6d0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f6d1ad
add dl, dl
jne 0x141f6d0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f6d0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f6d0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f6d0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141f6d0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141f6d07e
mov eax, 1
add dl, dl
jne 0x141f6d106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f6d113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f6d0fb
sub eax, ebx
mov ebx, 1
jne 0x141f6d14c
mov ecx, 1
add dl, dl
jne 0x141f6d12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f6d13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f6d123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f6d07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141f6d168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f6d175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f6d15d
cmp eax, 0x7d00
jae 0x141f6d19b
cmp eax, 0x500
jb 0x141f6d196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f6d07e
cmp eax, 0x7f
ja 0x141f6d19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f6d07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141f6d1d2
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 0x141f6d07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x140011d50]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x140011d60]
mov dword [rax], 1
mov rax, qword [0x140011d70]
mov dword [rax], 1
mov rax, qword [0x140011d00]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x140011d40]
mov dword [0x14001600c], 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 [0x140011e20]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140011e00]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140011cb0]
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 0x140008d10
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 0x140008d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140021b04]
mov rbx, rcx
test esi, esi
jle 0x140008eb0
mov rax, qword [0x140021b08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140008dcb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140008e55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140008db0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140008ed2
mov rax, qword [0x140021b08]
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 [0x140021b08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140008eb7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140008e4e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140008e60
add dword [0x140021b04], 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 [0x140021b08]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140008e4e
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 0x140008dd8
mov rax, qword [0x140021b08]
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 0x140009440
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140021b60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140021b40]
test rbx, rbx
je 0x14000949c
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 0x140009493
test rsi, rsi
je 0x140009493
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140009478
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 0x1400096b0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400096c8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400096d0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x1400096e0
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 0x14000972d
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 0x140009724
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000972f
add rax, 0x28
cmp rax, r9
jne 0x140009710
xor eax, eax
ret

Function at 0x140009730
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400097c0
mov rdx, qword [0x140011d00]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400097ae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400097ae
cmp word [rax + 0x18], 0x20b
jne 0x1400097ae
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400097c0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140009799
add rbx, 0x28
cmp rbx, rdi
je 0x1400097c0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140009790
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 0x1400097d0
Capabilities:
Enumerate pe sections
Parse pe header

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

Function at 0x140009850
Capabilities:
Parse pe header

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

Function at 0x140009890
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140011d00]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400098b0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400098b8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400098b0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140009900
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x1400098f7
test rcx, rcx
je 0x1400098b0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x1400098e8
xor eax, eax
ret
Function at 0x140009910
Capabilities:
Parse pe header

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

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

Disassembly:
mov rdx, qword [0x140011d00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140009970
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140009978
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140009970
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140009970
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 0x1400099c4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400099d0
add rdx, 0x28
cmp r9, rdx
jne 0x1400099b0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x140011d00]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140009a02
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140009a10
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140009a02
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140009a02
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140009a02
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 0x140009a65
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140009a78
add rdx, 0x28
cmp rdx, r10
jne 0x140009a50
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140009a87
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140009a97
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140009a6e
test ecx, ecx
jg 0x140009a80
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140009af0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x138
mov rbx, rcx
call sym._errno
mov dword [rax], 0
test rbx, rbx
je 0x140009ca0
cmp byte [rbx], 0
je 0x140009c68
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140009cb0
test al, 0x10
je 0x140009c68
lea rsi, [rsp + 0x20]
mov rdx, rbx
mov r8d, 0x104
mov rcx, rsi
call sym._fullpath
mov rcx, rsi
call sym.strlen
lea rcx, [rax + 0x24b]
mov rbx, rax
mov rbp, rax
call sym.malloc
mov rdx, rax
test rax, rax
je 0x140009cd8
lea r8, [rax + 0x244]
lea rax, [rbx + 1]
cmp eax, 8
jb 0x140009c30
mov rcx, qword [rsp + 0x20]
lea rdi, [rdx + 0x24c]
and rdi, 0xfffffffffffffff8
mov qword [rdx + 0x244], rcx
mov ecx, eax
mov r9, qword [rsi + rcx - 8]
mov qword [r8 + rcx - 8], r9
mov rcx, r8
sub rcx, rdi
sub rsi, rcx
add ecx, eax
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
cmp byte [rdx + 0x244], 0
je 0x140009bd8
movzx ecx, byte [rdx + rbx + 0x243]
cmp cl, 0x5c
je 0x140009bd8
cmp cl, 0x2f
jne 0x140009c88
mov eax, 0x2a
mov ecx, 0x20
mov word [r8 + rbp], ax
lea r8, [rdx + 0x130]
xor eax, eax
mov qword [rdx + 0x238], 0xffffffffffffffff
mov rdi, r8
mov dword [rdx + 0x240], 0
mov qword [rdx + 0x128], 0
rep stosq qword [rdi], rax
mov rax, rdx
mov dword [rdi], 0
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
test al, 4
jne 0x140009cc0
test eax, eax
je 0x140009bb9
movzx ecx, byte [rsp + 0x20]
mov byte [r8], cl
test al, 2
je 0x140009bb9
mov ecx, eax
movzx r9d, word [rsi + rcx - 2]
mov word [r8 + rcx - 2], r9w
jmp 0x140009bb9
call sym._errno
xor edx, edx
mov dword [rax], 0x14
mov rax, rdx
add rsp, 0x138
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov ecx, 0x5c
mov rbp, rax
mov word [r8 + rbx], cx
jmp 0x140009bd8
call sym._errno
xor edx, edx
mov dword [rax], 0xe
jmp 0x140009c75
call sym._errno
xor edx, edx
mov dword [rax], 2
jmp 0x140009c75
mov ecx, dword [rsp + 0x20]
mov dword [r8], ecx
mov ecx, eax
mov r9d, dword [rsi + rcx - 4]
mov dword [r8 + rcx - 4], r9d
jmp 0x140009bb9
call sym._errno
xor edx, edx
mov dword [rax], 0xc
jmp 0x140009c75
Function at 0x14148f83b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1414837c0]
jne 0x14148d39e
rol rcx, 0x10
test cx, 0xffff
jne 0x14148d39a
repz ret
ror rcx, 0x10
jmp 0x14148f794
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1414875e0]
call qword [sym.imp.kernel32.dll_RtlCaptureContext]
mov rax, qword [0x1414876d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.kernel32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14148f819
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1414875e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.kernel32.dll_RtlVirtualUnwind
jmp 0x14148f83b
mov rax, qword [rsp + 0x88]
mov qword [0x1414876d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x141487678], rax
mov rax, qword [0x1414876d8]
mov qword [0x141487550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x141487660], rax
mov dword [0x141487540], 0xc0000409
mov dword [0x141487544], 1
mov rax, qword [0x1414837c0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1414837c8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1414875d8], eax
mov ecx, 1
call fcn.14148d3a4
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
lea rcx, str._uHA
call qword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1414875d8], 0
jne 0x14148f8c2
mov ecx, 1
call fcn.14148d3a4
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.kernel32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14148f95c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1414837c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.14148aa5c
xor ebx, ebx
cmp qword [0x141487ab8], rbx
mov rdi, rax
jne 0x14148fa6f
lea rcx, str.USER32.DLL
call qword [sym.imp.kernel32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14148fb46
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x14148fb46
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x141487ab8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x141487ac0], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x141487ac8], rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov r11, rax
mov qword [0x141487ad8], rax
test rax, rax
je 0x14148fa66
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.kernel32.dll_EncodePointer]
mov qword [0x141487ad0], rax
jmp 0x14148fa76
mov rax, qword [0x141487ad0]
jmp 0x14148fa7d
mov rax, qword [0x141487ad0]
mov r11, qword [0x141487ad8]
cmp rax, rdi
je 0x14148fae4
cmp r11, rdi
je 0x14148fae4
mov rcx, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov rcx, qword [0x141487ad8]
mov rsi, rax
call qword [sym.imp.kernel32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x14148fae4
test rax, rax
je 0x14148fae4
call rsi
test rax, rax
je 0x14148fade
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14148fade
test byte [rsp + 0x40], 1
jne 0x14148fae4
bts ebp, 0x15
jmp 0x14148fb24
mov rcx, qword [0x141487ac0]
cmp rcx, rdi
je 0x14148fb24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x14148fb24
call rax
mov rbx, rax
test rax, rax
je 0x14148fb24
mov rcx, qword [0x141487ac8]
cmp rcx, rdi
je 0x14148fb24
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x14148fb24
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x141487ab8]
call qword [sym.imp.kernel32.dll_DecodePointer]
test rax, rax
je 0x14148fb46
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x14148fb48
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14148d384
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret