joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001f9bc
Capabilities:
Check if file exists
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x140]
call fcn.1402958f0
test rax, rax
jbe 0x14001f9fa
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14001fa03
mov eax, dword [rsp + 0x60]
jmp 0x14001fc70
call fcn.14001f8f8
mov dword [rsp + 0xc0], 0
lea rax, [rsp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x8c], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0xa0], 0
lea rax, [rsp + 0xa8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [rsp + 0x88], eax
lea rdx, [rsp + 0x68]
mov ecx, dword [rsp + 0x88]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14001fc6c
cmp qword [rsp + 0x68], 0
je 0x14001fc6c
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x78]
mov edx, reloc.WS2_32.dll_send
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [rsp + 0xb8], eax
cmp qword [rsp + 0x78], 0
je 0x14001faf2
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
jmp 0x14001faff
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14001fc50
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14001fc1b
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0
je 0x14001fbd3
mov dword [rsp + 0x60], 1
cmp qword [rsp + 0xa0], 0
je 0x14001fbf7
cmp qword [rsp + 0xa0], 0xffffffffffffffff
je 0x14001fbf7
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0xa8], 0
je 0x14001fc1b
cmp qword [rsp + 0xa8], 0xffffffffffffffff
je 0x14001fc1b
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x80], 0
je 0x14001fc34
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp qword [rsp + 0x70], 0
je 0x14001fc50
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x68], 0
je 0x14001fc6c
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x68], 0
mov eax, dword [rsp + 0x60]
add rsp, 0x130
pop rdi
ret
Function at 0x140020638
Capabilities:
Check if file exists
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x50], 0
je 0x14002066c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x140020676
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x140020676
mov eax, 0xffffffff
jmp 0x1400207bc
mov qword [rsp + 0x30], 0
lea r8, [0x14036409c]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1402a2e90
mov dword [rsp + 0x28], eax
cmp qword [rsp + 0x30], 0
je 0x1400206a8
cmp dword [rsp + 0x28], 0
je 0x1400206b2
mov eax, 0xffffffff
jmp 0x1400207bc
mov rcx, qword [rsp + 0x30]
call fcn.1402a2ee8
mov ecx, eax
call fcn.1400207c4
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x1400206f8
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.140299d2c
mov rcx, qword [rsp + 0x30]
call fcn.1402a3448
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call fcn.1402a3450
mov qword [rsp + 0x38], 0
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, rax
call fcn.14028d628
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140020728
mov eax, 0xffffffff
jmp 0x1400207bc
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14028bc50
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
cdqe
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9, qword [rsp + 0x30]
mov r8, rax
mov edx, 1
call fcn.1402a379c
movsxd rcx, dword [rsp + 0x24]
add rcx, rax
mov rax, rcx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
je 0x1400207a1
mov rcx, qword [rsp + 0x38]
call fcn.1402996a8
mov eax, 0xffffffff
jmp 0x1400207bc
mov rcx, qword [rsp + 0x30]
call fcn.14029a390
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret
Function at 0x140020808
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400208ba
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1400208af
mov dword [rsp + 0x40], 1
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + rax + 0x44], rcx
mov eax, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
imul rax, rax, 0
mov dword [rsp + rax + 0x4c], 2
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140286010
add rsp, 0x68
ret
Function at 0x14002144c
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x8a0
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x30], 0
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x48], WSASetLastError
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x48], reloc.OLEAUT32.dll_VarBstrFromDisp
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x48], WSAGetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x48], 0x69
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x48], WSASetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x48], 0x57
mov eax, 1
imul rax, rax, 0xa
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0xb
jae 0x1400214db
jmp 0x1400214e0
call fcn.14028613c
mov rax, qword [rsp + 0x40]
mov byte [rsp + rax + 0x48], 0
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x48], 0x55
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x48], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x48], 0x67
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x48], reloc.OLEAUT32.dll_VarBstrFromDisp
mov r8d, 0x824
xor edx, edx
lea rcx, [0x1403dd110]
call fcn.14028bc50
mov byte [rsp + 0x60], 0
lea rax, [rsp + 0x61]
mov rdi, rax
xor eax, eax
mov ecx, 0x824
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 0x824
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x1400215be
lea rcx, [rsp + 0x60]
call fcn.1402958f0
test rax, rax
jbe 0x1400215be
lea r9, [rsp + 0x60]
lea r8, [0x1403dcf60]
mov edx, 0x834
lea rcx, [0x1403dd110]
call fcn.1400453f4
lea rcx, [rsp + 0x60]
call fcn.1402958f0
test rax, rax
jne 0x140021648
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
lea rdx, [0x1403dd0e8]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x140021646
lea rcx, [rsp + 0x60]
call fcn.1402958f0
test rax, rax
jbe 0x14002162f
lea r9, [rsp + 0x60]
lea r8, [0x1403dcf60]
mov edx, 0x834
lea rcx, [0x1403dd110]
call fcn.1400453f4
lea rcx, [rsp + 0x60]
call fcn.1402958f0
test rax, rax
je 0x140021646
mov dword [rsp + 0x30], 1
jmp 0x140021650
mov dword [rsp + 0x30], 1
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.140286010
add rsp, 0x8a0
pop rdi
ret
Function at 0x140026714
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x5b0
mov rax, qword [0x1403c86e8]
xor rax, rsp
mov qword [rsp + 0x5a0], rax
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x380], 0
lea rax, [rsp + 0x381]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0x490], 0
lea rax, [rsp + 0x491]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov byte [rsp + 0x50], 0
lea rax, [rsp + 0x51]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea rax, [0x1403dd0e8]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dc9d0]
lea r8, [0x14036431c]
mov edx, 0x104
lea rcx, [rsp + 0x490]
call fcn.1400453f4
lea rax, [0x1403dd0a8]
mov qword [rsp + 0x20], rax
lea r9, [0x1403dc9d0]
lea r8, [0x140364324]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.1400453f4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x270], 0
lea rax, [rsp + 0x271]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
lea r9, [0x1403dc7a4]
lea r8, [0x1403dcfa8]
lea rdx, [0x14036432c]
lea rcx, [rsp + 0x270]
call fcn.14002a514
cmp dword [rsp + 0x3c], 0
jne 0x1400269ed
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x380]
call fcn.14028d434
test rax, rax
je 0x1400269ed
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd040]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd030]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x3c], 0
jne 0x1400269e3
cmp dword [rsp + 0x40], 1
jne 0x1400269e3
cmp dword [rsp + 0x48], 0
jne 0x1400269e3
cmp dword [rsp + 0x44], 1
jne 0x1400269e3
mov byte [rsp + 0x160], 0
lea rax, [rsp + 0x161]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x104
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
lea r8, [0x1403dd020]
lea rdx, [rsp + 0x490]
mov rcx, 0xffffffff80000003
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea rcx, [rsp + 0x160]
call fcn.1402958f0
test rax, rax
jbe 0x1400269e1
lea rcx, [rsp + 0x160]
call fcn.140021eb0
test eax, eax
jne 0x1400269e1
mov dword [rsp + 0x38], 1
jmp 0x1400269eb
mov dword [rsp + 0x38], 1
jmp 0x1400269f5
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x5a0]
xor rcx, rsp
call fcn.140286010
add rsp, 0x5b0
pop rdi
ret
Function at 0x14002ce74
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x58], eax
call fcn.140289da0
mov qword [rsp + 0x70], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x88]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x40
jne 0x14002cf88
call fcn.140289da0
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x98], 0x2746
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x98]
movdqu xmmword [rax], xmm0
jmp 0x14002cfdc
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0x4d2
jne 0x14002cfdc
call fcn.140289da0
mov qword [rsp + 0x80], rax
mov dword [rsp + 0xa8], 0x274d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0xa8]
movdqu xmmword [rax], xmm0
cmp dword [rsp + 0x68], 0
je 0x14002cfea
mov eax, 0xffffffff
jmp 0x14002d01a
mov dword [rsp + 0xb8], 0
call fcn.140289da0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0xb8]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x40]
add rsp, 0xd8
ret
Function at 0x14002d238
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
cmp qword [rsp + 0xe0], 0xffffffffffffffff
jne 0x14002d295
call fcn.140289da0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], 0x2719
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0x68]
movdqu xmmword [rax], xmm0
mov eax, 0xffffffff
jmp 0x14002d4af
cmp dword [rsp + 0xf0], 0xa5100000
jne 0x14002d2e6
cmp dword [rsp + 0xf8], 2
jne 0x14002d2e6
call fcn.140289da0
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x78], 0x2726
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0x78]
movdqu xmmword [rax], xmm0
mov eax, 0xffffffff
jmp 0x14002d4af
cmp dword [rsp + 0xf0], 0xa5100000
jne 0x14002d3c2
cmp dword [rsp + 0xf8], 1
jne 0x14002d3c2
cmp qword [rsp + 0x108], 4
je 0x14002d350
call fcn.140289da0
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x88], 0x2726
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0x88]
movdqu xmmword [rax], xmm0
mov eax, 0xffffffff
jmp 0x14002d4af
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0
je 0x14002d377
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
or eax, 4
mov rcx, qword [rsp + 0xe8]
mov byte [rcx], al
jmp 0x14002d38f
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0xe8]
mov byte [rcx], al
mov dword [rsp + 0x98], 0
call fcn.140289da0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0x98]
movdqu xmmword [rax], xmm0
xor eax, eax
jmp 0x14002d4af
cmp dword [rsp + 0xf0], 0xffff
jne 0x14002d3f4
cmp dword [rsp + 0xf8], 0x80
jne 0x14002d3f4
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax]
or eax, 8
mov rcx, qword [rsp + 0xe8]
mov byte [rcx], al
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x100]
mov r8d, dword [rsp + 0xf8]
mov edx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0xe0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov dword [rsp + 0x40], eax
call fcn.140289da0
mov qword [rsp + 0x60], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0xa8]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14002d4ab
mov dword [rsp + 0xb8], 0
call fcn.140289da0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x110]
movups xmm0, xmmword [rsp + 0xb8]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x30]
add rsp, 0xd8
ret
Function at 0x14002da74
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x58
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x14002daf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
call fcn.140289da0
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x40], 0
jne 0x14002dac1
mov qword [rsp + 0x28], 0
jmp 0x14002dacd
lea rax, [fcn.140010b8c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14002daf0
lea rdx, [0x14036b8a8]
lea rcx, [rsp + 0x40]
call fcn.14002de18
mov eax, dword [rsp + 0x20]
add rsp, 0x58
ret

Function at 0x14002eb64
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor eax, eax
test eax, eax
jne 0x14002eb7c
cmp qword [rsp + 0x60], 0
je 0x14002eb94
mov dword [rsp + 0x30], 1
jmp 0x14002eb9c
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x14002ebb2
mov eax, reloc.WS2_32.dll_listen
jmp 0x14002ebed
xor eax, eax
test eax, eax
jne 0x14002eb82
mov rcx, qword [rsp + 0x60]
call fcn.1402958f0
inc eax
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rsp, 0x48
ret
Function at 0x14002ebf4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp qword [rsp + 0x78], 0
je 0x14002ec1e
mov dword [rsp + 0x34], 1
jmp 0x14002ec26
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x40], eax
xor eax, eax
test eax, eax
jne 0x14002ec2e
cmp dword [rsp + 0x40], 0
jne 0x14002ec45
mov ecx, 0x80004005
call fcn.140046210
xor eax, eax
test eax, eax
jne 0x14002ec0c
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jne 0x14002edaf
cmp qword [rsp + 0x68], 0
je 0x14002edaf
mov rax, qword [rsp + 0x78]
cmp dword [rax], 0
jbe 0x14002ed9d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jbe 0x14002ed82
cmp dword [rsp + 0x30], 2
jbe 0x14002ecd1
cmp dword [rsp + 0x30], 7
je 0x14002ed15
jmp 0x14002ed82
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
xor eax, eax
test rax, rax
jne 0x14002ecf4
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
movsx eax, byte [rcx + rax - 1]
test eax, eax
je 0x14002ed10
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov eax, reloc.WS2_32.dll_listen
jmp 0x14002edb3
jmp 0x14002ed9b
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
xor eax, eax
test rax, rax
jne 0x14002ed67
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
cmp rax, 1
jb 0x14002ed67
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
movsx eax, byte [rcx + rax - 1]
test eax, eax
jne 0x14002ed67
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
cmp rax, 1
jbe 0x14002ed80
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x68]
movsx eax, byte [rcx + rax - 2]
test eax, eax
je 0x14002ed80
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov eax, reloc.WS2_32.dll_listen
jmp 0x14002edb3
jmp 0x14002ed9b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov eax, reloc.WS2_32.dll_listen
jmp 0x14002edb3
jmp 0x14002edaf
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov byte [rcx + rax], 0
mov eax, dword [rsp + 0x3c]
add rsp, 0x58
ret
Function at 0x14004870c
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x88
xor ecx, ecx
call fcn.140295a30
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
xor eax, eax
movsxd rcx, dword [rsp + 0xa8]
movsxd rdx, dword [rsp + 0xa0]
movsxd r8, dword [rsp + 0x98]
imul r8, r8, 0x18
add rdx, r8
imul rdx, rdx, 0x3c
add rcx, rdx
imul rcx, rcx, 0x3c
add rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
mov qword [rcx + 8], rax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
cmp dword [rsp + 0x30], 3
jge 0x140048823
cmp qword [rsp + 0x38], 0
jne 0x140048823
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x90]
lea r8, [0x14004882c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x38], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x1400487cd
add rsp, 0x88
ret