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

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14017df80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400ef505
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400ef566
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400c99c0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140102580
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400ef621
sub ecx, 1
je 0x1400ef694
sub ecx, 1
je 0x1400ef5d0
cmp ecx, 1
je 0x1400ef5b3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x140134f98]
call fcn.1400c99c0
jmp 0x1400ef694
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400ef1a0
test eax, eax
je 0x1400ef694
jmp 0x1400ef53a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400ef694
sub rax, rsi
cmp rax, rbp
jae 0x1400ef694
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400c9b40
jmp 0x1400ef694
cmp r8d, 4
jle 0x1400ef694
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400ef694
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400c98e0
mov esi, eax
test eax, eax
je 0x1400ef673
mov edx, 5
mov rcx, rbx
call fcn.1400f0160
mov eax, esi
jmp 0x1400ef53a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400d83c0
mov rcx, r14
call fcn.1400d86a0
test eax, eax
je 0x1400ef538
mov edx, 5
mov rcx, rbx
call fcn.1400f0160
mov eax, Ordinal_46
jmp 0x1400ef53a
Function at 0x140102430
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x140102472
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1401024b9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140102512
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1401024d0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140102553
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x140133ff2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x140133ff3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140102520
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140103578
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401035c2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401035c2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401035c2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401035c2
cmp dword [rcx + 0x84], 0xe
jbe 0x1401035c2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1401035c4
xor al, al
add rsp, 0x28
ret
Function at 0x140104184
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401041be
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401041c3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14010420c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14010420c
dec r8
sub rdx, 1
jne 0x1401041f2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14001105f
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b8e0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14003c04e]
call fcn.1400119f1
cmp dword [rbp + 0xe0], 2
jge 0x14001b97d
lea rcx, str._Privileged_DACL_Overwrite_EoP_n
call fcn.1400114c4
lea rcx, str._CVE:_CVE_2019_0841_n
call fcn.1400114c4
lea rcx, str._Exploit_Author:_Nabeel_Ahmed___rogue_kdc__n
call fcn.1400114c4
lea rcx, str._Tested_on:_Microsoft_Windows_10_x32__x64_n
call fcn.1400114c4
lea rcx, str._Category:_Local_n
call fcn.1400114c4
lea rcx, str.__________________________________________________n
call fcn.1400114c4
lea rcx, str.___Usage:_exploit.exe__path_to_file_to_takeover__n
call fcn.1400114c4
lea rcx, str.____E.g.__exploit.exe_C:Windowswin.ini_n
call fcn.1400114c4
lea rcx, str.__________________________________________________n
call fcn.1400114c4
jmp 0x14001ba04
cmp dword [rbp + 0xe0], 3
jge 0x14001ba02
lea rcx, str._Privileged_DACL_Overwrite_EoP_n
call fcn.1400114c4
lea rcx, str._CVE:_CVE_2019_0841_n
call fcn.1400114c4
lea rcx, str._Exploit_Author:_Nabeel_Ahmed___rogue_kdc__n
call fcn.1400114c4
lea rcx, str._Tested_on:_Microsoft_Windows_10_x32__x64_n
call fcn.1400114c4
lea rcx, str._Category:_Local_n
call fcn.1400114c4
lea rcx, str.__________________________________________________n
call fcn.1400114c4
lea rcx, [0x14002b08c]
call fcn.1400114c4
lea rcx, [0x14002b08c]
call fcn.1400114c4
mov eax, 8
imul rax, rax, 1
xor edx, edx
mov rcx, qword [rbp + 0xe8]
mov rcx, qword [rcx + rax]
call fcn.14001178f
nop
jmp 0x14001ba04
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x14001142e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x14001aef0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x140031028]
xor rax, rbp
mov qword [rbp + 0x438], rax
lea rcx, [0x14003c04e]
call fcn.1400119f1
xor edx, edx
mov ecx, 0xf
call fcn.1400114dd
mov qword [rbp + 8], rax
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011659
mov dword [rbp + 0x284], eax
cmp dword [rbp + 0x284], 0
je 0x14001afd7
mov rdx, qword [rbp + 0x460]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14001afc2
mov r8d, dword [rbp + 0x38]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0
je 0x14001afc2
mov edx, 9
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400118f2
mov dword [rbp + 0x284], eax
jmp 0x14001af63
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x20]
lea rdx, [0x140029ab0]
call fcn.140011893
mov rcx, qword [rbp + 0x438]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x448]
pop rdi
pop rbp
ret
Function at 0x1400115be
Capabilities:
Terminate process

