joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14017eda0
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.14000a380
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.14000a3d0
test ebx, ebx
jne 0x14017ee17
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14017ee3f
lea rcx, [0x1403c6570]
call fcn.1400086f0
mov rbx, rax
mov rcx, rbx
call fcn.1401a2a40
mov rcx, rbx
call fcn.140008c60
int3
lea rcx, [0x1403c6d50]
call fcn.1400086f0
mov rbx, rax
mov rcx, rbx
call fcn.1401a7e60
mov rcx, rbx
call fcn.140008c60
int3

Function at 0x14017f300
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push rbx
sub rsp, 0x48
vzeroupper
lea rbp, [rsp + 0x50]
mov rbx, rcx
mov eax, dword [rbx + 0x38]
cmp eax, 0xffffffff
jne 0x14017f3aa
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rbx
mov r9d, 4
call fcn.14020ca30
mov ecx, eax
test ecx, ecx
jne 0x14017f3b1
xor eax, eax
mov ecx, 0x40000000
test byte [rbp - 0x10], 0x30
cmove eax, ecx
mov ecx, eax
or ecx, 0x80000000
test byte [rbp - 0x10], 2
cmovne eax, ecx
mov ecx, eax
or ecx, 0x10000000
test dword [rbp - 0x10], 0x800
cmovne eax, ecx
mov ecx, eax
or ecx, 0x8000000
test byte [rbp - 0x10], 4
cmovne eax, ecx
mov ecx, eax
or ecx, 0x4000000
test dword [rbp - 0x10], 0x1000
cmovne eax, ecx
mov ecx, eax
or ecx, 0x20000000
test byte [rbp - 0x10], 8
cmovne eax, ecx
mov dword [rbx + 0x38], eax
add rsp, 0x48
pop rbx
pop rbp
ret
add rsp, 0x48
pop rbx
pop rbp
ret
call fcn.14020c900
mov ecx, eax
lea rdx, [0x14034cd88]
xor r8d, r8d
call fcn.1401f3eb0
mov rcx, rax
call fcn.140008c60
int3

Function at 0x140183970
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140183982
add rsp, 0x28
jmp fcn.1401843c0
lea rcx, [0x140394b48]
call fcn.1400b60d0
int3

Function at 0x140183990
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
vzeroupper
lea rbp, [rsp + 0x90]
lea rcx, [0x1403a88b8]
cmp qword [rcx - 8], 0
jne 0x140183a0b
mov rcx, qword [0x1405cf048]
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1401839d2
cmp byte [rcx], cl
call fcn.140184870
jmp 0x1401839f9
lea rcx, [rbp - 0x60]
call fcn.14000a380
call sub.KERNEL32.dll_GetCommandLineW
mov rcx, rax
mov qword [rbp - 0x68], rcx
lea rcx, [rbp - 0x60]
call fcn.14000a3d0
mov rcx, qword [rbp - 0x68]
call fcn.140184020
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1400021b2
jmp 0x1401839b9
Function at 0x140192720
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x140192959
lea r14, [0x140490688]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x140192776
mov edx, 0x55555556
mov eax, edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
jmp 0x140192779
lea eax, [rbx - 4]
test eax, eax
jle 0x140192820
movsxd rdx, edi
lea rdx, [r10 + rdx*2]
movzx r15d, word [rdx]
movzx r13d, word [rdx + 2]
movzx r12d, word [rdx + 4]
movzx edx, word [rdx + 6]
mov r9d, r15d
or r9d, r13d
or r9d, r12d
or r9d, edx
test r9d, 0xffffff00
jne 0x1401927e4
movsxd r9, r15d
movsx r15, byte [r14 + r9]
shl r15d, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
or r15d, edx
movsxd rdx, r13d
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or r15d, edx
movsxd rdx, r12d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or r15d, edx
jmp 0x1401927ea
mov r15d, 0xffffffff
test r15d, r15d
jl 0x14019293f
movsxd rdx, ebp
add rdx, r11
mov r9d, r15d
sar r9d, 0x10
mov byte [rdx], r9b
mov r9d, r15d
sar r9d, 8
mov byte [rdx + 1], r9b
mov byte [rdx + 2], r15b
add ebp, 3
add edi, 4
cmp edi, eax
jl 0x140192781
lea edx, [rbx - 4]
cmp eax, edx
jne 0x14019293f
cmp edi, ebx
je 0x14019293f
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x14019293f
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
jne 0x1401928f7
cmp r9d, 0x3d
jne 0x1401928bc
test eax, eax
jl 0x14019293f
dec esi
cmp ebp, esi
jg 0x14019293f
sar eax, 0x10
movsxd r9, ebp
mov byte [r11 + r9], al
inc ebp
jmp 0x140192938
movsxd r10, r9d
movsx r9, byte [r14 + r10]
shl r9d, 6
or r9d, eax
mov eax, r9d
test eax, eax
jl 0x14019293f
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x14019293f
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140192938
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or edx, eax
movsxd rax, r9d
movsx rax, byte [r14 + rax]
shl eax, 6
or eax, edx
jl 0x14019293f
lea edx, [rsi - 3]
cmp ebp, edx
jg 0x14019293f
movsxd rdx, ebp
add rdx, r11
mov r10d, eax
sar r10d, 0x10
mov byte [rdx], r10b
mov r10d, eax
sar r10d, 8
mov byte [rdx + 1], r10b
mov byte [rdx + 2], al
add ebp, 3
add edi, 4
cmp ebx, ecx
je 0x140192959
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140208ff0
Capabilities:
Create directory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
test rcx, rcx
jne 0x14020901d
xor esi, esi
jmp 0x140209021
lea rsi, [rcx + 0xc]
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x70], rcx
mov rdx, rbx
mov qword [rbp - 0x78], rdx
lea rcx, [rbp - 0x68]
call fcn.14000a380
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1402090a7
mov dword [rdi + 0xd8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x140209088

Function at 0x1402095c0
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
vzeroupper
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x1402095ea
xor ebx, ebx
jmp 0x1402095ee
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.14000a380
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x140209669
mov dword [rdi + 0xd8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x14020964a
Function at 0x14020a5e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
vzeroupper
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140202300
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.14000a380
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x14020a6a8
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140202340
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14020a6e4
mov dword [rdi + 0xd8], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x14020a6c8

Function at 0x14020a730
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
vzeroupper
lea rbp, [rsp + 0xc0]
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140202300
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.14000a380
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14020a816
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140202340
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14020a852
mov dword [rdi + 0xd8], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x14020a836
Function at 0x14020a8d0
Capabilities:
Delete directory

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
vzeroupper
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x14020a8fa
xor ebx, ebx
jmp 0x14020a8fe
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.14000a380
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_RemoveDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14020a979
mov dword [rdi + 0xd8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x14020a95a

Function at 0x14020ab70
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov dword [r15], ecx
mov byte [rbp - 0x74], 0
lea rcx, [0x1403a2298]
call fcn.140343760
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x48], r15
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov qword [rbp - 0x88], rdx
mov r8, rdi
mov qword [rbp - 0x90], r8
mov r9, r14
mov qword [rbp - 0x98], r9
mov rcx, rbx
mov qword [rbp - 0xa0], rcx
lea rcx, [rbp - 0x70]
call fcn.14000a380
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
mov rcx, qword [rbp - 0xa0]
call sub.KERNEL32.dll_CreateThread
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.14000a3d0
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x74], 1
mov rax, qword [rbp - 0x80]
mov qword [rax + 8], rbx
mov rcx, rax
mov rax, rcx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x14020ace0
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140202300
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x70]
call fcn.14000a380
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a3d0
nop
cmp byte [rbp - 0x40], 0
je 0x14020ad56
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140202340
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14020bfc0
Capabilities:
Access the windows event log

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x30]
mov r13, qword [rbp + 0x50]
lea r12, [r13 + 0x10]
xor ecx, ecx
test r13, r13
cmove r12, rcx
mov qword [rbp - 0x40], r12
lea r13, [r15 + 0x10]
test r15, r15
cmove r13, rcx
mov qword [rbp - 0x48], r13
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r13
movsx rdx, word [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov r15d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r15d
mov r15, qword [rbp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
movsx rdx, si
mov dword [rbp - 0x74], edx
movzx r8d, di
mov dword [rbp - 0x78], r8d
mov rcx, rbx
mov qword [rbp - 0x84], rcx
mov r9d, r14d
mov dword [rbp - 0x7c], r9d
lea rcx, [rbp - 0x70]
call fcn.14000a380
mov edx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x7c]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a3d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14020c0e3
mov dword [rdi + 0xd8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x14020c0c1
Function at 0x14020c100
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
vzeroupper
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x78], rax
vxorps xmm4, xmm4, xmm4
vmovdqu ymmword [rbp - 0x70], ymm4
vmovdqa xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140202300
nop
lea rcx, [r12 + 0x10]
xor edx, edx
test r12, r12
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r13 + 0x10]
xor r8d, r8d
test r13, r13
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r15 + 0x10]
xor r9d, r9d
test r15, r15
cmove r8, r9
mov qword [rbp - 0x60], r8
lea r9, [r14 + 0x10]
xor eax, eax
test r14, r14
cmove r9, rax
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x78], rbx
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0xac], rcx
mov edx, edi
mov dword [rbp - 0xa4], edx
mov r8, rbx
mov qword [rbp - 0xb4], r8
mov r9, rsi
mov qword [rbp - 0xbc], r9
lea rcx, [rbp - 0xa0]
call fcn.14000a380
mov rcx, qword [rbp - 0xac]
mov edx, dword [rbp - 0xa4]
mov r8, qword [rbp - 0xb4]
mov r9, qword [rbp - 0xbc]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.14000a3d0
nop
xor ecx, ecx
mov qword [rbp - 0x78], rcx
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 0x14020c267
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140202340
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 0x14020c5b0
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
vzeroupper
lea rbp, [rsp + 0xd0]
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.140202300
nop
test rbx, rbx
jne 0x14020c608
xor edx, edx
jmp 0x14020c60c
lea rdx, [rbx + 0xc]
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 - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.14000a380
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000a3d0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x14020c695
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140202340
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 0x14020f800
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]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
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, r11
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.14020f800
ret

Function at 0x140234190
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
cmp edx, 0xffffffff
je 0x1402341c3
mov ecx, edx
call fcn.1402340c0
mov rdx, rax
lea rcx, [0x14036d138]
lea r8, [0x140371ee8]
call fcn.1401870e0
mov rcx, rax
call fcn.140234040
jmp 0x1402341c8
mov eax, 0xd5313557
mov ecx, eax
rol ecx, 0xd
add ecx, eax
mov eax, ecx
xor eax, ebx
mov ecx, eax
rol ecx, 0xf
add eax, ecx
add rsp, 0x20
pop rbx
ret
Function at 0x140279a60
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rbx, [0x1403a88b8]
cmp qword [rbx - 8], 0
jne 0x140279b94
imul esi, dword [rbx + 4], 0x32
test esi, esi
jl 0x140279baf
mov rax, qword gs:[0x58]
mov ecx, dword [0x1405ebc0c]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140279b9e
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
jne 0x140279ac0
call fcn.14020f710
mov rcx, rax
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov r8d, esi
shr r11, 0x20
mov r10d, r11d
imul r10, r8
mov r9d, r10d
cmp r9d, esi
jae 0x140279b82
mov eax, esi
neg eax
xor edx, edx
div esi
cmp r9d, edx
jae 0x140279b82
mov r10, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, r9
shl rbx, 0x11
xor rax, r10
xor r11, r9
lea rdi, [r9 + r9*4]
rol rdi, 7
lea rsi, [rdi + rdi*8]
xor r9, rax
xor r10, r11
xor rax, rbx
rol r11, 0x2d
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r11
shr rsi, 0x20
mov r10d, esi
imul r10, r8
mov r9d, r10d
cmp r9d, edx
jb 0x140279b29
shr r10, 0x20
mov eax, r10d
add eax, 0x64
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000130f
jmp 0x140279a79
lea rax, [0x140205b10]
call rax
mov rdi, rax
jmp 0x140279aac
call fcn.1401a8480
int3