joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f4200
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movsd xmm6, qword [0x14007d200]
movaps xmm7, xmm6
call fcn.1400f4450
call fcn.1400f39b0
test eax, eax
jge 0x1400f4252
mov dword [0x1400b8380], 0xffff
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
lea rbx, [0x140150668]
cmp qword [rbx - 8], 0
jne 0x1400f4412
movabs rdx, 0x431bde82d7b634db
mov rax, rdx
imul qword [rbx]
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 0x12
lea rsi, [rdx + rcx + 1]
xor edi, edi
mov ebx, 8
add ebx, ebx
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x38]
xor r14d, r14d
cmp dword [0x1400bd9e0], 0
jne 0x1400f441c
test ebx, ebx
jle 0x1400f42bd
call fcn.1400f39b0
inc r14d
cmp r14d, ebx
jl 0x1400f42b0
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rsp + 0x30]
sub rcx, rbp
mov rbp, rcx
cmp dword [0x1400bd9e0], 0
jne 0x1400f4426
cmp rbp, rsi
jl 0x1400f428b
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm7, xmm0
jp 0x1400f42ff
je 0x1400f430d
ucomisd xmm7, xmm7
jp 0x1400f4317
ucomisd xmm0, xmm7
ja 0x1400f4317
jmp 0x1400f431a
movq rcx, xmm7
test rcx, rcx
jge 0x1400f430b
movaps xmm0, xmm7
movaps xmm7, xmm0
mov ecx, ebx
sar ecx, 0x1f
and ecx, 3
add ecx, ebx
mov ebx, ecx
sar ebx, 2
add ebx, ebx
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x28]
xor r15d, r15d
cmp dword [0x1400bd9e0], 0
jne 0x1400f4430
test ebx, ebx
jle 0x1400f435e
call fcn.1400f4450
inc r15d
cmp r15d, ebx
jl 0x1400f4351
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x20]
sub rax, rbp
mov rbp, rax
cmp dword [0x1400bd9e0], 0
jne 0x1400f443a
cmp rbp, rsi
jl 0x1400f432c
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, ebx
divsd xmm0, xmm1
ucomisd xmm6, xmm0
jp 0x1400f43a0
je 0x1400f43ae
ucomisd xmm6, xmm6
jp 0x1400f43b8
ucomisd xmm0, xmm6
ja 0x1400f43b8
jmp 0x1400f43bb
movq rax, xmm6
test rax, rax
jge 0x1400f43ac
movaps xmm0, xmm6
movaps xmm6, xmm0
inc edi
cmp edi, 0xa
jl 0x1400f4286
movaps xmm0, xmm7
mulsd xmm0, qword [0x14007d208]
divsd xmm0, xmm6
cvttsd2si eax, xmm0
mov ecx, 0x1388
cmp eax, 0x1388
cmovg eax, ecx
mov dword [0x1400b8380], eax
xor eax, eax
cmp dword [0x1400b8380], 5
setle al
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x68
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
pop r15
ret
call fcn.140001105
jmp 0x1400f4264
call fcn.140009100
jmp 0x1400f42ac
call fcn.140009100
jmp 0x1400f42df
call fcn.140009100
jmp 0x1400f434d
call fcn.140009100
jmp 0x1400f4380
Function at 0x140112d50
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x140112d8a
add rcx, 0xc
mov rdi, rcx
jmp 0x140112d8c
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.14000a1b0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a200
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.140001965
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140113220
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
mov qword [rbp - 0x40], r9
mov r14, r9
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov rdx, rsi
mov qword [rbp - 0x54], rdx
mov r8d, edi
mov dword [rbp - 0x44], r8d
mov r9, r14
mov qword [rbp - 0x5c], r9
lea rcx, [rbp - 0x88]
call fcn.14000a1b0
mov rcx, qword [rbp - 0x4c]
mov rdx, qword [rbp - 0x54]
mov r8d, dword [rbp - 0x44]
mov r9, qword [rbp - 0x5c]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a200
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140001965
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1401135e0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x14011361a
add rcx, 0xc
mov rdi, rcx
jmp 0x14011361c
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.14000a1b0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000a200
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
call fcn.140001965
mov dword [rax + 8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140114390
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x38]
mov r15, qword [rbp + 0x40]
mov r13, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14010a6c0
nop
lea rcx, [r13 + 0x10]
xor edx, edx
test r13, r13
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r15 + 0x10]
xor r8d, r8d
test r15, r15
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r14 + 0x10]
xor r9d, r9d
test r14, r14
cmove r8, r9
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x68], rsi
mov r9, rsi
lea rax, [rbx + 0x10]
xor r10d, r10d
test rbx, rbx
cmove rax, r10
mov qword [rbp - 0x70], rax
mov r10, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [r10 + 8]
mov qword [rbp - 0x7c], rcx
mov edx, edi
mov dword [rbp - 0x74], edx
mov r8, rax
mov qword [rbp - 0x84], r8
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0xb8]
call fcn.14000a1b0
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
mov r8, qword [rbp - 0x84]
mov r9, qword [rbp - 0x8c]
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.14000a200
nop
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1401144d9
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14010a700
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401147a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14010a6c0
nop
test rbx, rbx
je 0x1401147f6
add rbx, 0xc
mov rdx, rbx
jmp 0x1401147f8
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.14000a1b0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.14000a200
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140114875
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14010a700
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140114b20
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
lea r9, [rdx + rdx*4]
rol r9, 7
lea r9, [r9 + r9*8]
mov r11, rdx
shl r11, 0x11
xor r8, rax
xor r10, rdx
xor rdx, r8
xor rax, r10
xor r8, r11
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r9
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.140114b20
ret
Function at 0x1401342e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14013437d
xor eax, eax
cmp r8d, 4
jl 0x140134331
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x140134378
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x140134371
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x140134369
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x140134361
add rax, 4
test r8d, r8d
jle 0x14013455a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x140134378
inc rax
test r8d, r8d
jg 0x140134340
jmp 0x14013455a
add eax, 3
jmp 0x140134555
add eax, 2
jmp 0x140134555
inc eax
jmp 0x140134555
jmp 0x140134555
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x140134496
add rax, 0x10
cmp rax, r10
jbe 0x1401343a0
mov eax, r8d
test al, 7
je 0x14013455a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14013455a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x14013454c
mov ecx, 0x20
jmp 0x14013454f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x14013453d
mov r8d, 0x20
jmp 0x140134541
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x140134555
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140139c20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x140139c71
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x140139e9b
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x140139c65
inc edx
cmp edx, r9d
jl 0x140139c45
jmp 0x140139e9b
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x14007d9a0]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x140139ddb
add rax, 0x10
cmp rax, r8
jb 0x140139cb8
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x140139e9b
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x1400131b0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014500
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014520
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014533
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001455d
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014571
xor al, al
jmp 0x1400145a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014583
xor al, al
jmp 0x1400145a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001459f
xor al, al
jmp 0x1400145a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140082f33
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov ebp, esp
sub esp, 0x10
push rsi
mov esi, dword [rbp + 0xc]
test esi, esi
jne 0x140082f48
xor eax, eax
jmp 0x140083027
push rbx
mov ebx, dword [rbp + 8]
push rdi
push 8
push rbx
call fcn.14007f81e
mov edi, eax
mov dword [rbp - 0x10], edi
pop rcx
pop rcx
test edi, edi
je 0x140082f93
test byte [rbp + 0x10], 1
mov eax, dword [rsi]
mov dword [rdi], eax
jne 0x140082f77
xor eax, eax
cmp dword [rsi], eax
jle 0x140082f77
add eax, eax
cmp eax, dword [rsi]
jl 0x140082f71
imul eax, eax, 0x18
push rax
push rbx
call fcn.14007f81e
mov dword [rdi + 4], eax
pop rcx
pop rcx
test eax, eax
jne 0x140082f9a
push rdi
push rbx
call fcn.14007f7c1
pop rcx
pop rcx
xor eax, eax
jmp 0x140083025
and dword [rbp - 8], 0
cmp dword [rsi], 0
mov ecx, dword [rsi + 4]
mov dword [rbp + 0xc], ecx
jle 0x140083023
lea edx, [rax + 0x10]
sub eax, ecx
mov dword [rbp - 4], edx
mov edi, eax
mov dword [rbp - 0xc], eax
push 0
push qword [rbp + 0x10]
push qword [rcx]
push rbx
call fcn.14006d198
mov ecx, dword [rbp + 0xc]
mov dword [rdi + rcx], eax
push qword [rcx + 4]
push rbx
call fcn.14007fa08
mov ecx, dword [rbp - 4]
mov dword [rcx - 0xc], eax
mov eax, dword [rbp + 0xc]
push qword [rax + 8]
push rbx
call fcn.14007fa08
mov edx, dword [rbp - 4]
add esp, 0x20
mov ecx, dword [rbp + 0xc]
mov dword [rdx - 8], eax
mov al, byte [rcx + 0xc]
and dword [rdx], 0xfffffffe
mov byte [rdx - 4], al
mov eax, dword [rcx + 0x10]
xor eax, dword [rdx]
and eax, 2
xor dword [rdx], eax
mov eax, dword [rcx + 0x14]
add ecx, 0x18
mov dword [rdx + 4], eax
add edx, 0x18
mov eax, dword [rbp - 8]
mov dword [rbp - 4], edx
mov dword [rbp - 8], eax
mov dword [rbp + 0xc], ecx
cmp eax, dword [rsi]
jl 0x140082fb6
mov edi, dword [rbp - 0x10]
mov eax, edi
pop rdi
pop rbx
pop rsi
mov esp, ebp
pop rbp
ret
Function at 0x14009d825
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov ebp, esp
push rsi
mov esi, dword [rbp + 0xc]
push rdi
xor edi, edi
test esi, esi
jle 0x14009d851
push rbx
mov ebx, dword [rbp + 8]
movzx eax, byte [rbx]
mov ecx, edi
shl ecx, 3
movzx edx, byte [rax + 0x49b3b0]
xor edx, ecx
xor edi, edx
test rsi, r14
jg 0x14009d837
pop rbx
mov eax, edi
pop rdi
pop rsi
pop rbp
ret
Function at 0x403e80
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403f1a
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
test rax, rax
je 0x403ed6
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x403ee5
movzx esi, byte [rax + 0x17]
test sil, 0x20
je 0x403ec1
cmp rbx, rcx
sete al
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
nop
ret
mov rsi, qword [rdx]
mov rax, rbx
mov rbx, rcx
call rsi
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov eax, 1
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
call fcn.0045b060
mov ecx, 0x1c
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x006d4818]
nop
call fcn.0044e740
call fcn.0040af60
mov rbx, rax
lea rax, [0x006889c0]
call fcn.004363c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004633c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop dword [rax]
jmp fcn.00403e80

Function at 0x403f60
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403ffb
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
test rax, rax
je 0x403fb9
mov rax, qword [rax + 8]
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x403fc8
movzx esi, byte [rax + 0x17]
test sil, 0x20
je 0x403fa4
cmp rbx, rcx
sete al
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov rsi, qword [rdx]
mov rax, rbx
mov rbx, rcx
call rsi
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
mov eax, 1
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
call fcn.0045b060
mov ecx, 0x1c
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x006d4818]
call fcn.0044e740
call fcn.0040af60
mov rbx, rax
lea rax, [0x006889c0]
call fcn.004363c0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.004633c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
nop
jmp fcn.00403f60
Function at 0x404160
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4042f0
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
cmp byte [rax + 0x65], 0
nop dword [rax]
je 0x4042de
mov rcx, qword [rax + 0x20]
shl rcx, 0xd
cmp rcx, 0x400000
jne 0x4042cd
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x1f], 1
movzx ecx, byte [rsp + 0x1f]
mov byte [rax + 0x62], cl
mov rcx, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
shl rbx, 0xd
mov rdx, rbx
neg rbx
lea rsi, [0x01376cc0]
lock xadd qword [rsi], rbx
nop
mov rbx, rdx
mov rax, rcx
call fcn.00417560
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x20]
shl rbx, 0xd
neg rbx
lea rax, [0x01376c98]
call fcn.0042fa20
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
lea rsi, [0x01376cb8]
lock xadd qword [rsi], rdx
lea rax, [0x0137a580]
call fcn.0042fae0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax], rdx
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax + 0x10], rdx
mov edx, 1
lock xadd qword [rax + 0x270], rdx
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
lock xadd qword [rax + 0x268], rdx
lea rax, [0x0137a580]
call fcn.0042fbc0
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x20]
shl rbx, 0xd
neg rbx
lea rax, [0x01376ba0]
xor ecx, ecx
call fcn.00420d40
movups xmmword [rsp + 0x20], xmm15
lea rcx, [0x00404320]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00463280
xorps xmm15, xmm15
mov r14, qword [0x01375e58]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x006db1b8]
mov ebx, 0x2c
call fcn.00436b60
lea rax, [0x006d9ce0]
mov ebx, 0x28
call fcn.00436b60
nop
mov qword [rsp + 8], rax
call fcn.004633c0
mov rax, qword [rsp + 8]
nop
jmp fcn.00404160