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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rcx + 0x60]
mov edi, r8d
lea r8, [rdx + 8]
mov edx, reloc.WS2_32.dll_recv
mov r9d, edx
lea rcx, [rsp + 0x30]
call fcn.140075e74
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.14016d990
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14007662c
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 0x140076656
xor eax, eax
jmp 0x140076713
mov rdx, rcx
lea r8, [0x1401f0f9c]
lea rcx, [rsp + 0x40]
call fcn.140174c70
mov r9, qword [rsp + 0x40]
test r9, r9
je 0x140076710
cmp qword [rdi], rbx
jne 0x1400766d3
xor edx, edx
mov rcx, r9
lea r8d, [rdx + 2]
call fcn.140170bbc
mov rcx, qword [rsp + 0x40]
call fcn.1401705cc
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.140170bbc
lea rcx, [rsi + 1]
call fcn.140176110
mov qword [rdi], rax
test rax, rax
jne 0x1400766f8
mov rcx, qword [rsp + 0x40]
call fcn.140170800
jmp 0x14007664f
mov esi, 0x3ff
cmp rbx, rsi
jae 0x1400766ff
mov rcx, qword [rdi]
mov r8, rsi
sub r8, rbx
mov edx, 1
call fcn.140176048
add rbx, rax
test rax, rax
je 0x1400766ff
mov r9, qword [rsp + 0x40]
jmp 0x1400766d8
mov rcx, qword [rdi]
mov byte [rbx + rcx], 0
mov rcx, qword [rsp + 0x40]
call fcn.140170800
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140076724
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbx
sub rsp, 0x230
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov eax, dword [0x140274e70]
inc eax
mov dword [0x140274e70], eax
cmp eax, 1
jg 0x1400767ed
xor edx, edx
xor ecx, ecx
call fcn.140149bb0
xor edx, edx
mov ecx, 0x200002
call fcn.140149bb0
xor edx, edx
lea ecx, [rdx + 2]
call fcn.1400afe50
xor edx, edx
lea ecx, [rdx + 0xc]
call fcn.1400afe50
xor edx, edx
lea ecx, [rdx + 4]
call fcn.1400afe50
xor edx, edx
lea ecx, [rdx + 8]
call fcn.1400afe50
lea rcx, str.ADVAPI32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400767ed
lea rdx, str.SystemFunction036
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400767e4
mov edx, 0x40
lea rcx, [rsp + 0x20]
call rax
test al, al
je 0x1400767e4
movsd xmm2, qword [0x140255240]
lea rcx, [rsp + 0x20]
mov edx, 0x40
call fcn.1400b16a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.14016d990
add rsp, 0x230
pop rbx
ret
Function at 0x140076fb4
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 + 0x60]
call fcn.1400780d8
mov rsi, qword [rsp + 0x78]
mov ecx, gethostname
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x20], rax
lea rax, str.ILibIPAddressMonitor
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x38], rbx
mov qword [rsi + 0x40], rdi
call fcn.140176110
xor r9d, r9d
mov rcx, rax
xor r8d, r8d
lea edx, [r9 + 0x20]
call fcn.140077f24
xor r8d, r8d
mov qword [rsi + 0x58], rax
mov qword [rax + 0x18], rsi
lea ecx, [r8 + 2]
mov edx, ecx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi + 0x48], rax
lea rcx, [rsi + 0x50]
mov r10, rax
xor r9d, r9d
lea rax, [0x140076eb8]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov edx, 0x28000017
mov rax, qword [rsi + 0x58]
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, [0x140076f8c]
mov rdx, rsi
mov rcx, rbp
mov qword [rsi + 0x10], rax
call fcn.1400785d4
mov rbx, qword [rsp + 0x70]
mov rax, rsi
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077620
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 + 0xb0], esi
jle 0x1400776df
xor ebp, ebp
mov rax, qword [rdi + 0x48]
cmp qword [rax + rbp], 0
je 0x1400776cd
mov rax, qword [rdi + 0x38]
xor edx, edx
mov r9, qword [rdi + 0xa8]
add r9, 4
movsxd rcx, esi
shl rcx, 4
mov rbx, qword [rax + 0x60]
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 + 0x60]
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, [0x140276180]
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 + 0xb0]
jl 0x14007764f
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 0x1400776fc
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 + 0xc0], edi
jle 0x14007777b
mov rax, qword [rbx + 0xb8]
mov edx, 0x29
mov rcx, qword [rbx + 0x40]
movsxd r8, edi
mov dword [rsp + 0x20], 4
mov rcx, qword [rcx + 0x60]
lea r9, [rax + r8*4]
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x40]
lea rdx, [0x140276180]
xor r9d, r9d
mov dword [rsp + 0x28], 0x1c
mov qword [rsp + 0x20], rsi
mov rcx, qword [rcx + 0x60]
lea r8d, [r9 + 0x60]
call qword [sym.imp.WS2_32.dll_sendto]
inc edi
cmp edi, dword [rbx + 0xc0]
jl 0x14007771b
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140077d34
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.140176110
mov rbx, rax
test rax, rax
je 0x140077e50
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 0x140077da0
mov rcx, rbx
call fcn.140174cc8
mov ecx, dword [rsp + 0x48]
call fcn.140176110
mov rbx, rax
test rax, rax
je 0x140077e96
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 0x140077dcd
mov rcx, rbx
call fcn.140174cc8
xor eax, eax
jmp 0x140077e40
mov rax, rbx
test rbx, rbx
je 0x140077df2
cmp dword [rax + 0x58], 0
je 0x140077de9
test byte [rax + 0x5c], 0x18
jne 0x140077de9
cmp dword [rax + 0x68], 1
jne 0x140077de9
inc edi
mov rax, qword [rax + 8]
test rax, rax
jne 0x140077dd5
movsxd rcx, edi
shl rcx, 2
call fcn.140176110
mov qword [rsi], rax
test rax, rax
je 0x140077edc
mov rdx, rbx
test rbx, rbx
je 0x140077e36
cmp dword [rdx + 0x58], 0
je 0x140077e2d
test byte [rdx + 0x5c], 0x18
jne 0x140077e2d
cmp dword [rdx + 0x68], 1
jne 0x140077e2d
mov ecx, dword [rdx + 4]
mov dword [rax], ecx
add rax, 4
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x140077e12
mov rcx, rbx
call fcn.140174cc8
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, 0x231
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x235
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0xfe
lea rdx, str...microstackILibParsers.c
mov edi, 0x24d
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8d, edi
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
Function at 0x14007846c
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x140271510]
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 0x140078583
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, 0x560
call fcn.1400780d8
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rax
call fcn.14007c498
xor ecx, ecx
mov qword [rbx + 0x510], rax
call fcn.14007c498
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 0x140078524
and qword [rbx + 0x10], 0
and dword [rbx], 0
mov eax, dword [0x140274e88]
test eax, eax
jne 0x140078550
xor r9d, r9d
lea edx, [rax + 1]
xor ecx, ecx
lea r8d, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [0x140274ea0], rax
mov eax, dword [0x140274e88]
inc eax
mov rcx, rbx
mov dword [0x140274e88], eax
call fcn.14007c268
mov qword [rbx + 0x4f8], rax
mov rax, rbx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14016d990
add rsp, 0x1e0
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, 0x6d7
lea rdx, str...microstackILibParsers.c
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov r9d, 1
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
Function at 0x140078a98
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7a0]
sub rsp, 0x8a0
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rax, qword [rcx + 0x510]
lea rbx, [0x140275180]
xor esi, esi
mov qword [rsp + 0x40], rdx
mov r13, r9
mov dword [rsp + 0x50], esi
mov r12, rdx
mov r14, rcx
mov rdi, qword [rax + 0x18]
mov r15d, esi
mov dword [rsp + 0x30], 0x5265c00
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x140078c17
xor r12d, r12d
test rdi, rdi
je 0x140078b14
mov rsi, qword [rdi]
jmp 0x140078b17
mov rsi, r12
test rsi, rsi
je 0x140078c10
cmp qword [rsi], r12
je 0x140078c03
lea rax, [rsp + 0x30]
mov dword [rbp + 0x580], r12d
lea r9, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x370]
mov dword [rbp + 0x160], r12d
lea rdx, [rbp + 0x580]
mov dword [rbp + 0x370], r12d
mov rcx, rsi
call qword [rsi]
mov r8d, 0x208
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x580]
call fcn.14016ee60
test eax, eax
jne 0x140078bb3
mov r8d, 0x208
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x370]
call fcn.14016ee60
test eax, eax
jne 0x140078bb3
mov r8d, 0x208
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x160]
call fcn.14016ee60
test eax, eax
je 0x140078c03
lea rax, [rsp + 0x38]
mov ecx, 0x40
lea r9, [rbp + 0x160]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x370]
lea rdx, [rbp + 0x580]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x140078c03
mov r9, qword [rsi + 0x28]
lea r8, [0x1401f05d0]
movsxd rax, r15d
mov edx, 0x1000
sub rdx, rax
lea rcx, [rax + rbx]
call fcn.1400010e4
add r15d, eax
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x140078b0f
mov r12, qword [rsp + 0x40]
xor esi, esi
test r15d, r15d
cmovle rbx, rsi
test rbx, rbx
jne 0x140078c59
mov rcx, qword [r14 + 0x4f0]
mov rdx, r13
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x140078c52
mov rcx, qword [r14 + 0x4f0]
mov rdx, r12
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea rbx, str.UNKNOWN
test eax, eax
je 0x140078c59
lea rbx, str.ILibForceUnblockChain
mov rax, rbx
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.14016d990
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007ab4c
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 0x14007ab98
cmp dword [0x140272210], 0
jne 0x14007ab98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
mov r8d, 0x152d
lea rdx, str...microstackILibParsers.c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14007ddcc
xor eax, eax
jmp 0x14007ac3b
movzx ecx, word [rcx]
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14007abbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9d, [rbx + 3]
mov r8d, 0x152e
jmp 0x14007ab7f
cmp word [rdi], 0x17
jne 0x14007abe5
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 0x14007ac46
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 0x14007ac38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 3
lea rdx, str...microstackILibParsers.c
mov r8d, 0x153b
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.14007ddcc
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14007ab91
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, 0x1532
xor ecx, ecx
call fcn.14007ddcc
mov ecx, 0xfd
call fcn.140170088
int3

Function at 0x14007d548
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, [0x1401e8470]
mov rdi, rcx
lea rcx, [rax + 0x18]
call fcn.140174c70
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14007d581
and qword [rdi], rcx
xor eax, eax
jmp 0x14007d5e9
xor edx, edx
lea r8d, [rdx + 2]
call fcn.140170bbc
mov rcx, qword [rsp + 0x50]
call fcn.1401705cc
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
movsxd rbx, eax
call fcn.140170bbc
lea ecx, [rbx + 1]
movsxd rcx, ecx
call fcn.140176110
mov rsi, rax
test rax, rax
je 0x14007d5f9
mov r9, qword [rsp + 0x50]
mov r8, rbx
mov edx, 1
mov rcx, rax
call fcn.140176048
movsxd rcx, eax
mov rbx, rax
mov byte [rcx + rsi], 0
mov rcx, qword [rsp + 0x50]
call fcn.140170800
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, 0x1f2d
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
Function at 0x14007d640
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rsp + 0x48], 0
mov rdi, rdx
mov rdx, rcx
movsxd rbx, r8d
lea rcx, [rsp + 0x48]
lea r8, [0x1401e8df8]
call fcn.140174c70
mov r9, qword [rsp + 0x48]
test r9, r9
je 0x14007d68e
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.1401748f0
mov rcx, qword [rsp + 0x48]
call fcn.140170800
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14007ddcc
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [0x140271510]
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.14007d69c
lea r9, [rsp + 0x58]
mov edx, 0x1000
lea rcx, [0x140286180]
test rdi, rdi
je 0x14007de43
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 0x14007de54
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 0x14007deab
mov rdx, qword [0x140274ea8]
test rdx, rdx
je 0x14007deab
and qword [rsp + 0x50], 0
lea r8, [0x140253a68]
lea rcx, [rsp + 0x50]
call fcn.140174c70
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14007deab
movsxd r8, ebx
lea rcx, [0x140286180]
mov edx, 1
call fcn.1401748f0
mov rcx, qword [rsp + 0x50]
call fcn.140170800
lea rax, [0x140286180]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14016d990
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14007e754
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x28], 0
lea r8, [0x14007e710]
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 + 0x50], rax
add rsp, 0x30
pop rbx
ret
Function at 0x14007fc4c
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.140176110
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x14007fd22
mov rax, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x78]
mov dword [rbx + 8], edi
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x48], rsi
test rax, rax
je 0x14007fcda
mov rcx, qword [rbx + 0x68]
mov r8d, edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x78]
lea rax, [0x14007f45c]
mov rcx, qword [rbx + 0x20]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, qword [rdx + 0x18]
call fcn.14007e1e8
jmp 0x14007fd0d
mov edx, 1
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
and qword [rsp + 0x28], 0
lea r8, [0x14007fa8c]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
mov qword [rbx + 0x60], 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, 0x5d7
mov dword [rsp + 0x20], eax
mov r9d, edi
mov r8d, ebx
xor ecx, ecx
call fcn.14007ddcc
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.140170088
int3
Function at 0x14007ff6c
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 esi, r8d
mov rbp, rdx
mov rbx, rcx
mov edi, 0xfffffffc
test rcx, rcx
je 0x14008009e
cmp qword [rcx + 0x30], 0
jne 0x14007ffa9
xor ecx, ecx
call fcn.14007c498
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 0x14007ffdc
mov edx, esi
mov rcx, rbp
call fcn.14007df9c
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14007c6e4
jmp 0x140080049
mov rax, qword [rbx + 0x78]
xor r9d, r9d
mov rcx, qword [rbx + 0x70]
mov r8d, esi
mov rdx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x140080001
mov edi, eax
jmp 0x140080049
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14008005f
mov edx, esi
mov rcx, rbp
xor edi, edi
call fcn.14007df9c
mov rcx, qword [rbx + 0x30]
mov rdx, rax
call fcn.14007c6e4
mov rdx, qword [rbx + 0x78]
lea rax, [0x14007f668]
mov rcx, qword [rbx + 0x20]
mov r9, rbx
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, qword [rdx + 0x18]
call fcn.14007e1e8
mov rcx, qword [rbx + 0x30]
xor r8d, r8d
mov rcx, qword [rcx]
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14008009e
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 0x140080096
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140080090
mov rdx, qword [rbx + 0x78]
mov rdx, qword [rdx + 0x18]
call fcn.14007e128
mov rcx, rbx
call qword [rbx + 0x40]
mov rcx, rbx
call fcn.14007e8c8
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 0x1400801e0
Capabilities:
Write 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
cmp qword [rcx + 0x80], 0
mov rdi, r9
mov esi, r8d
mov rbp, rdx
mov rbx, rcx
jne 0x14008022c
xor r8d, r8d
lea r9, [rax + 8]
lea edx, [r8 + 8]
lea ecx, [rdx + 0x18]
call fcn.1400780d8
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
mov r9, qword [rbx + 0x80]
lea rax, [0x14005e8b0]
mov rcx, qword [rbx + 0x70]
mov r8d, esi
mov qword [rbx + 0x98], rax
mov rdx, rbp
lea rax, [0x140080180]
mov qword [rbx + 0x90], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
jne 0x140080270
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140080272
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140080288
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140271510]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0xd8]
mov r15, rdx
xor edx, edx
movsxd r14, r8d
mov rsi, r9
mov rbx, rcx
lea r8d, [rdx + 2]
call fcn.140170bbc
movsxd rbp, dword [rsp + 0xd0]
lea ecx, [rbp + 0x3c]
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 0x140080317
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 0x140080327
xor edx, edx
lea rcx, [rsp + 0x2c]
lea r8d, [rdx + 0x30]
call fcn.14016ef40
mov r8d, 0x3c
lea rcx, [rsp + 0x20]
mov r9, rbx
lea r12d, [r8 - 0x3b]
mov edx, r12d
call fcn.1401748f0
mov r8, r14
mov r9, rbx
mov edx, r12d
mov rcx, r15
call fcn.1401748f0
mov rcx, rbx
call fcn.1401705bc
mov rdi, rax
test rsi, rsi
je 0x140080373
mov r8, rbp
mov r9, rbx
mov edx, r12d
mov rcx, rsi
call fcn.1401748f0
mov rcx, rbx
call fcn.14017c510
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14016d990
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret