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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
xor r12d, r12d
mov r14, r9
mov rsi, r8
mov rax, rdx
mov r15, rcx
mov edi, r12d
mov ebx, r12d
mov dword [rsp + 0x60], r12d
test rcx, rcx
je 0x140055d82
test rdx, rdx
je 0x140055d82
test r8, r8
je 0x140055d82
test r9, r9
je 0x140055d82
mov dword [r9], r12d
lea rdx, [rsp + 0x60]
mov rcx, rax
mov qword [rsp + 0x68], rbp
mov dword [r8], r12d
call fcn.140054f60
mov rbp, rax
test rax, rax
je 0x140055d68
cmp dword [rsp + 0x60], ebx
je 0x140055d53
lea rax, [rsp + 0x60]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140055d53
mov eax, dword [rsp + 0x60]
inc eax
movsxd rcx, eax
call fcn.140010258
mov rdi, rax
test rax, rax
je 0x140055d53
lea rax, [rsp + 0x60]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, rbp
mov rcx, r15
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140055d53
mov eax, dword [rsi]
dec eax
cmp eax, 1
jbe 0x140055d45
mov eax, dword [rsp + 0x60]
mov rbx, rdi
mov edi, r12d
mov dword [r14], eax
jmp 0x140055d53
mov rdx, r14
mov rcx, rdi
call fcn.140054ff0
mov rbx, rax
mov rcx, rbp
call fcn.140064760
test rdi, rdi
je 0x140055d68
mov rcx, rdi
call fcn.140064760
mov rax, rbx
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140055da0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r9
mov ebp, r8d
mov r10, rdx
mov r14, rcx
mov dword [rsp + 0x50], ebx
test rcx, rcx
je 0x140055e8f
test rdx, rdx
je 0x140055e8f
test r9, r9
je 0x140055e8f
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x140055e8f
lea eax, [r8 - 1]
cmp eax, 1
jbe 0x140055e15
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x50]
mov rcx, r10
mov qword [rsp + 0x58], rsi
call fcn.140054d40
mov rsi, rax
test rax, rax
je 0x140055e7a
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140054d40
mov rdi, rax
test rax, rax
je 0x140055e65
mov ecx, dword [rsp + 0x50]
mov r9d, ebp
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, rsi
call fcn.140064760
test rdi, rdi
je 0x140055e7a
mov rcx, rdi
call fcn.140064760
mov eax, ebx
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x140055ea0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, r9
mov ebp, r8d
mov r10, rdx
mov r14, rcx
mov dword [rsp + 0x50], ebx
test rcx, rcx
je 0x140055f91
test rdx, rdx
je 0x140055f91
test r9, r9
je 0x140055f91
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x140055f91
lea eax, [r8 - 1]
cmp eax, 1
jbe 0x140055f15
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
mov r9d, r8d
xor r8d, r8d
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
lea rdx, [rsp + 0x50]
mov rcx, r10
mov qword [rsp + 0x58], rsi
call fcn.140054f60
mov rsi, rax
test rax, rax
je 0x140055f7c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140054f60
mov rdi, rax
test rax, rax
je 0x140055f67
mov ecx, dword [rsp + 0x50]
mov r9d, ebp
xor r8d, r8d
add ecx, ecx
mov rdx, rsi
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, rsi
call fcn.140064760
test rdi, rdi
je 0x140055f7c
mov rcx, rdi
call fcn.140064760
mov eax, ebx
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rbp
ret
Function at 0x14005d840
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor eax, eax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea rdx, [rbp - 0x80]
mov ecx, 0x101
mov qword [rbp + 0x121], rax
mov qword [rbp + 0x129], rax
mov qword [rbp + 0x131], rax
mov qword [rsp + 0x40], rsi
mov byte [rbp + 0x120], sil
mov qword [rbp + 0x139], rax
mov qword [rbp + 0x141], rax
mov qword [rbp + 0x149], rax
mov qword [rbp + 0x151], rax
mov word [rbp + 0x159], ax
mov byte [rbp + 0x15b], al
call fcn.140077f50
lea r8d, [rsi + 0x30]
lea rcx, [rsp + 0x48]
xor r9d, r9d
xor edx, edx
call fcn.14002a5a0
lea r8d, [rsi + 0x3c]
lea rcx, [rbp + 0x120]
mov rdx, rbx
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x50], 1
call fcn.140065fe0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x120]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005d960
mov eax, dword [rcx + 4]
cmp eax, 0x17
je 0x14005d930
cmp eax, 2
jne 0x14005d960
mov rcx, qword [rdi + 0xf8]
lea rdx, [rbp + 0x120]
mov r8d, 0x3c
add rcx, 0x882
call fcn.140065fe0
mov rax, qword [rdi + 0xf8]
mov byte [rax + 0x8be], sil
jmp 0x14005d997
test rdi, rdi
je 0x14005d99c
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov edx, 0xffffff37
mov r8d, 0x522e
mov rcx, rdi
mov dword [rsp + 0x28], 0xff
mov qword [rsp + 0x20], rsi
mov dword [rdi + 0x88], 0xffffff37
call fcn.14006b500
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005d9ac
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x40], rsi
call fcn.140077ea0
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14000c9f0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005e860
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov ebx, dword [rsp + 0xa0]
xor esi, esi
mov rdi, rcx
mov ecx, ebx
mov r14, r9
mov r15, r8
mov r12, rdx
mov dword [rax - 0x38], esi
mov dword [rax + 8], esi
mov qword [rax - 0x30], rsi
call fcn.14005fbb0
lea rcx, str.LM_APP_DISABLE_CACHE_READ
mov rbp, rax
call fcn.140020944
mov rcx, rax
test rdi, rdi
je 0x14005ea0b
test r12, r12
je 0x14005ea0b
test ebx, ebx
jne 0x14005e916
mov rax, qword [rdi + 0x260]
test rax, rax
je 0x14005e8dd
test dword [rax + 0x20a0], 0x40000000
jne 0x14005e8f5
test rcx, rcx
je 0x14005e916
lea rdx, [0x140106c6c]
xor r8d, r8d
call fcn.14002a750
test eax, eax
je 0x14005e916
mov rcx, qword [rdi + 0x220]
test rcx, rcx
je 0x14005ea0b
call fcn.140064760
mov qword [rdi + 0x220], rsi
jmp 0x14005ea0b
test r14, r14
je 0x14005e921
mov dword [r14], esi
mov qword [r15], rsi
mov edx, ebx
mov rcx, rdi
call fcn.14005faa0
mov r9d, 1
xor r8d, r8d
mov rbx, rax
lea rax, [rsp + 0x48]
mov rcx, rbp
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, rbx
mov ebp, eax
call fcn.140064760
test ebp, ebp
jne 0x14005e9d1
mov rcx, qword [rdi + 0x220]
test rcx, rcx
je 0x14005e973
call fcn.140064760
mov qword [rdi + 0x220], rsi
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x40]
mov rdx, r12
call fcn.1400554e0
mov rcx, qword [rsp + 0x48]
mov qword [rdi + 0x220], rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rdi + 0x220]
mov qword [r15], rcx
test r14, r14
je 0x14005e9c2
mov ecx, esi
cmp qword [rdi + 0x220], rcx
cmovne ecx, dword [rsp + 0x80]
mov dword [r14], ecx
cmp qword [rdi + 0x220], rsi
sete sil
mov eax, esi
jmp 0x14005ea10
cmp ebp, 2
je 0x14005ea0b
cmp ebp, 5
jne 0x14005ea0b
mov qword [rsp + 0x30], rsi
lea edx, [rbp - 0x44]
xor r9d, r9d
mov r8d, 0x193
mov rcx, rdi
mov dword [rsp + 0x28], 0xff
mov dword [rdi + 0x88], 0xffffffc1
mov qword [rsp + 0x20], rsi
call fcn.14006b500
mov eax, 1
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14005edf0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rsi, rcx
mov ecx, dword [rsp + 0x90]
movsxd r14, r9d
mov rdi, r8
mov r15, rdx
mov qword [rsp + 0x40], 0
call fcn.14005fbb0
mov edx, dword [rsp + 0x90]
mov rcx, rsi
mov r12, rax
call fcn.14005faa0
mov r9d, 0x20006
mov rbp, rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, 1
test eax, eax
je 0x14005eee6
xor ecx, ecx
call fcn.14005f860
mov ecx, ebx
call fcn.14005f860
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14005eee6
mov rcx, rbp
call fcn.140064760
test rsi, rsi
je 0x14005eee2
mov qword [rsp + 0x30], 0
lea edx, [rbx - 0x40]
xor r9d, r9d
mov r8d, 0x1de
mov rcx, rsi
mov dword [rsp + 0x28], 0xff
mov dword [rsi + 0x88], 0xffffffc1
mov qword [rsp + 0x20], 0
call fcn.14006b500
mov eax, ebx
jmp 0x14005ef58
mov rcx, rbp
call fcn.140064760
test rdi, rdi
je 0x14005ef3d
test r14d, r14d
jne 0x14005ef16
xor edx, edx
mov rcx, rdi
call fcn.14002a9d0
test rax, rax
je 0x14005ef3d
xor edx, edx
mov rcx, rdi
call fcn.14002a9d0
inc rax
jmp 0x14005ef19
mov rax, r14
mov ecx, 3
test r14d, r14d
mov r9, rdi
cmovne ebx, ecx
mov rcx, qword [rsp + 0x40]
mov rdx, r15
mov r8d, ebx
mov dword [rsp + 0x20], eax
call fcn.140055540
jmp 0x14005ef4b
mov rcx, qword [rsp + 0x40]
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14005faa0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rbp, rcx
mov ebx, esi
test edx, edx
je 0x14005faef
mov rbx, qword [0x14013aa30]
test rbx, rbx
jne 0x14005fb16
lea rcx, str.FLEXLM_BORROWFILE
call fcn.140020944
mov rbx, rax
mov qword [0x14013aa30], rax
test rax, rax
jne 0x14005fb16
lea rbx, str.Borrow
jmp 0x14005fb16
mov rax, qword [0x14013aa28]
test rax, rax
jne 0x14005fb13
lea rcx, str.FLEXLM_RC
call fcn.140020944
mov qword [0x14013aa28], rax
test rax, rax
je 0x14005fb16
mov rbx, rax
lea rcx, str.SOFTWAREFLEXlm_License_Manager
xor edx, edx
call fcn.14002a9d0
mov rdi, rax
mov rdx, rax
test rbx, rbx
je 0x14005fb43
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
lea rdx, [rdi + 1]
mov rsi, rax
add rdx, rax
inc rdx
mov rcx, rbp
call fcn.140064770
lea r8, [rdi + 1]
lea rdx, str.SOFTWAREFLEXlm_License_Manager
mov rcx, rax
mov rbp, rax
call fcn.140065fe0
add rdi, rbp
test rbx, rbx
je 0x14005fb88
lea rcx, [rdi + 1]
xor r9d, r9d
mov r8, rsi
mov rdx, rbx
mov byte [rdi], 0x5c
call fcn.14002aca0
mov byte [rdi + rsi + 1], 0
jmp 0x14005fb8b
mov byte [rdi], 0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14005fbb0
Capabilities:
Check os version

Disassembly:
sub rsp, 0xd8
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
test ecx, ecx
je 0x14005fbec
mov rax, 0xffffffff80000001
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0xd8
ret
lea rcx, [rsp + 0x20]
xor r9d, r9d
xor edx, edx
mov r8d, __WSAFDIsSet
call fcn.14002a5a0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], __WSAFDIsSet
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x14005fc26
cmp dword [rsp + 0x24], 6
mov rax, 0xffffffff80000001
jae 0x14005fc2d
mov rax, 0xffffffff80000002
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0xd8
ret
Function at 0x14005fc50
Capabilities:
Resolve dns

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x4a8
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rbx, rcx
movsxd r14, r8d
mov rdi, rdx
lea rcx, [rsp + 0x81]
xor edx, edx
mov r8d, 0x400
mov byte [rsp + 0x80], 0
call fcn.14000cbf0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0x80]
test rbx, rbx
je 0x14005fddf
xor r9d, r9d
mov r8d, 0x400
mov rdx, rbx
call fcn.14002aca0
mov ecx, 1
call fcn.140061bf0
test eax, eax
je 0x14005fdf1
lea rcx, [rsp + 0x80]
mov edx, 0x400
mov qword [rsp + 0x4e8], rbp
call fcn.1400c1830
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x80]
call fcn.140054d40
xor r9d, r9d
lea rcx, [rsp + 0x50]
lea r8d, [r9 + 0x30]
xor edx, edx
mov rbp, rax
call fcn.14002a5a0
lea rcx, [rsp + 0x80]
test rbp, rbp
cmovne rcx, rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x54], 2
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14005fe1e
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005fe1e
mov qword [rsp + 0x4a0], r15
nop dword [rax]
xor r9d, r9d
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.14002a5a0
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov dword [rsp + 0x30], 2
mov r9d, r14d
mov r8, rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x14005fdd4
lea rdx, str.127.0.0.1
xor r8d, r8d
mov rcx, rdi
call fcn.14002a750
test eax, eax
je 0x14005fdd4
lea rdx, str.0.0.0.0
xor r8d, r8d
mov rcx, rdi
call fcn.14002a750
test eax, eax
jne 0x14005fdf5
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005fd70
jmp 0x14005fdfa
mov edx, 0x400
call fcn.1400551e0
test eax, eax
je 0x14005fcc2
xor eax, eax
jmp 0x14005fe35
mov esi, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov r15, qword [rsp + 0x4a0]
test rbp, rbp
je 0x14005fe1a
mov rcx, rbp
call fcn.140064760
mov eax, esi
jmp 0x14005fe2d
test rbp, rbp
je 0x14005fe2b
mov rcx, rbp
call fcn.140064760
xor eax, eax
mov rbp, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x4a8
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14005fe60
Capabilities:
Resolve dns

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x4b8
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rbx, rcx
movsxd r14, r8d
mov rdi, rdx
lea rcx, [rsp + 0x81]
xor edx, edx
mov r8d, 0x400
mov byte [rsp + 0x80], 0
call fcn.14000cbf0
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
lea rcx, [rsp + 0x80]
test rbx, rbx
je 0x14005fef0
xor r9d, r9d
mov r8d, 0x400
mov rdx, rbx
call fcn.14002aca0
mov qword [rsp + 0x4a0], r12
mov r12d, 1
mov ecx, r12d
call fcn.140061bf0
test eax, eax
jne 0x14005ff05
jmp 0x140060050
mov edx, 0x400
call fcn.1400551e0
test eax, eax
je 0x14005fed1
xor eax, eax
jmp 0x140060058
lea rcx, [rsp + 0x80]
mov edx, 0x400
mov qword [rsp + 0x4a8], rsi
call fcn.1400c1830
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x80]
call fcn.140054d40
xor r9d, r9d
lea rcx, [rsp + 0x50]
lea r8d, [r9 + 0x30]
xor edx, edx
mov rsi, rax
call fcn.14002a5a0
lea rcx, [rsp + 0x80]
test rsi, rsi
cmovne rcx, rsi
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x54], reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x14006008a
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14006008a
xor r9d, r9d
mov r8, r14
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x4b0], rbp
call fcn.14002a5a0
nop dword [rax + rax]
mov edx, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x20]
mov dword [rsp + 0x30], 2
mov r9d, r14d
mov r8, rdi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x140060076
cmp dword [rbx + 4], 0x17
jne 0x14006000a
lea r8d, [rax + 4]
lea rdx, str.fe80
mov rcx, rdi
call fcn.140020718
test eax, eax
jne 0x140060013
xor r9d, r9d
mov r8, r14
xor edx, edx
mov rcx, rdi
call fcn.14002a5a0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005ffb0
mov rcx, qword [rsp + 0x40]
mov ebx, r15d
cmp byte [rdi], bl
cmovne ebx, r12d
test rcx, rcx
je 0x14006002c
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsp + 0x40], r15
test rsi, rsi
je 0x14006003e
mov rcx, rsi
call fcn.140064760
mov eax, ebx
mov rbp, qword [rsp + 0x4b0]
mov rsi, qword [rsp + 0x4a8]
mov r12, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x4b8
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140060086
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
xor eax, eax
jmp 0x140060040
test rsi, rsi
je 0x140060097
mov rcx, rsi
call fcn.140064760
xor eax, eax
jmp 0x140060048
Function at 0x140066250
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov rbp, r8
mov rsi, rdx
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x3ff
mov byte [rsp + 0x50], 0
call fcn.14000cbf0
lea rax, [rsp + 0x48]
xor r15d, r15d
lea rdx, str.SoftwareFLEXlm_License_ManagerBorrow
mov r9d, 0x20007
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
mov r14d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x40], 0x400
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140066310
test rbx, rbx
je 0x140066305
mov qword [rsp + 0x30], r15
lea edx, [r15 - 0x7a]
xor r9d, r9d
mov r8d, 0x3972
mov rcx, rbx
mov dword [rsp + 0x28], 0xff
mov dword [rbx + 0x88], 0xffffff86
mov qword [rsp + 0x20], r15
call fcn.14006b500
mov eax, dword [rbx + 0x88]
jmp 0x140066439
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x14006642c
mov qword [rsp + 0x4a8], rdi
nop dword [rax + rax]
xor edx, edx
mov rcx, rsi
inc r14d
call fcn.14002a9d0
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov r8, rax
mov rdx, rsi
call fcn.14002abb0
test eax, eax
jne 0x1400663e8
lea rbx, [rsp + 0x50]
mov edi, r15d
nop dword [rax]
cmp edi, 3
jge 0x1400663e8
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x2d]
call fcn.14002a710
mov rbx, rax
test rax, rax
je 0x1400663e1
cmp edi, 2
jne 0x1400663de
lea rax, [rsp + 0x50]
mov r8, rbx
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov rdx, rsi
sub r8, rax
call fcn.14002abb0
test eax, eax
jne 0x1400663de
lea rdx, [rbx + 1]
mov rcx, rbp
call fcn.1400699f0
test eax, eax
je 0x1400663de
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.14002a5f0
inc rbx
inc edi
test rbx, rbx
jne 0x140066380
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov edx, r14d
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x40], 0x400
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x140066350
mov rdi, qword [rsp + 0x4a8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000c9f0
add rsp, 0x460
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
Function at 0x14006d7d0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor eax, eax
mov rsi, rcx
lea rcx, [rbp - 0x41]
lea r8d, [rax + 0x30]
xor r9d, r9d
xor edx, edx
mov qword [rbp - 0x49], 0
mov byte [rbp - 9], 0
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x38], eax
mov byte [rbp + 0x3c], al
call fcn.14002a5a0
mov dword [rbp - 0x41], 1
mov dword [rbp - 0x39], 1
test rsi, rsi
je 0x14006d9fa
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0xe0], rdi
call fcn.14002a9d0
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x40]
mov rdi, rax
call fcn.14002a710
test rax, rax
je 0x14006d88c
lea r8, [rbp - 9]
lea rdx, str.__69_0_9a_fA_F:_
mov rcx, rax
call fcn.14000d710
lea rax, [rbp - 9]
xor edx, edx
movzx ecx, byte [rax]
test cl, cl
je 0x14006d8a5
cmp cl, 0x3a
jne 0x14006d8a0
inc edx
inc rax
jne 0x14006d892
cmp edx, 1
jle 0x14006d9f6
lea r9, [rbp - 0x49]
lea r8, [rbp - 0x41]
lea rcx, [rbp - 9]
xor edx, edx
mov qword [rsp + 0xd8], rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov rax, qword [rbp - 0x49]
test rax, rax
je 0x14006d92d
cmp dword [rax + 4], 0x17
jne 0x14006d92d
lea rdx, [0x14010fc0c]
xor r8d, r8d
mov rcx, rsi
call fcn.14002a900
lea rcx, [rbp - 9]
xor edx, edx
mov rbx, rax
call fcn.14002a9d0
lea r8, [rax + 1]
movsxd rax, edi
add r8, rbx
cmp rax, r8
jne 0x14006d92d
lea rdx, [0x14010fc0c]
xor r8d, r8d
mov rcx, rsi
call fcn.14002a900
lea rcx, [rbp - 9]
xor edx, edx
lea ebx, [rax + 1]
call fcn.14002a9d0
jmp 0x14006d9b6
lea rcx, [rbp - 9]
xor edx, edx
lea rbx, [rbp - 9]
lea rdi, [rbp - 9]
call fcn.14002a9d0
mov rcx, rax
xor eax, eax
test ecx, ecx
js 0x14006d968
nop dword [rax]
cmp eax, 5
jge 0x14006d968
inc eax
cmp byte [rbx], 0x3a
jne 0x14006d961
mov rdi, rbx
xor eax, eax
inc rbx
dec ecx
jns 0x14006d950
lea rcx, [rbp - 9]
xor edx, edx
mov byte [rdi], 0
call fcn.14002a9d0
lea ecx, [rax - 1]
test ecx, ecx
jle 0x14006d996
movsxd rax, ecx
cmp byte [rbp + rax - 9], 0x3b
jne 0x14006d98e
dec ecx
dec rax
jne 0x14006d980
movsxd rax, ecx
mov byte [rbp + rax - 8], 0
lea rcx, [rbp - 9]
xor edx, edx
call fcn.14002a9d0
lea rdx, [0x14010fc0c]
xor r8d, r8d
mov rcx, rsi
lea ebx, [rax + 1]
call fcn.14002a900
mov rcx, qword [rbp - 0x49]
add ebx, eax
test rcx, rcx
je 0x14006d9c7
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, ebx
mov rbx, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000c9f0
mov rsi, qword [rsp + 0xe8]
add rsp, 0xc0
pop rbp
ret
xor eax, eax
jmp 0x14006d9d1
xor eax, eax
jmp 0x14006d9d9