joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400397e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r12d, r9d
mov r13, r8
mov r14, rdx
mov rbp, rcx
mov r15, qword [rsp + 0xd0]
mov rdx, r15
mov ecx, 0xb0
call fcn.140010e70
mov rbx, rax
mov rax, qword [r14 + 0x18]
xor r8d, r8d
mov esi, r8d
mov ecx, r8d
test rax, rax
je 0x140039840
mov rcx, qword [r14 + 0x10]
mov rsi, rax
lock inc dword [rax + 0xc]
movzx eax, byte [r14 + 8]
mov qword [rbx + 0x20], r8
lea rdx, [0x14003d6a0]
mov qword [rbx + 0x28], rdx
mov qword [rbx], r8
mov qword [rbx + 8], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], r8
mov dword [rbx + 0x30], r8d
mov byte [rbx + 0x38], al
mov qword [rbx + 0x40], r8
mov qword [rbx + 0x48], r8
test rsi, rsi
je 0x140039883
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x48], rsi
lock inc dword [rsi + 0xc]
movups xmm0, xmmword [r13]
movups xmmword [rbx + 0x50], xmm0
mov rax, qword [r15]
mov qword [rbx + 0x60], rax
mov qword [rbx + 0x68], r8
mov qword [rbx + 0x70], r8
mov rax, qword [r15 + 8]
mov qword [rbx + 0x68], rax
mov rax, qword [r15 + 0x10]
mov qword [rbx + 0x70], rax
mov qword [r15 + 8], r8
mov qword [r15 + 0x10], r8
lea rcx, [rbx + 0x78]
mov r9, qword [rsp + 0xd8]
xor edx, edx
call fcn.140025270
test rsi, rsi
je 0x1400398e3
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x1400398e3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x40], xmm0
movq qword [rsp + 0x58], xmm0
movq xmm0, qword [r13 + 8]
movd dword [rsp + 0x50], xmm0
mov rax, qword [r13 + 8]
mov qword [rsp + 0x60], rax
test byte [r14 + 8], 0x10
je 0x140039933
test rax, rax
jne 0x140039933
mov rax, qword [rbp + 8]
lock inc dword [rax + 0x30]
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rbp + 8]
call fcn.140022470
jmp 0x1400399f4
lea rdi, [rbp + 8]
mov rax, qword [rdi]
lock inc dword [rax + 0x30]
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
jne 0x140039960
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.140022470
jmp 0x1400399f4
xor eax, eax
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
mov r8d, 1
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x1400399b5
mov eax, 0x2746
jmp 0x1400399c5
cmp eax, 0x4d2
jne 0x1400399c5
mov eax, 0x274d
lea rdi, [rbp + 8]
test esi, esi
je 0x1400399e8
cmp eax, 0x3e5
je 0x1400399e8
mov r9d, dword [rsp + 0xd0]
mov r8d, eax
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.140022470
jmp 0x1400399f4
mov rdx, rbx
mov rcx, qword [rdi]
call fcn.140022520
nop
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140039a20
Capabilities:
Send data
Send data on socket

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, 0x90
mov r12, r9
mov r13, r8
mov r14, rdx
mov rbp, rcx
mov r15, qword [rsp + 0xe8]
mov rdx, r15
mov ecx, 0xa8
call fcn.140010e70
mov rdi, rax
mov rax, qword [r14 + 0x18]
xor edx, edx
mov esi, edx
mov ecx, edx
test rax, rax
je 0x140039a7d
mov rcx, qword [r14 + 0x10]
mov rsi, rax
lock inc dword [rax + 0xc]
mov qword [rdi + 0x20], rdx
lea rax, [0x14003d850]
mov qword [rdi + 0x28], rax
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
mov qword [rdi + 0x18], rdx
mov dword [rdi + 0x30], edx
mov qword [rdi + 0x38], rdx
mov qword [rdi + 0x40], rdx
test rsi, rsi
je 0x140039ab7
mov qword [rdi + 0x38], rcx
mov qword [rdi + 0x40], rsi
lock inc dword [rsi + 0xc]
movups xmm0, xmmword [r13]
movups xmmword [rdi + 0x48], xmm0
mov rax, qword [r15]
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x60], rdx
mov qword [rdi + 0x68], rdx
mov rax, qword [r15 + 8]
mov qword [rdi + 0x60], rax
mov rax, qword [r15 + 0x10]
mov qword [rdi + 0x68], rax
mov qword [r15 + 8], rdx
mov qword [r15 + 0x10], rdx
lea rcx, [rdi + 0x70]
mov r9, qword [rsp + 0xf0]
xor r8d, r8d
call fcn.140025270
test rsi, rsi
je 0x140039b18
mov eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x140039b18
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x50], xmm0
movq qword [rsp + 0x68], xmm0
movq xmm0, qword [r13 + 8]
movd dword [rsp + 0x60], xmm0
mov rax, qword [r13 + 8]
mov qword [rsp + 0x70], rax
movzx edx, word [r12]
mov rax, qword [rbp + 0x30]
lock inc dword [rax + 0x30]
mov rcx, qword [r14]
cmp rcx, 0xffffffffffffffff
jne 0x140039b6d
xor r9d, r9d
mov r8d, 0x2719
mov rdx, rdi
mov rcx, qword [rbp + 0x30]
call fcn.140022470
jmp 0x140039c08
xor r9d, r9d
mov dword [rsp + 0xe8], r9d
mov eax, select
mov r8d, 0x1c
cmp dx, 2
cmovne eax, r8d
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0xe8]
mov r8d, 1
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASendTo]
mov ebx, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x274d
cmp eax, 0x4d2
cmove eax, ecx
test ebx, ebx
je 0x140039bfb
cmp eax, 0x3e5
je 0x140039bfb
mov r9d, dword [rsp + 0xe8]
mov r8d, eax
mov rdx, rdi
mov rcx, qword [rbp + 0x30]
call fcn.140022470
jmp 0x140039c08
mov rdx, rdi
mov rcx, qword [rbp + 0x30]
call fcn.140022520
nop
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14003fd00
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov r15, rdx
mov r14d, ecx
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rdi
xor esi, esi
movzx edx, r14w
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbx, rax
test rax, rax
jne 0x14003fd6f
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, r14d
lea rdx, str.BinaryResource.WriteResourceToFile:_FindResource__d_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x14003fe9b
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r12d, eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14003fdb5
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, r14d
lea rdx, str.BinaryResource.WriteResourceToFile:_LoadResource__d_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x14003fe9b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
jne 0x14003fdee
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8d, r14d
lea rdx, str.BinaryResource.WriteResourceToFile:_LockResource__d_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x14003fe9b
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x14003fe4a
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, r15
lea rdx, str.BinaryResource.WriteResourceToFile:_CreateFile__s_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x14003fe9b
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x80]
mov r8d, r12d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14003fe96
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, r15
lea rdx, str.BinaryResource.WriteResourceToFile:_WriteFile__s_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x14003fe9b
mov esi, 1
cmp rdi, 0xffffffffffffffff
je 0x14003feaa
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop r12
ret
Function at 0x140042010
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x40]
call fcn.140191ec0
lea rdx, [rsp + 0x40]
lea rcx, str.CaptureScreen.exe
call fcn.14005a030
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x40]
mov ecx, 0x13b
call fcn.14003fd00
test eax, eax
je 0x14004218d
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x150]
call fcn.140191ec0
lea r9, [rsp + 0x40]
lea r8, [0x1401a0d04]
mov edx, 0x104
lea rcx, [rsp + 0x150]
call fcn.140040fd0
mov rbx, qword [0x1401f90b8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov ecx, 0x30
call fcn.14016aa7c
mov rcx, rax
mov qword [rsp + 0x20], rax
movdqa xmm0, xmmword [0x1401a0dd0]
movdqu xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [str.AcService.AntiInternet.CaptureScreen.Show]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1401a0d20]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1401a0d30]
movsd qword [rax + 0x20], xmm0
movzx eax, byte [0x1401a0d38]
mov byte [rcx + 0x28], al
mov byte [rcx + 0x29], 0
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140062a30
mov ebx, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14004215d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042158
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421ae
call fcn.14016aab8
test ebx, ebx
sete r8b
lea rdx, [rsp + 0x150]
mov rcx, rdi
call fcn.1400421c0
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14016ab50
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
call fcn.140170de4
int3
Function at 0x1400426c0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
lea rcx, str.fsw4internet.exe
call fcn.140050a20
test al, al
je 0x1400426fc
mov ecx, dword [rsp + 0x20]
call fcn.140051210
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.140191ec0
lea rdx, [rsp + 0x30]
lea rcx, str.fsw4internet.exe
call fcn.14005a030
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, [rsp + 0x30]
mov ecx, 0x13c
call fcn.14003fd00
test eax, eax
je 0x140042751
cmp byte [rbx], 0
mov rcx, rbx
je 0x14004274c
call fcn.140042770
jmp 0x140042751
call fcn.140042a70
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14016ab50
add rsp, 0x150
pop rbx
ret
Function at 0x140046f20
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x18], 0xf
lea rdi, [rcx + 0x18]
mov rbx, rcx
jbe 0x140046f3b
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rbx + 0x20]
call fcn.1400073a0
mov rdx, qword [rdi]
cmp rdx, 0xf
jbe 0x140046f83
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140046f7e
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140046fa0
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.14016aab8
mov qword [rbx + 0x10], 0
mov byte [rbx], 0
mov rbx, qword [rsp + 0x30]
mov qword [rdi], reloc.WS2_32.dll_ntohs
add rsp, 0x20
pop rdi
ret
call fcn.140170de4
int3
Function at 0x140050ff0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x48], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx + 0x10], 3
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov eax, dword [0x14019b230]
mov word [rcx], ax
movzx eax, byte [0x14019b232]
mov byte [rcx + 2], al
mov byte [rcx + 3], r14b
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test eax, eax
jne 0x14005109f
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_GetFileVersionInfoSize_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x1400511e0
mov rcx, rbx
call fcn.14016b070
mov rsi, rax
test rax, rax
jne 0x1400510c8
call fcn.140067ee0
lea rdx, str.Utils.getFileVersion:_Out_of_memory
mov rcx, rax
call fcn.140067c40
jmp 0x1400511e0
mov r9, rsi
mov r8d, ebx
mov edx, dword [rsp + 0x40]
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x140051103
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_GetFileVersionInfo_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x1400511d7
mov dword [rsp + 0x44], r14d
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x50]
lea rdx, [0x1401a2834]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x14005114f
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Utils.getFileVersion:_VerQueryValueA_failed___d
mov rcx, rbx
call fcn.140067c40
jmp 0x1400511d7
cmp dword [rsp + 0x44], 0
je 0x1400511d7
mov rbx, qword [rsp + 0x50]
cmp dword [rbx], 0xfeef04bd
jne 0x1400511d7
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x60]
call fcn.140191ec0
mov r8d, dword [rbx + 0xc]
mov r9d, dword [rbx + 8]
movzx ecx, r8w
shr r8d, 0x10
movzx eax, r9w
shr r9d, 0x10
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], eax
lea r8, [0x1401a2868]
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140040fd0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400511c0
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.140004540
mov rcx, rsi
call fcn.14016aab8
nop
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016ab50
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140051210
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x20
mov edi, ecx
mov r8d, ecx
mov ecx, 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
jne 0x14005125f
mov qword [rsp + 0x30], rbx
call fcn.140067ee0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, edi
lea rdx, str.Utils.killProcess:_Open_process_id_d_failed___d
mov r9d, eax
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140067c40
mov edx, 1
mov rcx, rax
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]

Function at 0x1400513c0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rcx], 0
xor ecx, ecx
mov edx, 2
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
cmp eax, 0x80010106
je 0x140051403
test eax, eax
js 0x14005144e
lea r9, [0x14019d558]
mov qword [rsp + 0x20], rbx
xor edx, edx
lea rcx, [0x14019d548]
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
js 0x1400514a2
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14016ab50
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.140191ec0
lea r9, str.WinFirewallCtrl.Construct:_CoInitializeEx_failed
mov dword [rsp + 0x20], edi
lea r8, str._s__0x_08lx
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140040fd0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x30]
call fcn.14016bd70
int3
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x200
call fcn.140191ec0
lea r9, str.WinFirewallCtrl.Construct:_Create_instance_of_INetFwPolicy2_failed
mov dword [rsp + 0x20], edi
lea r8, str._s__0x_08lx
mov edx, 0x200
lea rcx, [rsp + 0x50]
call fcn.140040fd0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x30]
call fcn.14016bd70
int3
Function at 0x1400523b0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x270
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rcx], 0
mov edx, 6
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
cmp eax, 0x80010106
je 0x1400523f7
test eax, eax
js 0x1400524e7
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14019d3a0]
xor edx, edx
mov r8d, 1
lea rcx, [0x14019d390]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140052447
call fcn.140067ee0
lea rdx, str.WinFirewallCtrlXP.Construct:_Create_instance_of_NetFwMgr_failed__0x_08lx
jmp 0x140052493
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x38]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14005246f
call fcn.140067ee0
lea rdx, str.WinFirewallCtrlXP.Construct:_Get_local_policy_failed__0x_08lx
jmp 0x140052493
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x38]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14005249f
call fcn.140067ee0
lea rdx, str.WinFirewallCtrlXP.Construct:_Get_current_profile_failed__0x_08lx
mov r8d, ebx
mov rcx, rax
call fcn.140067c40
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400524af
mov rax, qword [rcx]
call qword [rax + select]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400524bf
mov rax, qword [rcx]
call qword [rax + select]
test ebx, ebx
js 0x14005253b
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14016ab50
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.140191ec0
mov dword [rsp + 0x20], ebx
lea r9, str.WinFirewallCtrlXP.Construct:_CoInitializeEx_failed
lea r8, str._s__0x_08lx
mov edx, 0x200
lea rcx, [rsp + 0x60]
call fcn.140040fd0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x48]
call fcn.14016bd70
int3
call qword [sym.imp.ole32.dll_CoUninitialize]
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x60]
call fcn.140191ec0
mov dword [rsp + 0x20], ebx
lea r9, str.WinFirewallCtrlXP.Construct:_Initialize_failed__0x_08lx
lea r8, str._s__0x_08lx
mov edx, 0x200
lea rcx, [rsp + 0x60]
call fcn.140040fd0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x48]
call fcn.14016bd70
nop
int3
Function at 0x1400576f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x140057750
cmp eax, 2
jne 0x14005776e
xor eax, eax
jmp 0x140057755
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016ab50
add rsp, 0x170
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140191ec0
mov r9d, ebx
lea r8, str.IS_Registry.QueryInt64Value:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140051350
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x48]
call fcn.14016bd70
int3

Function at 0x1400577c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
je 0x14005781f
cmp eax, 2
jne 0x14005783c
xor eax, eax
jmp 0x140057823
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016ab50
add rsp, 0x170
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140191ec0
mov r9d, ebx
lea r8, str.IS_Registry.QueryIntValue:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140051350
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x40]
call fcn.14016bd70
int3
Function at 0x140057890
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r15d, r15d
mov qword [rsp + 0x38], rdx
mov ebx, r15d
mov dword [rsp + 0x30], r15d
mov rbp, r8
mov rsi, rdx
mov r14, rcx
nop
mov rcx, qword [r14]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
test eax, eax
je 0x14005791a
mov rcx, rbx
cmp eax, 2
je 0x14005792d
cmp eax, 0xea
jne 0x1400579ba
mov edx, dword [rsp + 0x30]
call fcn.140175738
mov rbx, rax
jmp 0x1400578d0
test rbx, rbx
jne 0x140057949
mov ecx, dword [rsp + 0x30]
call fcn.1401747a4
mov rbx, rax
jmp 0x1400578d0
call fcn.140174820
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r15b
jmp 0x140057990
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0x50], xmm1
inc r8
cmp byte [rbx + r8], r15b
jne 0x140057961
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.1400056b0
mov rcx, rbx
call fcn.140174820
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14016ab50
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140174820
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x100
call fcn.140191ec0
mov r9d, edi
lea r8, str.IS_Registry::QueryStrValue:_RegQueryValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x60]
call fcn.140051350
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x40]
call fcn.14016bd70
int3

Function at 0x140057a10
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x1401f41c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], r8
mov r9d, reloc.WS2_32.dll_inet_addr
xor r8d, r8d
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
test eax, eax
jne 0x140057a73
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14016ab50
add rsp, 0x160
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x100
call fcn.140191ec0
mov r9d, ebx
lea r8, str.IS_Registry.SetInt64Value:_RegSetValueEx_failed___d
mov edx, 0x100
lea rcx, [rsp + 0x50]
call fcn.140051350
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140038230
lea rdx, [0x1401ec5c8]
lea rcx, [rsp + 0x38]
call fcn.14016bd70
int3