joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f5f10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov dword [rsp + 0x68], 4
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x64], ecx
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400f5f52
mov rdx, qword [rbx]
lea rax, [rsp + 0x68]
mov r9d, 0x20010010
mov qword [rsp + 0x30], rax
lea rsi, str.DefaultSecureProtocols
lea rax, [rsp + 0x64]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, 0xfffffffd
je 0x1400f5ff3
test rdi, rdi
je 0x1400f60ab
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400f5fa9
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x38], eax
lea rdx, str.EnableWinHttpTLSProtocols
lea rax, str.Unexpected_result__u_querying__ls
mov r9d, reloc.WS2_32.dll_socket
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400f6113
mov eax, dword [rsp + 0x64]
or eax, 0xa00
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x64], eax
je 0x1400f6111
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x1400f6017
mov rdx, qword [rbx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edx, eax
test eax, eax
je 0x1400f60af
test rdi, rdi
je 0x1400f60ab
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400f605b
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x50], eax
mov r9d, 0x21
mov qword [rsp + 0x48], rsi
lea rax, str.Unexpected_result__u_setting__ls_____ls_to_0x_08X
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov dword [rsp + 0x38], edx
lea rdx, str.EnableWinHttpTLSProtocols
mov qword [rsp + 0x30], rax
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400f6113
test rdi, rdi
je 0x1400f6111
cmp qword [rbx + 0x18], 7
mov rax, qword [rdi]
mov r10, qword [rax + 0x20]
jbe 0x1400f60c5
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x48], eax
lea rdx, str.EnableWinHttpTLSProtocols
mov qword [rsp + 0x40], rsi
lea rax, str.Successfully_updated_HKLM_ls_____ls_to_0x_08X
mov qword [rsp + 0x38], rbx
mov r9d, 0x25
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call r10
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400f6140
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov dword [rsp + 0x68], 4
xor ecx, ecx
mov rdi, rdx
mov dword [rsp + 0x64], ecx
mov rdx, rbx
mov dword [rsp + 0x60], ecx
cmp qword [rbx + 0x18], 7
jbe 0x1400f6186
mov rdx, qword [rbx]
lea rax, [rsp + 0x68]
mov r9d, 0x20000010
mov qword [rsp + 0x30], rax
lea rsi, str.DisabledByDefault
lea rax, [rsp + 0x64]
mov r8, rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400f61ce
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
je 0x1400f62d5
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x1400f61db
mov rdx, qword [rbx]
lea rax, [rsp + 0x60]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edx, eax
test eax, eax
je 0x1400f6273
test rdi, rdi
je 0x1400f626f
cmp qword [rbx + 0x18], 7
mov rcx, qword [rdi]
mov r10, qword [rcx + 0x20]
jbe 0x1400f621f
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x50], eax
mov r9d, 0x3b
mov qword [rsp + 0x48], rsi
lea rax, str.Unexpected_result__u_setting_HKLM_ls_____ls_to__u
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov dword [rsp + 0x38], edx
lea rdx, str.EnableSChannelTLSProtocol
mov qword [rsp + 0x30], rax
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
call r10
xor al, al
jmp 0x1400f62d7
test rdi, rdi
je 0x1400f62d5
cmp qword [rbx + 0x18], 7
mov rax, qword [rdi]
mov r10, qword [rax + 0x20]
jbe 0x1400f6289
mov rbx, qword [rbx]
mov eax, dword [rsp + 0x60]
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonWinHttpDefaultSecureProtocols.cpp
mov dword [rsp + 0x48], eax
lea rdx, str.EnableSChannelTLSProtocol
mov qword [rsp + 0x40], rsi
lea rax, str.Successfully_updated_HKLM_ls_____ls_to__u
mov qword [rsp + 0x38], rbx
mov r9d, 0x3f
mov qword [rsp + 0x30], rax
mov rcx, rdi
lea rax, str.WinHttpDefaultSecureProtocols
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
call r10
mov al, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400f88a0
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.1402bb5d0
sub rsp, rax
mov rax, qword [0x14049f3c0]
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 0x1400f8a3d
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14030b3a0
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 0x1400f8a32
mov qword [rsp + 0x20c0], r13
lea r13, str.____Checking_Sub_store:__ws__ws
nop dword [rax + rax]
call fcn.14001e910
lea rcx, [rsp + 0x60]
mov r9d, 0x59e
mov qword [rsp + 0x40], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.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.1400f8a70
mov edi, eax
test eax, eax
je 0x1400f8a2a
xor edx, edx
mov dword [rsp + 0x58], 0x1000
mov r8d, 0x1000
lea rcx, [rsp + 0x60]
inc ebx
call fcn.14030b3a0
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 0x1400f8970
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.1402ba9b0
add rsp, 0x2070
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f8f40
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 [0x14049f3c0]
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 0x1400f9007
call fcn.14001e910
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:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.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 0x1400f9117
mov r8d, dword [rsp + 0x58]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.14030b3a0
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 0x1400f910c
lea rsi, str.MbCommonSigVerify
call fcn.14001e910
lea rcx, [rsp + 0x60]
mov r9d, 0x670
mov qword [rsp + 0x40], rcx
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonFileVerify.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.1400f9150
mov edi, eax
test eax, eax
jns 0x1400f910c
xor edx, edx
mov dword [rsp + 0x58], 0x200
mov r8d, 0x200
lea rcx, [rsp + 0x60]
inc ebx
call fcn.14030b3a0
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 0x1400f9052
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.1402ba9b0
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 0x1400ff7a0
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rbp + 7], rcx
xor r15d, r15d
mov dword [rbp - 0x15], r15d
mov dword [rbp - 0x11], r15d
cmp qword [rdx + 0x18], 7
jbe 0x1400ff7e8
mov rdx, qword [rdx]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x15]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
cmp dword [rbp - 0x15], r15d
jne 0x1400ff86f
test rsi, rsi
je 0x1400ff863
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_calculate_size._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, reloc.WS2_32.dll_WSAStartup
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, rsi
call rbx
mov qword [rdi], r15
mov qword [rdi + 8], r15
jmp 0x1400ff986
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
mov edx, dword [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.14009f110
nop
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 0x15]
lea rcx, [rbp - 9]
call fcn.1400ffb50
nop
cmp qword [rbx + 0x18], 7
jbe 0x1400ff8a7
mov rbx, qword [rbx]
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x15]
mov r14, qword [rbp - 9]
mov r8, r14
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x1400ff972
test rsi, rsi
je 0x1400ff92f
mov rax, qword [rsi]
mov rbx, qword [rax + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Unable_to_query_account_name._Error__u
mov qword [rsp + 0x30], rax
lea rax, str.SidUtilities
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x7c
lea r8, str.D:JenkinsworkspaceN_MBCommon_vs2022_srcmbcommonSid.cpp
lea rdx, str.mb::common::system::Sid::CreateFromName
mov rcx, rsi
call rbx
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400ff97d
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400ff97d
mov rbx, qword [rbp - 1]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400ff97d
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400ff97d
mov qword [rdi], r14
mov rax, qword [rbp - 1]
mov qword [rdi + 8], rax
lea rcx, [rbp + 0xf]
call fcn.1400487f0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1402ba9b0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401031b0
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 0x140103210
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 0x140103360
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 0x1401033e0
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 0x1401037c0
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 rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp - 9], 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 rdi, qword [rbp + 0x7f]
mov ebx, dword [rbp + 0x87]
mov r11d, dword [rbp + 0x8f]
mov r10, qword [rbp + 0x97]
mov rdx, qword [rbp + 0x9f]
mov rax, qword [rcx]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], r10
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x48], ebx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r12d
lea rdx, [rbp - 0x49]
call qword [rax + 0x50]
nop
lea rdx, [0x14042300c]
lea rcx, [rbp - 0x69]
call fcn.140031ed0
nop
lea rdx, [0x14042800c]
lea rcx, [rsp + 0x70]
call fcn.140031ed0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x140445990]
movdqu xmmword [rbp - 0x19], xmm1
xor ebx, ebx
mov word [rbp - 0x29], bx
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x69]
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x49]
call fcn.1400a4500
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x1401038e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401038e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140103963
call fcn.1402ba9fc
movups xmm0, xmmword [rbp - 0x29]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rbp - 0x19]
movups xmmword [rbp - 0x39], xmm1
movdqa xmm0, xmmword [0x140445990]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x29], bx
lea rcx, [rbp - 0x29]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x70]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x69]
call fcn.1400166f0
lea rcx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rcx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
lea rcx, [rbp - 0x49]
call fcn.1400166f0
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1402ba9b0
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402caabc
nop
int3
Function at 0x14010ef50
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x238
mov ecx, 0x202
lea rdx, [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14010ef76
add rsp, 0x238
ret
lea rdx, str.Failed_to_initialize_network_subsystem
lea rcx, [rsp + 0x20]
call fcn.140015470
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140114830
lea rdx, [0x1404921a0]
lea rcx, [rsp + 0x40]
call fcn.1402bd440
int3

Function at 0x140110360
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x180
mov rbx, rdx
mov rdi, rcx
mov r14, rcx
mov qword [rsp + 0x1b0], rcx
call fcn.14010f930
lea rcx, [r14 + 0x88]
call fcn.140112fa0
cmp byte [r14 + 0x1e3], 0
jne 0x14011042a
lea rsi, vtable.std::ios_base.0
mov rcx, rbx
call fcn.140112fa0
mov r8d, 1
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14011ffb0
nop
mov rax, qword [rbx]
lea rdx, [rsp + 0x108]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
jmp 0x140110400
lea rcx, [rsp + 0x120]
call fcn.140120410
nop
mov qword [rsp + 0x120], rsi
lea rcx, [rsp + 0x120]
call fcn.1402b9bac
nop
cmp dword [rbx + 0x50], 0x64
je 0x1401103b1
cmp byte [rdi + 0x30], 0
je 0x140110440
mov rcx, rbx
call fcn.140112900
test al, al
jne 0x140110440
mov al, 1
jmp 0x140110442
xor al, al
mov byte [rdi + 0x1e1], al
cmp byte [rdi + 0x1e2], 0
je 0x140110554
mov eax, dword [rbx + 0x50]
cmp eax, 0xc8
jl 0x140110554
cmp eax, 0xcc
je 0x140110554
cmp eax, 0x130
je 0x140110554
mov rcx, rbx
call fcn.140112890
test al, al
je 0x1401104c8
mov ecx, 0x140
call fcn.140122080
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x1401104b8
lea r8, [rdi + 0x88]
mov r9d, 1
mov rdx, rdi
mov rcx, rax
call fcn.140121af0
xor ecx, ecx
jmp 0x1401104bc
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xc8]
jmp 0x14011058e
lea rdx, str.Content_Length
mov rcx, rbx
call fcn.140113280
test al, al
je 0x14011051b
mov ecx, 0x118
call fcn.140121780
mov rsi, rax
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x140110515
mov rcx, rbx
call fcn.1401128c0
mov r9d, 1
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.1401212a0
xor ecx, ecx
jmp 0x140110519
xor ecx, ecx
mov eax, ecx
jmp 0x140110587
mov ecx, 0x110
call fcn.140120fa0
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x140110547
mov r8d, 1
mov rdx, rdi
mov rcx, rax
call fcn.140120ad0
xor ecx, ecx
jmp 0x14011054b
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0x98]
jmp 0x14011058e
mov ecx, 0x118
call fcn.140121780
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x140110583
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1401212a0
xor ecx, ecx
jmp 0x140110587
xor ecx, ecx
mov eax, ecx
lea rdx, [rax + 0xa0]
test rax, rax
cmove rdx, rcx
lea rcx, [r14 + 0x1f8]
call fcn.14010f780
mov rax, qword [r14 + 0x200]
test rax, rax
je 0x1401105c1
mov rbx, qword [rsp + 0x1b8]
add rsp, 0x180
pop r14
pop rdi
pop rsi
ret
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1401368f0
lea rdx, [0x140493d80]
lea rcx, [rsp + 0x20]
call fcn.1402bd440
int3
Function at 0x140119c20
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 0x140119c8c
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 0x140119c73
mov r8d, dword [rsp + 0x100]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.140119090
mov rax, rbx
add rsp, 0xf0
pop rbx
ret
call fcn.14011ad40
mov rcx, rbx
call fcn.140119110
mov rax, rbx
add rsp, 0xf0
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140114740
lea rdx, [0x140492468]
lea rcx, [rsp + 0x28]
call fcn.1402bd440
int3

Function at 0x140119cb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0
mov edx, 0x4004667f
mov rbp, rcx
call fcn.14011b030
cmp dword [rsp + 0x58], 0
je 0x140119db4
lea r9, [rsp + 0x60]
mov edx, 0xffff
mov r8d, 0x1008
mov rcx, rbp
call fcn.14011adf0
cmp dword [rsp + 0x60], 2
jne 0x140119db4
movsxd r8, dword [rsp + 0x58]
xor ebx, ebx
xor edi, edi
mov rsi, r8
test r8d, r8d
je 0x140119d57
movabs rax, 0x7fffffffffffffff
cmp r8, rax
ja 0x140119dc5
mov rcx, r8
cmp r8, 0x1000
jb 0x140119d3b
call fcn.1400161e0
jmp 0x140119d40
call fcn.1402baa0c
lea rdi, [rsi + rax]
mov rcx, rax
mov rdx, rdi
mov rbx, rax
call fcn.140025580
mov r8d, dword [rsp + 0x58]
mov rcx, qword [rbp + 0x10]
mov r9d, 2
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_recvfrom]
mov dword [rsp + 0x58], eax
test rbx, rbx
je 0x140119db4
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140119da9
mov rcx, qword [rbx - 8]
add rdi, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140119dcb
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.1402ba9fc
mov eax, dword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.140020f90
int3
call fcn.1402caabc
int3

Function at 0x14011a0d0
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 0x14011a108
cmp dword [rsp + 0x24], 6
jb 0x14011a108
jne 0x14011a0fe
cmp dword [rsp + 0x28], 2
jb 0x14011a108
xor al, al
add rsp, 0xc8
ret
mov al, 1
add rsp, 0xc8
ret