joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x88
sub esp, 0x88

Function at 0x140023d30
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140023d73
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [0x140013a50]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140034800
ud2

Function at 0x1400243e0
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
invalid
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140045181]
mov ecx, 0x10
Function at 0x140032120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14003219a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140032190
cmp r11, r10
ja 0x140032233
cmp r10, rdx
ja 0x140032247
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140032192
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140032170
jmp 0x140032207
ja 0x14003219a
mov r11, r10
cmp rax, r8
jne 0x140032142
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14003220b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400321e0
mov r8, r10
sub ecx, r9d
jns 0x1400321fe
jmp 0x14003220d
cmp r10, rdx
je 0x140032219
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14003220d
xor al, 1
cmp r8, rdx
jne 0x1400321c0
jmp 0x14003220d
xor eax, eax
jmp 0x14003220d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuefrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400348b0
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140034d80
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140034d00
ud2

Function at 0x140033828
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140033872
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140033872
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140033872
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140033872
cmp dword [rcx + 0x84], 0xe
jbe 0x140033872
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140033874
xor al, al
add rsp, 0x28
ret
Function at 0x1400036c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push r14
push rbx
push rdi
sub rsp, 0x80
mov eax, 0x370fedc2
mov r9d, 0x87931f58
mov r10d, r9d
mov r9d, 0x5c58de83
mov qword [rsp + 0x60], 0x2dc94e01
mov dword [rsp + 0x5c], 0x370fedc2
mov r11d, dword [rsp + 0x70]
mov esi, r11d
add esi, 0x341097d1
mov dword [rsp + 0x70], esi
mov byte [rsp + 0x5b], 0x63
mov bl, byte [rsp + 0x6f]
mov dil, bl
xor dil, 0xff
mov byte [rsp + 0x6f], dil
mov dil, byte [rsp + 0x5b]
mov qword [rsp + 0x78], 0x149444e0
mov esi, r11d
xor esi, 0x1b995288
xor dil, 0x5c
mov dword [rsp + 0x70], esi
mov byte [rsp + 0x47], dil
sub r9d, r11d
mov dword [rsp + 0x70], r9d
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
sub r10, r14
mov qword [rsp + 0x78], 0xffffffff8f9c70d0
mov qword [rsp + 0x38], r10
sub eax, dword [rsp + 0x5c]
mov qword [rsp + 0x78], r14
cmp r8d, eax
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x24], r8d
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x14], r11d
mov qword [rsp + 8], r14
mov byte [rsp + 7], bl
je 0x1400038e8
mov eax, dword [rsp + 0x14]
or eax, eax
mov dword [rsp + 0x70], eax
mov cl, byte [rsp + 0x47]
mov dl, byte [rsp + 0x5b]
xor dl, 0xa6
cmp cl, dl
jae 0x14000378e
mov rax, qword [rsp + 8]
sub rax, rax
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x24]
mov edx, ecx
mov eax, edx
mov edx, dword [rsp + 0x14]
mov dword [rsp + 0x70], edx
mov r8b, byte [rsp + 7]
add r8b, 0x2f
mov r9, qword [rsp + 0x60]
mov byte [rsp + 0x6f], r8b
and edx, 0x7b44666
add r9, 0xffffffffd236b1ff
mov dword [rsp + 0x70], edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r9
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov dx, word [rsp + 0x76]
and dx, word [rsp + 0x76]
mov word [rsp + 0x76], dx
mov rcx, qword [rsp + 0x60]
mov r8b, byte [rsp + 7]
and r8b, r8b
mov byte [rsp + 0x6f], r8b
mov r9, qword [rsp + 0x38]
add rcx, 0xffffffffe4ab8062
cmp rcx, r9
jne 0x140003836
mov al, 0x17
lea rcx, [0x140088346]
mov edx, 0x2dc94e10
mov r8d, edx
mov edx, dword [rsp + 0x14]
mov dword [rsp + 0x70], edx
sub r8, qword [rsp + 0x60]
and r8, qword [rsp + 0x30]
mov r9b, byte [rsp + 7]
xor r9b, r9b
mov byte [rsp + 0x6f], r9b
mov r9b, byte [rcx + r8]
mov dword [rsp + 0x70], 0x730a7c8d
mov rcx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x30]
mov qword [rsp + 0x78], 0x1664c34e
xor rcx, 0x2dc94e00
mov r10b, byte [rsp + 7]
sub r10b, 0x3e
mov r11, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov bl, byte [rsi + r8]
sub bl, r9b
mov byte [rsp + 0x6f], r10b
mov r8, qword [rsp + 0x18]
mov byte [r8 + r11], bl
mov r11, qword [rsp + 0x30]
mov rdi, qword [rsp + 8]
sub rdi, rdi
mov qword [rsp + 0x78], rdi
mov rdi, qword [rsp + 0x48]
add r11, rcx
mov qword [rsp + 0x50], r11
mov r9b, byte [rsp + 7]
sub al, r9b
mov byte [rsp + 0x6f], al
cmp r11, rdi
jne 0x1400037f2
add rsp, 0x80
pop rdi
pop rbx
pop r14
pop rsi
ret
Function at 0x1400049cc
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0x83923
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x50]
mov word [rsp + 0xee], 0x78b0
mov r8b, byte [rsp + 0xfb]
mov dword [rsp + 0xe8], 0x4dc862
mov qword [rsp + 0xe0], 0x77715e02
mov r9d, dword [rsp + 0xe8]
mov r10w, word [rsp + 0xec]
mov r11d, r9d
xor r11d, 0x69421a23
mov si, r10w
sub si, 0x16a4
mov word [rsp + 0xec], si
mov dword [rsp + 0x84], r11d
mov bl, r8b
sub bl, 0x50
mov byte [rsp + 0xfb], bl
mov r11d, dword [rsp + 0xe8]
xor r11d, 0x4dc869
mov byte [rsp + 0x4f], r8b
mov r8d, r11d
mov qword [rsp + 0x40], rax
mov word [rsp + 0x3e], r10w
mov dword [rsp + 0x38], r9d
call fcn.1400036c0
mov r8d, 0x77715e02
mov eax, r8d
mov rcx, qword [rsp + 0xe0]
sub rax, rcx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x30], rcx
jmp 0x140004ab0
mov rcx, qword [rsp + 0x88]
call fcn.1400030c0
nop
add rsp, 0x100
pop rbx
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rdx
xor eax, 0x1ee94862
mov qword [rsp + 0x78], rcx
xor rdx, 0x1fff04e5
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0xf0], rdx
mov r8b, byte [rsp + 0x4f]
add r8b, 7
mov r9b, byte [rsp + rcx + 0x50]
movsx r10d, r9b
mov r11w, r10w
mov rcx, qword [rsp + 0xe0]
mov byte [rsp + 0xfb], r8b
add rcx, 0xffffffff8ef99c47
mov word [rsp + 0x76], r11w
mov r10d, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xd0], rcx
cmp eax, r10d
ja 0x140004ab0
mov word [rsp + 0xec], 0xf6df
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xe0]
mov dl, byte [rsp + 0x4f]
mov byte [rsp + 0xfb], dl
mov r8b, 0x30
mov qword [rsp + 0x28], rax
mov al, dl
mul r8b
add rcx, 0xffffffff888ea21e
mov r9, qword [rsp + 0xe0]
xor r9, 0x77715e03
mov byte [rsp + 0xfb], al
mov r10w, word [rsp + 0x76]
mov r11, qword [rsp + 0x28]
mov word [rsp + r11*2 + 0x90], r10w
mov rsi, qword [rsp + 0x78]
mov edi, dword [rsp + 0x38]
mov dword [rsp + 0xfc], edi
add rsi, r9
mov qword [rsp + 0xd0], rsi
cmp rsi, rcx
jne 0x140004ab0
lea rax, [rsp + 0x90]
mov cx, 0xd07d
mov dword [rsp + 0xfc], 0x65b75abe
sub cx, word [rsp + 0xee]
mov word [rsp + 0xde], cx
mov cx, word [rsp + 0x3e]
mov word [rsp + 0xec], cx
mov rdx, qword [rsp + 0x30]
xor rdx, rdx
mov r8w, word [rsp + 0xde]
mov qword [rsp + 0xf0], rdx
mov r9w, word [rsp + 0xee]
add r9w, 0x9abf
mov r10b, byte [rsp + 0x4f]
mov byte [rsp + 0xfb], r10b
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
xor rax, 0x378083ba
mov qword [rsp + 0xf0], rax
cmp r9w, r8w
jbe 0x140004a97
jmp 0x140004bc7
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140119490]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1401194a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call fcn.1400fafa0
jmp 0x14000123c
mov rax, qword [0x1401194a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1401194a0]
mov dword [rax], 1
mov rax, qword [0x1401194e0]
mov rdx, rax
mov rax, qword [0x1401194d0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x14000123c
mov dword [0x14011d024], 1
mov rax, qword [0x1401194a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1401194c0]
mov rdx, rax
mov rax, qword [0x1401194b0]
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov rax, qword [0x1401194a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140119490]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1401193e0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1401193e0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call fcn.1400fa228
mov rax, qword [0x140119520]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140119480]
mov qword [rdx], rax
lea rax, section..text
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.1400f9a20
mov eax, dword [0x14011d004]
lea rdx, [0x14011d008]
mov ecx, eax
call fcn.14000147c
call fcn.1400f97b7
mov rax, qword [0x140119410]
mov rax, qword [rax]
mov rdx, qword [0x14011d010]
mov qword [rax], rdx
mov rcx, qword [0x14011d010]
mov rdx, qword [0x14011d008]
mov eax, dword [0x14011d004]
mov r8, rcx
mov ecx, eax
call fcn.1400016d0
mov dword [0x14011d01c], eax
mov eax, dword [0x14011d020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14011d01c]
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [0x14011d024]
test eax, eax
jne 0x14000136c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x14011d01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140119440]
mov dword [rax], 1
mov rax, qword [0x140119450]
mov dword [rax], 1
mov rax, qword [0x140119460]
mov dword [rax], 1
mov rax, qword [0x140119400]
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 0x1400f9a30
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 sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.1400fad90
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x1400fa702
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14011d168]
test eax, eax
je 0x1400fa79a
lea rax, [0x14011d140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14011d170]
mov qword [rbp - 8], rax
jmp 0x1400fa77e
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 0x1400fa772
cmp qword [rbp - 0x10], 0
je 0x1400fa772
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 0x1400fa738
lea rax, [0x14011d140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400fa79b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x1400fa8a0
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 0x1400fa8c8
mov eax, 0
jmp 0x1400fa916
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 0x1400fa8f1
mov eax, 0
jmp 0x1400fa916
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 0x1400fa911
mov eax, 0
jmp 0x1400fa916
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400fa91c
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 0x1400fa99a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400fa991
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 0x1400fa991
mov rax, qword [rbp - 8]
jmp 0x1400fa9af
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 0x1400fa964
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x18002b3c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.18002b440
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18006e550
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x18002b440
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r8, rcx
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x18002b4c6
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x18002b4bf
add rcx, 2
test r9d, r9d
jne 0x18002b4a9
test edx, edx
je 0x18002b4cf
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x18002b49d
jmp 0x18002b4d8
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x18002b4e5
mov rcx, rbx
call fcn.18002b3c0
test rax, rax
je 0x18002b4f0
mov rdx, rdi
mov rcx, rax
call fcn.18002b5a4
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.18006e550
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret

Function at 0x18002b514
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [0x1800888e8]
xor ebp, ebp
test rax, rax
je 0x18002b58a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18002b58a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18002b58a
movzx ebx, word [rcx + 0x14]
movzx edi, bp
movzx esi, word [rcx + 6]
add rbx, 0x18
add rbx, rcx
cmp bp, si
jae 0x18002b585
lea rdx, str..text
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x18002b585
add rbx, 0x28
inc di
cmp di, si
jb 0x18002b566
mov rax, rbx
jmp 0x18002b58c
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18002b5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x18002b71f
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x18002b71f
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x18002b6ce
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18002b6ce
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18002b6ce
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18002b65a
test r8, r8
je 0x18002b71f
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x18002b69f
lea rcx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.18002b3c0
mov rsi, rax
cmp rax, rbx
jne 0x18002b6c1
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x18002b71f
mov rdx, rdi
mov rcx, rsi
call fcn.18002b5a4
jmp 0x18002b721
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x18002b706
add rdx, r13
test al, al
jne 0x18002b6f3
mov eax, r12d
jmp 0x18002b70b
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x18002b715
lea edi, [r10 + 1]
jmp 0x18002b71b
jle 0x18002b74c
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x18002b6dc
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.18006e550
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x18002b71f
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18002b79e
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18002b79e
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18002b790
jmp 0x18002b663
lea rax, [rbx + rdi]
jmp 0x18002b721