joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140059fc0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14014d130]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1401f3320]
lea rdx, [rsp + 0x28]
mov rdi, qword [0x1401bdaa0]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub eax, dword [rsp + 0x28]
mov qword [rsp + 0x40], 0
movd xmm1, eax
mov eax, dword [rsp + 0x34]
sub eax, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1401f3328]
cvtsi2ss xmm0, qword [0x1401f3330]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1401f3328], rcx
mov ecx, SafeArrayGetLBound
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, SafeArrayGetLBound
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rbx, qword [0x1401bdaa0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
cmp byte [rbx + 0x39b], 0
je 0x14005a0ff
cvttss2si eax, dword [rbx + 0x128]
mov rcx, qword [0x1401f3320]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
cvttss2si eax, dword [rbx + 0x12c]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14005a0ff
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx + 0x128], 0xff7fffff
mov dword [rbx + 0x12c], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x14005a17e
mov rdx, qword [0x1401f3320]
cmp rax, rdx
je 0x14005a137
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x14005a17e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14005a17e
mov rcx, qword [0x1401f3320]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14005a17e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x128], xmm0
movss dword [rbx + 0x12c], xmm1
cmp byte [rdi + 0xc8], 0
je 0x14005a18e
mov eax, 0xffffffff
jmp 0x14005a19b
mov rax, qword [0x1401bdaa0]
mov eax, dword [rax + 0x1f48]
cmp dword [reloc.OLEAUT32.dll_VariantCopy], eax
je 0x14005a1ae
mov dword [reloc.OLEAUT32.dll_VariantCopy], eax
call fcn.140059b70
call fcn.140059cf0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400c1500
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140072550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14014d130]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140072596
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140072586
cmp byte [rax], cl
jne 0x140072596
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140072577
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400726f9
cmp byte [r8 + 1], dl
je 0x1400726f9
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400725d2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400725fa
sub dl, 0x61
cmp dl, 0x19
ja 0x1400725ec
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400725fa
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x1400725b5
jmp 0x1400725fd
inc r9
cmp r8, r9
jae 0x14007262f
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140072624
bt rdx, rax
jb 0x14007262a
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140072610
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
movq r9, xmm3
call fcn.140033630
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140072668
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140072660
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400726e8
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140072683
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140072699
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400726d6
movss xmm2, dword [0x140132cdc]
cmp al, 0x39
ja 0x1400726d6
movzx eax, al
inc rcx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x1400726b0
cmp r9b, 0x2d
jne 0x1400726f4
xorps xmm1, xmmword [0x140132fd0]
movaps xmm0, xmm1
jmp 0x1400726fc
call fcn.1400d5b24
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400726fc
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c1500
add rsp, 0x90
pop rbx
ret
Function at 0x140072720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x14014d130]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r8, rcx
mov ebx, edx
movzx ecx, byte [rcx]
test cl, cl
je 0x140072766
lea rax, [r8 + 1]
cmp cl, 0x25
jne 0x140072756
cmp byte [rax], cl
jne 0x140072766
cmp cl, cl
cmovne rax, r8
movzx ecx, byte [rax + 1]
lea r8, [rax + 1]
test cl, cl
jne 0x140072747
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x1400728c3
cmp byte [r8 + 1], dl
je 0x1400728c3
lea r11, [rsp + 0x20]
mov r9, r8
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x1400727a2
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x1400727ca
sub dl, 0x61
cmp dl, 0x19
ja 0x1400727bc
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x1400727ca
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140072785
jmp 0x1400727cd
inc r9
cmp r8, r9
jae 0x1400727ff
movabs rdx, 0x800000000000009
nop dword [rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400727f4
bt rdx, rax
jb 0x1400727fa
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400727e0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x20]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140033630
cmp byte [rsp + 0x40], 0x20
lea rcx, [rsp + 0x40]
jne 0x140072838
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140072830
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x1400728b6
movzx r9d, byte [rcx]
movzx r8d, r9b
cmp r9b, 0x2d
jne 0x140072853
movzx r8d, byte [rcx + 1]
lea rdx, [rcx + 1]
movzx eax, r8b
cmovne rdx, rcx
cmp r8b, 0x2b
jne 0x140072869
movzx eax, byte [rdx + 1]
lea rcx, [rdx + 1]
xorps xmm1, xmm1
cmovne rcx, rdx
cmp al, 0x30
jl 0x1400728a4
movsd xmm2, qword [0x140132c80]
cmp al, 0x39
ja 0x1400728a4
movzx eax, al
inc rcx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rcx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140072880
cmp r9b, 0x2d
jne 0x1400728be
xorps xmm1, xmmword [0x140132fc0]
movaps xmm0, xmm1
jmp 0x1400728c6
call fcn.1400d5b24
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x1400728c6
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400c1500
add rsp, 0x90
pop rbx
ret
Function at 0x140075350
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 0x140075372
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 0x1400753ec
mov rdi, r14
mov rcx, rbx
call fcn.14002d8c0
test rax, rax
jle 0x1400753c4
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.1400c3bb0
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 0x1400753dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400753e4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140075386
sub r14, rdi
jmp 0x1400754cf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140075403
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140075405
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140075437
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400c3bb0
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 0x1400754cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140075472
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 0x1400754ad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400d21bc
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400754cc
cmp rbp, rax
ja 0x140075480
test rbp, rbp
je 0x1400754cc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400d21bc
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 0x14007b880
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15d, edx
lea r14d, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov esi, r12d
mov ebp, r12d
test r14d, r14d
je 0x14007ba76
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax + rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14007b934
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14007b8f0
mov ecx, dword [r10]
jmp 0x14007ba17
cmp ecx, 0x4e0
jb 0x14007ba17
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14007b950
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14007b9a0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r12d
mov dword [r10], r12d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
mov edx, dword [rdi + 0x10]
cmp eax, edx
ja 0x14007b8d0
movzx ecx, byte [rdi + 8]
or esi, eax
add cl, 0xff
shl ebp, cl
add ebp, ebp
or ebp, edx
cmp ebp, r14d
jb 0x14007b8c0
xor edx, edx
mov eax, ebp
div r15d
xor edx, edx
mov ecx, eax
mov eax, esi
div r15d
cmp eax, ecx
jb 0x14007ba9a
xor edx, edx
mov eax, ebp
div r15d
cmp edx, r14d
jne 0x14007b8b0
mov rbx, qword [rsp + 0x20]
mov eax, esi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15d
mov eax, edx
pop r15
pop r14
pop r12
ret
Function at 0x14007c0a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor r14d, r14d
mov rdi, rcx
mov esi, r14d
mov ebp, r14d
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl esi, cl
add esi, esi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14007c134
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14007c0f0
mov ecx, dword [r10]
jmp 0x14007c217
cmp ecx, 0x4e0
jb 0x14007c217
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14007c150
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14007c1a0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x12
xor ecx, edx
cmp ecx, dword [rdi + 0x10]
ja 0x14007c0d0
add rbp, qword [rdi + 8]
or esi, ecx
cmp rbp, 0x20
jb 0x14007c0c2
mov rbx, qword [rsp + 0x10]
mov eax, esi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x14007c390
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x30
movsxd rbx, dword [rsp + 0x78]
xor r12d, r12d
mov qword [rsp + 0x58], r14
mov r11d, r12d
movsxd r14, dword [rsp + 0x70]
mov r10d, r12d
mov rsi, r9
mov rdi, r8
mov r15, rdx
mov rax, r12
test rbx, rbx
jle 0x14007c406
lea r9, [r14 + r14*2]
shl r9, 5
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rdi]
lea r9, [r9 + 0x18]
mov rdx, qword [r10 + rcx]
mov rcx, qword [rsi]
lea r8, [rdx + rax*4]
inc rax
mov rdx, qword [r9 + rcx - 0x18]
mov ecx, dword [rdx + r11]
xor dword [r8], ecx
cmp rax, rbx
jl 0x14007c3e0
add r10, 0x18
add r11, 4
cmp r10, 0x60
jl 0x14007c3c4
mov rdx, qword [rdi + 0x10]
mov qword [rdi + 0x10], r12
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], r12
mov rax, qword [rdi]
mov qword [rdi], r12
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], rdx
mov rbx, qword [rdi]
mov qword [rsp + 0x50], rbp
mov r14, qword [rsp + 0x58]
test rbx, rbx
je 0x14007c506
mov rbp, qword [rdi + 8]
cmp rbx, rbp
je 0x14007c4a5
mov rcx, qword [rbx]
test rcx, rcx
je 0x14007c49c
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x14007c48c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007c52a
mov rcx, r8
call fcn.1400c1520
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov qword [rbx + 0x10], r12
add rbx, 0x18
cmp rbx, rbp
jne 0x14007c454
mov r8, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
mov rcx, qword [rdi + 0x10]
sub rcx, r8
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
cmp rdx, 0x1000
jb 0x14007c4f3
mov rcx, qword [r8 - 8]
add rdx, 0x27
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x14007c52a
mov r8, rcx
mov rcx, r8
call fcn.1400c1520
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov rcx, rsi
call fcn.14007c300
mov rbp, qword [rsp + 0x50]
mov rax, r15
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r12
pop rdi
ret
call fcn.1400c8598
int3
Function at 0x140082280
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14d, r8d
mov rbx, rdx
xor r12d, r12d
mov ecx, dword [0x1401bc3d0]
mov rax, qword gs:[0x58]
mov rsi, qword [rax + rcx*8]
mov eax, 0x13a8
mov eax, dword [rax + rsi]
cmp dword [0x1401b9e48], eax
jg 0x14008247b
mov r15d, 0x1398
mov eax, dword [r15 + rsi]
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetDim
test al, 1
jne 0x140082338
or eax, 1
mov dword [r15 + rsi], eax
mov edi, r13d
add rdi, rsi
call fcn.14009e130
mov dword [rdi + 0x1384], 0xffffffff
mov dword [rdi + 4], eax
mov edx, 1
lea r8, [rdi + 8]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x140082310
mov dword [rdi], 0x270
mov eax, dword [r15 + rsi]
mov ebp, 0x13a0
test al, 2
jne 0x14008235c
or eax, 2
mov dword [r15 + rsi], eax
mov dword [rsi + rbp], r12d
mov eax, dword [0x14014d010]
dec eax
mov dword [rsi + rbp + 4], eax
mov eax, 0x20
test r14d, r14d
cmovne eax, r14d
movsxd rdx, eax
xor r8d, r8d
mov rcx, rbx
call fcn.14007a9d0
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140082388
mov rcx, qword [rbx]
mov rdx, rcx
jmp 0x14008238b
mov rdx, rbx
mov rdi, rcx
mov r14, qword [rbx + 0x10]
add r14, rdx
cmp rcx, r14
je 0x140082458
lea r15, [rsi + rbp]
mov ebp, r13d
add rbp, rsi
mov r12d, 0x80000000
lea r13, [section..data]
nop word [rax + rax]
mov edx, dword [r15 + 4]
mov ecx, dword [r15]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], 0x20
mov dword [rsp + 0x38], 0xffffffff
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r12]
cmp ecx, r12d
cmovae esi, eax
lea eax, [rdx - 0x80000000]
lea ecx, [rdx + r12]
cmp edx, r12d
cmovae ecx, eax
sub ecx, esi
cmp ecx, 0xffffffff
jne 0x140082410
lea rcx, [rsp + 0x28]
call fcn.14007c0a0
jmp 0x14008241d
lea edx, [rcx + 1]
lea rcx, [rsp + 0x28]
call fcn.14007b880
lea ecx, [rsi + rax]
lea eax, [rcx - 0x80000000]
lea edx, [rcx + r12]
cmp ecx, r12d
cmovae edx, eax
mov rcx, r13
cmp qword [0x14014d018], 0x10
cmovae rcx, qword [section..data]
movsxd rax, edx
movzx ecx, byte [rax + rcx]
mov byte [rdi], cl
inc rdi
cmp rdi, r14
jne 0x1400823c0
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x1401b9e48]
call fcn.1400c18a4
cmp dword [0x1401b9e48], 0xffffffff
jne 0x1400822cc
mov edx, 0x30
lea rcx, [section..data]
call fcn.14000bef0
mov qword [section..data], rax
mov qword [0x14014d010], 0x2a
mov qword [0x14014d018], 0x2f
movups xmm0, xmmword [str.ABCDFGHJKLMNPQRSTVWXZabcdfghjklmnpqrstvwxz]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400fca50]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400fca60]
movsd qword [rax + 0x20], xmm0
movzx edx, word [0x1400fca68]
mov word [rax + 0x28], dx
mov byte [rax + 0x2a], 0
lea rcx, [0x1400fb730]
call fcn.1400c179c
nop
lea rcx, [0x1401b9e48]
call fcn.1400c1838
jmp 0x1400822cc
Function at 0x14008f190
Capabilities:
Reference http user-agent string

Disassembly:
xor eax, eax
mov dword [rcx + 0x18], eax
mov qword [rcx], rax
lea rax, [0x1400fcff0]
mov qword [rcx + 8], rax
lea rax, str.Mozilla_5.0__compatible__MSIE_9.0__Windows_NT_6.1__Trident_5.0_
mov qword [rcx + 0x10], rax
mov rax, rcx
ret

Function at 0x14008f500
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx], 0
mov rbx, rcx
je 0x14008f517
xor al, al
add rsp, 0x30
pop rbx
ret
mov rcx, qword [rcx + 0x10]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
test rax, rax
mov qword [rbx], rax
setne al
add rsp, 0x30
pop rbx
ret
Function at 0x1400c23e8
Capabilities:
Parse pe header

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

Function at 0x1400cbdc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400cbdf7
call fcn.1400d68e4
mov dword [rax], SafeArrayPutElement
call fcn.1400c8578
xor eax, eax
jmp 0x1400cbe85
mov rdx, r9
mov rcx, r8
call fcn.1400cbd5c
mov rbx, rax
test rax, rax
je 0x1400cbe82
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400cbc88]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400cbe6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d6858
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400cbe56
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400cbe65
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400ddc04
jmp 0x1400cbe82
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400cbe7f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400cc258
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400cc0c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400cc0c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400cc0c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400cc0c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400cc0c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400cc0c3
cmp dword [rcx + 0xf8], 0
je 0x1400cc0c3
mov ecx, ebx
call fcn.1400cc174
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400cbf50
nop
cmp dword [rbp + 0x20], 0
je 0x1400cc111
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400cc11c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400cc054