joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400975b4
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rcx
add rcx, 0x20
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rdi + 0x48]
mov qword [rsp + 0x68], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov ecx, gethostbyaddr
call fcn.1400b0a08
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
or qword [rdi], 0xffffffffffffffff
and qword [rdi + 0x18], 0
and qword [rdi + 8], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0x10], eax
mov rax, rdi
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140097e0c
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebp, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x78], eax
xor edx, edx
mov eax, ebp
div dword [rsi + 0x10]
mov r14d, edx
sub ebp, edx
lea rbx, [rsi + 0x20]
mov qword [rsp + 0x70], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r15, [rsi + 0x48]
mov rcx, qword [r15]
mov rax, qword [rcx + 8]
mov rdi, rcx
mov edx, dword [rsp + 0x78]
xor r8d, r8d
jmp 0x140097e7b
cmp dword [rax + 0x20], edx
jae 0x140097e75
mov rax, qword [rax + 0x10]
jmp 0x140097e7b
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r8b
je 0x140097e6a
cmp byte [rdi + 0x19], r8b
jne 0x140097e9d
cmp edx, dword [rdi + 0x20]
jb 0x140097e9d
cmp rdi, rcx
je 0x140097ea0
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x140097ea0
mov rdi, rcx
lea ecx, [r14 + r12]
mov qword [rsp + 0x20], rcx
mov r9d, ebp
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
cmp rdi, qword [r15]
je 0x140097ecb
mov qword [rdi + 0x28], rax
jmp 0x140097ee4
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140097468
mov rcx, qword [rax]
mov qword [rcx + 0x28], rsi
lea rdi, [rsi + r14]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140099074
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
xor ebx, ebx
lea rcx, [rbp - 0x10]
mov dword [r8], ebx
mov rdi, r8
lea r8, [0x1400db91c]
mov qword [rbp - 0x10], rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x140099130
lea edx, [rbx + 1]
lea r8d, [rbx + 2]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 2
jne 0x140099130
cmp byte [rbp + 0x20], 0xff
jne 0x1400990d9
cmp byte [rbp + 0x21], 0xfe
jne 0x1400990f2
mov ebx, eax
mov dword [rdi], eax
jmp 0x140099130
cmp byte [rbp + 0x20], 0xfe
jne 0x1400990f2
cmp byte [rbp + 0x21], 0xff
jne 0x1400990f2
mov ebx, 3
mov dword [rdi], 2
jmp 0x140099130
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, qword [rbp - 0x10]
lea rcx, [rbp + 0x28]
mov edx, 1
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 3
jne 0x140099130
cmp byte [rbp + 0x28], 0xef
jne 0x140099130
cmp byte [rbp + 0x29], 0xbb
jne 0x140099130
cmp byte [rbp + 0x2a], 0xbf
jne 0x140099130
lea ebx, [rax - 2]
mov dword [rdi], eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret

Function at 0x140099d98
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
cmp qword [rcx], 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
je 0x140099db3
call fcn.140097fec
and qword [rsp + 0x30], 0
xor r9d, r9d
and dword [rsp + 0x28], 0
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x140099de8
xor eax, eax
jmp 0x140099e25
and qword [rsp + 0x28], 0
xor r9d, r9d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, rax
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x50]
mov qword [rbx + 8], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, qword [rsp + 0x50]
mov eax, 1
mov qword [rbx + 0x18], rcx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x140099e30
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov ebx, 1
mov r8d, ebx
lea edx, [rbx + 0xd]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbx
jne 0x140099e89
lea r8d, [rbx + 1]
lea rdx, [0x1400bbff0]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140099e89
mov eax, ebx
jmp 0x140099e8b
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400b0f60
add rsp, 0x40
pop rbx
ret
Function at 0x140099f78
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, rbx
lea rcx, [rsp + 0x38]
mov ebx, 1
mov edx, ebx
lea r8d, [rbx + 1]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 2
jne 0x140099fb5
mov ecx, 0xd8ff
cmp word [rsp + 0x38], cx
jne 0x140099fb5
mov eax, ebx
jmp 0x140099fb7
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140099fc0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, rbx
lea rcx, [rsp + 0x38]
mov ebx, 1
mov edx, ebx
lea r8d, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp eax, 3
jne 0x14009a009
mov r8d, eax
lea rdx, [0x1400bbff4]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009a009
mov eax, ebx
jmp 0x14009a00b
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14009a014
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_rewind]
mov r9, rbx
lea rcx, [rsp + 0x20]
mov ebx, 8
mov r8d, ebx
lea edx, [rbx - 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8d, ebx
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.14004d258
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400b0f60
add rsp, 0x30
pop rbx
ret

Function at 0x14009b7dc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
lea rbp, [rcx + 0x90]
xor ebx, ebx
lea rdi, [rcx + 0x68]
jmp 0x14009b846
mov edx, 0x1000
mov rcx, rdi
call fcn.140022310
mov qword [rsi + 0x88], rax
test rax, rax
je 0x14009b858
mov r9, qword [rsi + 0x38]
mov edx, 1
mov r8d, 0x1000
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x14009b858
mov edx, eax
mov rcx, rdi
call fcn.1400223d0
test eax, eax
jne 0x14009b858
mov rdx, rbp
mov rcx, rdi
call fcn.140022570
cmp eax, 1
jne 0x14009b802
mov ebx, eax
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009bc00
Capabilities:
Create thread

Disassembly:
mov r8d, dword [rcx + 0x50]
mov r9d, edx
mov rdx, qword [rcx + 0x48]
jmp fcn.14009b8d0
Function at 0x14009e3f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rcx
call fcn.14009cb6c
mov qword [rdi + 0x28], rbx
lea r8, [0x14009e474]
xor ebx, ebx
mov r9, rdi
mov qword [rsp + 0x28], rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14009ef40
Capabilities:
Send data

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
mov rsi, rcx
mov rax, qword [0x1400ef018]
mov qword [rsp + 0x70], rax
mov r8, qword [rcx + 0x50]
lea rdx, str.___s___r_n
lea rcx, [rsp + 0x70]
call fcn.14006d4dc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14007a68c
mov rdi, rax
test rax, rax
je 0x14009efd4
and dword [rsp + 0x60], 0
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
lea r9, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x14009efd4
mov edx, dword [rsp + 0x60]
mov rcx, rsi
call fcn.14009e43c
mov edi, 1
jmp 0x14009efd6
xor edi, edi
lea rcx, [rsp + 0x20]
call fcn.14006c87c
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x1400ef010]
je 0x14009efff
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x14009efff
call fcn.1400b0a54
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400a2c20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [rcx + 8]
mov rdi, rdx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400a2cb3
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rax, qword [rdi]
mov ecx, dword [rax - 8]
lea ecx, [rcx*2 + 2]
mov ebx, ecx
mov edx, ecx
mov ecx, 0x2000
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400a2cad
mov r8, qword [rdi]
mov rcx, rax
shr rbx, 1
mov rdx, rbx
movsxd r9, dword [r8 - 8]
add r9, r9
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, ntohs
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x1400a2cb8
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400a6760
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.1400924c4
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140092520
mov rcx, qword [rbx + 8]
lea rdx, str.open
mov dword [rsp + 0x28], 5
xor r9d, r9d
and qword [rsp + 0x20], 0
mov r8, qword [rax]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a67cc
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a67cc
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
call fcn.1400b0a54
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400a7650
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov esi, r9d
mov r15d, r8d
mov r14d, edx
mov rbx, qword [rbp + 0x68]
mov qword [rbp - 0x58], rbx
lea rdi, [rcx + 0x58]
xor r12d, r12d
mov qword [rdi], r12
xor edx, edx
mov rcx, rbx
call fcn.14006dda4
mov rdx, rax
lea r8, [0x1400db930]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
cmp qword [rdi], r12
je 0x1400a7787
xor edx, edx
lea r8d, [r12 + 0xe]
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea r8d, [r12 + 0x28]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
mov eax, 0x4d42
mov word [rbp - 0x50], ax
mov dword [rbp - 0x4a], r12d
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 3
imul ecx, r14d
mov eax, ecx
lea r13d, [r12 + 1]
and eax, 0x80000003
jge 0x1400a7707
sub eax, r13d
or eax, 0xfffffffc
add eax, r13d
add eax, ecx
imul eax, r15d
add eax, 0x36
mov dword [rbp - 0x4e], eax
mov dword [rbp - 0x46], getservbyport
mov dword [rbp - 0x40], 0x28
mov dword [rbp - 0x3c], r14d
mov dword [rbp - 0x38], r15d
mov word [rbp - 0x34], r13w
neg esi
sbb ax, ax
and ax, 0xfff0
add ax, 0x18
mov word [rbp - 0x32], ax
mov qword [rbp - 0x30], r12
mov eax, 0xec4
mov dword [rbp - 0x28], eax
mov qword [rbp - 0x24], rax
mov dword [rbp - 0x1c], r12d
mov r9, qword [rdi]
mov r8, r13
mov edx, ntohs
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, r13
jne 0x1400a7787
mov r9, qword [rdi]
mov r8, r13
mov edx, 0x28
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, r13
je 0x1400a77b3
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a77af
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a77af
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0a54
xor eax, eax
jmp 0x1400a77de
mov rax, qword [rbx]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x1400ef010]
je 0x1400a77db
or ecx, 0xffffffff
lock xadd dword [rax], ecx
sub ecx, 1
jg 0x1400a77db
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0a54
mov eax, r13d
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1400b0f60
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a77fc
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, 0x20
xor ebx, ebx
mov rdi, rdx
mov rbp, rcx
test r9d, r9d
je 0x1400a7895
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r14, edx
mov rcx, r14
call fcn.1400b0a4c
mov rsi, rax
test r14, r14
jle 0x1400a7875
lea r9, [rdi + 1]
movzx ecx, byte [r9 + 1]
mov eax, 0xaaaaaaab
movzx r8d, byte [r9 - 1]
add r8d, ecx
movzx ecx, byte [r9]
add r8d, ecx
lea r9, [r9 + 3]
mul r8d
shr edx, 1
mov byte [rbx + rsi], dl
inc rbx
cmp rbx, r14
jl 0x1400a7848
mov r9, qword [rbp + 0x58]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call fcn.1400b0a54
jmp 0x1400a78ab
mov r9, qword [rcx + 0x58]
mov rcx, rdi
movsxd rdx, r8d
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400a81b4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rdi, r9
mov ebx, r8d
mov dword [rbp - 0x2c], ebx
mov dword [rbp - 0x30], edx
mov qword [rbp - 0x28], r9
lea rdx, [rbp - 0x30]
lea rcx, [0x1400a8040]
call qword [sym.imp.USER32.dll_EnumWindows]
test ebx, ebx
jne 0x1400a82f4
mov rax, qword [0x1400ef018]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
xor ebx, ebx
mov rsi, qword [rdi]
mov rdx, qword [rdi + 8]
sub rdx, rsi
sar rdx, 5
test rdx, rdx
je 0x1400a82d2
lea r8, [rsi + 0x18]
test dword [r8 + 4], 0x40000
je 0x1400a8244
test dword [r8], 0xc00000
setne cl
bt dword [r8], 0x13
setb al
test al, cl
jne 0x1400a82a0
inc rbx
add r8, 0x20
cmp rbx, rdx
jb 0x1400a8224
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.14006c8f4
movups xmm0, xmmword [rsi + 8]
mov eax, dword [rsi + 0x18]
mov dword [rbp - 8], eax
mov eax, dword [rsi + 0x1c]
mov dword [rbp - 4], eax
movdqu xmmword [rbp - 0x18], xmm0
mov r8, rdi
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
call fcn.140071cd0
mov rax, qword [rdi]
mov qword [rdi + 8], rax
cmp rax, qword [rdi + 0x10]
je 0x1400a82c2
lea rdx, [rbp - 0x20]
mov rcx, rax
call fcn.140073a5c
add qword [rdi + 8], 0x20
jmp 0x1400a82d2
shl rbx, 5
add rbx, rsi
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14006c8f4
movups xmm0, xmmword [rbx + 8]
mov eax, dword [rbx + 0x18]
mov dword [rbp - 8], eax
mov eax, dword [rbx + 0x1c]
jmp 0x1400a8269
lea r8, [rbp - 0x20]
mov rdx, rax
mov rcx, rdi
call fcn.1400a6eb0
nop
mov rcx, qword [rbp - 0x20]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a82f4
or edx, 0xffffffff
lock xadd dword [rcx], edx
sub edx, 1
jg 0x1400a82f4
call fcn.1400b0a54
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x1400a932c
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x1e0
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x1400ef018]
lea rdx, [rsp + 0x30]
mov qword [rbx], rcx
mov rcx, qword [0x1400ef018]
mov qword [rbx + 0x10], rcx
mov rcx, qword [0x1400ef018]
mov qword [rbx + 0x18], rcx
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
and qword [rbx + 0x28], 0
mov rax, rbx
and qword [rbx + 0x20], 0
mov dword [rbx + 8], 0x19
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1400b0f60
add rsp, 0x1e0
pop rbx
ret

