joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140096958
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x68]
mov rbx, r8
add rdx, 4
je 0x140096977
mov eax, dword [rdx]
mov dword [rsp + 0x40], eax
jmp 0x14009698d
xor eax, eax
mov dword [rsp + 0x40], eax
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
mov eax, dword [rbx + 4]
lea r9, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x44], eax
mov rcx, rdi
mov dword [rsp + 0x20], 8
lea r8d, [rdx + 0xc]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400969bc
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, qword [rcx + 0x68]
mov ebx, r8d
add rdx, 8
je 0x1400969ed
movups xmm0, xmmword [rdx]
movdqu xmmword [rsp + 0x30], xmm0
jmp 0x140096a05
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
call fcn.1401d6a54
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1401d5820
mov edx, 0x29
mov dword [rsp + 0x40], ebx
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov rcx, rdi
lea r8d, [rdx - 0x1d]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401c9740
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x140096dc8
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and qword [rax + 8], 0
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
test rcx, rcx
jne 0x140096df5
xor eax, eax
jmp 0x140096ed4
mov r8, rcx
mov dword [rsp + 0x28], 0x1000
lea rdi, [0x1402edca0]
mov ecx, 0xfde9
or r9d, 0xffffffff
mov qword [rsp + 0x20], rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [0x1402c54a0]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1401d4a78
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140096ed1
cmp qword [rsi], rbx
jne 0x140096e95
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.1401d5604
mov rcx, qword [rsp + 0x40]
call fcn.1401d0638
mov rcx, qword [rsp + 0x40]
movsxd rdi, eax
cmp rdi, rbp
cmova rdi, rbp
xor r8d, r8d
xor edx, edx
call fcn.1401d5604
lea rcx, [rdi + 1]
call fcn.1401d7f54
mov qword [rsi], rax
test rax, rax
jne 0x140096eb9
mov rcx, qword [rsp + 0x40]
call fcn.1401d52bc
jmp 0x140096dee
lea rdi, [rbp - 1]
cmp rbx, rdi
jae 0x140096ec0
mov rcx, qword [rsi]
mov r8, rdi
sub r8, rbx
mov edx, 1
call fcn.1401d7e8c
add rbx, rax
test rax, rax
je 0x140096ec0
mov r9, qword [rsp + 0x40]
jmp 0x140096e99
mov rcx, qword [rsi]
mov byte [rbx + rcx], 0
mov rcx, qword [rsp + 0x40]
call fcn.1401d52bc
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140096eec
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x30
test rcx, rcx
jne 0x140096eff
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov r8, rcx
mov dword [rsp + 0x28], 0x1000
lea rbx, [0x1402edca0]
mov ecx, 0xfde9
or r9d, 0xffffffff
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, rbx
add rsp, 0x30
pop rbx
jmp fcn.1401de3e4

Function at 0x140096f34
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov eax, dword [0x1402ec794]
inc eax
mov dword [0x1402ec794], eax
cmp eax, 1
jg 0x140097005
xor edx, edx
xor ecx, ecx
call fcn.1401970d0
xor edx, edx
mov ecx, 0x200002
call fcn.1401970d0
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400d69b0
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.1400d69b0
xor edx, edx
lea ecx, [rdx + 4]
call fcn.1400d69b0
xor edx, edx
lea ecx, [rdx + 8]
call fcn.1400d69b0
xor edx, edx
lea rcx, str.ADVAPI32.DLL
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rbx, rax
test rax, rax
je 0x140097005
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140096ffc
mov edx, 0x40
lea rcx, [rsp + 0x20]
call rax
test al, al
je 0x140096ffc
movsd xmm2, qword [0x1402c8050]
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.1400d8380
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1401c9740
add rsp, 0x230
pop rbx
ret

Function at 0x1400977c8
Capabilities:
Create udp socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
lea r9, [rax + 0x18]
xor edx, edx
mov rdi, r8
mov rbp, rcx
lea r8, [rax + 0x10]
lea ecx, [rdx + 0x68]
call fcn.140098eb8
mov rax, qword [rsp + 0x80]
lea rcx, str.ILibIPAddressMonitor
mov rsi, qword [rsp + 0x78]
mov qword [rsi + 0x28], rax
call fcn.140098914
mov ecx, gethostname
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x48], rdi
call fcn.1401d7f54
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.140098bdc
xor r8d, r8d
mov qword [rsi + 0x60], rax
mov qword [rax + 0x18], rsi
lea ecx, [r8 + 2]
mov edx, ecx
call qword [sym.imp.WS2_32.dll_socket]
lea rdx, [rsi + 0x58]
xor r9d, r9d
lea rcx, [0x1400976cc]
mov qword [rsi + 0x50], rax
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov rcx, qword [rsi + 0x60]
mov qword [rsp + 0x38], rcx
mov rcx, rax
mov qword [rsp + 0x30], rdx
mov edx, 0x28000017
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea rax, [0x1400977a0]
mov rdx, rsi
mov rcx, rbp
mov qword [rsi + 0x10], rax
call fcn.1400994a8
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140097e6c
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
xor esi, esi
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov rdi, rcx
cmp dword [rcx + 0xb8], esi
jle 0x140097f30
xor ebp, ebp
mov rax, qword [rdi + 0x50]
cmp qword [rax + rbp], 0
je 0x140097f1e
mov rax, qword [rdi + 0x40]
xor edx, edx
mov r9, qword [rdi + 0xb0]
add r9, 4
movsxd rcx, esi
shl rcx, 4
mov rbx, qword [rax + 0x68]
lea r8d, [rdx + 9]
add r9, rcx
mov dword [rsp + 0x20], 4
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
xor edx, edx
mov dword [rsp + 0x20], 4
lea r9, [rdi + 0x68]
mov rcx, rbx
lea r8d, [rdx + 0xa]
call qword [sym.imp.WS2_32.dll_setsockopt]
xor r9d, r9d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov r8d, r14d
mov qword [rsp + 0x20], r12
mov rdx, r15
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_sendto]
inc esi
add rbp, 8
cmp esi, dword [rdi + 0xb8]
jl 0x140097ea5
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x140097f50
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor edi, edi
mov esi, r9d
mov rbp, r8
mov r14, rdx
mov rbx, rcx
cmp dword [rcx + 0xc8], edi
jle 0x140097fda
mov rax, qword [rbx + 0xc0]
mov edx, 0x29
mov rcx, qword [rbx + 0x48]
movsxd r8, edi
mov dword [rsp + 0x20], 4
mov rcx, qword [rcx + 0x68]
lea r9, [rax + r8*4]
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x48]
xor r9d, r9d
mov dword [rsp + 0x28], 0x1c
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], r14
mov rcx, qword [rcx + 0x68]
call qword [sym.imp.WS2_32.dll_sendto]
inc edi
cmp edi, dword [rbx + 0xc8]
jl 0x140097f7f
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140098724
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
xor edi, edi
mov ecx, 0x1c0
mov dword [rsp + 0x48], ecx
call fcn.1401d7f54
mov rbx, rax
test rax, rax
je 0x140098840
lea rax, [rsp + 0x48]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [rdi + 0x2a]
lea ecx, [rdi + 0x17]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x140098790
mov rcx, rbx
call fcn.1401d6b80
mov ecx, dword [rsp + 0x48]
call fcn.1401d7f54
mov rbx, rax
test rax, rax
je 0x140098886
xor r8d, r8d
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x20], rax
lea edx, [r8 + 0x2a]
lea ecx, [rdx - 0x13]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x1400987bd
mov rcx, rbx
call fcn.1401d6b80
xor eax, eax
jmp 0x140098830
mov rax, rbx
test rbx, rbx
je 0x1400987e2
cmp dword [rax + 0x58], 0
je 0x1400987d9
test byte [rax + 0x5c], 0x18
jne 0x1400987d9
cmp dword [rax + 0x68], 1
jne 0x1400987d9
inc edi
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400987c5
movsxd rcx, edi
shl rcx, 2
call fcn.1401d7f54
mov qword [rsi], rax
test rax, rax
je 0x1400988cc
mov rdx, rbx
test rbx, rbx
je 0x140098826
cmp dword [rdx + 0x58], 0
je 0x14009881d
test byte [rdx + 0x5c], 0x18
jne 0x14009881d
cmp dword [rdx + 0x68], 1
jne 0x14009881d
mov ecx, dword [rdx + 4]
mov dword [rax], ecx
add rax, 4
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x140098802
mov rcx, rbx
call fcn.1401d6b80
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov edi, 0x26e
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a1918
mov r8d, edi
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, ebx
call fcn.1401d00dc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov edi, 0x272
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a1918
mov r8d, edi
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, ebx
call fcn.1401d00dc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov edi, 0x28a
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.1400a1918
mov r8d, edi
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, ebx
call fcn.1401d00dc
int3
Function at 0x140099308
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x3e0
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
cmp dword [0x1402eca10], 0
lea rbp, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
movsxd rbx, ecx
mov esi, 1
jne 0x1400993ab
xor r9d, r9d
lea r8d, [rsi + 0x3f]
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp qword [0x1402ec7a8], 0
mov qword [0x1402eca08], rax
je 0x1400993ab
mov dword [rsp + 0x28], 0x7bb
lea r9, [0x1402eca08]
lea r8, str.__p___s:_d
mov qword [rsp + 0x20], rbp
mov edx, 0x200
lea rcx, [rsp + 0x1d0]
call fcn.1400011e0
mov rdx, qword [0x1402ec798]
lea rcx, [rsp + 0x1d0]
mov r8d, esi
call qword [0x1402ec7a8]
add dword [0x1402eca10], esi
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140099464
mov rdx, rbx
xor r9d, r9d
xor r8d, r8d
mov ecx, 0x990
call fcn.140098eb8
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rax
call fcn.14009fd5c
xor ecx, ecx
mov qword [rbx + 0x930], rax
call fcn.14009fd5c
mov qword [rbx + 0x938], rax
mov dword [rbx], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8d, esi
xor edx, edx
mov rcx, rax
mov qword [rbx + 0x10], rax
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x140099421
and qword [rbx + 0x10], 0
and dword [rbx], 0
mov rcx, rbx
call fcn.14009faf0
mov qword [rbx + 0x918], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 8], eax
mov rax, rbx
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x7c4
mov r9d, esi
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rdx, rbp
xor ecx, ecx
call fcn.1400a1918
mov r8d, ebx
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
mov rdx, rbp
call fcn.140001128
mov ecx, esi
call fcn.1401d00dc
int3
Function at 0x140099618
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movsxd rbp, dword [rsp + 0x98]
xor edi, edi
cmp dword [rcx], edi
mov r15, r9
mov r12, r8
mov r13, rdx
cmove edi, dword [rsp + 0xa0]
mov rsi, rcx
test ebp, ebp
jne 0x14009966b
lea edx, [rbp + 1]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SleepEx]
or eax, 0xffffffff
jmp 0x140099858
mov r14, qword [rsp + 0x90]
mov r9d, edi
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov rdx, r14
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
movsxd rbx, eax
cmp ebx, 0xc0
jne 0x1400996a0
cmp dword [rsi + 0x4f0], 0
je 0x140099673
lea rcx, [rsp + 0x70]
call fcn.1400a12d0
cmp ebx, 0xc0
je 0x140099737
test ebx, ebx
js 0x140099737
cmp ebx, ebp
jge 0x140099737
lea eax, [rbx + 0x40]
movsxd rdx, eax
mov rdi, qword [r14 + rdx*8]
test rdi, rdi
je 0x140099737
mov rax, qword [r14 + rbx*8]
mov qword [rsi + 0x900], rax
mov qword [rsi + 0x908], rdi
and qword [r14 + rdx*8], 0
and qword [r14 + rbx*8], 0
mov rax, qword [rdi + 8]
test rax, rax
je 0x140099727
mov r9, qword [rdi + 0x10]
xor r8d, r8d
mov rdx, qword [rsi + 0x900]
mov rcx, rsi
call rax
test eax, eax
jne 0x140099727
cmp qword [rsi + 0x900], 0
je 0x140099727
mov rcx, rdi
call fcn.140098e0c
test eax, eax
je 0x140099727
mov rcx, qword [rdi]
call fcn.14009ff38
and qword [rsi + 0x900], 0
and qword [rsi + 0x908], 0
mov rdi, rbp
cmp ebx, 0x102
jne 0x1400997ba
test ebp, ebp
jle 0x140099829
mov ebp, dword [rsp + 0x74]
lea rbx, [r14 + 0x200]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400997ae
mov eax, dword [rcx + 0x18]
test eax, eax
jne 0x140099769
cmp dword [rcx + 0x1c], eax
je 0x1400997ae
cmp dword [rsp + 0x70], eax
jl 0x140099774
jne 0x1400997ae
cmp ebp, dword [rcx + 0x1c]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14009979a
mov r9, qword [rcx + 0x10]
mov r8d, 2
mov rdx, qword [rbx - 0x200]
mov rcx, rsi
call rax
test eax, eax
jne 0x1400997a2
mov rcx, qword [rbx]
mov rcx, qword [rcx]
call fcn.14009ff38
and qword [rbx - 0x200], 0
and qword [rbx], 0
add rbx, 8
sub rdi, 1
jne 0x140099755
jmp 0x140099829
or ebp, 0xffffffff
cmp ebx, ebp
jne 0x140099829
test rdi, rdi
jle 0x140099829
lea rbx, [r14 + 0x200]
cmp qword [rbx], 0
je 0x14009981f
mov rcx, qword [rbx - 0x200]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebp
jne 0x14009981f
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14009980b
mov r9, qword [rcx + 0x10]
mov r8d, 1
mov rdx, qword [rbx - 0x200]
mov rcx, rsi
call rax
mov rcx, qword [rbx]
mov rcx, qword [rcx]
call fcn.14009ff38
and qword [rbx - 0x200], 0
and qword [rbx], 0
add rbx, 8
sub rdi, 1
jne 0x1400997cd
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
and dword [rsp + 0x34], 0
mov r9, r15
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r13
mov ecx, 0x40
call qword [sym.imp.WS2_32.dll_select]
and dword [rsi + 0x4f0], 0
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14009ac30
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rcx, qword [rcx + 0x930]
call fcn.14009fea4
xor r15d, r15d
mov dword [rsp + 0x30], 0x5265c00
mov dword [rsp + 0x40], r15d
mov rbx, rax
mov qword [rsp + 0x38], r15
mov r14d, r15d
lea rsi, [0x1402f0ca0]
test rax, rax
je 0x14009ada9
mov r12d, 0x208
mov rcx, rbx
call fcn.140098e0c
test eax, eax
je 0x14009ada9
mov rdi, qword [rbx]
test rdi, rdi
je 0x14009ada9
cmp qword [rdi], r15
je 0x14009ad95
lea rax, [rsp + 0x30]
mov dword [rbp + 0x570], r15d
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x360]
mov dword [rbp + 0x150], r15d
lea rdx, [rbp + 0x570]
mov dword [rbp + 0x360], r15d
mov rcx, rdi
call qword [rdi]
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x570]
call fcn.1401cbe70
test eax, eax
jne 0x14009ad45
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x360]
call fcn.1401cbe70
test eax, eax
jne 0x14009ad45
mov r8, r12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x150]
call fcn.1401cbe70
test eax, eax
je 0x14009ad95
lea rax, [rsp + 0x38]
mov ecx, 0x40
lea r9, [rbp + 0x150]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x360]
lea rdx, [rbp + 0x570]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x14009ad95
mov r9, qword [rdi + 0x30]
lea r8, [0x1402c5790]
movsxd rax, r14d
mov edx, 0x1000
sub rdx, rax
lea rcx, [rax + rsi]
call fcn.1400011e0
add r14d, eax
mov rcx, rbx
call fcn.14009fea4
mov rbx, rax
test rax, rax
jne 0x14009ac9f
test r14d, r14d
lea rax, str.UNKNOWN
cmovle rsi, r15
test rsi, rsi
cmovne rax, rsi
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14009b810
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
mov ebp, dword [rsp + 0x60]
mov rdi, r9
mov rsi, rdx
mov rbx, r8
mov r14, rcx
mov qword [rax - 0x18], rbx
mov rdx, rdi
mov rcx, rsi
xor r9d, r9d
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14009b8d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14009b8d2
mov ecx, 0x50
call fcn.1401d7f54
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x38]
call fcn.140098bdc
mov rcx, qword [rsp + 0x68]
lea r9, [0x14009b638]
or r8d, 0xffffffff
and dword [rax + 0x14], 0
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov rcx, r14
mov qword [rax + 8], rdi
mov dword [rax + 0x10], ebp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], rsi
mov rdx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call fcn.14009beec
xor eax, eax
jmp 0x14009b8de
mov eax, 0xfffffffc
jmp 0x14009b8de
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14009b930
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0x88]
mov rdi, r9
and dword [rax - 0x28], 0
lea r9, [rax - 0x28]
mov rsi, rdx
mov qword [rax - 0x38], r8
mov r15, r8
mov rbp, rcx
mov r8d, dword [rsp + 0x80]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14009bb02
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14009bac1
mov ecx, 0x40
call fcn.1401d7f54
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x28]
call fcn.140098bdc
mov rcx, qword [rsp + 0x90]
mov r14, rax
mov qword [rax], rdi
mov rdi, qword [rsp + 0x98]
mov qword [rax + 0x10], rsi
mov esi, 0x400
mov qword [rax + 0x18], r15
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rcx
test rdi, rdi
je 0x14009baa6
mov edx, esi
mov rcx, rdi
call fcn.1401d7904
add rax, 0xa
mov ecx, 0xffffffff
cmp rax, rcx
jae 0x14009ba35
mov edx, esi
mov rcx, rdi
call fcn.1401d7904
mov ecx, 0xfffffff5
cmp rcx, rax
je 0x14009ba35
mov edx, esi
mov rcx, rdi
call fcn.1401d7904
add rax, 0xa
mov ecx, 0xffffffe7
cmp rax, rcx
jae 0x14009ba35
mov edx, esi
mov rcx, rdi
call fcn.1401d7904
jmp 0x14009baa8
xor ebx, ebx
mov rdx, rsi
mov rcx, rdi
call fcn.1401d7904
lea rdx, [rax + 0xa]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140098bdc
mov rbx, rax
lea r8, str._s__READ_
lea rax, [0x14025b82d]
test rdi, rdi
mov rcx, rbx
cmove rdi, rax
mov rdx, qword [rbx - 0x18]
mov r9, rdi
call fcn.1400011e0
mov rdx, qword [r15 + 0x18]
lea r9, [0x14009b764]
or r8d, 0xffffffff
mov qword [rsp + 0x28], rbx
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.14009beec
mov rcx, rbx
call fcn.140098cbc
jmp 0x14009bae9
xor eax, eax
lea rcx, [rax + 0x22]
call fcn.1401d7f54
mov rbx, rax
test rdi, rdi
jne 0x14009ba37
xor eax, eax
jmp 0x14009ba42
test rbx, rbx
je 0x14009bae9
mov rax, qword [rsp + 0x90]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov r8d, 5
and dword [rsp + 0x20], 0
mov rdx, rsi
mov rcx, rbp
call rbx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
test rbx, rbx
je 0x14009bae9
cmp dword [rsp + 0x30], 0
jbe 0x14009bac6
mov ecx, 0x28
call fcn.1401d7f54
mov r9, rax
test rax, rax
je 0x14009bb56
mov qword [rax], rdi
lea rdx, [0x14009b8fc]
mov qword [rax + 8], rbx
mov r8d, 1
mov qword [rax + 0x10], rsi
mov rcx, rbp
mov rax, qword [rsp + 0x90]
mov qword [r9 + 0x20], rax
mov eax, dword [rsp + 0x30]
mov qword [r9 + 0x18], rax
call fcn.1400990f8
jmp 0x14009bae9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
mov ebx, 0xe43
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.1400a1918
mov r8d, ebx
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001128
mov ecx, edi
call fcn.1401d00dc
int3
Function at 0x14009bc78
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, qword [rsp + 0x88]
mov r15, r9
mov r14, r8
mov r12, rdx
test rbp, rbp
jne 0x14009bcaf
xor eax, eax
jmp 0x14009bcbc
mov edx, 0x400
mov rcx, rbp
call fcn.1401d7904
movsxd rsi, eax
mov eax, 0xffffffff
add rsi, 8
lea rbx, [rsi + 0x20]
cmp rbx, rax
jae 0x14009bcf0
mov eax, 0xffffffdf
cmp rax, rsi
je 0x14009bcf0
mov eax, 0xffffffe7
cmp rbx, rax
jae 0x14009bcf0
lea rcx, [rsi + 0x38]
call fcn.1401d7f54
jmp 0x14009bcf2
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call fcn.140098bdc
mov ecx, 0x40
mov rdi, rax
call fcn.1401d7f54
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x28]
call fcn.140098bdc
mov r8d, dword [rsp + 0x70]
xor r9d, r9d
mov rdx, r15
mov qword [rsp + 0x20], r14
mov rcx, r12
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x80]
lea rax, [fcn.140077858]
mov qword [rbx + 8], rax
lea r8, str._s__READ_
mov qword [rbx + 0x20], rcx
test rbp, rbp
mov qword [rbx], r15
lea rcx, [rdi + 0x20]
mov qword [rbx + 0x18], r14
mov rdx, rsi
mov qword [rbx + 0x10], r12
mov rax, qword [r14 + 0x18]
mov qword [rdi], rax
lea rax, [0x14009b764]
mov qword [rdi + 8], rax
lea rax, [0x14025b82d]
cmove rbp, rax
mov qword [rdi + 0x10], rbx
mov r9, rbp
call fcn.1400011e0
mov rbx, qword [rsp + 0x50]
mov rax, rdi
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop r12
ret