joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001ad4c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14d, dword [rcx + 4]
xor r10d, r10d
movups xmm0, xmmword [rdx]
sub r14d, 6
xor ebx, ebx
movups xmm1, xmmword [rdx + 0x10]
xor r9d, r9d
movsxd r8, r14d
lea r12d, [r10 + 4]
mov rsi, rcx
lea r15d, [r10 + 1]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
test r14d, r14d
jle 0x14001adf3
xor edx, edx
xor r11d, r11d
cmp r10d, dword [rsi + 4]
jg 0x14001af41
cmp r9, r8
jge 0x14001addf
lea rdi, [rbp - 0x30]
lea rdi, [rdi + r9*4]
cmp rdx, r12
jge 0x14001ade2
mov eax, dword [rdi]
lea rcx, [r11 + rdx]
add rdi, r12
mov dword [rsi + rcx*4 + 0x18], eax
add rdx, r15
add r9, r15
add ebx, r15d
cmp r9, r8
jl 0x14001adbf
cmp rdx, r12
jne 0x14001adee
add r10d, r15d
add r11, r12
xor ebx, ebx
xor edx, edx
cmp r9, r8
jl 0x14001ada8
cmp r10d, dword [rsi + 4]
jg 0x14001af41
movsxd r11, ebx
lea r13, [0x1400603f0]
lea rbx, [0x1400605f0]
movsxd rdi, r10d
movzx ecx, byte [rbp + r8*4 - 0x33]
mov al, byte [rbp - 0x30]
xor al, byte [rcx + r13]
mov byte [rbp - 0x30], al
movzx eax, byte [rbp + r8*4 - 0x32]
mov al, byte [rax + r13]
xor byte [rbp - 0x2f], al
movzx eax, byte [rbp + r8*4 - 0x31]
mov al, byte [rax + r13]
xor byte [rbp - 0x2e], al
movzx eax, byte [rbp + r8*4 - 0x34]
mov al, byte [rax + r13]
xor byte [rbp - 0x2d], al
mov al, byte [rbx]
add rbx, r15
xor byte [rbp - 0x30], al
cmp r14d, 8
je 0x14001ae7e
cmp r8, r15
jle 0x14001aeec
lea rcx, [rbp - 0x2c]
lea r9, [r8 - 1]
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x14001ae6a
sub r9, r15
jne 0x14001ae67
jmp 0x14001aeec
lea rcx, [rbp - 0x2c]
mov r9d, 3
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x14001ae8b
sub r9, r15
jne 0x14001ae88
movzx eax, byte [rbp - 0x24]
mov al, byte [rax + r13]
xor byte [rbp - 0x20], al
movzx eax, byte [rbp - 0x23]
mov al, byte [rax + r13]
xor byte [rbp - 0x1f], al
movzx eax, byte [rbp - 0x22]
mov al, byte [rax + r13]
xor byte [rbp - 0x1e], al
movzx eax, byte [rbp - 0x21]
mov al, byte [rax + r13]
xor byte [rbp - 0x1d], al
cmp r8, 5
jle 0x14001aeec
lea rcx, [rbp - 0x1c]
lea r9, [r8 - 5]
mov rdx, r12
mov al, byte [rcx - 4]
xor byte [rcx], al
add rcx, r15
sub rdx, r15
jne 0x14001aeda
sub r9, r15
jne 0x14001aed7
xor edx, edx
test r14d, r14d
jle 0x14001af37
cmp r10d, dword [rsi + 4]
jg 0x14001af41
cmp rdx, r8
jge 0x14001af24
lea r9, [rbp - 0x30]
lea r9, [r9 + rdx*4]
cmp r11, r12
jge 0x14001af27
mov eax, dword [r9]
lea rcx, [r11 + rdi*4]
add r9, r12
mov dword [rsi + rcx*4 + 0x18], eax
add r11, r15
add rdx, r15
cmp rdx, r8
jl 0x14001af06
cmp r11, r12
jne 0x14001af32
add r10d, r15d
add rdi, r15
xor r11d, r11d
cmp rdx, r8
jl 0x14001aef3
cmp r10d, dword [rsi + 4]
jle 0x14001ae11
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14002d0f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001bde4
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rsi, qword [rsp + 0x78]
xor ebx, ebx
mov rbp, qword [rsp + 0x70]
mov r12, r9
mov r14d, r8d
mov r15d, edx
mov rdi, rcx
test edx, edx
jne 0x14001be28
mov r8, rsi
mov rcx, rbp
call fcn.14002ff20
mov qword [rsp + 0x28], rsi
mov r9, r12
mov r8d, r14d
mov qword [rsp + 0x20], rbp
mov edx, r15d
mov rcx, rdi
call fcn.14001bb3c
test al, al
jne 0x14001bef0
test r14d, r14d
jne 0x14001bea6
cmp qword [rdi + 0x38], rsi
je 0x14001be81
mov rcx, qword [rdi + 0x30]
call fcn.14002d524
mov rcx, 0xffffffffffffffff
lea eax, [r14 + 4]
mul rsi
cmovo rax, rcx
mov rcx, rax
call fcn.14002d51c
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov r8, rbx
test rsi, rsi
je 0x14001bea6
movzx edx, word [r8 + r12]
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x30]
mov eax, dword [rax + rdx*4]
mov dword [rcx + r8*4], eax
add r8, 2
cmp r8, rsi
jb 0x14001be89
mov ecx, dword [rdi + 0x14]
mov rax, qword [rdi + 0x28]
imul ecx, r14d
add ecx, r15d
mov edx, dword [rax + rcx*4]
mov rax, qword [rdi + 8]
mov r8d, dword [rax + rdx*4]
test rsi, rsi
je 0x14001bef0
dec rsi
shr rsi, 1
inc rsi
mov rax, qword [rdi + 0x30]
mov ecx, dword [rbx + rax]
lea rbx, [rbx + 8]
mov rax, qword [rdi]
add ecx, r8d
movzx ecx, word [rax + rcx*4]
xor word [rbp], cx
lea rbp, [rbp + 2]
sub rsi, 1
jne 0x14001becd
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x14001ce64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x1040
call fcn.14002d080
sub rsp, rax
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rsp + 0x1030], rax
xor r14d, r14d
mov rbx, rdx
mov rsi, rcx
cmp byte [rdx], r14b
je 0x14001cf82
lea rdi, [rcx + 0x2022]
mov rcx, rdi
call fcn.140014a64
mov rbp, rax
cmp rax, rdi
jbe 0x14001cede
mov rcx, rdi
mov word [rax - 2], r14w
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [r14 + 0x5c]
mov word [rbp - 2], cx
cmp eax, 0xffffffff
je 0x14001cede
bt eax, 0xa
jae 0x14001cede
mov byte [rbx], r14b
lea rdx, str.System_Volume_Information_
mov rcx, rdi
call fcn.1400307fc
test rax, rax
je 0x14001cef5
mov byte [rbx], r14b
cmp byte [rbx], r14b
je 0x14001cf82
mov rcx, qword [rsi + 0x51b8]
test rcx, rcx
je 0x14001cf24
mov r9b, 1
mov byte [rsp + 0x20], 1
xor r8d, r8d
mov rdx, rdi
call fcn.140006b5c
test al, al
je 0x14001cf24
mov byte [rbx], r14b
cmp byte [rbx], r14b
je 0x14001cf82
mov rcx, qword [rsi + 0x4198]
test rcx, rcx
je 0x14001cf3d
mov rdx, rdi
call fcn.14001f3c8
mov rcx, qword [rsi + 0x41a0]
test rcx, rcx
je 0x14001cf54
mov edx, dword [rsi + 0x41b0]
call fcn.14001ce34
mov r8d, 0x800
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001337c
lea rdx, [rsp + 0x30]
mov ecx, 0x54
call fcn.140001290
lea rcx, [0x14005e3b0]
call fcn.14000b644
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.14002d0f0
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14001d150
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r10, qword [0x140063620]
xor ebx, ebx
mov bpl, r9b
mov r14b, r8b
mov rsi, rdx
mov rdi, rcx
test r10, r10
jne 0x14001d1f1
cmp byte [0x140063618], bl
jne 0x14001d1f1
lea rcx, str.Crypt32.dll
call fcn.14001f624
mov qword [0x140063610], rax
test rax, rax
je 0x14001d1da
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140063610]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140063620], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r9, rax
mov qword [0x140063628], rax
jmp 0x14001d1e1
mov r9, qword [0x140063628]
mov r10, qword [0x140063620]
mov byte [0x140063618], 1
jmp 0x14001d1f8
mov r9, qword [0x140063628]
mov rax, rsi
mov rcx, rsi
and eax, 0xf
mov r8d, ebx
sub rcx, rax
test bpl, bpl
setne r8b
test r14b, r14b
je 0x14001d251
test r10, r10
je 0x14001d26b
mov edx, ecx
mov rcx, rdi
call r10
test eax, eax
jne 0x14001d286
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x14005e3b0]
mov rcx, rbx
call fcn.14000b38c
mov rcx, rbx
call fcn.14000b644
mov edx, 2
mov rcx, rbx
call fcn.14000b360
jmp 0x14001d286
test r9, r9
je 0x14001d26b
mov edx, ecx
mov rcx, rdi
call r9
test eax, eax
jne 0x14001d286
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x14001d22b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rsi, rsi
je 0x14001d286
add al, 0x4b
lea ecx, [rbx + rax]
xor byte [rbx + rdi], cl
inc rbx
cmp rbx, rsi
jb 0x14001d278
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14001e7a0
Capabilities:
Hash data using sha1

Disassembly:
and dword [rcx + 0x18], 0
and dword [rcx + 0x14], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x14001e910
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, qword [rcx + 0x20]
lea rbp, [rcx + 0x30]
mov edi, dword [rcx + 0x20]
mov r14, rdx
shl rsi, 3
mov rbx, rcx
and edi, 0x3f
mov qword [rcx + 0x28], rbp
mov byte [rdi + rcx + 0x30], 0x80
jmp 0x14001e95e
and edi, 0x3f
jne 0x14001e959
mov rcx, rbx
call fcn.14001eb10
mov byte [rdi + rbx + 0x30], 0
inc edi
cmp edi, 0x38
jne 0x14001e94c
lea edx, [rdi - 0x30]
mov rcx, rsi
shl rsi, 8
shr rcx, 0x38
mov byte [rdi + rbx + 0x30], cl
inc edi
sub rdx, 1
jne 0x14001e968
mov rcx, rbx
call fcn.14001eb10
xor r8d, r8d
xor r9d, r9d
mov eax, r8d
mov ecx, 3
and eax, 3
inc r8d
sub ecx, eax
mov rax, r9
shr rax, 2
inc r9
shl ecx, 3
mov edx, dword [rbx + rax*4]
shr edx, cl
mov byte [r14], dl
inc r14
cmp r8d, 0x20
jb 0x14001e98d
mov dword [rbx], 0x6a09e667
xor ecx, ecx
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
and qword [rbx + 0x20], 0
call fcn.14001eb10
mov edx, 0x40
mov rcx, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14001d2fc

Function at 0x14001ea28
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x20], 0
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x14001ea68
Capabilities:
Hash data using murmur3

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x20]
mov rsi, r8
add qword [rcx + 0x20], r8
and ebx, 0x3f
mov r14, rdx
mov rbp, rcx
test r8, r8
je 0x14001eaec
mov eax, 0x40
mov rdi, rsi
sub rax, rbx
cmp rsi, rax
cmova rdi, rax
cmp rdi, 0x40
jne 0x14001eab7
mov qword [rbp + 0x28], r14
jmp 0x14001eace
lea rax, [rbp + 0x30]
mov r8, rdi
lea rcx, [rax + rbx]
mov qword [rbp + 0x28], rax
mov rdx, r14
call fcn.1400300d0
add r14, rdi
add rbx, rdi
sub rsi, rdi
cmp rbx, 0x40
jne 0x14001eae7
xor ebx, ebx
mov rcx, rbp
call fcn.14001eb10
test rsi, rsi
jne 0x14001ea99
xor ecx, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp fcn.14001eb10
Function at 0x14001eb10
Capabilities:
Encode data using xor

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 - 0x60]
sub rsp, 0x160
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r11d, r11d
mov qword [rsp + 0x20], rcx
mov r9, rcx
test rcx, rcx
jne 0x14001eb73
lea edx, [rcx + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14001d2fc
mov edx, pe_nt_image_headers64
lea rcx, [rsp + 0x50]
call fcn.14001d2fc
jmp 0x14001ecfb
mov rcx, qword [rcx + 0x28]
mov rdx, r11
mov eax, dword [rcx]
add rcx, 4
bswap eax
mov dword [rsp + 0x50], eax
mov eax, dword [rcx]
lea rcx, [rcx + 4]
bswap eax
mov dword [rsp + rdx*4 + 0x54], eax
inc rdx
cmp rdx, 0xf
jl 0x14001eb86
lea rbx, [rbp - 0x70]
mov edi, 0x30
lea r10, [rbp - 0x78]
mov ecx, dword [r10 - 0x34]
mov r8d, ecx
mov edx, dword [r10]
mov eax, ecx
rol r8d, 0xe
lea r10, [r10 + 4]
shr ecx, 3
ror eax, 7
xor r8d, eax
mov eax, edx
xor r8d, ecx
rol eax, 0xd
mov ecx, edx
shr edx, 0xa
rol ecx, 0xf
xor ecx, eax
xor ecx, edx
add r8d, ecx
add r8d, dword [r10 - 0x3c]
add r8d, dword [r10 - 0x18]
mov dword [rbx], r8d
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x14001eba8
movups xmm0, xmmword [r9]
lea r12d, [rdi + 0x40]
movups xmm1, xmmword [r9 + 0x10]
movups xmmword [rsp + 0x28], xmm0
mov edi, dword [rsp + 0x30]
mov esi, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x34]
movups xmmword [rsp + 0x38], xmm1
mov r13d, dword [rsp + 0x44]
mov r14d, dword [rsp + 0x40]
mov r15d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x38]
mov eax, r10d
mov r8d, r10d
rol eax, 7
mov ecx, r10d
ror r8d, 0xb
not ecx
xor r8d, eax
and ecx, r14d
mov eax, r10d
mov edx, ebx
ror eax, 6
xor r8d, eax
ror edx, 0xd
mov eax, r15d
and eax, r10d
xor ecx, eax
lea rax, [0x140044c60]
add r8d, ecx
mov ecx, esi
add r8d, dword [r11 + rax]
xor ecx, edi
add r8d, dword [rsp + r11 + 0x50]
lea r11, [r11 + 4]
add r8d, r13d
and ecx, ebx
mov eax, ebx
mov r13d, r14d
rol eax, 0xa
mov r14d, r15d
xor edx, eax
mov r15d, r10d
mov eax, ebx
lea r10d, [r9 + r8]
ror eax, 2
mov r9d, edi
xor edx, eax
mov eax, esi
and eax, edi
mov edi, esi
xor ecx, eax
mov esi, ebx
add edx, ecx
lea ebx, [rdx + r8]
sub r12, 1
jne 0x14001ec2d
mov dword [rsp + 0x34], r9d
lea rcx, [rsp + 0x28]
mov r9, qword [rsp + 0x20]
lea edx, [r12 + 8]
sub rcx, r9
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x2c], esi
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x44], r13d
mov eax, dword [rcx + r9]
add dword [r9], eax
lea r9, [r9 + 4]
sub rdx, 1
jne 0x14001ecea
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14002d0f0
lea r11, [rsp + 0x160]
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
Function at 0x14001f624
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.14002d080
sub rsp, rax
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x14001f660
xor eax, eax
jmp 0x14001f683
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14001468c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14002d0f0
add rsp, 0x1030
pop rbx
ret

Function at 0x14001f798
Capabilities:
Shutdown system

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140053890]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14001f80d
lea r8, [rsp + 0x3c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
and qword [rsp + 0x28], 0
lea r8, [rsp + 0x38]
and qword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x44], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x80000000
mov ecx, 0xd
call qword [sym.imp.USER32.dll_ExitWindowsEx]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002d0f0
add rsp, 0x58
ret

Function at 0x14001fbd8
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp dword [rcx], edi
jbe 0x14001fc7a
lea rax, [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14001fe10]
and dword [rsp + 0x20], 0
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x14001fc50
lea rdx, str.CreateThread_failed
lea rcx, [0x14005e3b0]
call fcn.14000b38c
lea rcx, [0x14005e3b0]
call fcn.14000b644
lea edx, [rsi + 2]
lea rcx, [0x14005e3b0]
call fcn.14000b360
mov qword [rbx + rdi*8 + 8], rsi
inc dword [rbx + 0x108]
mov edx, dword [0x140067648]
test edx, edx
je 0x14001fc70
mov rcx, qword [rbx + rdi*8 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc edi
cmp edi, dword [rbx]
jb 0x14001fbf4
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14002d680
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14002d711
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14002d711
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002d711
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x14002d6f5
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14002d6ef
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14002d6f7
add rdx, 0x28
jmp 0x14002d6d4
xor edx, edx
test rdx, rdx
jne 0x14002d700
xor al, al
jmp 0x14002d717
test dword [rdx + 0x24], 0x80000000
je 0x14002d70d
xor al, al
jmp 0x14002d717
mov al, 1
jmp 0x14002d717
xor al, al
jmp 0x14002d717
add rsp, 0x18
ret

Function at 0x140034d60
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140034b34
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140034b34
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140034b34
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140034b34
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140034b34
cmp dword [rcx + 0x84], 0xe
jbe 0x140034b34
cmp dword [rcx + 0xf8], esi
je 0x140034b34
mov ecx, r14d
call fcn.140034c7c
mov ecx, 2
call fcn.1400395c4
nop
cmp byte [0x1400680b0], 0
jne 0x140034bfe
mov r15d, 1
mov eax, r15d
xchg dword [0x1400680a0], eax
test ebx, ebx
jne 0x140034ba7
mov rdi, qword [0x140053890]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1400680a8]
cmp rcx, rax
je 0x140034b9e
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.14002e2c0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140068218]
jmp 0x140034bb3
cmp ebx, r15d
jne 0x140034bb9
lea rcx, [0x140068230]
call fcn.1400371a0
nop
test ebx, ebx
jne 0x140034bd0
lea rdx, [0x140042590]
lea rcx, [0x140042570]
call fcn.14003746c
lea rdx, [0x1400425a0]
lea rcx, [0x140042598]
call fcn.14003746c
movzx eax, byte [0x1400680b0]
test esi, esi
cmove eax, r15d
mov byte [0x1400680b0], al
jmp 0x140034bfe
mov ecx, 2
call fcn.140039618
test esi, esi
jne 0x140034c15
mov ecx, r14d
call fcn.140034c30
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140034ac4
Function at 0x140001d00
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14000a038]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x38], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [rbp - 0x80]
call fcn.1400039d0
nop
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x140001d6f
mov rcx, qword [r14]
lea rdx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140001ebc
nop dword [rax]
test byte [rbp - 0x60], 0x10
jne 0x140001e9d
lea rax, [rbp - 0x34]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140001da5
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rdx, [rbp - 0x34]
lea rcx, [rsp + 0x60]
call fcn.140001290
or ebx, 6
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.1400017a0
or ebx, 8
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140001ae0
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x140001e3f
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
add qword [rdi + 8], 0x20
jmp 0x140001e4c
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400013a0
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x40]
call fcn.1400020b0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140001e9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ef7
call fcn.140004228
nop
lea rdx, [rbp - 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001d90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x80]
call fcn.1400020b0
nop
mov rcx, r14
call fcn.1400020b0
mov rax, rdi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140004320
mov rbx, qword [rsp + 0x340]
add rsp, 0x300
pop r15
pop r14
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
Function at 0x140004144
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 0x1400041c8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140006690]
cmp byte [rcx + rax], 0
je 0x1400041c8
dec r8
sub rdx, 1
jne 0x1400041ae
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140004db0
Capabilities:
Parse pe header

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