Function at 0x1400a96bc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov rbx, rdx
mov qword [rbp - 0x30], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
and qword [rbp - 0x38], 0
mov rcx, qword [rdx]
call fcn.14006e09c
movsxd rsi, eax
test eax, eax
jns 0x1400a9742
lea rcx, [rbp - 0x48]
call fcn.14006c87c
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a9738
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a9738
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0a54
mov eax, 1
jmp 0x1400a985a
mov rcx, rsi
call fcn.1400b0a4c
mov rdi, rax
and qword [rbp - 0x50], 0
lea r8, [0x1400db91c]
mov rdx, qword [rbx]
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov r9, qword [rbp - 0x50]
test r9, r9
je 0x1400a981a
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x1400a981a
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rax, [0x1400bb22c]
mov qword [rsp + 0x20], rax
mov r9d, 0x4c
mov r8d, esi
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140070ba0
mov rdx, rax
mov rcx, r15
call fcn.14008be28
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400a97db
inc rdx
mov rcx, qword [rbp - 0x28]
call fcn.14006b088
mov rcx, rdi
call fcn.1400b0a54
nop
lea rcx, [rbp - 0x48]
call fcn.14006c87c
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a9816
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a9816
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0a54
xor eax, eax
jmp 0x1400a985a
mov rcx, rdi
call fcn.1400b0a54
nop
lea rcx, [rbp - 0x48]
call fcn.14006c87c
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ef010]
je 0x1400a9855
or eax, 0xffffffff
lock xadd dword [rcx], eax
sub eax, 1
jg 0x1400a9855
mov rcx, qword [rbx]
sub rcx, 0xc
call fcn.1400b0a54
mov eax, 2
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400b0f60
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400aa2b8
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x28], r8
xor ebx, ebx
mov qword [rcx + 0x20], rdx
lea r8, [0x1400ac9ac]
mov r9, rcx
mov qword [rsp + 0x28], rbx
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400ad34c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov rax, qword [0x1400ef0c8]
xor rax, rsp
mov qword [rbp + 0x170], rax
lea rax, [0x1400acd34]
movzx r12d, cx
mov qword [rsp + 0x28], rax
lea r14, str.getaddrinfo
lea rax, str.getnameinfo
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x30], rax
xor ebx, ebx
cmp dword [0x1400f07b0], ebx
lea rax, [0x1400ad124]
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x40], rax
lea rax, [0x1400acce0]
mov qword [rsp + 0x48], rax
je 0x1400ad3e5
lea rsi, str.getaddrinfo
jmp 0x1400ad500
mov edx, 0x104
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rsi, str.getaddrinfo
test eax, eax
je 0x1400ad4f6
mov r15d, 0x10c
lea r8, [rbp + 0x60]
mov edx, r15d
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.ws2_32
mov edx, r15d
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400ad45d
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400ad4a8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r8, [rbp + 0x60]
mov rdx, r15
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, str.wship6
mov rdx, r15
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400ad4f6
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ad4ed
mov r15d, ebx
lea r14, [rsp + 0x28]
mov rdx, qword [r14 - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14], rax
test rax, rax
je 0x1400ad4ed
inc r15d
add r14, 0x10
cmp r15d, 3
jl 0x1400ad4b0
test rdi, rdi
je 0x1400ad4f6
mov rax, qword [rsp + rbx + 0x28]
mov qword [rbx + rsi + 8], rax
add rbx, 0x10
cmp rbx, 0x30
jl 0x1400ad4d7
jmp 0x1400ad4f6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x1400f07b0], 1
mov rax, r12
add rax, rax
mov rax, qword [rsi + rax*8 + 8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b0f60
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret