joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140062550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, r9d
xor r8d, r8d
mov rsi, rdx
mov rbx, rcx
cmp rdi, 0xffffffffffffffff
jne 0x1400625b4
movzx eax, byte [rdx]
mov edi, r8d
test al, al
je 0x1400625a8
nop dword [rax]
nop word [rax + rax]
imul r8d, r8d, 0x1003f
inc rdi
movzx eax, al
add r8d, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140062590
test rdi, rdi
jne 0x1400625e2
xor eax, eax
jmp 0x140062667
mov rdx, r8
test rdi, rdi
je 0x1400625ad
nop dword [rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1400625dc
imul r8d, r8d, 0x1003f
inc rdx
add r8d, eax
cmp rdx, rdi
jb 0x1400625c0
jmp 0x1400625a8
mov r8d, 0x11
mov eax, dword [rcx + 0x128]
mov edx, r8d
movzx ecx, byte [rcx + 0x12c]
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, r8d
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14006265f
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14006264e
cmp dword [rbx + 0x14], ebp
jne 0x14006264e
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14006263f
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.14009bba0
test eax, eax
je 0x140062656
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140062626
test rbx, rbx
je 0x14006265f
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14006b130
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400da0c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov r14, r8
mov rsi, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x14006b224
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x14006b1b8
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x14006b190
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14006a9a0
mov dword [rsi], eax
test eax, eax
jne 0x14006b1e1
mov rax, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rax + 0x48]
call fcn.1400705d0
mov dword [rsi], eax
cmp dword [rsi], r12d
jne 0x14006b24c
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14006ae70
test eax, eax
je 0x14006b224
mov ecx, dword [r14]
test eax, ecx
jne 0x14006b245
or ecx, eax
xor r8d, r8d
mov dword [r14], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.140070660
cmp al, 2
jne 0x14006b224
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x14006b170
mov eax, 0x1a
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400776f0
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, 0x37
jmp 0x14006b229
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.140070660
cmp al, 2
jne 0x14006b2c3
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x14006b2c3
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14006b2aa
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x14006b280
lea rcx, [rsp + 0x20]
call fcn.14006ae70
cmp eax, 0x10
jne 0x14006b2c3
or dword [r14], eax
xor eax, eax
jmp 0x14006b229
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x14006b229
Function at 0x1400785fc
Capabilities:
Parse pe header

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

Function at 0x1400880a4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140087f37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140087f37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140087f37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140087f37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140087f37
cmp dword [rcx + 0x84], 0xe
jbe 0x140087f37
cmp dword [rcx + 0xf8], 0
je 0x140087f37
mov ecx, ebx
call fcn.140087fd8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140087dc8
cmp dword [rbp + 0x20], 0
je 0x140087f84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140087f8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140087ed0
Function at 0x14009b8c0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14009b8e8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14009b8e8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62

Function at 0x4013c0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + 0x20]
test r12, r12
je 0x401438
nop dword [rax + rax]
cmp word [r12 + 0x48], 0
je 0x40143e
mov rax, qword [r12 + 0x50]
mov r8d, 0xd7c
lea r9, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x40142a
mov edx, r8d
lea r11d, [rax - 0x41]
lea r10d, [rax + 0x20]
shl edx, 4
cmp r11w, 0x19
cmovbe eax, r10d
add r9, 2
add eax, edx
add r8d, eax
movzx eax, word [r9 - 2]
test ax, ax
jne 0x401400
cmp ecx, r8d
je 0x401447
mov r12, qword [r12]
test r12, r12
jne 0x4013e0
mov rax, r12
pop r12
ret
xor r12d, r12d
mov rax, r12
pop r12
ret
mov r12, qword [r12 + 0x20]
mov rax, r12
pop r12
ret

Function at 0x401460
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x401528
movsxd r8, dword [rcx + 0x3c]
add r8, rcx
cmp dword [r8], 0x4550
jne 0x401528
push r12
push rbp
push rdi
push rsi
push rbx
mov r8d, dword [r8 + 0x88]
add r8, rcx
mov ebx, dword [r8 + 0x20]
mov edi, dword [r8 + 0x1c]
mov esi, dword [r8 + 0x24]
mov r8d, dword [r8 + 0x14]
test r8d, r8d
je 0x40151a
lea rax, [rcx + rsi + 2]
sub r8d, 1
lea r11, [rcx + rsi]
sub rbx, rcx
lea rbp, [rax + r8*2]
nop word [rax + rax]
mov rax, r11
movzx r8d, word [r11]
mov r9d, 0xd7c
sub rax, rsi
mov eax, dword [rbx + rax*2]
lea r8, [rcx + r8*4]
mov r12d, dword [r8 + rdi]
add rax, rcx
lea r10, [rax + 1]
movsx eax, byte [rax]
test al, al
je 0x40150a
nop dword [rax]
mov r8d, r9d
add r10, 1
shl r8d, 4
add eax, r8d
add r9d, eax
movsx eax, byte [r10 - 1]
test al, al
jne 0x4014f0
cmp edx, r9d
je 0x401529
add r11, 2
cmp rbp, r11
jne 0x4014c0
xor eax, eax
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
ret
mov eax, r12d
pop rbx
pop rsi
add rax, rcx
pop rdi
pop rbp
pop r12
ret
Function at 0x14003173c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400317b4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400317b4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400317b4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400317a8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400317c6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031796
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400317b6

