joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041270
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor esi, esi
lea r8, [0x14003cc20]
mov rbx, rcx
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rax, [0x14003c7c0]
mov qword [rsp + 0x70], 0x50
mov edx, 0x7f00
mov qword [rsp + 0x78], rax
xor ecx, ecx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rsi
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0x90], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xorps xmm0, xmm0
lea rdi, [0x14004a364]
mov edx, 0x7f00
mov qword [rsp + 0x98], rax
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xb8], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rsp + 0x88]
mov r9d, 0x80000000
mov qword [rsp + 0x58], rsi
mov r8, rdi
mov qword [rsp + 0x50], rax
mov rdx, rdi
mov eax, dword [rsp + 0x6c]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea edx, [rsi - 0x14]
mov r8d, 0x80020
mov rcx, rax
mov qword [rbx + 0x50], rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x50]
lea r9d, [rsi + 2]
mov r8b, 0xff
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x14004ab90]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rbx + 0x50]
movdqu xmmword [rsp + 0xc0], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x50]
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [rbx + 0x50]
mov rcx, rbx
call fcn.14003c830
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call fcn.140040e40
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400417d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140042468
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push r14
push r15
sub rsp, 0x30
mov r14, rcx
mov qword [rcx], 0
mov ecx, 0x28
mov rbp, r8
mov r15, rdx
call fcn.140006670
mov rbx, rax
test rax, rax
jne 0x140042cb2
lea eax, [rbx + 7]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
cmp byte [0x14015de44], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
je 0x140042d16
mov rax, qword [0x14015dfd0]
test rax, rax
je 0x140042cdc
mov ecx, 0xc8
call rax
test eax, eax
jne 0x140042d16
lea rsi, [rbx + 8]
mov qword [rbx + 0x10], r15
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov dword [rsp + 0x20], 0
lea r8, [0x140009af0]
mov qword [rbx + 0x18], rbp
xor edx, edx
xor ecx, ecx
call fcn.1401035bc
mov qword [rbx], rax
test rax, rax
jne 0x140042d2e
jmp 0x140042d1e
lea rdi, [rbx + 0x10]
lea rsi, [rbx + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
cmp qword [rdi], 0
mov rdi, qword [rsp + 0x58]
jne 0x140042d4b
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, rbp
mov dword [rsi], eax
call r15
mov qword [rbx + 0x20], rax
mov rsi, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rbp
ret
Function at 0x140077100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rsi, qword [rcx + 0x98]
mov rbx, rcx
mov rax, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test rsi, rsi
je 0x14007731a
mov qword [rsp + 0x68], rbp
xor r9d, r9d
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x38], r14
nop dword [rax]
nop word [rax + rax]
movsxd rbp, dword [rsi + 0x10]
lea r12, [rdi + 0x88]
mov r15d, dword [rsi + 0x14]
shl rbp, 5
add rbp, qword [rax + 0x20]
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x140077178
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140077188
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xd8]
movsxd rcx, dword [rdi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rdi + 0x94], ecx
jg 0x1400771b5
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rdi
call fcn.140031760
jmp 0x1400771e0
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov r9, qword [rbp + 0x18]
xor edx, edx
mov r8d, dword [rsi + 0x10]
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.140076400
mov eax, dword [rdi + 0x90]
add eax, 5
cmp eax, dword [rdi + 0x94]
jle 0x14007721f
mov rcx, rdi
call fcn.140031620
test eax, eax
jne 0x140077301
movsxd rax, dword [rdi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rdi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], 0x80
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rdi + 0x90], 5
test rdx, rdx
je 0x140077301
mov dword [rdx + 0x3c], r14d
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], r14d
test r14d, r14d
je 0x1400772f0
movzx eax, byte [rbx + 0x1f]
cmp al, cl
jae 0x1400772f0
mov dword [rbx + rax*4 + 0xd8], r14d
inc byte [rbx + 0x1f]
mov rsi, qword [rsi]
mov rax, qword [rsp + 0x60]
test rsi, rsi
jne 0x140077150
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d0960
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14015d010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x48], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x1400d0b4b
mov dword [rbp - 0x60], 0x238
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400d0b4b
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400d0b42
mov r10d, 0x68
lea r9d, [r10 - 0x5b]
lea r8d, [r10 - 0x58]
lea edx, [r10 - 0x22]
mov ecx, 0xd119d768
mov rdi, qword [0x1401632e0]
mov r14, qword [0x1401632e8]
cmp rdi, r14
je 0x1400d09d6
movd xmm2, ecx
movd xmm0, edx
vpxor xmm1, xmm0, xmm2
movd r15d, xmm1
movd xmm0, r8d
vpxor xmm1, xmm0, xmm2
movd r12d, xmm1
movd xmm0, r9d
vpxor xmm1, xmm0, xmm2
movd esi, xmm1
movd xmm0, r10d
vpxor xmm1, xmm0, xmm2
movd r13d, xmm1
nop
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.1400d11c0
mov byte [rsp + 0x70], r15b
mov byte [rsp + 0x71], sil
mov byte [rsp + 0x72], r12b
mov byte [rsp + 0x73], sil
mov byte [rsp + 0x74], r13b
lea rax, [rsp + 0x70]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400d0a82
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rbp - 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x1400d0b7d
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae r9, qword [rsp + 0x78]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x50]
call fcn.1400d1570
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
lea rax, [rbp - 0x34]
sub rdx, rax
nop dword [rax + rax]
movzx ebx, byte [rax]
movzx ecx, byte [rax + rdx]
sub ebx, ecx
jne 0x1400d0b02
inc rax
test ecx, ecx
jne 0x1400d0af0
lea rcx, [rsp + 0x50]
call fcn.1400d1370
lea rcx, [rsp + 0x78]
test ebx, ebx
je 0x1400d0b31
call fcn.1400d1370
add rdi, 0x20
cmp rdi, r14
jne 0x1400d0a50
mov rbx, qword [rsp + 0x40]
jmp 0x1400d09d6
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
call fcn.1400d1370
mov al, 1
jmp 0x1400d0b4d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1400faff0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d0940
int3
Function at 0x1400d92d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x1400d92f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400d936c
mov rdi, r14
mov rcx, rbx
call fcn.1400dbc50
test rax, rax
jle 0x1400d9344
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.1400ff4e0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400d935c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400d9364
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x1400d9306
sub r14, rdi
jmp 0x1400d944f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400d9383
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400d9385
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400d93b7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400ff4e0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400d944c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400d93f2
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1400d942d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14010c09c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400d944c
cmp rbp, rax
ja 0x1400d9400
test rbp, rbp
je 0x1400d944c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14010c09c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x1400ec000
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x1400ec034
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x1400ec020
ret
Function at 0x1400f0ef0
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 0x1400f0fbc
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400f0fbc
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 0x1400f0fd5
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 0x1400f0fac
cmp byte [rax], 0x5c
jne 0x1400f0fa6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400f0fa6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400f0f92
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400f0fa3
test r8b, 0x10
jne 0x1400f0fa6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400f0fa6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400ed0b0
test edi, edi
jne 0x1400f0f10
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.1400ed0a0
int3
Function at 0x1400f4550
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14015d010]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
call fcn.14010c4e8
lea ecx, [rax - 0x41]
cmp ecx, 0x19
jbe 0x1400f4592
lea ecx, [rax - 0x30]
cmp ecx, 9
jbe 0x1400f4592
lea ecx, [rax - 0x61]
cmp ecx, 0x19
ja 0x1400f4575
mov byte [rbp + rbx - 0x28], al
inc rbx
cmp rbx, 0x1f
jl 0x1400f4575
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x28]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1400f45c0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call fcn.1400d1420
mov rdx, qword [0x140160f70]
cmp rdx, 0x10
jb 0x1400f4618
mov rcx, qword [0x140160f58]
inc rdx
cmp rdx, 0x1000
jb 0x1400f4613
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f47bb
mov rcx, r8
call fcn.1400fb608
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [0x140160f58], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [0x140160f68], xmm1
movdqa xmm0, xmmword [0x1401474e0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.1400d1370
mov r8d, 4
lea rdx, str..txt
lea rcx, [0x140160f58]
call fcn.1400d3dd0
nop
xor ebx, ebx
call fcn.14010c4e8
lea ecx, [rax - 0x41]
cmp ecx, 0x19
jbe 0x1400f4681
lea ecx, [rax - 0x30]
cmp ecx, 9
jbe 0x1400f4681
lea ecx, [rax - 0x61]
cmp ecx, 0x19
ja 0x1400f4664
mov byte [rbp + rbx - 0x28], al
inc rbx
cmp rbx, 0x1f
jl 0x1400f4664
mov byte [rbp - 9], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rax, [rbp - 0x28]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400f46a5
mov r8, rdi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call fcn.1400d1420
mov rdx, qword [0x140160f50]
cmp rdx, 0x10
jb 0x1400f46ff
inc rdx
mov rcx, qword [0x140160f38]
cmp rdx, 0x1000
jb 0x1400f46fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400f47bb
mov rcx, r8
call fcn.1400fb608
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [0x140160f38], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [0x140160f48], xmm1
movdqa xmm0, xmmword [0x1401474e0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
lea rcx, [rbp - 0x60]
call fcn.1400d1370
mov r8d, 4
lea rdx, str..ps1
lea rcx, [0x140160f38]
call fcn.1400d3dd0
mov dword [rbp - 0x40], 0x18
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x38], 0
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [0x1401638b8]
lea rcx, [0x1401638b0]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400f4798
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [0x1401638b0]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
setne al
jmp 0x1400f479a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400faff0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14010432c
int3
Function at 0x1400f8460
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14015d010]
xor rax, rsp
mov qword [rbp + 0x47], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call fcn.14010c7b8
mov rcx, rax
call fcn.14010c514
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d0960
test al, al
jne 0x1400f84c3
call fcn.1400d0b90
test al, al
jne 0x1400f84c3
lea rcx, [rbp - 0x69]
call fcn.1400d0bb0
cmp byte [rbp - 0x69], 0
jne 0x1400f85f4
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d30b0
test al, al
jne 0x1400f857d
mov ecx, 0x50
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
jne 0x1400f8567
lea ecx, [rax + 0x4e]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, eax
mov rcx, qword [0x140163340]
mov rdx, qword [0x140163348]
cmp rcx, rdx
je 0x1400f86ab
cmp dword [rcx], ebx
je 0x1400f8534
add rcx, 4
cmp rcx, rdx
jne 0x1400f8522
jmp 0x1400f85f4
mov rax, qword [0x140163328]
mov rcx, qword [0x140163330]
cmp rax, rcx
je 0x1400f86ab
nop dword [rax + rax]
cmp dword [rax], r8d
je 0x1400f8563
add rax, 4
cmp rax, rcx
jne 0x1400f8550
jmp 0x1400f85f4
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x69]
call fcn.1400d3330
test al, al
jne 0x1400f857d
lea rcx, [rbp - 0x69]
call fcn.1400d35f0
cmp byte [rbp - 0x69], 0
jne 0x1400f85f4
call fcn.1400f4550
test al, al
je 0x1400f85f4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x39]
call fcn.1400f47d0
cmp qword [rbp + 0x2f], 0
je 0x1400f85d8
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x61]
call fcn.1400d11c0
nop
lea rcx, [rbp - 0x61]
call fcn.1400f86c0
lea rcx, [rbp + 0x1f]
call fcn.1400d1370
lea rcx, [rbp + 7]
call fcn.1400d12e0
lea rcx, [rbp - 0x39]
call fcn.1400f4e70
nop
mov rcx, qword [0x1401638b0]
test rcx, rcx
je 0x1400f8606
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401638b8]
test rcx, rcx
je 0x1400f8618
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rbx, [0x140160f58]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400d11c0
mov rcx, rax
call fcn.1400fab70
test al, al
je 0x1400f864f
cmp qword [0x140160f70], 0x10
cmovae rbx, qword [0x140160f58]
mov rcx, rbx
call fcn.140108558
lea rbx, [0x140160f38]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400d11c0
mov rcx, rax
call fcn.1400fab70
test al, al
je 0x1400f8687
cmp qword [0x140160f50], 0x10
cmovae rbx, qword [0x140160f38]
mov rcx, rbx
call fcn.140108558
nop
call fcn.1400f92c0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400faff0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
mov byte [rbp - 0x69], 1
jmp 0x1400f85f4
Function at 0x1400fad30
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path

Disassembly:
push rbx
sub rsp, 0x200
mov rax, qword [0x14015d010]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rbx, rdx
lea rcx, [rsp + 0xe0]
xor edx, edx
mov r8d, 0x104
call fcn.1400ff0e0
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov rax, qword [0x1401638b8]
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rax
xor ecx, ecx
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xc8], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ecx
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0xac], 0x101
movups xmmword [rsp + 0x80], xmm0
mov word [rsp + 0xb0], cx
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400fae49
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400fae4b
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1400faff0
add rsp, 0x200
pop rbx
ret

Function at 0x1400fbc04
Capabilities:
Parse pe header

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

Function at 0x1400fc250
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400fc2d4
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140129d60]
cmp byte [rcx + rax], 0
je 0x1400fc2d4
dec r8
sub rdx, 1
jne 0x1400fc2ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14010cd64
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14010cb54