joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1800
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401c6918]
movss xmm0, dword [rax + 0x1c]
ucomiss xmm0, dword [0x140190440]
jp 0x1400b1a95
jne 0x1400b1a95
cvttss2si ecx, xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400b1a95
call fcn.1400994b0
test al, al
je 0x1400b1a95
mov qword [rsp + 0x38], rbx
xorps xmm0, xmm0
mov rbx, qword [0x1401c6918]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
movss xmm1, dword [rbx + 8]
ucomiss xmm1, xmm0
jp 0x1400b19a6
jne 0x1400b19a6
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400b188e
imul rax, rax, 0x64
jmp 0x1400b18ac
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
movabs rcx, 0x7ffffffffd050f7e
movabs rdi, 0x7fffffffffffffff
cmp rax, rcx
jg 0x1400b18d2
add rax, 0x2faf080
mov qword [rsp + 0x30], rax
jmp 0x1400b18d7
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14000d1a0
mov rax, qword [0x1401cba88]
cmp dword [rax], 0
je 0x1400b1a6b
movabs rsi, 0x7ffffffffff0bdbe
nop dword [rax + rax]
mov rax, qword [0x1401c6918]
cvttss2si ecx, dword [rax + 0xc]
mov edx, ecx
call fcn.1400983d0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
call fcn.1400b0b00
test al, al
jne 0x1400b1a6b
call fcn.1400994b0
test al, al
je 0x1400b1a6b
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400b1952
imul rax, rax, 0x64
jmp 0x1400b1970
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, rsi
jg 0x1400b1982
add rax, 0xf4240
mov qword [rsp + 0x30], rax
jmp 0x1400b1987
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14000d1a0
mov rax, qword [0x1401cba88]
cmp dword [rax], 0
jne 0x1400b1900
jmp 0x1400b1a6b
cvttss2si edx, dword [rbx + 0x18]
cvttss2si ecx, dword [rbx + 0x14]
call fcn.1400983d0
movss xmm1, dword [0x140190620]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [rbx + 8]
comiss xmm0, xmm1
jb 0x1400b19e6
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400b19e6
movabs rcx, 0x8000000000000000
mov rax, rcx
cvttss2si rbx, xmm0
add rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x1400b1a0c
imul rax, rax, 0x64
jmp 0x1400b1a2a
cqo
idiv rdi
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
mov qword [rsp + 0x30], rax
cmp rbx, 1
jl 0x1400b1a61
imul rdx, rbx, 0xf4240
movabs rdi, 0x7fffffffffffffff
mov rcx, rdi
sub rcx, rdx
cmp rax, rcx
jge 0x1400b1a5c
lea rcx, [rax + rdx]
mov qword [rsp + 0x30], rcx
jmp 0x1400b1a61
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x30]
call fcn.14000d1a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor r9d, r9d
mov edx, 0x202
mov rcx, rax
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
add rsp, 0x28
ret
Function at 0x1400bf140
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
xor r10d, r10d
mov edi, r8d
mov rbx, rdx
mov r11d, 0x7fffffff
test ecx, ecx
jle 0x1400bf1a6
mov qword [rsp + 0x10], rsi
imul edi, r9d
mov r9, rdx
mov esi, ecx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, r11d
imul eax, dword [rbx]
lea rbx, [rbx + 0x10]
mov r8, r10
mov r10, r9
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
cmovl r11d, eax
cmp eax, ecx
cmovge r10, r8
add r9, 0x10
sub rsi, 1
jne 0x1400bf170
mov rsi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rax, r10
pop rdi
ret

Function at 0x1400bfab0
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x1401ca108], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400bfb09
mov rcx, qword [rbx + 0x368]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x1401ca0f8], xmm0
movsd qword [0x1401ca100], xmm1
mov eax, dword [rbx + 0x90]
cmp eax, 0x34001
je 0x1400bfb26
cmp eax, 0x34004
je 0x1400bfb26
mov rcx, qword [0x1401ca128]
jmp 0x1400bfb45
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400bfb35
mov rcx, qword [rcx + 8]
jmp 0x1400bfb45
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.1400bb1f0
mov rcx, rbx
call fcn.1400bf0c0
cmp dword [rbx + 0x210], 0
je 0x1400bfba2
mov rax, qword [rbx + 0x368]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400bfba2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400c2220
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400bfbb0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400bfbf2
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400c2220
add rsp, 0x38
ret
Function at 0x1400bfc00
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x210], 0
mov rbx, rcx
je 0x1400bfc50
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400bfc50
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.1400c2220
xor ecx, ecx
mov qword [0x1401ca108], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x1401ca0f8]
mov qword [0x1401ca110], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x1401ca100]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a8], ecx
mov rcx, qword [rbx + 0x368]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3ac], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x90]
cmp eax, 0x34001
je 0x1400bfcd9
cmp eax, 0x34004
je 0x1400bfcd9
mov rcx, qword [0x1401ca128]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400bfcf2
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x1400bfd10
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x368]
mov edx, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400bfd52
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.1400c2220
add rsp, 0x38
ret