Function at 0x140033300
Capabilities:
Parse pe header

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

Function at 0x14003c094
Capabilities:
Parse pe header

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

Function at 0x140045fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001a90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ada
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ada
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ada
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ada
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ada
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001adc
xor al, al
add rsp, 0x28
ret
Function at 0x140002620
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
sub rsi, rcx
mov r9d, 4
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xe0]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140002660
sub r9, 1
jne 0x140002650
mov bpl, 0xd
lea rdi, [rsi + 0xd0]
lea r14, [0x140062d50]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140002700
inc r8
sub r9, 1
jne 0x1400026f0
mov rax, rbx
lea r8d, [rdx + 4]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140002740
sub r8, 1
jne 0x140002730
mov rcx, rbx
call fcn.140002080
sub rdi, 0x10
add bpl, 0xff
jne 0x140002690
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x1400027e0
inc r8
sub r9, 1
jne 0x1400027d0
lea edx, [r9 + 4]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140002810
sub rdx, 1
jne 0x140002802
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 0x1400136d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov eax, dword [rcx]
lea rdi, [0x140062f50]
xor r8d, r8d
mov r11, rdx
mov r10, rcx
mov r9d, r8d
mov ebx, r8d
test eax, eax
jle 0x14001372b
nop word [rax + rax]
mov rdx, qword [r11]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013700
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x14001376c
nop word [rax + rax]
mov rdx, qword [r11 + 8]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013740
mov r9d, r8d
mov rbx, r8
test eax, eax
jle 0x1400137ac
nop word [rax + rax]
mov rdx, qword [r11 + 0x10]
lea rbx, [rbx + 1]
inc r9d
movzx eax, byte [rdx + rbx - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + rbx - 1], al
mov eax, dword [r10]
cmp r9d, eax
jl 0x140013780
mov r9, r8
test eax, eax
jle 0x1400137de
mov rdx, qword [r11 + 0x18]
lea r9, [r9 + 1]
inc r8d
movzx eax, byte [rdx + r9 - 1]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [rdx + r9 - 1], al
cmp r8d, dword [r10]
jl 0x1400137b3
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
Function at 0x140015370
Capabilities:
Connect to http server
Create http request

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rcx
mov edx, 0x3e
lea rcx, [rsp + 0x60]
call fcn.1400140c0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
add r8, rdx
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400146d0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140015414
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001540f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400154fa
call fcn.1400285fc
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbx + 8], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14001547c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140015477
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400154f4
call fcn.1400285fc
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400154cd
lea rdx, [0x140071958]
cmp qword [0x140071970], 8
cmovae rdx, qword [0x140071958]
mov r8d, 0x1bb
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rdi
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400154cd
mov byte [rbx], 1
cmp byte [rbx], 1
sete al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400285b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
call fcn.14002ef48
int3
call fcn.14002ef48
int3
Function at 0x14001aa60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.140029290
sub rsp, rax
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
lea ecx, [rdi + 0x10]
call fcn.140028604
mov qword [rsi], rax
mov qword [rsi + 8], rax
add rax, 0x10
mov qword [rsi + 0x10], rax
mov rax, qword [rsi]
lea rcx, [rax + 0x10]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rsi + 8], rcx
mov ebx, 1
mov dword [rsp + 0x20], ebx
call fcn.140027cc8
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, 0x270
jb 0x14001aaf0
mov dword [rsp + 0x30], 0x270
nop word [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.14001c8c0
movzx edx, al
mov rcx, qword [rsi]
mov byte [rdi + rcx], dl
inc rdi
cmp rdi, 0x10
jl 0x14001ab20
mov rax, rsi
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.1400285b0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14001ab70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x130
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov ebp, edx
mov rbx, r8
add ebp, 0xfffffff0
mov r14, rcx
test rcx, rcx
je 0x14001aba7
movups xmm0, xmmword [rcx]
jmp 0x14001abba
call fcn.140033c2c
mov dword [rax], 0x16
call fcn.14002ef28
xorps xmm0, xmm0
mov rdx, qword [rbx]
lea rcx, [rsp + 0x20]
add r14, 0x10
call fcn.140001c10
movaps xmmword [rsp + 0x110], xmm0
mov rbx, r14
mov esi, ebp
test ebp, ebp
je 0x14001ac49
mov qword [rsp + 0x158], rdi
lea rdi, [rsp + 0x110]
sub rdi, r14
dec rsi
shr rsi, 4
inc rsi
nop dword [rax]
movups xmm0, xmmword [rbx]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140002620
mov ecx, 0x10
nop word [rax + rax]
movzx eax, byte [rdi + rbx]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x14001ac20
sub rdi, 0x10
movaps xmmword [rsp + 0x110], xmm0
sub rsi, 1
jne 0x14001ac00
mov rdi, qword [rsp + 0x158]
lea eax, [rbp - 1]
xor ecx, ecx
movzx eax, byte [rax + r14]
sub ebp, eax
cmp eax, 0x10
cmova ebp, ecx
mov eax, ebp
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400285b0
mov rbx, qword [rsp + 0x160]
add rsp, 0x130
pop r14
pop rsi
pop rbp
ret
Function at 0x14001ac90
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x170
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [r11 + 8], rbx
xorps xmm0, xmm0
mov qword [r11 - 0x18], rdi
mov rbx, rcx
mov qword [r11 - 0x20], r14
lea rcx, [rsp + 0x20]
xor eax, eax
mov qword [r11 - 0x28], r15
mov r14, r8
mov qword [rsp + 0x30], rax
mov rdi, rdx
movups xmmword [rsp + 0x20], xmm0
call fcn.14001aa60
mov rax, qword [r14]
mov rsi, qword [rsp + 0x20]
mov r15, qword [rbx]
test rax, rax
je 0x14001adf0
mov qword [rsp + 0x168], rbp
mov ebp, dword [rdi + 0x10]
test rsi, rsi
je 0x14001ad0b
movups xmm0, xmmword [rsi]
movups xmmword [rax], xmm0
jmp 0x14001ad21
xorps xmm0, xmm0
movups xmmword [rax], xmm0
call fcn.140033c2c
mov dword [rax], 0x16
call fcn.14002ef28
cmp qword [rdi + 0x18], 0x10
jb 0x14001ad2b
mov rdi, qword [rdi]
mov rcx, qword [r14]
mov r9, rbp
add rcx, 0x10
mov r8, rdi
mov rdx, rbp
call fcn.14001ca50
mov rcx, qword [r14]
mov eax, ebp
and eax, 0xf
add rcx, 0x10
mov edi, 0x10
mov r8d, 0x10
sub edi, eax
add rcx, rbp
movzx eax, bpl
mov edx, edi
and eax, 0xf
sub r8, rax
call fcn.14002aed0
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.140001c10
mov rbx, qword [r14]
lea eax, [rdi + rbp]
movups xmm0, xmmword [rsi]
mov rbp, qword [rsp + 0x168]
lea r8, [rsp + 0x130]
add rbx, 0x10
mov edi, eax
movaps xmmword [rsp + 0x130], xmm0
test eax, eax
je 0x14001adeb
dec rdi
shr rdi, 4
inc rdi
nop
mov rax, rbx
sub r8, rbx
mov edx, 0x10
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14001adc0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140002320
mov r8, rbx
add rbx, 0x10
sub rdi, 1
jne 0x14001adb0
mov rsi, qword [rsp + 0x20]
mov r15, qword [rsp + 0x150]
mov r14, qword [rsp + 0x158]
mov rdi, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x180]
test rsi, rsi
je 0x14001ae46
mov rdx, qword [rsp + 0x30]
mov rax, rsi
sub rdx, rsi
cmp rdx, 0x1000
jb 0x14001ae3e
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ae5f
mov rcx, rsi
call fcn.1400285fc
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400285b0
add rsp, 0x170
pop rsi
ret
call fcn.14002ef48
int3
Function at 0x14001b030
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14006c030]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rsp + 0x80]
xor sil, sil
cmp qword [r8 + 0x18], 0x10
mov rdi, r9
mov rax, r8
jb 0x14001b069
mov rax, qword [r8]
lea rcx, [rsp + 0x30]
mov r9d, 0x20019
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001b152
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
mov dword [rsp + 0x38], eax
jb 0x14001b0a5
mov rdx, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001b147
mov edx, dword [rsp + 0x38]
xor r8d, r8d
dec edx
mov dword [rsp + 0x3c], 1
mov rcx, rbx
call fcn.140002840
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x14001b0f3
mov rax, qword [rbx]
cmp qword [rdi + 0x18], 0x10
jb 0x14001b0fd
mov rdi, qword [rdi]
lea rcx, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x28], rcx
lea r9, [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001b147
cmp dword [rsp + 0x38], eax
jne 0x14001b144
cmp qword [rbx + 0x18], 0x10
mov rax, rbx
jb 0x14001b139
mov rax, qword [rbx]
mov qword [rbx + 0x10], 0
mov byte [rax], sil
mov sil, 1
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, sil
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400285b0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret