joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050f50
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x50
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dword [rsp + 0x20], ebp
xor edx, edx
mov edi, ebp
lea ecx, [rbp + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x140050fd9
nop dword [rax + rax]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, ntohs
mov rdi, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140050f90
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
test eax, eax
js 0x14005106b
mov ebx, ebp
cmp dword [rdi], ebx
jbe 0x14005106b
mov eax, ebx
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rdi + 0x2e]
lea rsi, [rcx + rdi]
add rdx, 0x30
mov qword [rsp + 0x38], rbp
add rdx, rcx
mov qword [rsp + 0x40], rbp
add rdx, rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bpl
jne 0x140051026
lea rcx, [rsp + 0x28]
call fcn.140003210
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
lea rdx, [0x140144668]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400510a0
lea rcx, [rsp + 0x28]
call fcn.1400068a0
inc ebx
cmp ebx, dword [rdi]
jb 0x140050ff1
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
xor eax, eax
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140120550
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
mov rbx, qword [rsi + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
lea rcx, [rsp + 0x28]
call fcn.1400068a0
mov rax, rbx
jmp 0x14005107e
Function at 0x14005ab10
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x14005abca
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14005ab70
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14004f1d0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
lea r9, [rsp + 0x30]
mov rcx, rbx
call fcn.14004e890
nop
lea rcx, [rsp + 0x40]
call fcn.14004e5b0
jmp 0x14005abef
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
xor r8d, r8d
lea rdx, [0x1401393e8]
mov rcx, rbx
call fcn.140003210
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140120550
add rsp, 0x280
pop rbx
ret
Function at 0x14006fb10
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14006fbdc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14006fbdc
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 0x14006fbf5
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 0x14006fbcc
cmp byte [rax], 0x5c
jne 0x14006fbc6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14006fbc6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14006fbb2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14006fbc3
test r8b, 0x10
jne 0x14006fbc6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14006fbc6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14006bc60
test edi, edi
jne 0x14006fb30
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.14006bc50
int3
Function at 0x140074c50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov r13, r9
mov r15, r8
mov r14, rdx
mov rbp, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rdx
mov rbx, rdx
lea rax, [r8 - 1]
mov qword [rsp + 0x20], rax
mov r12, rax
sar r12, 1
cmp rdx, r12
jge 0x140074d20
nop dword [rax]
nop word [rax + rax]
lea rdi, [rbx + rbx]
lea rbx, [rdi + 2]
shl rbx, 5
add rbx, rbp
lea rdx, [rbx - 0x20]
lea rcx, [rsp + 0x50]
call fcn.14004de20
or esi, 1
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14004de20
or esi, 2
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.1400734b0
movzx ebx, al
lea rcx, [rsp + 0x30]
call fcn.14004e5b0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e5b0
xor rbx, 1
inc rbx
add rbx, rdi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
shl r14, 5
lea rcx, [r14 + rbp]
call fcn.140072aa0
mov r14, rbx
cmp rbx, r12
jl 0x140074ca0
mov rdi, rbx
cmp rbx, r12
jne 0x140074d4b
test r15b, 1
jne 0x140074d4b
shl r15, 5
lea rdx, [rbp - 0x20]
add rdx, r15
shl rbx, 5
lea rcx, [rbx + rbp]
call fcn.140072aa0
mov rdi, qword [rsp + 0x20]
lea rbx, [rdi - 1]
mov r15, qword [rsp + 0x28]
sar rbx, 1
cmp r15, rdi
jge 0x140074da9
mov rdx, r13
lea rcx, [rsp + 0x30]
call fcn.14004de20
or esi, 0x10
or esi, 4
mov dword [rsp + 0x20], esi
mov rdx, rbx
shl rdx, 5
add rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.14004de20
or esi, 0x20
or esi, 8
mov dword [rsp + 0x20], esi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
call fcn.1400734b0
test al, al
je 0x140074da9
mov r14b, 1
jmp 0x140074dac
xor r14b, r14b
test sil, 8
je 0x140074dc0
and esi, 0xfffffff7
lea rcx, [rsp + 0x50]
call fcn.14004e5b0
nop
test sil, 4
je 0x140074dd3
and esi, 0xfffffffb
lea rcx, [rsp + 0x30]
call fcn.14004e5b0
shl rdi, 5
lea rcx, [rdi + rbp]
test r14b, r14b
je 0x140074dfa
mov rdx, rbx
shl rdx, 5
add rdx, rbp
call fcn.140072aa0
mov rdi, rbx
dec rbx
jmp 0x140074d54
mov rdx, r13
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
jmp fcn.140072aa0

Function at 0x140076740
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14007679d
lea rbx, [0x14013c0b0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140076784
cmp r10, 2
jb 0x140076784
cmp byte [r9], r8b
jne 0x140076784
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140076760
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400767df
lea rbx, [0x14013c0b0]
cmp r8b, 0x23
jne 0x1400767c3
cmp byte [r9], r8b
jne 0x1400767c3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400767b0
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140076920
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14007693a
mov qword [r8], 0
lea rdx, [0x140140f44]
call fcn.1400767f0
mov rbx, rax
test rax, rax
jne 0x14007695a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140076a31
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140076a31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140076a31
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140076a31
cmp rdi, 0xffffffffffffffff
je 0x140076a31
mov rax, qword [0x1401cf720]
test rax, rax
je 0x1400769ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140076a31
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140076a1e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cf720]
test rax, rax
je 0x140076a13
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140076a3a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140076a2c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140076a3c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140078ee0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14013c0b0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1401cf720]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x140078f76
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14008b3d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x1400855e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401cf720]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x140085641
cmp byte [rbx + 0x423e], 0
jne 0x140085641
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140076600
test dil, 1
je 0x140085768
jmp 0x1400856ca
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5332]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14014efe8]
mulss xmm1, dword [0x14014efc4]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14014eeb4]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
call fcn.140076600
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140085720
lea r11, [0x14013c0b0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140085703
cmp byte [r8], r9b
jne 0x140085703
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400856f0
not ecx
call fcn.14007e480
test rax, rax
je 0x140085768
cmp byte [rax + 0x96], 0
je 0x140085768
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5332]
call fcn.140076600
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.140080bf0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140120550
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14008a080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14008a127
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14008a0da
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14008bf60
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140076e40
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401cf6ff]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14008a12f
mov rcx, rbx
call fcn.140076e40
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14008a6a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401cf720]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14008a703
mov qword [rsp], rbx
lea rbx, [0x14013c0b0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14008a6e3
cmp byte [r8], r9b
jne 0x14008a6e3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x14008a6d0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14008a737
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14008a73e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14008a724
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400b8650
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0xa8], 0x104
call qword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xb0]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_QueryFullProcessImageNameW]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xa0], 0
je 0x1400b86f7
cmp qword [rsp + 0xa0], 0xffffffffffffffff
jne 0x1400b874e
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400b8866
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400b87ed
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
jmp 0x1400b8866
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
add rax, 8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov qword [rax], rcx
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140120550
add rsp, 0x2d8
ret
Function at 0x1400b9200
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
sub rsp, 0x38
xor edx, edx
lea rcx, [0x1400ba2c0]
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.1400b97d0
call fcn.1400b97f0
call fcn.1400b9f70
call fcn.1400ce950
call fcn.1400bd860
call fcn.1400b98d0
call fcn.1400b93c0
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, [0x14012997c]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x20], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, [0x14012997c]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x21], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, [0x14012997c]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x22], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, [0x14012997c]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x23], al
mov eax, 4
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 4
lea rdx, [0x14012997c]
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], 0
mov byte [rsp + 0x26], 1
lea rcx, [rsp + 0x20]
call fcn.1400bdb30
lea rax, [rsp + 0x20]
xor edx, edx
mov rcx, rax
call fcn.1400bc680
movzx eax, al
test eax, eax
je 0x1400b933c
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
call qword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x1400b935d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
call fcn.1400b9ca0
test eax, eax
je 0x1400b937d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
call fcn.1400b9da0
test eax, eax
je 0x1400b939d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
call fcn.1400b97d0
add rsp, 0x38
ret
Function at 0x1400b93e0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push rdi
sub rsp, 0x1a0
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x58]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_26
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0xb0
rep stosb byte [rdi], al
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov r8d, 0x10002
mov edx, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_ContinueDebugEvent]
mov edx, 0xffffffff
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.DLL_WaitForDebugEvent]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140120550
add rsp, 0x1a0
pop rdi
ret

Function at 0x1400b97f0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x510
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x500], rax
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x60], 0x100010
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.DLL_GetThreadContext]
test eax, eax
je 0x1400b9892
cmp qword [rsp + 0x78], 0
jne 0x1400b988a
cmp qword [rsp + 0x80], 0
jne 0x1400b988a
cmp qword [rsp + 0x88], 0
jne 0x1400b988a
cmp qword [rsp + 0x90], 0
jne 0x1400b988a
cmp qword [rsp + 0x98], 0
jne 0x1400b988a
cmp qword [rsp + 0xa0], 0
je 0x1400b9892
mov dword [rsp + 0x20], 1
cmp dword [rsp + 0x20], 0
je 0x1400b98b0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140120550
add rsp, 0x510
pop rdi
ret
Function at 0x1400b98d0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x58
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400b9a5d
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0
jmp 0x1400b994a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1400b9a5d
xor eax, eax
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 0
lea rdx, str..SCY
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x24], al
mov eax, 1
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 1
lea rdx, str..SCY
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x25], al
mov eax, 2
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 2
lea rdx, str..SCY
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x26], al
mov eax, 3
add rax, 0x7b
mov ecx, 1
imul rcx, rcx, 3
lea rdx, str..SCY
movsx rcx, byte [rdx + rcx]
xor rcx, rax
mov rax, rcx
mov byte [rsp + 0x27], al
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x29], 1
lea rcx, [rsp + 0x24]
call fcn.1400bdab0
lea rax, [rsp + 0x24]
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x24]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400b9a38
inc rax
test dl, dl
jne 0x1400b9a25
xor eax, eax
jmp 0x1400b9a3d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400b9a58
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [0], 0x1565
xor ecx, ecx
int 0x29
jmp 0x1400b9932
add rsp, 0x58
ret
Function at 0x1400b9ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push rdi
sub rsp, 0x80
mov rax, qword [0x1401821c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [rsp + 0x44]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400b9d19
xor eax, eax
jmp 0x1400b9d83
mov rdi, qword [rsp + 0x20]
mov eax, 0xc3
mov ecx, 1
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x70]
mov r8d, 0x140
mov edx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
jne 0x1400b9d4e
xor eax, eax
jmp 0x1400b9d83
call qword [rsp + reloc.WLDAP32.dll_Ordinal_32]
jmp 0x1400b9d6b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140120550
add rsp, 0x80
pop rdi
ret