joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007492
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x1400153e8]
test eax, eax
je 0x14000752a
lea rax, [0x1400153c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x1400153f0]
mov qword [rbp - 8], rax
jmp 0x14000750e
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 0x140007502
cmp qword [rbp - 0x10], 0
je 0x140007502
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 0x1400074c8
lea rax, [0x1400153c0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000752b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140007630
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 0x140007658
mov eax, 0
jmp 0x1400076a6
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 0x140007681
mov eax, 0
jmp 0x1400076a6
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 0x1400076a1
mov eax, 0
jmp 0x1400076a6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x1400076ac
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 0x14000772a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140007721
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 0x140007721
mov rax, qword [rbp - 8]
jmp 0x14000773f
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 0x1400076f4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140008b70
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14000f1e0], rbx
je 0x140008bbc
cmp rax, rbx
jne 0x140008baf
mov ebx, 1
mov esi, ebx
jmp 0x140008bc1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008b94
mov ebx, 1
mov eax, dword [0x14000f1e8]
cmp eax, ebx
jne 0x140008bd7
mov ecx, 0x1f
call fcn.14009f000
jmp 0x140008c3c
mov eax, dword [0x14000f1e8]
test eax, eax
jne 0x140008c36
mov dword [0x14000f1e8], ebx
lea r15, [0x14000a4f8]
lea rdi, [0x14000a4e0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140008c28
test eax, eax
jne 0x140008c2c
cmp qword [rdi], 0
je 0x140008c1d
mov rax, qword [rdi]
mov rcx, qword [0x14000a490]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x140008bfe
test eax, eax
je 0x140008c3c
mov eax, 0xff
jmp 0x140008d18
mov dword [0x14000e0d4], ebx
mov eax, dword [0x14000f1e8]
cmp eax, ebx
jne 0x140008c63
lea rdx, [0x14000a4d8]
lea rcx, [0x14000a498]
call sub.msvcrt.dll__initterm
mov dword [0x14000f1e8], 2
test esi, esi
jne 0x140008c70
xor eax, eax
xchg qword [0x14000f1e0], rax
cmp qword [0x14000f200], 0
je 0x140008ca4
lea rcx, [0x14000f200]
call fcn.140008ff0
test eax, eax
je 0x140008ca4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14000f200]
mov r9, qword [0x14000a490]
call r9
mov r8, qword [0x14000e0e8]
mov rdx, qword [0x14000e0e0]
mov ecx, dword [0x14000e0d8]
call fcn.14000478c
mov dword [0x14000e0d0], eax
cmp dword [0x14000e0f0], 0
jne 0x140008cd4
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e0d4], 0
jne 0x140008ce9
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e0d0]
jmp 0x140008d18
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.140009084
add rsp, 0x28
jmp 0x140008b70

Function at 0x140008edc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008f28
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008f20
cmp dword [rcx + 0x3c], edx
jl 0x140008f20
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008f20
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140008f28
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1400b91d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400b91dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400b91ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400b91d5
lea eax, [rcx + 1]
jmp 0x1400b91fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400b920e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400b91f4
sub eax, 3
jb 0x1400b922e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400b927d
sar eax, 1
movsxd rbp, eax
jb 0x1400b9264
jmp 0x1400b923c
add ebx, ebx
jne 0x1400b923a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400b9264
inc ecx
add ebx, ebx
jne 0x1400b924a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400b9264
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400b925d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400b924c
add ecx, 2
jmp 0x1400b9269
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400b9192
jmp 0x1400b91dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x5000
mov dl, 2
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400b92c9
cmp rsi, rcx
jae 0x1400b92d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400b92b0
cmp al, 0x8f
ja 0x1400b92b0
cmp byte [rsi - 2], 0xf
je 0x1400b92b6
sub al, 0xe8
cmp al, 1
ja 0x1400b929a
cmp rsi, rcx
jae 0x1400b92d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400b92a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400b92d1
lodsb al, byte [rsi]
jmp 0x1400b92b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xb7000]
mov eax, dword [rdi]
or eax, eax
je 0x1400b932e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc4678]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400b92de
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1400b9328
mov qword [rbx], rax
add rbx, 8
jmp 0x1400b92fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400b9368
cmp al, 0xef
ja 0x1400b935a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400b933a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400b9349
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x22f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400b93bc
sub rsp, 0xffffffffffffff80
jmp 0x140004f5c
Function at 0x140004ef0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x140004f40
xor r8d, r8d
lea rcx, str.http:__www.google.com
lea edx, [r8 + 1]
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
je 0x140004f40
mov al, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x38
ret
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x38
ret
Function at 0x140006390
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 1], rcx
xor r14d, r14d
mov dword [rbp - 0x25], r14d
mov dword [rbp - 1], r14d
mov rdx, r8
cmp qword [r8 + 0x18], 7
jbe 0x1400063d6
mov rdx, qword [r8]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xorps xmm0, xmm0
test eax, eax
je 0x14000641d
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x140055269]
mov rcx, rbx
call fcn.140004c00
jmp 0x1400064d8
mov r8d, dword [rbp - 0x25]
shr r8, 1
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
lea rcx, [rbp - 0x21]
call fcn.140048730
nop
lea rax, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rax, qword [rbp - 0x21]
cmp qword [rdi + 0x18], 7
jbe 0x140006452
mov rdi, qword [rdi]
lea rcx, [rbp - 0x25]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 1]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1400064f5
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x140055269]
mov rcx, rbx
call fcn.140004c00
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x1400064d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400065dd
call fcn.14004de50
mov rax, rbx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14004de30
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 9]
test r8, r8
je 0x14000653f
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
lea r9, [r8 - 1]
cmp word [rax + r9*2], 0
jne 0x14000653f
mov qword [rbp - 0x11], r9
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
mov word [rax + r9*2], r14w
mov rdx, qword [rbp - 9]
mov r8, qword [rbp - 0x11]
mov rcx, qword [rbp - 0x21]
lea rax, [rbp - 0x21]
cmp rdx, 7
cmova rax, rcx
lea r9, [rax + r8*2]
lea rax, [rbp - 0x21]
cmova rax, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
cmp rax, r9
jne 0x140006579
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
jmp 0x140006593
sub r9, rax
sar r9, 1
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140049cb0
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x21]
movups xmm0, xmmword [rbp + 7]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rbx + 0x10], xmm1
cmp rdx, 7
jbe 0x1400064d8
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400064d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400064d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140007720
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x1070
call fcn.14004e560
sub rsp, rax
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
lea rcx, [0x1400558b0]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x1400077b5
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
lea rdx, str.http:__ifconfig.me_ip
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r14, rax
test rax, rax
jne 0x1400077dd
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov r8d, 5
lea rdx, str.Error
mov rcx, rsi
call fcn.140004c00
jmp 0x1400078d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov rbx, r12
mov qword [rsp + 0x50], rbx
mov ebp, 0xf
mov qword [rsp + 0x58], rbp
mov byte [rsp + 0x40], bl
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400078ad
nop dword [rax]
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x1400078ad
mov edi, eax
mov rax, rbp
sub rax, rbx
cmp rdi, rax
ja 0x14000786a
lea rax, [rbx + rdi]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rbp, 0xf
cmova rax, qword [rsp + 0x40]
add rbx, rax
mov r8d, edi
lea rdx, [rsp + 0x60]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140007881
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x60]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140048a70
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400078ad
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
jmp 0x140007820
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140008230
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x140008343
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1400082a0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14001a7f0
nop
mov r8d, 5
lea rdx, str.Temp
lea rcx, [rsp + 0x38]
call fcn.140041c10
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140008360
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000833c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000833c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
jmp 0x140008360
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
xor r8d, r8d
lea rdx, [0x1400559ac]
mov rcx, rbx
call fcn.14001a7f0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
Function at 0x140011ab0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
mov dword [rsp + 0x44], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x44], 1
mov rcx, qword [rdx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
cmp rax, 2
jb 0x140011cda
cmp qword [rdx + 0x18], 7
jbe 0x140011b24
mov rdx, qword [rdx]
mov qword [rsp + 0x30], 2
lea rax, [0x140057d3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
lea rcx, [rsp + 0x48]
call fcn.140049820
mov dword [rsp + 0x44], 3
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140011bb6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011bb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011bb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004de50
movdqa xmm0, xmmword [0x14005ce50]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
cmp rdi, 0xffffffffffffffff
je 0x140011cae
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
lea rax, [rbp - 0x44]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140011c00
lea rdx, [rbp - 0x44]
lea rcx, [rsp + 0x70]
call fcn.14001a7f0
nop
mov eax, dword [rbp - 0x70]
shr eax, 4
test al, 1
jne 0x140011c53
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140011c42
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14001aa70
add qword [rbx + 8], 0x20
jmp 0x140011c53
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, rbx
call fcn.14004ae60
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140011c90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011cd3
call fcn.14004de50
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140011be0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002030
int3
Function at 0x140012270
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [str._JMOZPRS___a_d]
movzx eax, byte [0x14005c7a0]
xor r9d, r9d
cmp dword [0x14006a098], 2
mov rsi, rcx
movups xmmword [rsp + 0x40], xmm0
mov ecx, r9d
mov byte [rsp + 0x58], al
movsd xmm0, qword [0x14005c798]
movsd qword [rsp + 0x50], xmm0
jl 0x140012419
movdqa xmm0, xmmword [0x14005ced0]
lea rdx, [rsp + 0x40]
movdqa xmm5, xmmword [0x14005ce70]
movdqa xmm4, xmmword [0x14005cee0]
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x14005ce90]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14005cec0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14005cec0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x18
jl 0x140012310
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x19
jge 0x14001245d
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140012430
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r9
mov rbp, 0xffffffffffffffff
mov r9d, ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.14004e1ac
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, rdi
xor r8d, r8d
mov edx, 0xc2
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rdi
call fcn.14004de50
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004de30
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret