joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cd770
Capabilities:
Get mac address on windows

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0xb0
mov qword [r11 - 0x78], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
xor ebp, ebp
mov ebx, ebp
xor eax, eax
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov dword [r11 - 0x30], eax
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], rax
mov qword [r11 - 0x58], rax
lea rcx, [r11 - 0x68]
call fcn.1400d0ba0
nop
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
sub rdx, rcx
movabs r14, 0x2e8ba2e8ba2e8ba3
mov rax, r14
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x2c0
mov dword [rsp + 0x58], eax
lea rdx, [rsp + 0x58]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1400cd8d5
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x60]
lea esi, [rbp + 0x12]
cmp dword [rbx + 0x1a0], eax
jae 0x1400cd88d
movzx eax, byte [rbx + 0x19d]
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r8d, byte [rbx + 0x19a]
movzx r10d, byte [rbx + 0x199]
movzx r9d, byte [rbx + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r10d
lea r8, str._02X:_02X:_02X:_02X:_02X:_02X
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.14007d840
mov eax, dword [rbx + 0x1a0]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400cd828
lea rcx, [rsp + 0x78]
sub rcx, rdi
nop dword [rax]
lea rax, [rsi + 0x7fffffec]
test rax, rax
je 0x1400cd8c2
movzx eax, word [rcx + rdi]
test ax, ax
je 0x1400cd8c2
mov word [rdi], ax
add rdi, 2
sub rsi, 1
jne 0x1400cd8a0
lea rax, [rdi - 2]
test rsi, rsi
cmovne rax, rdi
mov word [rax], bp
mov ebx, 1
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x1400cd939
mov rcx, qword [rsp + 0x70]
sub rcx, r8
mov rax, r14
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x2c0
mov rax, r8
cmp rdx, 0x1000
jb 0x1400cd923
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cd963
mov rcx, r8
call fcn.140282c34
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbp
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140282c10
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14028ea2c
nop
int3
Function at 0x1400d0df0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1400993b0
nop
cmp qword [rax + 0x18], 8
jb 0x1400d0e17
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0x28]
call fcn.14000c300
mov eax, ebx
add rsp, 0x50
pop rbx
ret

Function at 0x1400d0e40
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
mov rbx, rdx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x24]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1400d0ea8
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400d0e90
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000d3a0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x250
pop rbx
ret

Function at 0x1400d1660
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov rdi, rdx
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x1400d169f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400d169f
xor al, al
jmp 0x1400d16b2
mov ecx, dword [rsp + 0x20]
mov rax, rbx
shl rcx, 0x20
mov al, 1
add rcx, rbx
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400d3380
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov eax, 0x400000
mov rdi, r9
cmp r8d, eax
lea r9, [rsp + 0x30]
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
cmova r8d, eax
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne cl
test rdi, rdi
je 0x1400d33d2
mov eax, dword [rsp + 0x30]
mov dword [rdi], eax
test cl, cl
je 0x1400d33da
xor eax, eax
jmp 0x1400d340d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400d33f8
mov r9, qword [rcx]
mov r8d, eax
mov rdx, qword [rbx + 0x48]
call qword [r9]
jmp 0x1400d340d
test eax, eax
jne 0x1400d3403
mov eax, 0x80004005
jmp 0x1400d340d
jle 0x1400d340d
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x1400d3710
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor r15d, r15d
mov r14, r9
mov esi, r15d
mov ebx, r8d
mov rdi, rdx
mov rbp, rcx
mov r12d, 0x400000
nop word [rax + rax]
mov rcx, qword [rbp + 0x10]
lea r9, [rsp + 0x30]
mov r8d, ebx
mov dword [rsp + 0x30], r15d
cmp ebx, r12d
mov qword [rsp + 0x20], r15
mov rdx, rdi
cmova r8d, r12d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x30]
add esi, ecx
test eax, eax
je 0x1400d3791
test ecx, ecx
je 0x1400d378d
add rdi, rcx
mov eax, ecx
sub ebx, ecx
jne 0x1400d3750
mov al, 1
jmp 0x1400d3793
xor al, al
mov ecx, esi
add qword [rbp + 0x20], rcx
test r14, r14
je 0x1400d37a1
mov dword [r14], esi
test al, al
je 0x1400d37aa
mov eax, r15d
jmp 0x1400d37c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400d37bb
mov eax, 0x80004005
jmp 0x1400d37c5
jle 0x1400d37c5
movzx eax, ax
or eax, 0x80070000
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d5ce0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2070
call fcn.140283930
sub rsp, rax
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov r12, qword [rsp + 0x20d0]
lea rax, [rsp + 0x50]
mov r15, r9
mov qword [rsp + 0x20], rax
mov r14d, r8d
mov dword [rsp + 0x58], 0x1000
mov rbp, rdx
xor r13d, r13d
mov r9d, 0x20019
lea rdx, [0x1403b8fe8]
xor r8d, r8d
mov rcx, 0xffffffff80000003
mov edi, r13d
mov ebx, 0xc000000d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x1400d5db8
call fcn.140024740
mov dword [rsp + 0x40], esi
lea rcx, [0x1403b8fe8]
mov qword [rsp + 0x38], rcx
lea rsi, str.MbCommonSigVerify
lea rcx, str.Error_opening__ws__x
mov r9d, 0x55b
mov r10, qword [rax]
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x30], rcx
lea rdx, str.EnumerateStores
mov qword [rsp + 0x28], rsi
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
jmp 0x1400d5eee
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400d5ee3
lea rsi, str.MbCommonSigVerify
mov r8, rbp
lea rcx, [rsp + 0x60]
mov edx, 0x1000
call fcn.1402a30c8
mov ebx, eax
call fcn.140024740
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
lea rdx, str.EnumerateStores
mov rcx, qword [rax]
mov r10, qword [rcx + 0x20]
lea rcx, [rsp + 0x60]
test ebx, ebx
jne 0x1400d5f1b
mov qword [rsp + 0x40], rcx
mov r9d, 0x56a
lea rcx, [0x1403b8fe8]
mov qword [rsp + 0x38], rcx
lea rcx, str.Checking_store:__ws__ws
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 5
call r10
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9, r15
mov qword [rsp + 0x20], r12
mov r8d, r14d
call fcn.1400d5f60
mov ebx, eax
test eax, eax
je 0x1400d5ee3
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc edi
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
mov edx, edi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400d5e03
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x20b0]
add rsp, 0x2070
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x40], rbp
mov r9d, 0x566
mov qword [rsp + 0x38], rcx
lea rcx, str.Registry_path_was_too_long____ws__ws
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 5
call r10
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xc000000d
jmp 0x1400d5ef0
Function at 0x1400d5f60
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2070
call fcn.140283930
sub rsp, rax
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov r15, qword [rsp + 0x20d0]
mov rsi, rcx
mov rax, rdx
mov dword [rsp + 0x58], 0x1000
lea rcx, [rsp + 0x50]
mov r14, r9
mov qword [rsp + 0x20], rcx
mov ebp, r8d
xor r12d, r12d
mov rcx, rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rsi
mov edi, 0xc000000d
mov ebx, r12d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d60fd
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r12
xor edx, edx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400d60f2
mov qword [rsp + 0x20c0], r13
lea r13, str.____Checking_Sub_store:__ws__ws
nop dword [rax + rax]
call fcn.140024740
lea rcx, [rsp + 0x60]
mov r9d, 0x59e
mov qword [rsp + 0x40], rcx
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x38], rsi
lea rcx, str.MbCommonSigVerify
mov r10, qword [rax]
lea rdx, str.EnumerateCerts
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rcx
mov rcx, rax
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9d, ebp
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.1400d6130
mov edi, eax
test eax, eax
je 0x1400d60ea
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc ebx
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov edx, ebx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400d6030
mov r13, qword [rsp + 0x20c0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d6740
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov r12, qword [rsp + 0x4d0]
lea rax, [rsp + 0x50]
mov rbp, r8
mov dword [rsp + 0x58], 0x200
mov r14d, edx
mov qword [rsp + 0x20], rax
mov r15, rcx
xor r13d, r13d
mov rdx, rbp
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov edi, 0xc000000d
mov ebx, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
je 0x1400d6807
call fcn.140024740
mov dword [rsp + 0x40], esi
lea rcx, str.Failed_to_open__ws__x
mov qword [rsp + 0x38], rbp
lea rsi, str.MbCommonSigVerify
mov qword [rsp + 0x30], rcx
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov r10, qword [rax]
lea rdx, str.FindCert
mov qword [rsp + 0x28], rsi
mov r9d, 0x666
mov rcx, rax
mov dword [rsp + 0x20], 2
call qword [r10 + 0x20]
jmp 0x1400d6917
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
xor edx, edx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400d690c
lea rsi, str.MbCommonSigVerify
call fcn.140024740
lea rcx, [rsp + 0x60]
mov r9d, 0x670
mov qword [rsp + 0x40], rcx
lea r8, str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_fileverify.cpp
mov qword [rsp + 0x38], rbp
lea rcx, str.Checking__ws__ws
mov r10, qword [rax]
lea rdx, str.FindCert
mov qword [rsp + 0x30], rcx
mov rcx, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 5
call qword [r10 + 0x20]
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
mov r9, r15
mov qword [rsp + 0x20], r12
mov edx, r14d
call fcn.1400d6950
mov edi, eax
test eax, eax
jns 0x1400d690c
xor edx, edx
mov dword [rsp + 0x58], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x60]
inc ebx
call fcn.140286140
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea r8, [rsp + 0x60]
mov qword [rsp + 0x30], r13
mov edx, ebx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400d6852
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140282c10
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400dd940
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400dd9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret

Function at 0x1400ddaf0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x1400ddb70
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret
Function at 0x1400ddef0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x100
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x1404680d8]
xor rax, rsp
mov qword [rbp - 1], rax
mov r12d, r9d
movzx r9d, r8w
mov r8, rdx
mov r15d, dword [rbp + 0x67]
mov r14d, dword [rbp + 0x6f]
mov rsi, qword [rbp + 0x77]
mov rbx, qword [rbp + 0x7f]
mov r11d, dword [rbp + 0x87]
mov r10d, dword [rbp + 0x8f]
mov rdx, qword [rbp + 0x97]
mov rax, qword [rbp + 0x9f]
mov rdi, qword [rcx]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x50], r10d
mov dword [rsp + 0x48], r11d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x41]
call qword [rdi + 0x50]
nop
lea rdx, [0x1403c0bd4]
lea rcx, [rbp - 0x61]
call fcn.14000d360
nop
lea rdx, reloc.OLEAUT32.dll_VariantCopy
lea rcx, [rsp + 0x78]
call fcn.14000d360
nop
lea rcx, [rbp - 0x21]
call fcn.14000c320
nop
lea r9, [rbp - 0x61]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x41]
call fcn.14007f900
lea rcx, [rbp - 0x41]
call fcn.14000c340
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 0x41], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x31], xmm1
movdqa xmm0, xmmword [0x1403e1a30]
movdqu xmmword [rbp - 0x11], xmm0
xor eax, eax
mov word [rbp - 0x21], ax
lea rcx, [rbp - 0x21]
call fcn.14000c300
nop
lea rcx, [rsp + 0x78]
call fcn.14000c300
nop
lea rcx, [rbp - 0x61]
call fcn.14000c300
lea rcx, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae rcx, qword [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp - 0x41]
call fcn.14000c300
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140282c10
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400edec0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x238
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ecx, 0x202
lea rdx, [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400edeef
add rsp, 0x238
ret
lea rdx, str.Failed_to_initialize_network_subsystem
lea rcx, [rsp + 0x28]
call fcn.14000b8e0
nop
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.1400f3880
lea rdx, [0x14045b458]
lea rcx, [rsp + 0x48]
call fcn.1402852c0
int3

Function at 0x1400ef220
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x180
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x1b0], rcx
call fcn.1400ee800
cmp byte [rdi + 0x12b], 0
jne 0x1400ef2d1
lea rsi, vtable.std::ios_base.0
mov rcx, rbx
call fcn.1400f21f0
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.1400fdf30
nop
mov rax, qword [rbx]
lea rdx, [rsp + 0x108]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x1400ef2a7
lea rcx, [rsp + 0x120]
call fcn.1400fe310
nop
mov qword [rsp + 0x120], rsi
lea rcx, [rsp + 0x120]
call fcn.140281af4
nop
cmp dword [rbx + 0x48], 0x64
je 0x1400ef260
cmp byte [rdi + 0x30], 0
je 0x1400ef2e7
mov rcx, rbx
call fcn.1400f15d0
test al, al
jne 0x1400ef2e7
mov al, 1
jmp 0x1400ef2e9
xor al, al
mov byte [rdi + 0x129], al
cmp byte [rdi + 0x12a], 0
je 0x1400ef3f4
mov eax, dword [rbx + 0x48]
cmp eax, 0xc8
jl 0x1400ef3f4
cmp eax, 0xcc
je 0x1400ef3f4
cmp eax, 0x130
je 0x1400ef3f4
mov rcx, rbx
call fcn.1400f1560
test al, al
je 0x1400ef368
mov ecx, 0x138
call fcn.1400ffdb0
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x1400ef358
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.1400ff8e0
xor ecx, ecx
jmp 0x1400ef35c
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xc0]
jmp 0x1400ef42e
lea rdx, [0x1404616b0]
mov rcx, rbx
call fcn.1400f2640
test al, al
je 0x1400ef3bb
mov ecx, 0x118
call fcn.1400ff570
mov rsi, rax
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x1400ef3b5
mov rcx, rbx
call fcn.1400f1590
mov r8, rax
mov r9d, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1400ff100
xor ecx, ecx
jmp 0x1400ef3b9
xor ecx, ecx
mov eax, ecx
jmp 0x1400ef427
mov ecx, 0x110
call fcn.1400fee00
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x1400ef3e7
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.1400fe9c0
xor ecx, ecx
jmp 0x1400ef3eb
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0x98]
jmp 0x1400ef42e
mov ecx, 0x118
call fcn.1400ff570
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x1400ef423
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1400ff100
xor ecx, ecx
jmp 0x1400ef427
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xa0]
test rax, rax
cmove rdx, rcx
lea rcx, [rdi + 0x140]
call fcn.1400ee640
mov rax, qword [rsp + 0x1b0]
mov rax, qword [rax + 0x148]
test rax, rax
je 0x1400ef460
add rsp, 0x180
pop rdi
pop rsi
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1401137a0
lea rdx, [0x14045cea0]
lea rcx, [rsp + 0x28]
call fcn.1402852c0
int3
Function at 0x1400f83b0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0xf0
mov rcx, qword [rcx + 0x10]
mov rbx, rdx
cmp rcx, 0xffffffffffffffff
je 0x1400f841c
lea r8, [rax + 8]
mov dword [rax + 8], 0x80
lea rdx, [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400f8403
mov r8d, dword [rsp + 0x100]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400f7840
mov rax, rbx
add rsp, 0xf0
pop rbx
ret
call fcn.1400f93f0
mov rcx, rbx
call fcn.1400f78d0
mov rax, rbx
add rsp, 0xf0
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400f3790
lea rdx, [0x14045b720]
lea rcx, [rsp + 0x20]
call fcn.1402852c0
int3

Function at 0x1400f8770
Capabilities:
Check os version

Disassembly:
sub rsp, 0xc8
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x94
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1400f87aa
mov eax, dword [rsp + 0x24]
cmp eax, 6
jb 0x1400f87aa
jne 0x1400f87a0
cmp dword [rsp + 0x28], 2
jb 0x1400f87aa
xor al, al
add rsp, 0xc8
ret
mov al, 1
add rsp, 0xc8
ret

Function at 0x1400f87f0
Capabilities:
Connect socket

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x10], 0xffffffffffffffff
jne 0x1400f8830
mov rbx, qword [rcx]
mov rcx, rdx
call fcn.1400f7b10
mov edx, eax
mov rcx, rsi
call qword [rbx + 0x148]
nop dword [rax]
mov rcx, rdi
call fcn.1400f7fa0
mov ebx, eax
mov rcx, rdi
call fcn.1400f7a80
mov rdx, rax
mov r8d, ebx
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400f88bd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x1400f8830
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.1400f80f0
nop
mov rdx, rax
mov ecx, ebx
call fcn.1400f8bf0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400f88bd
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f88b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f88cd
call fcn.140282c34
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
call fcn.14028ea2c
int3