Disassembly:
jmp 0x140021340
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400116fe
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140018ef0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x448
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xaa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x468]
mov rax, qword [0x140031028]
xor rax, rbp
mov qword [rbp + 0x418], rax
lea rcx, [0x14003c04e]
call fcn.1400119f1
mov byte [rbp + 4], 0
mov dword [rbp + 0x30], 0x238
xor edx, edx
mov ecx, 2
call fcn.1400114dd
mov qword [rbp + 0x288], rax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.140011659
test eax, eax
je 0x140018f9a
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x288]
call fcn.1400118f2
test eax, eax
je 0x140018f9a
mov rdx, qword [rbp + 0x440]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140018f98
mov byte [rbp + 4], 1
jmp 0x140018f6b
mov rcx, qword [rbp + 0x288]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140029a30]
call fcn.140011893
mov eax, edi
mov rcx, qword [rbp + 0x418]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x428]
pop rdi
pop rbp
ret

Function at 0x140011721
Capabilities:
Parse pe header

Disassembly:
jmp 0x140020700
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020720
xor al, al
jmp 0x1400207a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140020733
xor al, al
jmp 0x1400207a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14002075d
xor al, al
jmp 0x1400207a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140020771
xor al, al
jmp 0x1400207a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140020783
xor al, al
jmp 0x1400207a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002079f
xor al, al
jmp 0x1400207a1
mov al, 1
add rsp, 0x38
ret
Function at 0x14001178f
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x14001ab80
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140031028]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x14003c04e]
call fcn.1400119f1
lea rcx, str.USERPROFILE
call qword [sym.imp.ucrtbased.dll__wgetenv]
mov qword [rbp + 8], rax
lea rax, str.AppDataLocalPackagesMicrosoft.MicrosoftEdge_8wekyb3d8bbweSettings_settings.dat
mov qword [rbp + 0x28], rax
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x48]
call fcn.140011357
nop
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x168]
call fcn.140011357
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x1a0], rax
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x48]
call fcn.140011929
nop
lea rcx, [rbp + 0x168]
call fcn.1400118e8
lea rcx, [rbp + 0x48]
call fcn.140011366
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x1d0]
call fcn.14001173f
movzx eax, al
test eax, eax
je 0x14001ac67
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
call fcn.140011492
lea rcx, str.___Checking_if_settings.dat_file_exists_...
call fcn.1400114c4
mov rcx, qword [rbp + 0x88]
call fcn.1400118ed
movzx eax, al
test eax, eax
je 0x14001ad5c
lea rcx, str.YES_n
call fcn.1400114c4
lea rcx, str.____Attempting_to_create_a_hardlink_to_target_...
call fcn.1400114c4
mov rdx, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x88]
call fcn.140011267
movzx eax, al
test eax, eax
je 0x14001accd
lea rcx, str.DONE_n
call fcn.1400114c4
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.___Starting_up_Microsoft_Edge_to_force_reset_..._n
call fcn.1400114c4
nop
lea rcx, str.start_microsoft_edge:
call qword [sym.imp.ucrtbased.dll_system]
nop
jmp 0x14001acf5
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.____Killing_Microsoft_Edge_again_...__n
call fcn.1400114c4
lea rcx, str.MicrosoftEdge.exe
call fcn.14001142e
lea rcx, str.___Checking_File_privileges_again_..._n
call fcn.140011064
mov rcx, qword [rbp + 0x1d0]
call fcn.14001173f
movzx eax, al
test eax, eax
jne 0x14001ad5c
lea rcx, str.____File_Takeover_Failed___n
call fcn.1400114c4
lea rcx, str.____File_might_be_in_use_by_another_process_or_NT_AUTHORITYSYSTEM_does_not_have_Full_Control_permissions_on_the_file___n
call fcn.1400114c4
lea rcx, str.____Try_another_file_...__n
call fcn.1400114c4
nop
lea rcx, [rbp + 0x48]
call fcn.1400118e8
lea rcx, [rbp - 0x20]
lea rdx, [0x140029b30]
call fcn.140011893
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x1400118ed
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x140018c20
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x14003c04e]
call fcn.1400119f1
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140018c62
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140018c62
xor al, al
jmp 0x140018c64
mov al, 1
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011a28
Capabilities:
Print debug messages

Disassembly:
jmp 0x14001dde4
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.1400117d0
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x14002ba08]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.1400114bf
test eax, eax
jne 0x14001de7b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14001de7b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14001de74
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x140033c50], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1801356d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
xor eax, eax
mov r11, rcx
mov r10d, 1
movabs rdi, 0x8000000000000000
lea ebx, [rax + 0x20]
nop dword [rax]
nop word [rax + rax]
shr rax, 1
mov r9, r10
and r9d, 1
neg r9
mov rdx, r9
and r9, rdi
add r9, rax
and rdx, r11
mov r8, rdx
shr r9, 1
xor r8, r10
and rdx, r10
shr r8, 1
add r8, rdx
mov rax, r8
and eax, 1
neg rax
mov rcx, rax
and rax, rdi
and rcx, r11
add rax, r9
mov r10, rcx
and rcx, r8
xor r10, r8
shr r10, 1
add r10, rcx
sub rbx, 1
jne 0x180135700
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x180138c50
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.18011f510
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180138cab
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x180138d24
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1800052b0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x180138d31
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x180138d24
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.1800052b0
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x180138d13
jmp 0x180138d24
Function at 0x1400191a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x78
mov rax, qword [0x14022a660]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
movzx eax, byte [rsp + 0x88]
test eax, eax
je 0x1400192b9
mov rax, qword [rsp + 0x40]
add rax, 0x5f08
mov rcx, rax
call fcn.14004c7a0
mov qword [rsp + 0x28], rax
jmp 0x140019210
mov rax, qword [rsp + 0x40]
add rax, 0x5f08
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
call fcn.14004d6e0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400192b9
cmp dword [rsp + 0x80], 0
je 0x140019241
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x80]
cmp dword [rax + 0x14], ecx
je 0x140019241
mov dword [rsp + 0x38], 0
jmp 0x140019249
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001929f
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x14], 0
je 0x14001929f
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x14]
mov rcx, qword [rsp + 0x50]
call fcn.140019e70
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14001929f
mov rcx, qword [rsp + 0x58]
call fcn.14001d270
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
jne 0x14001929f
mov byte [rsp + 0x20], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400192b4
mov rax, qword [rsp + 0x28]
mov dword [rax + 0x14], 0
jmp 0x1400191ec
mov dword [rsp + 0x24], 0
jmp 0x1400192cd
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x3fb8]
cmp dword [rsp + 0x24], eax
jge 0x1400193ec
mov rax, qword [rsp + 0x40]
add rax, 0x3fb8
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x68]
call fcn.14000bad0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x80], 0
je 0x14001936d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x448], 0
je 0x14001933d
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x448]
call fcn.14001d270
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14001936d
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x450], 0
je 0x140019363
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x450]
mov ecx, dword [rsp + 0x80]
cmp dword [rax], ecx
je 0x14001936d
mov dword [rsp + 0x3c], 0
jmp 0x140019375
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1400193e7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x458]
mov dword [rsp + 0x48], eax
movzx r8d, byte [rsp + 0x88]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14001b040
movzx eax, byte [rsp + 0x88]
test eax, eax
jne 0x1400193e7
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x48]
cmp dword [rax + 0x458], ecx
je 0x1400193e7
mov r8d, 0x4707
lea rdx, [0x1401bb440]
lea rcx, str.window__DockId__backup_dock_id
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
jmp 0x1400192c3
add rsp, 0x78
ret
Function at 0x140025340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [rsp + 0x30]
call fcn.140008a50
cmp dword [rsp + 0x90], 0x100
jl 0x140025386
mov r8d, 0x4989
lea rdx, [0x1401bdf50]
lea rcx, str.depth____1_____sizeof_node_settings.Depth_____3__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x18], 0
je 0x1400253b7
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x1400253bf
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x88]
call fcn.14002ff60
movzx eax, al
test eax, eax
je 0x140025425
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x88], 0
je 0x140025425
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x88]
cmp qword [rax + 0x3a8], 0
je 0x140025425
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x88]
mov rax, qword [rax + 0x3a8]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x24], eax
jmp 0x14002542d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xbc]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x88]
call fcn.140031550
movzx eax, al
test eax, eax
je 0x14002546c
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x28], eax
jmp 0x140025474
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x41], al
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
and eax, 0x3fc20
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x88]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000ad30
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x88]
add rax, 0x50
mov rdx, rax
lea rcx, [rsp + 0x5c]
call fcn.14000ad30
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
add rax, 0x58
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14000ad30
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
call fcn.14004dbb0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x20], 0
je 0x140025562
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 0
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140025340
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x20], 0
je 0x1400255aa
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x20]
mov rcx, qword [rsp + 0x80]
call fcn.140025340
add rsp, 0x78
ret