joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066b18
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
and dword [rax + 0x18], 0
mov r14d, edx
and dword [rax - 0x38], 0
xor edx, edx
and dword [rax - 0x34], 0
mov ebp, r9d
mov rsi, r8
mov dword [rax + 0x20], r9d
mov r15, rcx
xor r9d, r9d
lea ecx, [rdx + 0x30]
xor r8d, r8d
call fcn.140068c34
mov r8, qword [rsp + 0xb0]
mov edx, 2
mov rcx, qword [rsp + 0xb8]
mov rbx, rax
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x20], r8
lea r8d, [rdx + 0xf]
mov qword [rax], rcx
movzx ecx, word [rsi]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140066ba6
mov rcx, rbx
call fcn.140163938
xor eax, eax
jmp 0x140066ccf
cmp ebp, 1
jne 0x140066bd5
lea r9, [rsp + 0xa8]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
lea r8d, [rbp + 3]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140066ce3
cmp word [rsi], 0x17
jne 0x140066c05
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0xa0]
mov rcx, rdi
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140066d10
cmp word [rsi], 0x17
mov eax, 0x1c
mov rdx, rsi
mov rcx, rdi
lea r8d, [rax - 0xc]
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, rdi
test eax, eax
je 0x140066c34
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140066b97
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x50]
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov r9d, 4
and dword [rsp + 0x28], 0
mov edx, 0x9800000c
and qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSAIoctl]
movzx ecx, word [rsi + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
and dword [rsp + 0x30], 0
lea rbp, [0x14000a8a0]
mov word [rbx + 0x18], ax
lea r8, [0x140066a5c]
lea rax, [0x140066afc]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov edx, r14d
mov rcx, r15
mov qword [rsp + 0x20], rbp
call fcn.140064620
mov rsi, rax
test rax, rax
jne 0x140066cbb
mov rcx, rdi
jmp 0x140066c29
mov r9, rbx
mov r8, rbp
mov rdx, rdi
mov rcx, rsi
call fcn.1400667b0
mov rax, rsi
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibAsyncUDPSocket.c
mov r9d, eax
mov r8d, 0x7f
xor ecx, ecx
call fcn.14006e59c
mov ecx, 0xfd
call fcn.14015ecf8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibAsyncUDPSocket.c
mov r9d, eax
mov r8d, 0x83
xor ecx, ecx
call fcn.14006e59c
mov ecx, 0xfd
call fcn.14015ecf8
int3

Function at 0x140066d40
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, qword [rcx + 0x50]
mov rbx, r8
lea r8, [rdx + 4]
mov edx, 4
mov r9d, edx
lea rcx, [rsp + 0x40]
call fcn.1400669dc
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 0x140066d98
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rcx + 0x50]
mov edi, r8d
lea r8, [rdx + 8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, edx
lea rcx, [rsp + 0x30]
call fcn.1400669dc
mov edx, 0x29
mov dword [rsp + 0x40], edi
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
mov rcx, rbx
lea r8d, [rdx - 0x1d]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14015c600
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14006718c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r8
push rdi
sub rsp, 0x20
and qword [rax + 0x18], 0
xor ebx, ebx
mov rdi, rdx
test rcx, rcx
jne 0x1400671b6
xor eax, eax
jmp 0x140067273
mov rdx, rcx
lea r8, [0x1401dd224]
lea rcx, [rsp + 0x40]
call fcn.1401638e0
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140067270
cmp qword [rdi], rbx
jne 0x140067233
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.14015f82c
mov rcx, qword [rsp + 0x40]
call fcn.14015f23c
mov rcx, qword [rsp + 0x40]
movsxd rsi, eax
mov eax, 0x400
cmp rsi, rax
cmova rsi, rax
xor r8d, r8d
xor edx, edx
call fcn.14015f82c
lea rcx, [rsi + 1]
call fcn.140164d80
mov qword [rdi], rax
test rax, rax
jne 0x140067258
mov rcx, qword [rsp + 0x40]
call fcn.14015f470
jmp 0x1400671af
mov esi, 0x3ff
cmp rbx, rsi
jae 0x14006725f
mov rcx, qword [rdi]
mov r8, rsi
sub r8, rbx
mov edx, 1
call fcn.140164cb8
add rbx, rax
test rax, rax
je 0x14006725f
mov r9, qword [rsp + 0x40]
jmp 0x140067238
mov rcx, qword [rdi]
mov byte [rbx + rcx], 0
mov rcx, qword [rsp + 0x40]
call fcn.14015f470
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140067284
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov eax, dword [0x140202dcc]
inc eax
mov dword [0x140202dcc], eax
cmp eax, 1
jg 0x14006734d
xor edx, edx
xor ecx, ecx
call fcn.140138840
xor edx, edx
mov ecx, 0x200002
call fcn.140138840
xor edx, edx
lea ecx, [rdx + 2]
call fcn.14009a060
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.14009a060
xor edx, edx
lea ecx, [rdx + 4]
call fcn.14009a060
xor edx, edx
lea ecx, [rdx + 8]
call fcn.14009a060
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x14006734d
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140067344
mov edx, 0x40
lea rcx, [rsp + 0x20]
call rax
test al, al
je 0x140067344
movsd xmm2, qword [0x1401e4470]
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.14009b8b0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14015c600
add rsp, 0x230
pop rbx
ret
Function at 0x140067b50
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 + 0x50]
call fcn.140068c34
mov rsi, qword [rsp + 0x78]
mov ecx, gethostname
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rdi
call fcn.140164d80
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.140068a9c
xor r8d, r8d
mov qword [rsi + 0x48], rax
mov qword [rax + 0x18], rsi
lea ecx, [r8 + 2]
mov edx, ecx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi + 0x38], rax
lea rcx, [rsi + 0x40]
mov r10, rax
xor r9d, r9d
lea rax, [0x140067a60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, 0x28000017
mov rax, qword [rsi + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov rcx, r10
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSAIoctl]
lea rax, [0x140067b28]
mov rdx, rsi
mov rcx, rbp
mov qword [rsi + 0x10], rax
call fcn.1400690cc
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400681a4
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 esi, esi
mov r14, rdx
mov rdi, rcx
cmp dword [rcx + 0xa0], esi
jle 0x140068263
xor ebp, ebp
mov rax, qword [rdi + 0x38]
cmp qword [rax + rbp], 0
je 0x140068251
mov rax, qword [rdi + 0x28]
xor edx, edx
mov r9, qword [rdi + 0x98]
add r9, 4
movsxd rcx, esi
shl rcx, 4
mov rbx, qword [rax + 0x50]
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 + 0x50]
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
lea rdx, [0x1402040c0]
mov qword [rsp + 0x20], r14
mov rcx, rbx
lea r8d, [r9 + 0x60]
call qword [sym.imp.WS2_32.dll_sendto]
inc esi
add rbp, 8
cmp esi, dword [rdi + 0xa0]
jl 0x1400681d3
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 0x140068280
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rsi, rdx
mov rbx, rcx
cmp dword [rcx + 0xb0], edi
jle 0x1400682ff
mov rax, qword [rbx + 0xa8]
mov edx, 0x29
mov rcx, qword [rbx + 0x30]
movsxd r8, edi
mov dword [rsp + 0x20], 4
mov rcx, qword [rcx + 0x50]
lea r9, [rax + r8*4]
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x30]
lea rdx, [0x1402040c0]
xor r9d, r9d
mov dword [rsp + 0x28], 0x1c
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 0x50]
lea r8d, [r9 + 0x60]
call qword [sym.imp.WS2_32.dll_sendto]
inc edi
cmp edi, dword [rbx + 0xb0]
jl 0x14006829f
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1400688ac
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.140164d80
mov rbx, rax
test rax, rax
je 0x1400689c8
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 0x140068918
mov rcx, rbx
call fcn.140163938
mov ecx, dword [rsp + 0x48]
call fcn.140164d80
mov rbx, rax
test rax, rax
je 0x140068a0e
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 0x140068945
mov rcx, rbx
call fcn.140163938
xor eax, eax
jmp 0x1400689b8
mov rax, rbx
test rbx, rbx
je 0x14006896a
cmp dword [rax + 0x58], 0
je 0x140068961
test byte [rax + 0x5c], 0x18
jne 0x140068961
cmp dword [rax + 0x68], 1
jne 0x140068961
inc edi
mov rax, qword [rax + 8]
test rax, rax
jne 0x14006894d
movsxd rcx, edi
shl rcx, 2
call fcn.140164d80
mov qword [rsi], rax
test rax, rax
je 0x140068a54
mov rdx, rbx
test rbx, rbx
je 0x1400689ae
cmp dword [rdx + 0x58], 0
je 0x1400689a5
test byte [rdx + 0x5c], 0x18
jne 0x1400689a5
cmp dword [rdx + 0x68], 1
jne 0x1400689a5
mov ecx, dword [rdx + 4]
mov dword [rax], ecx
add rax, 4
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x14006898a
mov rcx, rbx
call fcn.140163938
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...microstackILibParsers.c
mov edi, 0x2bc
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006e59c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015ecf8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x2c0
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006e59c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015ecf8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x2d8
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14006e59c
mov r8d, edi
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, ebx
call fcn.14015ecf8
int3
Function at 0x140068f64
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, ecx
lea rdx, [rsp + 0x30]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14006907b
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, 0x560
call fcn.140068c34
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rax
call fcn.14006cd34
xor ecx, ecx
mov qword [rbx + 0x510], rax
call fcn.14006cd34
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
and dword [rsp + 0x20], 0
mov qword [rbx + 0x518], rax
mov dword [rbx], 1
lea edx, [r9 + 2]
mov ecx, edx
lea r8d, [r9 + 0x11]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rbx + 0x4f0], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov qword [rbx + 0x10], rax
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x14006901c
and qword [rbx + 0x10], 0
and dword [rbx], 0
mov eax, dword [0x140202df4]
test eax, eax
jne 0x140069048
xor r9d, r9d
lea edx, [rax + 1]
xor ecx, ecx
lea r8d, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x140202e08], rax
mov eax, dword [0x140202df4]
inc eax
mov rcx, rbx
mov dword [0x140202df4], eax
call fcn.14006cb10
mov qword [rbx + 0x4f8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14015c600
add rsp, 0x1e0
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x69c
lea rdx, str...microstackILibParsers.c
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov r9d, 1
xor ecx, ecx
call fcn.14006e59c
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, 1
call fcn.14015ecf8
int3
Function at 0x14006b3f8
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x40], 0
mov rdi, rcx
cmp word [rcx], 0x17
jne 0x14006b444
cmp dword [0x140200180], 0
jne 0x14006b444
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x1439
lea rdx, str...microstackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14006e59c
xor eax, eax
jmp 0x14006b4e7
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006b468
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x143a
jmp 0x14006b42b
cmp word [rdi], 0x17
jne 0x14006b491
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x14006b4f2
cmp word [rdi], 0x17
mov eax, 0x1c
mov rdx, rdi
mov rcx, rbx
lea r8d, [rax - 0xc]
cmove r8d, eax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14006b4e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str...microstackILibParsers.c
mov r8d, 0x1447
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14006e59c
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14006b43d
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str...microstackILibParsers.c
mov r9d, eax
mov r8d, 0x143e
xor ecx, ecx
call fcn.14006e59c
mov ecx, 0xfd
call fcn.14015ecf8
int3

Function at 0x14006dd74
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x18], 0
lea r8, [0x1401d58f0]
mov rdi, rcx
lea rcx, [rax + 0x18]
call fcn.1401638e0
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14006ddad
and qword [rdi], rcx
xor eax, eax
jmp 0x14006de15
xor edx, edx
lea r8d, [rdx + 2]
call fcn.14015f82c
mov rcx, qword [rsp + 0x50]
call fcn.14015f23c
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
movsxd rbx, eax
call fcn.14015f82c
lea ecx, [rbx + 1]
movsxd rcx, ecx
call fcn.140164d80
mov rsi, rax
test rax, rax
je 0x14006de25
mov r9, qword [rsp + 0x50]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140164cb8
movsxd rcx, eax
mov rbx, rax
mov byte [rcx + rsi], 0
mov rcx, qword [rsp + 0x50]
call fcn.14015f470
mov eax, ebx
mov qword [rdi], rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibParsers.c
mov ebx, 0x1e34
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14006e59c
mov r8d, ebx
lea rdx, str...microstackILibParsers.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, edi
call fcn.14015ecf8
int3
Function at 0x14006e59c
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rdx
mov rbx, rcx
mov edx, 0x20
lea rcx, [rsp + 0x58]
mov ebp, r9d
mov esi, r8d
call fcn.14006de6c
lea r9, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [0x1402030c0]
test rdi, rdi
je 0x14006e613
mov eax, dword [rsp + 0xd0]
lea r8, str._r_n__s___s:_d___d__d___s
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.1400010e4
jmp 0x14006e624
lea r8, str._r_n__s___s
mov qword [rsp + 0x20], rbx
call fcn.1400010e4
mov ebx, eax
lea eax, [rax - 1]
cmp eax, 0xffe
ja 0x14006e67b
mov rdx, qword [0x140202dd0]
test rdx, rdx
je 0x14006e67b
and qword [rsp + 0x50], 0
lea r8, [0x1401e31a8]
lea rcx, [rsp + 0x50]
call fcn.1401638e0
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14006e67b
movsxd r8, ebx
lea rcx, [0x1402030c0]
mov edx, 1
call fcn.140163560
mov rcx, qword [rsp + 0x50]
call fcn.14015f470
lea rax, [0x1402030c0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14015c600
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14006eb20
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x28], 0
lea r8, [0x14006eadc]
and dword [rsp + 0x20], 0
mov rbx, rdx
mov r9, rdx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x40], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14006fd8c
Capabilities:
Create thread
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
movsxd rdi, edx
mov rbx, rcx
mov rcx, rdi
mov rsi, r9
mov rbp, r8
call fcn.140164d80
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x14006fe5a
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x70]
mov dword [rbx + 8], edi
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x48], rsi
test rax, rax
je 0x14006fe12
mov rcx, qword [rbx + 0x60]
mov r8d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x70]
lea r9, [0x14006f664]
mov rcx, qword [rbx + 0x20]
mov r8, rbx
mov rdx, qword [rdx + 0x18]
call fcn.14006e908
jmp 0x14006fe45
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x14006fbcc]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x58], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xfe
lea rdx, str...microstackILibProcessPipe.c
mov ebx, 0x4ed
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14006e59c
mov r8d, ebx
lea rdx, str...microstackILibProcessPipe.c
lea rcx, str.CRITICALEXIT__FILE:__s__LINE:__d_r_n
call fcn.140001090
mov ecx, edi
call fcn.14015ecf8
int3
Function at 0x140070078
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x28]
mov esi, r8d
mov rbp, rdx
mov edi, 0xfffffffc
test rbx, rbx
je 0x14007019e
cmp qword [rbx + 0x30], 0
jne 0x1400700b6
xor ecx, ecx
call fcn.14006cd34
mov qword [rbx + 0x30], rax
mov rcx, qword [rbx + 0x30]
or edx, 0xffffffff
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x18], 0
je 0x1400700e9
mov edx, esi
mov rcx, rbp
call fcn.14006e6d0
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14006cf10
jmp 0x14007014e
mov rax, qword [rbx + 0x70]
xor r9d, r9d
mov rcx, qword [rbx + 0x68]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x14007010e
mov edi, eax
jmp 0x14007014e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140070164
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.14006e6d0
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14006cf10
mov rdx, qword [rbx + 0x70]
lea r9, [0x14006f7e8]
mov rcx, qword [rbx + 0x20]
mov r8, rbx
mov rdx, qword [rdx + 0x18]
call fcn.14006e908
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14007019e
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
cmp qword [rbx + 0x40], 0
je 0x140070196
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x20]
mov rdx, qword [rdx + 0x18]
call fcn.14006e85c
mov rcx, rbx
call qword [rbx + 0x40]
mov rcx, rbx
call fcn.14006ec84
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400701dc
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401ff510]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0xe8]
mov r15, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.14015f82c
movsxd rbp, dword [rsp + 0xe0]
lea ecx, [rbp + 0x48]
add ecx, r14d
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, r14d
mov dword [rsp + 0x20], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov ecx, ebp
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0x28], eax
test rdi, rdi
je 0x14007026e
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x2c], xmm0
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rsp + 0x3c], xmm1
movups xmmword [rsp + 0x4c], xmm0
jmp 0x14007027e
xor edx, edx
lea rcx, [rsp + 0x2c]
lea r8d, [rdx + 0x30]
call fcn.14015dbb0
mov r8d, 0x48
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r12d, [r8 - 0x47]
mov edx, r12d
call fcn.140163560
mov r8, r14
mov r9, rbx
mov edx, r12d
mov rcx, r15
call fcn.140163560
mov rcx, rbx
call fcn.14015f22c
mov rdi, rax
test rsi, rsi
je 0x1400702ca
mov r8, rbp
mov r9, rbx
mov edx, r12d
mov rcx, rsi
call fcn.140163560
mov rcx, rbx
call fcn.14016b180
mov rax, rdi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14015c600
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret