joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b69a0
Capabilities:
Create udp socket

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov edi, edx
cmp word [rcx], 0
mov eax, 2
mov r14d, 0x17
cmove r14d, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
xor ebx, ebx
mov ecx, r14d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400b6a81
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2739
je 0x1400b6a08
mov esi, eax
cmp eax, 0x2726
jne 0x1400b6a74
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, r14d
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400b6a6c
mov rsi, rax
xor ebx, ebx
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
jne 0x1400b6a81
call qword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov rcx, rsi
call qword [sym.imp.ws2_32.dll_closesocket]
mov ebx, 1
mov rsi, rdi
jmp 0x1400b6a81
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebx, 1
mov rax, rbx
mov rdx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret

Function at 0x1400b7570
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x148
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0xb0], xmm6
mov qword [rbp + 0xa8], 0xfffffffffffffffe
mov qword [rbp + 0x60], rcx
mov byte [rbp + 0xa5], dl
movzx eax, dl
mov ecx, 0x40080002
sub ecx, eax
mov dword [rbp + 0x5c], ecx
mov r12d, 8
mov sil, 1
xorps xmm6, xmm6
lea rbx, [rbp + 0x20]
mov r13, qword [sym.imp.bcryptprimitives.dll_ProcessPrng]
xor edi, edi
xor eax, eax
mov qword [rbp - 8], rax
nop word cs:[rax + rax]
Function at 0x1400b8810
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov rdi, rdx
cmp qword [rdx], 0
jne 0x1400b8980
mov rsi, rcx
mov rbx, qword [rdi + 0x18]
mov rax, qword [rbx]
test rax, rax
jne 0x1400b884d
mov rdx, qword [rbx + 0x10]
lea rax, [rdx + 0xf]
cmp rax, 0xf
jbe 0x1400b8945
xor eax, eax
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
je 0x1400b8963
sub rax, rdx
add rdx, qword [rbx + 8]
mov r8, qword [rdi + 0x10]
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
mov dword [rbp + 4], 0
mov rcx, qword [rdi + 0x20]
mov qword [rsp + 0x20], r8
lea r9, [rbp + 4]
mov r8d, eax
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x1400b88ac
mov eax, dword [rbp + 4]
mov ecx, 2
test rax, rax
je 0x1400b88ef
mov qword [rdi], rcx
mov qword [rdi + 8], rax
mov byte [rsi + 1], 1
jmp 0x1400b88f3
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x40], rax
movabs rcx, 0xffffffff00000000
and rcx, rax
movabs rdx, 0x6d00000000
cmp rcx, rdx
je 0x1400b88f7
movabs rdx, 0x3e500000000
cmp rcx, rdx
jne 0x1400b8921
lea rax, [rbp - 8]
jmp 0x1400b8903
mov byte [rsi + 1], 0
xor eax, eax
jmp 0x1400b8927
mov qword [rbp - 8], 1
lea rax, [rbp - 0x10]
mov qword [rax], 0
lea rcx, [rbp - 0x40]
call fcn.1400a5bb0
mov rcx, qword [rbp - 8]
mov rax, qword [rbp - 0x10]
cmp rcx, 2
jne 0x1400b8932
mov qword [rsi + 8], rax
mov al, 1
mov byte [rsi], al
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret
test rcx, rcx
jne 0x1400b8895
mov ecx, 1
jmp 0x1400b889f
mov r8d, 0x10
mov rcx, rbx
call fcn.14014dc50
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rax, rdx
jne 0x1400b885a
mov r8d, 1
mov rcx, rbx
mov rdx, rax
call fcn.14014dc50
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x10]
jmp 0x1400b885a
mov qword [rbp - 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14014db60
int3
Function at 0x1400bcc80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400bf150
mov rcx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x20]
movabs r14, 0x8000000000000000
cmp rcx, r14
jne 0x1400bccbe
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r14
jmp 0x1400bcce4
mov rdx, qword [rbp - 0x18]
Function at 0x1400be780
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401db581]
mov ecx, 0x10
mov edx, 8
call fcn.140011290
test rax, rax
je 0x1400be86b
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400be920]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
invalid
jne 0x1400be85d
mov rax, qword [rbx]
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
or byte [rax], al
add byte [rax], al
mov edx, 0x10
call fcn.14014eff0
ud2

Function at 0x1400c1450
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x186], ax
mov rax, qword [0x1401ddbd0]
cmp rax, 3
jne 0x1400c1582
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
ja 0x1400c15a8
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
inc rdi
lea rcx, [rbp + 0x158]
mov rdx, rbx
mov r8, rdi
call fcn.1400ce020
cmp qword [rbp + 0x158], 0
je 0x1400c14f1
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400c1573
mov rcx, qword [rbp + 0x160]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x120], xmm0
movaps xmmword [rbp + 0x140], xmm0
movaps xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x178], 0
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x178]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400c1554
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400c156c
mov rax, qword [rbp + 0x178]
movzx ecx, word [rbp + 0x186]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov rax, rsi
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rbx, rdx
call fcn.14014dee0
mov rdx, rbx
lea rax, [rbp + 0x186]
mov qword [rbp + 0x170], rax
cmp rdi, 0x17f
jbe 0x1400c14a7
lea r9, [rbp + 0x170]
mov rcx, rsi
mov r8, rdi
call fcn.14014dfc0
jmp 0x1400c1573
Function at 0x1400d5940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x1400d59ca
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x1400d59c0
cmp r11, r10
ja 0x1400d5a46
cmp r10, rdx
ja 0x1400d5a58
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x1400d59c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400d59a0
jmp 0x1400d5a27
ja 0x1400d59ca
mov r11, r10
cmp rax, r8
jne 0x1400d5967
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x1400d5a2b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400d5a00
mov r8, r10
sub ecx, r9d
jns 0x1400d5a1e
jmp 0x1400d5a2d
cmp r10, rdx
je 0x1400d5a3a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400d5a2d
xor al, 1
cmp r8, rdx
jne 0x1400d59e0
jmp 0x1400d5a2d
xor eax, eax
jmp 0x1400d5a2d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14014f200
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14014f780
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14014f710
int3

Function at 0x1400e3500
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400e35e2
call fcn.1401036e0
test al, al
jne 0x1400e35e2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400e3532
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140113250
test rax, rax
je 0x1400e3577
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140113250
mov rsi, rax
test rax, rax
je 0x1400e3577
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1400e35ab
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400e2020
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400e3590
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400e98a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x1401db4c0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
mov rsi, rdx
mov r9, qword [rbx + 0x98]
cmp r9, 0xffffffffffffffff
je 0x1400e99f0
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + 0x3d8]
test dword [rcx + 0x8c], 0x800
jne 0x1400e99f0
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
lea r8, [rsp + 0x20]
mov rcx, r9
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
je 0x1400e997e
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.1400e1140
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.1400fa420
mov eax, 2
jmp 0x1400e99f2
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x100]
lea r8, [rbx + 0xce]
lea rcx, [rsp + 0x30]
call fcn.1400fcf40
test al, al
jne 0x1400e99f0
mov qword [rsp + 0x1e0], rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.1400e1140
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.1400fa420
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x1400e99f2
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140146540
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x1400f0fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r15
sub rsp, 0x48
mov rax, qword [rcx]
lea rbp, [rcx + 0x18]
mov r12, qword [rbp]
mov r15, r8
mov rdi, rdx
mov r10d, dword [rax + 8]
and r10d, 0xa
cmp r10d, 0xa
jne 0x1400f0fde
add r12, 0x348
jmp 0x1400f0fe5
add r12, 0x2d8
cmp r10d, 0xa
mov ecx, 0x538
mov eax, 0x5f8
mov bl, 1
cmovne eax, ecx
xor esi, esi
mov qword [r9], rsi
lea rcx, [rax + rdx]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1400f1011
mov qword [rax], rsi
test rcx, rcx
je 0x1400f11a0
cmp byte [rcx + 0x6c], sil
je 0x1400f11a0
cmp qword [rdx + 0xc18], rsi
je 0x1400f11a0
mov rax, qword [rdx + 0xf8]
mov qword [rsp + 0x88], r13
test rax, rax
je 0x1400f1052
test byte [rax + 4], 0x10
lea r13, [rax + 0x118]
jne 0x1400f1059
lea r13, [rdx + 0xc20]
cmp qword [rdx + 0x6c8], rsi
jbe 0x1400f1147
mov qword [rsp + 0x40], r14
mov r14, rsi
nop
mov rbx, qword [rdi + 0xc18]
add rbx, r14
cmp qword [rbx + 0x20], 0
je 0x1400f1129
mov rdx, qword [rbx]
mov rcx, qword [r15]
call fcn.1400e2150
test eax, eax
je 0x1400f1129
mov rcx, qword [rbp]
mov rdx, qword [rbx + 8]
cmp byte [rcx + 0x3c0], 0
jne 0x1400f10b0
test rdx, rdx
je 0x1400f10c5
jmp 0x1400f1129
test rdx, rdx
je 0x1400f1129
mov rcx, qword [rcx + 0x98]
call fcn.1400e2150
test eax, eax
je 0x1400f1129
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x40]
cmp byte [rcx + 0x3c1], 0
jne 0x1400f10dc
cmp eax, 0xffffffff
je 0x1400f10e9
jmp 0x1400f1129
cmp eax, 0xffffffff
je 0x1400f1129
cmp dword [rcx + 0x5c8], eax
jne 0x1400f1129
mov eax, dword [rbx + 0x3c]
cmp dword [r15 + 0x1c], eax
jne 0x1400f1129
mov eax, dword [rbx + 0x44]
cmp dword [r15 + 0x20], eax
jne 0x1400f1129
mov rcx, qword [rcx + 0x3d8]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rcx]
call fcn.1400e2150
test eax, eax
je 0x1400f1129
lea r8, [rbx + 0x48]
mov rdx, r12
mov rcx, rdi
call fcn.1400f20a0
test al, al
jne 0x1400f11b0
inc rsi
add r14, 0xb8
cmp rsi, qword [rdi + 0x6c8]
jb 0x1400f1070
mov bl, 1
mov r14, qword [rsp + 0x40]
mov r10, qword [rsp + 0x80]
lea r9, str.Found
mov ecx, dword [r15 + 0x1c]
lea r8, str._s_cached_session_ID_for__s:___s:_d
mov dword [rsp + 0x30], ecx
test bl, bl
mov rcx, qword [r15]
mov rax, qword [r10 + 0x18]
mov qword [rsp + 0x28], rcx
mov rdx, qword [rax + 0x3d8]
lea rax, [0x140184570]
cmovne r9, rax
mov rcx, qword [rdx]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call fcn.1400fa560
mov r13, qword [rsp + 0x88]
movzx eax, bl
add rsp, 0x48
pop r15
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
inc dword [r13]
mov eax, dword [r13]
mov rcx, qword [rsp + 0x98]
mov dword [rbx + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400f11de
mov rax, qword [rbx + 0x28]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400f11f2
mov rax, qword [rbx + 0x18]
mov qword [rcx], rax
xor bl, bl
jmp 0x1400f1142

Function at 0x1400f2360
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 0x1400fa330
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 + 0x9d7], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1400fa3fb
cmp qword [rcx + 0x280], 0
je 0x1400fa3ae
mov qword [rsp + 0x40], rbx
call fcn.1400dbf80
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.1400dca70
mov rcx, qword [rdi + 0x1f8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x280]
movzx edx, bl
mov rcx, rdi
call fcn.1400dca70
mov rbx, qword [rsp + 0x40]
jmp 0x1400fa3fb
mov ecx, esi
test edx, edx
je 0x1400fa3be
sub ecx, 1
je 0x1400fa3be
cmp ecx, 1
jne 0x1400fa3fb
mov r9, qword [rdi + 0x1f0]
lea rax, [0x140184f60]
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 + 0x1f0]
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 0x1400fe7b0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x140185a30]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1400fe7da
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x140185a40]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x140185a50]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400fe83a
mov rcx, rbx
test r14, r14
je 0x1400fe827
xor edx, edx
lea r8d, [rdx + 8]
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.kernel32.dll_LoadLibraryA]
test r14, r14
je 0x1400fe871
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400fe871
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
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 0x1400fe938
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop word [rax + rax]
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x1400fe8a0
lea ecx, [rax + 1]
add rcx, rdx
call qword [0x1401da5d0]
mov rsi, rax
test rax, rax
je 0x1400fe92a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400fe92a
mov rax, rdi
cmp byte [rsi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x1400fe8d0
mov word [rax + rsi], 0x5c
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1400fe8e1
mov rax, rsi
sub rax, rbx
add rdi, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rdi + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400fe900
mov rcx, rsi
test r14, r14
je 0x1400fe921
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x1400fe927
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rsi
call qword [0x1401da5d8]
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 0x1400fe950
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1401db4c0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1400fe9b6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
jne 0x1400fe999
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400fe993
shr ax, 8
cmp al, 2
je 0x1400fe9b6
call qword [sym.imp.ws2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140146540
add rsp, 0x1e8
ret
call fcn.140127450
test eax, eax
jne 0x1400febc5
mov qword [rsp + 0x200], rsi
lea rcx, [0x140185a30]
mov qword [rsp + 0x208], rdi
xor esi, esi
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x1400fe9f6
mov qword [0x1401db908], rsi
jmp 0x1400feb82
mov qword [rsp + 0x1f0], rbx
lea rdx, [0x140185a40]
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, [0x140185a50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strpbrk]
test rax, rax
je 0x1400fea5b
mov rcx, rbx
test rbp, rbp
je 0x1400fea4d
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1400feb4a
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1400feb4a
test rbp, rbp
je 0x1400fea8a
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400fea8a
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400feb4a
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 0x1400feb42
lea ecx, [rax + 1]
add rcx, 0xc
call qword [0x1401da5d0]
mov rdi, rax
test rax, rax
je 0x1400feb39
mov edx, r14d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400feb39
mov rcx, 0xffffffffffffffff
mov rax, rcx
nop word [rax + rax]
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1400feae0
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1400feaf1
mov rax, rdi
sub rax, rbx
add rcx, rax
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400feb10
mov rcx, rdi
test rbp, rbp
je 0x1400feb30
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1400feb36
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [0x1401da5d8]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1401db908], rsi
test rsi, rsi
je 0x1400feb82
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1400feb82
mov qword [0x1401db900], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.140114260
test al, al
lea rcx, [0x1401de268]
setne byte [0x1401de260]
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.140146540
add rsp, 0x1e8
ret
Function at 0x140113a00
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.140102750
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 0x140113ab0
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.140102750
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1401027e0
cmp rax, 0x3e8
ja 0x140113ae3
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 0x140113a60
test rsi, rsi
je 0x140113abe
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140113acc
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 0x140113af1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x140113aff
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x140113ace