joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002234
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x58
test rcx, rcx
jne 0x140002241
xor eax, eax
jmp 0x140002291
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x58
ret

Function at 0x1400022a4
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x68
test rdx, rdx
jne 0x1400022b1
xor eax, eax
jmp 0x14000230e
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add rsp, 0x68
ret

Function at 0x140002734
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.140004a00
sub rsp, rax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov rbx, rcx
mov edi, r8d
mov r12, rdx
lea rcx, [rsp + 0x42]
xor esi, esi
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x40], si
call sub.MSVCR100.dll_memset
lea r8, str.SOFTWAREClassesCLSID_sInprocServer32
lea rcx, [rsp + 0x40]
mov r9, rbx
mov edx, 0x400
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rax, [rsp + 0x30]
neg edi
sbb rcx, rcx
lea rdx, [rsp + 0x40]
mov r9d, 0x20019
add rcx, 0xffffffff80000002
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400027db
cmp eax, 2
sete sil
jmp 0x140002840
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x740]
lea rdx, [0x140006784]
mov dword [rsp + 0x38], 0x800
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140002814
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140002842
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x740]
sub rdx, r12
movzx eax, word [r12]
movzx ecx, word [r12 + rdx]
sub eax, ecx
jne 0x14000283a
add r12, 2
test ecx, ecx
jne 0x140002824
test eax, eax
setne sil
mov eax, esi
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.1400049c0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
Function at 0x140002b04
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor edi, edi
mov word [rcx], di
mov dword [rax - 0x38], 0x104
mov r9, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x140006480]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov ebx, eax
test eax, eax
jns 0x140002b63
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.140004814
xor edx, edx
mov ecx, ebx
call fcn.140005830
nop
jmp 0x140002b6e
test ebx, ebx
jns 0x140002bef
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
test eax, eax
jns 0x140002ba7
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
call fcn.140004814
xor edx, edx
mov ecx, ebx
call fcn.140005830
nop
jmp 0x140002bb2
test ebx, ebx
jns 0x140002bef
mov r9d, 1
lea r8d, [r9 + 0x19]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, eax
test eax, eax
jns 0x140002be9
mov edx, eax
lea rcx, str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
call fcn.140004814
xor edx, edx
mov ecx, ebx
call fcn.140005830
nop
jmp 0x140002bef
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140004614
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0xf90]
mov eax, 0x1090
call fcn.140004a00
sub rsp, rax
mov rax, qword [0x140009028]
xor rax, rsp
mov qword [rbp + 0xf80], rax
mov rsi, rcx
mov rdi, rdx
mov ebx, 0x7fe
lea rcx, [rbp + 0x782]
xor r13d, r13d
xor edx, edx
mov r8d, ebx
mov word [rbp + 0x780], r13w
call sub.MSVCR100.dll_memset
or r14, 0xffffffffffffffff
lea rcx, [rbp + 0x780]
mov r8, r14
mov r9, rsi
mov edx, 0x400
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
test eax, eax
jns 0x1400046a0
mov word [rbp + 0xf7e], r13w
xor edx, edx
lea rcx, [rsp + 0x42]
mov word [rsp + 0x40], r13w
lea r8d, [rdx + 0x3e]
call sub.MSVCR100.dll_memset
mov edi, 0x20
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.140004554
lea r8, [0x1400074fc]
lea rcx, [rsp + 0x40]
mov edx, edi
call qword [sym.imp.MSVCR100.dll_wcscat_s]
lea rcx, [rbp - 0x7e]
mov r8, rbx
xor edx, edx
mov word [rbp - 0x80], r13w
call sub.MSVCR100.dll_memset
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rcx, 6
jbe 0x14000471c
lea rsi, [rsi + rcx*2 - 0xc]
lea rdi, str.__08x_
lea ecx, [rax + 7]
repe cmpsw word [rsi], word [rdi]
lea edx, [rax + 1]
je 0x14000471f
mov edx, r13d
lea rdi, [rsp + 0x40]
mov rcx, r14
lea rbx, [0x14000750c]
repne scasw ax, word [rdi]
lea rax, str.Error:
test edx, edx
not rcx
cmovne rbx, rax
lea rsi, [rcx - 1]
lea r12, [rcx + rcx - 2]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0x3ff
sub rdx, rsi
lea rsi, [rbp + 0x780]
lea rcx, [rbp + r12 - 0x80]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rbx
lea r9, str.P:_04d_T:_04d__s_s
mov r8, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], eax
call qword [sym.imp.MSVCR100.dll__snwprintf_s]
test eax, eax
jns 0x1400047b1
mov rdx, r13
lea rax, [0x140007668]
movzx eax, word [rdx + rax]
add rdx, 2
mov word [rbp + rdx + 0x774], ax
test ax, ax
jne 0x140004795
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
mov r8, r12
call sub.MSVCR100.dll_memcpy
xor eax, eax
lea rdi, [rbp - 0x80]
mov rcx, r14
repne scasw ax, word [rdi]
mov eax, dword [0x14000753c]
lea rcx, [rbp - 0x80]
mov dword [rdi - 2], eax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0xf80]
xor rcx, rsp
call fcn.1400049c0
lea r11, [rsp + 0x1090]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140005007
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140009028]
jne 0x1400049da
rol rcx, 0x10
test cx, 0xffff
jne 0x1400049d6
repz ret
ror rcx, 0x10
jmp 0x140004f60
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140009230]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140009328]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140004fe5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140009230]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140005007
mov rax, qword [rsp + 0x88]
mov qword [0x140009328], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400092c8], rax
mov rax, qword [0x140009328]
mov qword [0x1400091a0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400092b0], rax
mov dword [0x140009190], 0xc0000409
mov dword [0x140009194], 1
mov rax, qword [0x140009028]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140009030]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140009228], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140007690]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140009228], 0
jne 0x14000508e
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x180001230
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.flZHXVBfBgEbV1lf
call fcn.180001150
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1800012de
lea rcx, str.Y1pHR0BSWWNHXEFWVkc
call fcn.180001150
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rcx, str.dkFQUkFWYVtHVlRX
mov qword [0x180072e58], rax
call fcn.180001150
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rcx, str.YlJcR3NcR2BcXVJfUHxXWVBQQQ
mov qword [0x180072e30], rax
call fcn.180001150
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x180072e50], rax
lea rcx, str.ZltZRFRDXB1RX1k
call fcn.180001150
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180001350
lea rcx, str.ZVJBW3RDRVZbV2I
call fcn.180001150
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rcx, str.ZVJBW3NaWVZwS1xAQUBi
mov qword [0x180072e48], rax
call fcn.180001150
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov qword [0x180072e38], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180001b30
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [0x180072cf0]
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
test eax, eax
jne 0x180001b7f
xor eax, eax
lea r8, [0x180001420]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_CreateThread]
mov eax, dword [0x180072cf0]
mov rcx, qword [0x180072e40]
lea rdx, [0x18006b150]
inc eax
mov dword [0x180072cf0], eax
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov r9, rbx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp rax
Function at 0x180017b40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xa97], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x180017c0b
cmp qword [rcx + 0x250], 0
je 0x180017bbe
mov qword [rsp + 0x40], rbx
call fcn.1800051f0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.180005540
mov rcx, qword [rdi + 0x1c8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x250]
movzx edx, bl
mov rcx, rdi
call fcn.180005540
mov rbx, qword [rsp + 0x40]
jmp 0x180017c0b
mov ecx, esi
test edx, edx
je 0x180017bce
sub ecx, 1
je 0x180017bce
cmp ecx, 1
jne 0x180017c0b
mov r9, qword [rdi + 0x1c0]
lea rax, [0x18005e1d8]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r9, qword [rdi + 0x1c0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1800198c0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret
Function at 0x180019bd0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x180019bfa
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExA
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rdx, [0x18005e430]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x180019c5e
mov rcx, rbx
test r14, r14
je 0x180019c48
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x180019c96
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x180019c96
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x180019d58
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x180019cc0
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x180019d4a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x180019d4a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x180019cf0
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x180019d04
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x180019d20
mov rcx, rdi
test r14, r14
je 0x180019d41
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x180019d47
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [case.0x180016fbf.0]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x180019d70
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1800725b8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x180019dd6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x180019db9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x180019db3
shr ax, 8
cmp al, 2
je 0x180019dd6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18005b2e0
add rsp, 0x1e8
ret
call fcn.18004cc20
test eax, eax
jne 0x180019fee
mov qword [rsp + 0x200], rsi
lea rcx, str.kernel32
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x180019e16
mov qword [0x1800726e8], rsi
jmp 0x180019fab
mov qword [rsp + 0x1f0], rbx
lea rdx, str.LoadLibraryExA
mov rcx, rdi
mov qword [rsp + 0x1f8], rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea rbx, str.iphlpapi.dll
mov rbp, rax
mov rcx, rbx
lea rdx, [0x18005e430]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x180019e7b
mov rcx, rbx
test rbp, rbp
je 0x180019e6d
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x180019f6a
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
jmp 0x180019f6a
test rbp, rbp
je 0x180019eaa
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
test rax, rax
je 0x180019eaa
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x180019f6a
xor edx, edx
mov qword [rsp + 0x1e0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov r14d, eax
test eax, eax
je 0x180019f62
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x180019f59
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x180019f59
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x180019f00
mov edx, 0x5c
mov word [rax + rdi], dx
inc rcx
cmp byte [rdi + rcx], sil
jne 0x180019f14
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x180019f30
mov rcx, rdi
test rbp, rbp
je 0x180019f50
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x180019f56
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [case.0x180016fbf.0]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1800726e8], rsi
test rsi, rsi
je 0x180019fab
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov rcx, qword [0x1800726e0]
test rax, rax
cmovne rcx, rax
mov qword [0x1800726e0], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.18004c7d0
test al, al
lea rcx, [0x180072e18]
setne byte [0x180072e10]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
mov rdi, qword [rsp + 0x208]
xor eax, eax
mov rsi, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18005b2e0
add rsp, 0x1e8
ret
Function at 0x18002a6a0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.18000afc0
mov rcx, rbx
movups xmm6, xmmword [rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov r8d, 1
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.DLL_MoveFileExA]
test eax, eax
jne 0x18002a750
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.18000afc0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.18000b050
cmp rax, 0x3e8
ja 0x18002a783
mov ecx, 1
call qword [sym.imp.KERNEL32.DLL_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_MoveFileExA]
test eax, eax
je 0x18002a700
test rsi, rsi
je 0x18002a75e
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x18002a76c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x18002a791
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x18002a79f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x18002a76e
Function at 0x18002abe0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor ebp, ebp
mov qword [r9], rbp
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x18002ad7e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x18002ad5e
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x18002ac4e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x18002ac40
inc rbx
jmp 0x18002ac50
xor ebx, ebx
mov eax, dword [rdi + 4]
cmp eax, 2
jne 0x18002ac5e
lea r14d, [rax + 0xe]
jmp 0x18002ac6b
cmp eax, 0x17
jne 0x18002ad04
lea r14d, [rax + 5]
cmp qword [rdi + 0x20], 0
je 0x18002ad04
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x18002ad04
cmp rax, r14
jb 0x18002ad04
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x18002ad13
mov ecx, dword [rdi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rsi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rcx
mov rdx, qword [rdi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x18002acf1
mov rcx, qword [rsi + 0x20]
mov r8, rbx
add rcx, r14
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
test rbp, rbp
cmove rbp, rsi
test r15, r15
je 0x18002ad01
mov qword [r15 + 0x28], rsi
mov r15, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x18002ac30
jmp 0x18002ad19
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x58]
test rcx, rcx
je 0x18002ad33
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x18002ad59
test rbp, rbp
je 0x18002ad55
nop dword [rax]
mov rbx, qword [rbp + 0x28]
mov rcx, rbp
call qword [case.0x180016fbf.0]
mov rbp, rbx
test rbx, rbx
jne 0x18002ad40
xor ebp, ebp
jmp 0x18002ad6d
test rbp, rbp
jne 0x18002ad6d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rbp
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret

Function at 0x18002b1d0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor ebx, ebx
mov r9, rdx
mov r8, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
cmovbe rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret