joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f650
Capabilities:
Load windows common language runtime

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp qword [0x140084348], 0
jne 0x14001f742
xor ebx, ebx
lea r8, [rsp + 0x48]
lea rdx, [0x140072dc8]
mov qword [rsp + 0x48], rbx
lea rcx, [0x140072db8]
call qword [sym.imp.mscoree.dll_CLRCreateInstance]
lea rdi, [0x140084348]
test eax, eax
js 0x14001f705
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
lea r8, [0x140072da8]
lea rdx, str.v4.0.30319
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
js 0x14001f6f6
mov rcx, qword [rsp + 0x40]
lea r8, [0x14006f018]
mov r9, rdi
lea rdx, [0x14006f028]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
test eax, eax
js 0x14001f6eb
mov rcx, qword [0x140084348]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jns 0x14001f742
cmp qword [0x140084348], 0
jne 0x14001f742
lea r9, [0x14006f018]
mov qword [rsp + 0x20], rdi
lea r8, [0x14006f028]
xor edx, edx
lea rcx, str.v2.0.50727
call qword [sym.imp.mscoree.dll_CorBindToRuntime]
test eax, eax
js 0x14001f74f
mov rcx, qword [0x140084348]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor r9d, r9d
lea r8, [0x1400726f0]
lea rdx, [0x140072710]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x30
pop rdi
ret
Function at 0x1400216f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov edi, r9d
mov rbx, rdx
test r8b, r8b
jne 0x1400217e2
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.14001e710
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.14001e710
mov dword [rsp + 0xa0], edi
mov ecx, 0x48
call fcn.14003cb04
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001e710
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x80]
call fcn.14001e710
mov ecx, dword [rsp + 0xa0]
mov dword [rbx + 0x40], ecx
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x140026950]
xor edx, edx
xor ecx, ecx
call fcn.140048e68
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140021825
lea rcx, [rsp + 0x60]
call fcn.140021850
cmp dword [rsp + 0x38], 0
je 0x140021838
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.14003c234
test eax, eax
jne 0x140021838
jmp 0x140021804
cmp qword [rdx + 0x18], 7
jbe 0x1400217ec
mov rbx, qword [rdx]
cmp qword [rcx + 0x18], 7
jbe 0x1400217f6
mov rcx, qword [rcx]
mov r8, rbx
mov rdx, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14003cab0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x38], 0
mov ecx, 6
call fcn.14003c198
nop
mov ecx, 1
call fcn.14003c198
int3

Function at 0x140021910
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140021980
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140008090
mov dword [rsp + 0x30], 1
mov r8d, SafeArrayDestroy
lea rdx, [0x140073ca0]
mov rcx, rbx
call fcn.140007a40
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14003cab0
add rsp, 0x260
pop rbx
ret
Function at 0x140025250
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140025294
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140025280
ret
Function at 0x14002a180
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
mov ebp, 0xfffd
nop word [rax + rax]
movzx ecx, word [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp ax, 9
ja 0x14002a263
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14002a263
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x14002a281
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14002a253
cmp word [rax], 0x5c
jne 0x14002a24c
lea rdx, [rax + 2]
cmp rdx, rcx
je 0x14002a24c
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14002a237
movzx ecx, word [rdx]
sub cx, 0x28
cmp cx, 1
jbe 0x14002a249
test r8b, 0x10
jne 0x14002a24c
movzx ecx, word [rdx]
sub cx, 0x7b
test bp, cx
jne 0x14002a24c
mov rax, rdx
add rax, 2
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400262e0
test edi, edi
jne 0x14002a1b0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400262d0
int3
Function at 0x1400344c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movzx esi, r8b
xor ebp, ebp
lea rcx, [rsp + 0x58]
call fcn.1400075b0
mov r14, rax
mov qword [rsp + 0x50], rax
mov rdi, qword [0x140084330]
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.1400075b0
mov byte [rsp + 0x98], sil
mov qword [rsp + 0xa0], rdi
lea ecx, [rbp + 0x30]
call fcn.14003cb04
mov rbx, rax
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsp + 0x78], bpl
mov byte [rax + 0x20], sil
mov qword [rax + 0x28], rdi
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x30]
call fcn.14001e960
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rbx
lea r8, [0x14001eb20]
xor edx, edx
xor ecx, ecx
call fcn.140048e68
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14003464b
cmp dword [rsp + 0x48], ebp
je 0x140034640
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
call fcn.14003c234
test eax, eax
jne 0x140034640
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0xf
jbe 0x140034608
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x140034603
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003465a
mov rcx, r8
call fcn.14003cad0
mov qword [r14 + 0x10], rbp
mov qword [r14 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [r14], 0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14003cab0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 1
call fcn.14003c198
nop
mov dword [rsp + 0x48], ebp
mov ecx, 6
call fcn.14003c198
nop
call fcn.1400439cc
int3
Function at 0x140034f10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbx + 0xf0]
test rcx, rcx
je 0x140034f5c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbx + 0xb0]
xor edx, edx
mov ecx, 0xc3a
call qword [0x140084250]
mov qword [rbx + 0xf0], rax
lea rcx, [rbx + 0x70]
call fcn.140039c80
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x39], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140034ffb
lea rdx, [rbp - 0x39]
mov rcx, qword [rbx + 0xf0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x140034ffb
mov eax, dword [rbp - 0x39]
cmp dword [rbp - 0x29], eax
je 0x140034ffb
lea r8, [0x140084470]
cmp qword [0x140084488], 7
cmova r8, qword [0x140084470]
lea rdx, [0x1400846b0]
cmp qword [0x1400846c8], 7
cmova rdx, qword [0x1400846b0]
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x1400350ba
cmp qword [rbx + 0xf0], rsi
jne 0x1400350b8
lea rdx, [0x140084650]
lea rcx, [rbp - 9]
call fcn.14001e710
lea rdx, [0x140084470]
lea rcx, [rbp + 0x17]
call fcn.14001e710
mov dword [rbp + 0x37], 0x10
mov ecx, 0x48
call fcn.14003cb04
mov rbx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], rax
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.14001e710
nop
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x17]
call fcn.14001e710
mov ecx, dword [rbp + 0x37]
mov dword [rbx + 0x40], ecx
mov qword [rbp - 0x29], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, rbx
lea r8, [0x140026950]
xor edx, edx
xor ecx, ecx
call fcn.140048e68
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400350df
lea rcx, [rbp - 9]
call fcn.140021850
cmp dword [rbp - 0x11], 0
je 0x1400350ed
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.14003c234
test eax, eax
jne 0x1400350ed
jmp 0x1400350ba
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14003cab0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x11], esi
mov ecx, 6
call fcn.14003c198
nop
mov ecx, 1
call fcn.14003c198
int3
Function at 0x14003a100
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x140084268]
mov rbx, rax
test rax, rax
jne 0x14003a28d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400356d0
nop
lea r8, [0x140084690]
cmp qword [0x1400846a8], 7
cmova r8, qword [0x140084690]
mov r9, qword [0x1400846a0]
mov rcx, rax
call fcn.140013030
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140084470]
cmp qword [0x140084488], 7
cmova r8, qword [0x140084470]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14003a235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a2d6
call fcn.14003cad0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14003a289
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a284
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a2d0
call fcn.14003cad0
xor al, al
jmp 0x14003a2af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14003cab0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400439cc
nop
call fcn.1400439cc
nop
int3
Function at 0x14003a2e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rsp + 0x88], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], r8
mov r9, rdx
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x80]
call qword [0x140084268]
mov rbx, rax
test rax, rax
jne 0x14003a46d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400356d0
nop
lea r8, [0x140084690]
cmp qword [0x1400846a8], 7
cmova r8, qword [0x140084690]
mov r9, qword [0x1400846a0]
mov rcx, rax
call fcn.140013030
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea r8, [0x140084470]
cmp qword [0x140084488], 7
cmova r8, qword [0x140084470]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rdx, qword [rsp + 0x48]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14003a415
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a410
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a4a8
call fcn.14003cad0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rdx, qword [rsp + 0x80]
cmp rdx, 7
jbe 0x14003a469
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003a464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003a4a2
call fcn.14003cad0
xor al, al
jmp 0x14003a481
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14003cab0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
call fcn.1400439cc
nop
call fcn.1400439cc
nop
int3
Function at 0x14003d8ac
Capabilities:
Parse pe header

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

Function at 0x1400489dc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14004886f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004886f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004886f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004886f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004886f
cmp dword [rcx + 0x84], 0xe
jbe 0x14004886f
cmp dword [rcx + 0xf8], 0
je 0x14004886f
mov ecx, ebx
call fcn.140048910
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140048700
cmp dword [rbp + 0x20], 0
je 0x1400488bc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400488c4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140048808
Function at 0x14005eb60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005eb88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005eb88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400012c4
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x60]
add rcx, 0x36cfc65a
mov dx, word [rsp + 0xc]
mov word [rsp + 0x6e], dx
mov r8b, byte [rsp + 0x7e]
add r8b, 5
mov r9, qword [rsp + 0x70]
xor r9, 0x3368d3c6
mov qword [rsp + 0x70], r9
mov r10b, byte [rsp + 0x7e]
add r10b, 0xa
mov dword [rsp + 0x28], eax
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x58], r9
mov byte [rsp + 0x2f], r10b
mov r9, qword [rsp + 0x10]
add r9, qword [rsp + 0x58]
mov r10b, byte [rsp + 0x2f]
mov qword [rsp + 0x30], r9
mov r9, qword [rsp + 0x30]
mov r11b, byte [r9]
mov byte [rsp + 0x3f], r11b
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov r9, qword [rsp + 0x70]
or r9, qword [rsp + 0x70]
mov qword [rsp + 0x70], r9
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x4c], 0x30461c6d
cmp r8b, r10b
jae 0x14000121c
mov eax, 0x100
mov cl, byte [rsp + 0x3f]
mov qword [rsp + 0x70], 0x5155d8a4
mov dword [rsp + 0x70], 0x5155d8a4
mov dword [rsp + 0x70], 0x5155d8a4
mov edx, dword [rsp + 0x68]
and edx, dword [rsp + 0x68]
movzx r8d, cl
mov r9d, dword [rsp + 0x28]
mov dword [rsp + 0x68], edx
add r9d, r8d
mov byte [rsp + 0x7f], 0xae
mov edx, dword [rsp + 0x68]
or edx, dword [rsp + 0x68]
mov r10, qword [rsp + 0x58]
mov r8d, r10d
mov dword [rsp + 8], eax
mov eax, r8d
xor r8d, r8d
mov dword [rsp + 4], edx
mov edx, r8d
mov r8d, dword [rsp + 0x1c]
div r8d
mov r11d, dword [rsp + 4]
mov dword [rsp + 0x68], r11d
mov edx, edx
mov r10d, edx
mov byte [rsp + 0x7f], 0x20
mov rsi, qword [rsp + 0x20]
movzx edx, byte [rsi + r10]
add r9d, edx
mov cl, byte [rsp + 0xf]
and cl, cl
mov byte [rsp + 0x7f], cl
mov eax, r9d
cdq
mov r9d, dword [rsp + 8]
idiv r9d
movsxd r10, edx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x10]
mov cl, byte [rbx + r10]
mov byte [rdi], cl
mov r11d, dword [rsp + 0x68]
xor r11d, 0x3e054c21
mov dword [rsp + 0x68], r11d
mov cl, byte [rsp + 0x3f]
mov byte [rbx + r10], cl
mov r10, qword [rsp + 0x58]
add r10, 1
mov qword [rsp + 0x40], r10
imul rdi, qword [rsp + 0x70], 0x7f5b351a
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x4c], edx
cmp r10, 0x100
jne 0x14000121c
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004e820
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x30
lea rax, [fcn.14004e820]
mov qword [rsp + 0x28], 0x4f1db680
mov qword [rsp + 8], rax
jmp 0x14004e89f
mov rax, qword [rsp + 0x20]
sub rax, 0x7bc7e8c2
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
add rax, 0xffffffffb0e23980
mov dword [rsp + 0x18], 0x7384a05d
mov cl, byte [rsp + 0x1f]
mov rdx, qword [rsp + 0x28]
xor rdx, 0xffffffffb0e24680
and cl, 0xde
mov byte [rsp + 0x1f], cl
mov r8, qword [rsp]
add r8, rax
mov byte [rsp + 0x1f], 0xed
mov cl, byte [rsp + 0x1f]
xor cl, 0x1a
and r8, rdx
mov byte [rsp + 0x1f], cl
mov qword [rsp + 8], r8
jmp 0x14004e89f
mov rax, qword [rsp]
add rsp, 0x30
ret
mov rax, qword [rsp + 8]
mov cx, word [rsp + 0x16]
mov dx, word [rsp + 0x16]
mov r8w, word [rax]
sub cx, dx
mov word [rsp + 0x16], cx
cmp r8w, 0x5a4d
mov qword [rsp], rax
jne 0x14004e83b
imul rax, qword [rsp + 0x20], 0x3c9ee797
mov qword [rsp + 0x20], rax
mov al, byte [rsp + 0x1f]
mul byte [rsp + 0x1f]
mov byte [rsp + 0x1f], al
mov rcx, qword [rsp + 0x20]
add rcx, 0x123ebb8c
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp]
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
je 0x14004e896
jmp 0x14004e83b
Function at 0x14001f938
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14001f970
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
test eax, eax
jne 0x14001f978
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x20
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14001f972

Function at 0x14001fb98
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r15
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400e4ea8]
test rax, rax
je 0x14001fbc8
call rax
mov al, 1
jmp 0x14001fd45
xor eax, eax
mov dword [rbp - 0x30], 0xc53f0fd0
mov dword [rbp - 0x2c], 0x33d7f6
xor r9d, r9d
mov word [rbp - 0x28], 0x9bd3
movabs rsi, 0x8080808080808081
mov byte [rbp - 0x26], al
movabs r10, 0xd4b5eb0f2
lea r11d, [rax + 0xa]
movabs r14, 0x1545644e4
movabs r15, 0x1545644e5
mov cl, r9b
mov rax, rsi
mul r10
and cl, 7
mov r8, r14
shl cl, 3
shr r8, cl
mov rcx, r10
shr rdx, 7
add r10, r15
imul rax, rdx, 0xff
sub rcx, rax
mov rax, rsi
mul r11
xor r8b, cl
mov rcx, r11
shr rdx, 7
add r11, 0xa
imul rax, rdx, 0xff
sub rcx, rax
movabs rax, 0x1a96bd61e4
xor r8b, cl
xor r8b, r9b
xor byte [rbp + r9 - 0x30], r8b
inc r9
cmp r10, rax
jb 0x14001fc10
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x26], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r9, rax
test rax, rax
je 0x14001fd43
movdqa xmm0, xmmword [0x1400d6fb0]
xor r10d, r10d
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0xe324f236
movabs r11, 0x1beb13a6c9
mov word [rbp - 0xc], 0xf5
lea ebx, [r10 + 0x15]
mov cl, r10b
mov rax, rsi
mul r11
and cl, 7
mov r8, r14
shl cl, 3
shr r8, cl
mov rcx, r11
shr rdx, 7
add r11, r15
imul rax, rdx, 0xff
sub rcx, rax
mov rax, rsi
xor r8b, cl
mov rcx, rbx
mul rbx
add rbx, 0x15
shr rdx, 7
imul rax, rdx, 0xff
sub rcx, rax
movabs rax, 0x37d6274d92
xor r8b, cl
xor r8b, byte [rbp + r10 - 0x20]
xor r8b, r10b
mov byte [rbp + r10 - 0x20], r8b
inc r10
cmp r11, rax
jb 0x14001fcb9
lea rdx, [rbp - 0x20]
mov byte [rbp - 0xb], 0
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400e4ea8], rax
test rax, rax
jne 0x14001fbbf
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret