joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402aa3d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, str.HKEY_CLASSES_ROOT_
lea r14, str.G_IS_OBJECT__object_
lea r12, [0x140479725]
mov r13, r8
mov r15, rcx
mov rsi, rcx
mov r8, qword [rsp + 0xe0]
test rcx, rcx
je 0x1402aa57d
mov qword [rsp + 0x38], rcx
mov rdi, rdx
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x48], r8
jmp 0x1402aa455
mov qword [rsp + 0x20], r14
mov r9, qword [str.g_object_unref]
mov edx, 8
mov rcx, r12
lea r8, [0x140479520]
call fcn.1400d2190
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x1402aa541
mov r15, qword [rsi]
lea r9, [0x14047ab7a]
mov r8, r13
mov rdx, rbp
mov qword [rsp + 0x28], 0
xor ecx, ecx
mov rax, qword [r15 + 8]
mov qword [rsp + 0x20], rax
call fcn.1402abd30
mov rbx, rax
test rax, rax
je 0x1402aa5e0
mov qword [rsp + 0x60], 0
call fcn.140039860
lea r9, [rsp + 0x5c]
lea r8, str.ActivatableClassId
mov rcx, rbx
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1402ad0d0
test eax, eax
je 0x1402aa4d2
cmp dword [rsp + 0x5c], 8
je 0x1402aa5a0
mov rax, qword [r15 + 8]
mov qword [rsp + 0x20], r13
mov edx, pe_nt_image_headers64
lea r9, str.HKEY_CLASSES_ROOT_
lea r8, str._S_S_S_does_not_have_an_ActivatableClassId_string_value
lea rcx, [0x1404795d9]
mov qword [rsp + 0x28], rax
call fcn.1400d2190
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], 0
test rcx, rcx
je 0x1402aa517
call fcn.14034efb0
mov edx, 0x50
mov rcx, rbx
call fcn.1400b1750
test eax, eax
je 0x1402aa428
mov rcx, rbx
call fcn.1400a9e30
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1402aa455
mov r15, qword [rsp + 0x38]
mov rbx, r15
nop dword [rax]
mov rax, rbx
mov rbx, qword [rbx + 8]
mov rsi, qword [rax]
test rsi, rsi
je 0x1402aa578
mov rcx, qword [rsi]
call fcn.14034efb0
mov rcx, qword [rsi + 8]
call fcn.14034efb0
mov rcx, rsi
call fcn.14034efb0
test rbx, rbx
jne 0x1402aa550
mov r8d, 8
mov rdx, r15
mov ecx, 0x18
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400e74e0
cmp qword [rsp + 0x68], 2
jbe 0x1402aa4d2
test rdi, rdi
je 0x1402aa618
mov rdx, qword [rdi]
mov rcx, qword [r15]
call qword [sym.imp.msvcrt.dll__wcsicmp]
xor r9d, r9d
test eax, eax
sete r9b
mov r8, qword [r15]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.1402aa2c0
jmp 0x1402aa4ff
mov rax, qword [r15 + 8]
mov qword [rsp + 0x20], r13
mov edx, pe_nt_image_headers64
lea r9, str.HKEY_CLASSES_ROOT_
lea r8, str._S_S_S_does_not_exist
lea rcx, [0x1404795d9]
mov qword [rsp + 0x28], rax
call fcn.1400d2190
jmp 0x1402aa448
xor r9d, r9d
cmp qword [rsp + 0x38], rsi
sete r9b
jmp 0x1402aa5c6
Function at 0x1402aa6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r14, qword [rsp + 0xd8]
mov r15, qword [rsp + 0xd0]
mov qword [rsp + 0x40], r8
mov rbx, rcx
mov rsi, rdx
mov rdi, r9
test r14, r14
je 0x1402aa830
cmp qword [r14], 0
mov ebp, dword [r15]
je 0x1402aa737
mov qword [rsp + 0x28], 0
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
je 0x1402aa7cd
lea r12, [rsp + 0x54]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov qword [rsp + 0x20], r12
mov r9d, ebp
mov r8, rdi
mov qword [rsp + 0x30], 0
mov r13, qword [sym.imp.ADVAPI32.dll_RegLoadMUIStringW]
mov rdx, rsi
mov rcx, rbx
mov dword [rsp + 0x28], 0
call r13
cmp eax, 0xd
je 0x1402aa860
cmp eax, 2
je 0x1402aa7ba
jmp 0x1402aa890
mov qword [rsp + 0x30], rax
mov r9d, ebp
mov r8, rdi
mov rdx, rsi
mov dword [rsp + 0x28], 0
mov rcx, rbx
add r14, 8
mov qword [rsp + 0x20], r12
call r13
cmp eax, 2
jne 0x1402aa7d8
mov rax, qword [r14]
test rax, rax
jne 0x1402aa790
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov edx, 2
jmp 0x1402aa80a
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov edx, dword [rsp + 0x4c]
cmp edx, 0xea
jne 0x1402aa820
mov eax, dword [rsp + 0x54]
mov edx, 0xea
mov dword [r15], eax
mov rax, qword [rsp + 0x40]
mov dword [rax], 1
mov eax, edx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp edx, 0xd
je 0x1402aa80a
jmp 0x1402aa7ff
mov qword [rsp + 0xd0], r9
mov r9, r8
xor r8d, r8d
mov qword [rsp + 0xd8], r15
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov rdx, rsi
mov qword [rsp + 0x28], r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
jmp 0x1402aa80a
mov dword [rsp + 0x4c], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov edx, dword [rsp + 0x4c]
cmp edx, 0xea
je 0x1402aa7f3
jmp 0x1402aa7ff
Function at 0x1402aaa40
Capabilities:
Query or enumerate registry key

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
mov edx, dword [rcx + 8]
mov eax, dword [rcx + 0xc]
mov rbx, rcx
cmp edx, eax
jl 0x1402aaa80
lea r8, str.g_win32_registry_subkey_iter_get_next_w:_must_not_be_called_again_after_FALSE_has_already_been_returned.
mov edx, 8
lea rcx, [0x14048142d]
call fcn.1400d2190
xor eax, eax
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
mov rsi, qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea rdi, [rsp + 0x4c]
jmp 0x1402aaada
mov rax, qword [rbx + 0x18]
mov r9, rdi
mov dword [rsp + 0x4c], eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r8, qword [rbx + 0x10]
call rsi
test eax, eax
je 0x1402aaaf0
mov edx, dword [rbx + 8]
mov eax, dword [rbx + 0xc]
add edx, 1
mov dword [rbx + 8], edx
cmp edx, eax
jl 0x1402aaa90
jmp 0x1402aaa6c
mov eax, dword [rsp + 0x4c]
mov qword [rbx + 0x20], rax
mov eax, 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
Function at 0x1402ab970
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov rax, r9
mov rbx, rcx
mov rdi, r8
mov rcx, rdx
or rax, r8
mov rsi, r9
je 0x1402ab9aa
mov rax, rbx
or rax, rdx
je 0x1402ab9aa
test rbx, rbx
je 0x1402ab9f0
test rdx, rdx
je 0x1402abab0
lea rax, str._buf___NULL__alloc_buf___NULL__reparse_tag___NULL____filename___NULL__file_handle___NULL____buf__NULL__alloc_buf__NULL____filename__NULL__file_handle__NULL_
lea r9, str._g_win32_readlink_utf16_handle
mov edx, 8
mov qword [rsp + 0x20], rax
lea r8, [0x140481380]
lea rcx, [0x14048139a]
call fcn.1400d2190
mov ebx, 0xffffffff
mov eax, ebx
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, dword [rsp + 0xc0]
mov r8, rsi
mov rdx, rdi
call fcn.1402ab700
mov ebx, eax
test ebx, ebx
jle 0x1402ab9da
and ebx, 0xfffffffe
je 0x1402ab9da
lea r13, str.__
movsxd rbx, ebx
mov rbp, qword [rsi]
mov rcx, r13
shr rbx, 1
call sub.msvcrt.dll_wcslen
lea rcx, [0x1404817bc]
mov rsi, rax
lea r12, [rax + rax + 4]
call sub.msvcrt.dll_wcslen
lea r10, [rbx + rbx]
mov rdi, rax
lea r14, [rax + rax + 4]
cmp r12, r10
jae 0x1402aba70
lea r15, [r12 - 4]
mov rdx, r13
mov rcx, rbp
mov qword [rsp + 0x48], r10
mov r8, r15
call sub.msvcrt.dll_memcmp
mov r10, qword [rsp + 0x48]
test eax, eax
je 0x1402abb40
cmp r14, r10
jae 0x1402abaa0
lea r15, [r14 - 4]
lea rdx, [0x1404817bc]
mov rcx, rbp
mov r8, r15
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1402abaa0
add r15, rbp
movzx ecx, word [r15]
cmp cx, 0x7f
jbe 0x1402abb90
add ebx, ebx
jmp 0x1402ab9da
test rbx, rbx
je 0x1402ab9f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, eax
je 0x1402abbc5
test ah, 4
je 0x1402abbb4
shl eax, 0x15
xor r9d, r9d
mov r8d, 7
mov rcx, rbx
and eax, 0x2000000
mov dword [rsp + 0x20], 3
mov edx, 8
mov qword [rsp + 0x30], 0
or eax, 0x200080
mov dword [rsp + 0x28], eax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1402abbc5
mov r9d, dword [rsp + 0xc0]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1402ab700
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1402aba05
add r15, rbp
movzx ecx, word [r15]
cmp cx, 0x7f
ja 0x1402aba70
mov edx, 0x103
call sub.msvcrt.dll_iswctype
mov r10, qword [rsp + 0x48]
test eax, eax
je 0x1402aba70
cmp word [rbp + r12 - 2], 0x3a
jne 0x1402aba70
sub rbx, rsi
mov rdx, r15
mov rcx, rbp
lea r8, [rbx + rbx]
add ebx, ebx
call sub.msvcrt.dll_memmove
jmp 0x1402ab9da
mov edx, 0x103
call sub.msvcrt.dll_iswctype
test eax, eax
je 0x1402abaa0
cmp word [rbp + r14 - 2], 0x3a
jne 0x1402abaa0
mov rsi, rdi
jmp 0x1402abb75
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
jmp 0x1402ab9d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, esi
mov rbx, rax
call fcn.1400e4260
mov dword [rbx], eax
jmp 0x1402ab9d5
Function at 0x1402ac950
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov eax, dword [rcx + 8]
mov edx, dword [rcx + 0xc]
mov rbx, rcx
cmp eax, edx
jl 0x1402ac988
lea r8, str.g_win32_registry_value_iter_next:_must_not_be_called_again_after_FALSE_has_already_been_returned.
mov edx, 8
lea rcx, [0x14048142d]
call fcn.1400d2190
xor eax, eax
jmp 0x1402aca71
mov rsi, qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea rbp, [rsp + 0x44]
lea rdi, [rsp + 0x48]
add eax, 1
mov dword [rbx + 8], eax
cmp eax, edx
jge 0x1402ac97d
mov rcx, qword [rbx + 0x60]
mov qword [rbx + 0x60], 0
test rcx, rcx
je 0x1402ac9b9
call fcn.14034efb0
mov rcx, qword [rbx + 0x70]
mov qword [rbx + 0x70], 0
test rcx, rcx
je 0x1402ac9cf
call fcn.14034efb0
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x80], 0
test rcx, rcx
je 0x1402ac9eb
call fcn.14034efb0
mov rax, qword [rbx + 0x18]
mov edx, dword [rbx + 8]
mov r9, rbp
shr rax, 1
mov dword [rsp + 0x44], eax
mov rax, qword [rbx + 0x38]
mov dword [rsp + 0x48], eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x38], rdi
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov r8, qword [rbx + 0x10]
call rsi
test eax, eax
jne 0x1402aca90
mov eax, dword [rsp + 0x4c]
xor esi, esi
sub eax, 1
cmp eax, 0xa
jbe 0x1402aca80
mov rdx, qword [rbx + 0x30]
mov r8d, dword [rsp + 0x48]
mov ecx, esi
call fcn.140039570
mov dword [rbx + 0x28], esi
mov eax, eax
mov dword [rbx + 0x48], esi
mov qword [rbx + 0x40], rax
mov eax, dword [rsp + 0x44]
mov qword [rbx + 0x20], rax
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rdx, [0x140484200]
mov esi, dword [rdx + rax*4]
jmp 0x1402aca48
mov eax, dword [rbx + 8]
mov edx, dword [rbx + 0xc]
jmp 0x1402ac999
Function at 0x1402acf30
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r14, qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rbp, rcx
mov r12, rdx
mov rdi, r8
mov rdx, qword [r8]
mov rsi, r9
mov r8d, dword [r9]
call r14
mov r13d, eax
mov rbx, r13
cmp qword [rsi], r13
jb 0x1402acf88
mov eax, 1
test ebx, ebx
je 0x1402acfba
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [r13 + r13]
mov rcx, qword [rdi]
mov rdx, r15
call sub.msvcrt.dll_realloc
test rax, rax
je 0x1402ad008
mov qword [rdi], rax
mov r8d, r13d
mov rcx, rbp
mov qword [rsi], r13
mov rdx, qword [rdi]
call r14
mov ebx, eax
mov eax, 1
test ebx, ebx
jne 0x1402acf70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400264c0
mov rsi, qword [0x14048eee0]
mov ebx, eax
mov edx, dword [rsi]
test edx, edx
jne 0x1402acfe6
lea rcx, [0x140481877]
call fcn.1400daa90
mov dword [rsi], eax
mov edx, eax
mov qword [rsp + 0x28], r12
lea r9, str.Failed_to_expand_data__S_of_value__S
mov r8d, ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbp
call fcn.1400cab90
xor eax, eax
jmp 0x1402acf70
mov qword [rsp + 0x20], r15
lea r9, [0x140481b74]
lea r8, [0x1404815c0]
mov edx, 4
lea rcx, [0x14048139a]
call fcn.1400d2190
jmp 0x1402ad02c
Function at 0x1402b3b50
Capabilities:
Encode data using base64
Get thread local storage value
Resolve function by parsing pe exports
Set thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
test rcx, rcx
je 0x1402b3c30
call fcn.140029820
mov rdx, rax
mov rax, qword [rbx]
test rax, rax
je 0x1402b3b77
cmp rdx, qword [rax]
je 0x1402b3b87
mov rcx, rbx
call fcn.1400b1670
test eax, eax
je 0x1402b3c30
test byte [rbx + 0x9c], 1
jne 0x1402b3bc8
lea rax, str.task__check_cancellable___return_on_cancel
mov qword [rsp + 0x20], rax
lea r9, str.g_task_set_return_on_cancel
lea r8, [0x14048439f]
mov edx, 8
lea rcx, [0x1404845d0]
call fcn.1400d2190
nop
add rsp, 0x38
pop rbx
pop rsi
ret
cmp qword [rbx + 0x70], 0
je 0x1402b3c20
lea rsi, [rbx + 0x78]
mov rcx, rsi
call fcn.140341618
mov eax, dword [rbx + 0x90]
test eax, eax
je 0x1402b3c08
mov rcx, rsi
test byte [rbx + 0x94], 2
jne 0x1402b3c12
call fcn.140341260
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140031c70
or byte [rbx + 0x94], 2
mov rcx, rsi
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140341260
or byte [rbx + 0x94], 2
add rsp, 0x38
pop rbx
pop rsi
ret
lea rax, str.G_IS_TASK__task_
jmp 0x1402b3b97
Function at 0x1402b5190
Capabilities:
Create thread
Resume thread

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x40
mov edi, ecx
mov ecx, 0x40
mov rbp, r8
mov r12, r9
mov rsi, rdx
call fcn.1400e69e0
pxor xmm0, xmm0
mov rcx, rbp
mov rbx, rax
movups xmmword [rax + 0x24], xmm0
movups xmmword [rax + 0x14], xmm0
movups xmmword [rax + 0x30], xmm0
mov rax, qword [0x14048dba0]
mov dword [rbx + 0x10], 1
mov qword [rbx + 0x30], rax
mov rax, qword [0x140485248]
mov qword [rbx], r12
mov qword [rbx + 0x18], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 8], rax
call fcn.1400e4a90
mov r9, rbx
mov edx, edi
xor ecx, ecx
mov qword [rbx + 0x20], rax
lea rax, [rsp + 0x3c]
lea r8, [0x1400fefd0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx + 0x38], rax
test rax, rax
je 0x1402b5310
test rsi, rsi
je 0x1402b5330
mov edx, dword [rsi]
cmp edx, 0x7fffffff
je 0x1402b5320
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x1402b5280
mov rcx, qword [rbx + 0x38]
lea rdi, str.Error_resuming_new_thread
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1402b5287
mov rax, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdi, str.Error_setting_new_thread_priority
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f7740
mov edx, dword [0x1404ce930]
mov rsi, rax
test edx, edx
jne 0x1402b52b5
lea rcx, str.g_thread_error
call fcn.1400daa90
mov dword [0x1404ce930], eax
mov edx, eax
mov qword [rsp + 0x28], rsi
mov rcx, qword [rsp + 0x98]
xor r8d, r8d
lea r9, str._s:__s
mov qword [rsp + 0x20], rdi
call fcn.1400cab90
mov rcx, rsi
call fcn.14034efb0
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1402b52ed
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, rbx
mov ecx, 0x40
xor ebx, ebx
call fcn.1400e6130
mov rax, rbx
add rsp, 0x40
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdi, str.Error_creating_thread
jmp 0x1402b5287
lea rdi, str.Error_getting_current_thread_priority
jmp 0x1402b5287
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edx, eax
jmp 0x1402b5238
Function at 0x1402c1880
Capabilities:
Get hostname

Disassembly:
push rsi
push rbx
sub rsp, 0x448
cmp byte [rdx + 1], 0
mov rbx, rcx
lea rcx, [rdx + 1]
je 0x1402c18c0
mov dword [rsp + 0x20], 3
xor r9d, r9d
lea r8, [rbx + 0x4d0]
xor edx, edx
call fcn.140143280
add rsp, 0x448
pop rbx
pop rsi
ret
lea rsi, [rsp + 0x30]
mov byte [rsp + 0x30], 0
mov edx, 0x401
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rsp + 0x430], 0
lea rcx, str.localhost
test eax, eax
jne 0x1402c1896
mov edx, 0x2e
mov rcx, rsi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1402c1900
mov byte [rax], 0
mov rcx, rsi
jmp 0x1402c1896
Function at 0x1402c3380
Capabilities:
Set socket configuration

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc0
mov rbx, qword [rsp + 0x110]
test rbx, rbx
mov rbp, rcx
mov eax, edx
lea rdx, [rsp + 0x30]
mov ecx, r8d
mov r12, qword [rbp + 0x18]
cmove rbx, rdx
mov rsi, r9
mov dword [rbx], eax
movzx r8d, byte [r12 + 0x575]
cmp r8b, 3
je 0x1402c34e8
xor edx, edx
cmp r8b, 6
mov r9d, 0x11
setne dl
add edx, 1
cmp r8b, 6
mov r8d, 0
cmovne r8d, r9d
mov r9d, pe_nt_image_headers64
mov dword [rbx + 4], edx
cmp ecx, r9d
mov dword [rbx + 8], r8d
cmova rcx, r9
lea r9, [rbx + 0x10]
mov dword [rbx + 0xc], ecx
cmp ecx, 8
jae 0x1402c3430
test cl, 4
jne 0x1402c3548
test ecx, ecx
je 0x1402c3449
movzx r10d, byte [rsi]
mov byte [r9], r10b
test cl, 2
je 0x1402c3449
movzx r10d, word [rsi + rcx - 2]
mov word [r9 + rcx - 2], r10w
jmp 0x1402c3449
mov r10d, ecx
sub ecx, 1
mov rdi, r9
mov r11, qword [rsi + r10 - 8]
shr ecx, 3
mov qword [r9 + r10 - 8], r11
rep movsq qword [rdi], qword [rsi]
mov r9, qword [rbp + 0x280]
test r9, r9
je 0x1402c3500
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x1402c3530
mov byte [rax + 0x18b], 1
mov rcx, qword [rbp + 0x288]
mov r8, rbx
xor edx, edx
call r9
mov rcx, rax
mov rax, qword [rsp + 0x118]
mov qword [rax], rcx
mov rax, qword [rbp + 0xd8]
test rax, rax
je 0x1402c3580
mov byte [rax + 0x18b], 0
cmp rcx, 0xffffffffffffffff
je 0x1402c351c
cmp byte [r12 + 0x575], 5
je 0x1402c3560
mov eax, dword [r12 + 0x56c]
test eax, eax
jne 0x1402c34d8
xor eax, eax
add rsp, 0xc0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp dword [rbx], 0x17
jne 0x1402c34c5
mov dword [rbx + 0x28], eax
jmp 0x1402c34c5
mov edx, 1
mov r8d, 6
jmp 0x1402c33e5
mov ecx, eax
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, rax
mov rax, qword [rsp + 0x118]
mov qword [rax], rcx
cmp rcx, 0xffffffffffffffff
jne 0x1402c34aa
mov eax, 7
add rsp, 0xc0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbp + 0xd0]
test rax, rax
jne 0x1402c3469
jmp 0x1402c3470
mov r10d, dword [rsi]
mov dword [r9], r10d
mov r10d, dword [rsi + rcx - 4]
mov dword [r9 + rcx - 4], r10d
jmp 0x1402c3449
mov dword [rsp + 0x2c], 1
lea r8, [rsp + 0x2c]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x1402c34b9
mov rax, qword [rbp + 0xd0]
test rax, rax
jne 0x1402c349d
jmp 0x1402c34a4
Function at 0x1402c6f30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rdi, qword [0x14048e3c0]
mov rax, qword [rdi]
mov esi, eax
mov rbx, rcx
test eax, eax
jne 0x1402c6f57
mov rcx, rdi
call fcn.1401001a0
mov esi, eax
mov ecx, esi
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rbp
xor edx, edx
mov ecx, esi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test r12, r12
je 0x1402c6f82
mov rax, qword [rdi + 8]
test rax, rax
je 0x1402c6f82
mov rcx, r12
call rax
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0
lea rax, str.module___NULL
test rbx, rbx
je 0x1402c7087
test dword [rbx + 0x10], 0x7fffffff
je 0x1402c7080
mov rsi, qword [0x14048d6f0]
mov rcx, rsi
call fcn.14010dd10
mov eax, dword [rbx + 0x10]
lea edx, [rax + 0x7fffffff]
and eax, 0x80000000
and edx, 0x7fffffff
or eax, edx
mov dword [rbx + 0x10], eax
jne 0x1402c7054
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x1402c6ff2
mov qword [rbx + 0x18], 0
mov rcx, rbx
call rax
mov eax, dword [rbx + 0x10]
test eax, eax
jne 0x1402c7054
mov rdx, qword [0x14048e3d0]
mov rax, qword [rdx]
test rax, rax
je 0x1402c7025
mov rcx, qword [rax + 0x20]
cmp rbx, rax
jne 0x1402c7019
jmp 0x1402c70e5
cmp rbx, rax
je 0x1402c70d8
mov rdx, rax
mov rax, qword [rax + 0x20]
test rax, rax
jne 0x1402c7010
mov rcx, qword [rbx + 8]
cmp rcx, qword [0x14048cd70]
mov qword [rbx + 0x20], 0
je 0x1402c7044
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x1402c70c0
mov rcx, qword [rbx]
call fcn.14034efb0
mov rcx, rbx
call fcn.14034efb0
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [rdi]
mov ecx, eax
test eax, eax
jne 0x1402c7070
mov rcx, rdi
call fcn.1401001a0
mov ecx, eax
mov rax, rbp
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
lea rax, str.module__ref_count___0
mov qword [rsp + 0x20], rax
lea r9, str.g_module_close
lea r8, str._s:_assertion__s_failed
mov edx, 8
lea rcx, str.GModule
call fcn.1400d2190
nop
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
lea rdx, [0x140485f2e]
xor ecx, ecx
call fcn.1400be1f0
jmp 0x1402c7044
mov rax, qword [rbx + 0x20]
mov qword [rdx + 0x20], rax
jmp 0x1402c7025
mov qword [rdx], rcx
jmp 0x1402c7025
Function at 0x1402c8290
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
mov r13, qword [0x14048d120]
mov rbp, rcx
mov rcx, r13
mov rbx, rdx
mov r12, r8
mov esi, r9d
call fcn.140341618
mov rax, qword [0x14048cff0]
mov rcx, qword [rax]
test rcx, rcx
je 0x1402c8458
mov rdx, rbp
call fcn.1400c84f0
mov rcx, r13
mov rdi, rax
call fcn.140341260
test rdi, rdi
je 0x1402c8461
mov rdx, qword [rdi]
test rdx, rdx
je 0x1402c82f8
cmp rdx, rbx
jne 0x1402c8330
mov rax, qword [rdi + 0x10]
test rax, rax
jne 0x1402c8311
jmp 0x1402c8380
mov rax, qword [rax + 8]
test rax, rax
je 0x1402c8380
mov rdx, qword [rax]
cmp rbx, qword [rdx + 8]
jne 0x1402c8308
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, rbx
call fcn.1400b1260
test eax, eax
jne 0x1402c82f8
mov rcx, qword [rdi]
call fcn.1400b47e0
mov rcx, rbx
mov rsi, rax
call fcn.1400b47e0
mov qword [rsp + 0x28], rsi
mov edx, 0x10
lea r8, str.Tried_to_register_an_extension_of_the_type__s_to_extension_point__s._Expected_type_is__s.
mov qword [rsp + 0x20], rbp
mov r9, rax
lea rcx, str.GLib_GIO
call fcn.1400d2190
jmp 0x1402c831a
mov ecx, 0x18
pxor xmm6, xmm6
call fcn.1400e69e0
mov rcx, r12
movups xmmword [rax], xmm6
mov rbp, rax
mov qword [rax + 0x10], 0
mov qword [rax + 8], rbx
call fcn.1400e4a90
mov dword [rbp + 0x10], esi
mov qword [rbp], rax
mov r13, qword [rdi + 0x10]
test r13, r13
je 0x1402c84d1
mov rax, qword [r13]
cmp esi, dword [rax + 0x10]
jg 0x1402c8490
mov rbx, qword [r13 + 8]
setl r12b
test rbx, rbx
je 0x1402c8498
test r12b, r12b
je 0x1402c8498
mov rax, qword [rbx]
cmp esi, dword [rax + 0x10]
jg 0x1402c8411
mov rdx, qword [rbx + 8]
setl al
mov r12d, eax
test rdx, rdx
je 0x1402c849b
test al, al
je 0x1402c849b
mov rbx, rdx
mov rax, qword [rbx]
cmp esi, dword [rax + 0x10]
jle 0x1402c83eb
mov ecx, 0x18
call fcn.1400e69e0
pxor xmm0, xmm0
mov qword [rax], rbp
movups xmmword [rax + 8], xmm0
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1402c843b
mov qword [rdx + 8], rax
mov rdx, qword [rbx + 0x10]
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rbx
mov qword [rbx + 0x10], rax
cmp r13, rbx
je 0x1402c844b
mov rax, r13
mov qword [rdi + 0x10], rax
jmp 0x1402c831a
mov rcx, r13
call fcn.140341260
nop
movaps xmm6, xmmword [rsp + 0x30]
mov r9, rbp
lea r8, str.Tried_to_implement_non_registered_extension_point__s
mov edx, 0x10
lea rcx, str.GLib_GIO
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1400d2190
mov rbx, r13
jmp 0x1402c8411
mov rbx, r13
mov ecx, 0x18
call fcn.1400e69e0
pxor xmm0, xmm0
mov qword [rax], rbp
movups xmmword [rax + 8], xmm0
cmp qword [rbx + 8], 0
jne 0x1402c8426
test r12b, r12b
je 0x1402c8426
mov qword [rbx + 8], rax
mov qword [rax + 0x10], rbx
jmp 0x1402c8448
mov ecx, 0x18
call fcn.1400e69e0
mov qword [rax], rbp
movups xmmword [rax + 8], xmm6
jmp 0x1402c844b