Function at 0x1400bfe00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, reloc.WS2_32.dll_recvfrom
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov esi, 0x8000
or edi, 2
mov ecx, reloc.WS2_32.dll_select
test si, ax
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
and ax, si
mov ecx, 0x5c
mov esi, edi
or esi, 4
test ax, ax
cmove esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, reloc.WS2_32.dll_sendto
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret
Function at 0x1400c1430
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400c1460
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400b9db0
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400c25d0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1401c9a22]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x1401c97a8]
xor r12d, r12d
lea r15, [0x1401c9ac2]
mov ebx, reloc.WLDAP32.dll_Ordinal_32
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x1400c2788
cmp ebx, 0x140
jb 0x1400c26ef
cmp ebx, 0x14e
ja 0x1400c26ef
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rsp + 0x64], WSAGetLastError
mov dword [rsp + 0x68], WSAGetLastError
mov dword [rsp + 0x6c], reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x70], WSAGetLastError
mov dword [rsp + 0x74], WSAGetLastError
mov dword [rsp + 0x78], WSAGetLastError
mov edi, dword [r14]
jmp 0x1400c26fe
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400c2751
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400c2788
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x1400c2651
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140127920
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400c69c0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1401c92a0], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x1400c6a15
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140127920
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop dword [rax]
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x1401c92a0], rax
test rax, rax
jne 0x1400c6a57
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x1400c6a20
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400b9db0
jmp 0x1400c6b74
lea rdx, str.OSMesaCreateContextExt
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x1401c92a8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaDestroyContext
mov qword [0x1401c92b0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x1401c92b8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x1401c92c0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x1401c92c8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401c92a0]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x1401c92d0], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x1401c92a8], 0
mov qword [0x1401c92d8], rax
je 0x1400c6b47
cmp qword [0x1401c92b8], 0
je 0x1400c6b47
cmp qword [0x1401c92c0], 0
je 0x1400c6b47
cmp qword [0x1401c92c8], 0
je 0x1400c6b47
cmp qword [0x1401c92d0], 0
je 0x1400c6b47
test rax, rax
je 0x1400c6b47
mov eax, 1
jmp 0x1400c6b76
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400b9db0
mov rcx, qword [0x1401c92a0]
test rcx, rcx
je 0x1400c6b74
call fcn.1400c7400
mov qword [0x1401c92a0], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140127920
add rsp, 0x48
ret
Function at 0x1400d24c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400d25a2
call fcn.1400e9820
test al, al
jne 0x1400d25a2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400d24f2
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.1400f4830
test rax, rax
je 0x1400d2537
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.1400f4830
mov rsi, rax
test rax, rax
je 0x1400d2537
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 0x1400d256b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400e4f10
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1400d2550
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 0x1400dfe90
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 0x1400dff59
cmp qword [rcx + 0x260], 0
je 0x1400dff0e
mov qword [rsp + 0x40], rbx
call fcn.1400ccd50
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.1400cd0c0
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.1400cd0c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400dff59
mov ecx, esi
test edx, edx
je 0x1400dff1e
sub ecx, 1
je 0x1400dff1e
cmp ecx, 1
jne 0x1400dff59
mov r9, qword [rdi + 0x1d0]
lea rax, [0x14014ef88]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call sub.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 sub.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 0x1400e2900
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret
Function at 0x1400e2d80
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1401ae6f8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x1400e2de6
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400e2dc9
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x1400e2dc3
shr ax, 8
cmp al, 2
je 0x1400e2de6
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140127920
add rsp, 0x1e8
ret
call fcn.140118b30
test eax, eax
jne 0x1400e2fe5
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 0x1400e2e26
mov qword [0x1401caa28], rsi
jmp 0x1400e2fa2
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, [0x14014f470]
call sub.api_ms_win_crt_string_l1_1_0.dll_strpbrk
test rax, rax
je 0x1400e2e8a
mov rcx, rbx
test rbp, rbp
je 0x1400e2e7c
xor edx, edx
lea r8d, [rdx + 8]
call rbp
mov rsi, rax
jmp 0x1400e2f6a
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
jmp 0x1400e2f6a
test rbp, rbp
je 0x1400e2eb9
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e2eb9
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call rbp
mov rsi, rax
jmp 0x1400e2f6a
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 0x1400e2f62
lea ecx, [rax + 1]
add rcx, 0xc
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400e2f59
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400e2f59
mov rcx, 0xffffffffffffffff
mov rax, rcx
cmp byte [rdi + rax + 1], sil
lea rax, [rax + 1]
jne 0x1400e2f05
mov word [rax + rdi], 0x5c
inc rcx
cmp byte [rdi + rcx], sil
jne 0x1400e2f16
mov rdx, rdi
sub rdx, rbx
add rdx, rcx
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rdx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400e2f30
mov rcx, rdi
test rbp, rbp
je 0x1400e2f50
xor edx, edx
lea r8d, [rdx + 8]
call rbp
jmp 0x1400e2f56
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
mov rcx, rdi
call qword [fcn.140128aa0]
mov r14, qword [rsp + 0x1e0]
mov rbp, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov qword [0x1401caa28], rsi
test rsi, rsi
je 0x1400e2fa2
lea rdx, str.if_nametoindex
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400e2fa2
mov qword [0x1401caa20], rax
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.1401186e0
test al, al
lea rcx, [0x1401cbbe8]
setne byte [0x1401cbbe0]
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.140127920
add rsp, 0x1e8
ret
Function at 0x1400f4fc0
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.1400d28b0
mov rcx, rbx
movups xmm6, xmmword [rax]
call case.0x1400db493.1
mov rcx, rdi
mov rsi, rax
call case.0x1400db493.1
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x1400f5070
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1400d28b0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1400d2940
cmp rax, 0x3e8
ja 0x1400f50a1
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 0x1400f5020
test rsi, rsi
je 0x1400f507d
mov rcx, rsi
call fcn.140128aa0
test rbx, rbx
je 0x1400f508a
mov rcx, rbx
call fcn.140128aa0
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 0x1400f50ae
mov rcx, rsi
call fcn.140128aa0
test rbx, rbx
je 0x1400f50bb
mov rcx, rbx
call fcn.140128aa0
mov eax, 1
jmp 0x1400f508c
Function at 0x1400f5620
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 0x1400f57be
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1400f579e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1400f568e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400f5680
inc rbx
jmp 0x1400f5690
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1400f569d
lea ebp, [rax + 0xe]
jmp 0x1400f56a9
cmp eax, 0x17
jne 0x1400f5741
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x1400f5741
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1400f5741
cmp rax, rbp
jb 0x1400f5741
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
je 0x1400f5750
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 0x1400f572e
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 0x1400f573e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1400f5670
jmp 0x1400f5756
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x1400f5770
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1400f5799
test rdi, rdi
je 0x1400f5795
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.140128aa0]
mov rdi, rbx
test rbx, rbx
jne 0x1400f5780
xor edi, edi
jmp 0x1400f57ad
test rdi, rdi
jne 0x1400f57ad
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 0x1400f5c20
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 sub.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex
test rax, rax
je 0x1400f5c56
cmp rax, 0xffffffffffffffff
cmovne rbx, rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
add rsp, 0x30
pop rbx
ret