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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rdi, rcx
add rcx, 0x20
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
nop
lea rbx, [rdi + 0x48]
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.1400a67b4
mov qword [rbx], rax
or qword [rdi], 0xffffffffffffffff
and qword [rdi + 0x18], 0
and qword [rdi + 8], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
mov dword [rdi + 0x10], eax
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x1400a2d24
Capabilities:
Read file via mapping

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12d, r8d
mov r15d, edx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x88], eax
xor edx, edx
mov eax, r15d
div dword [rsi + 0x10]
mov ebp, r15d
sub ebp, edx
sub r15d, ebp
lea rdi, [rsi + 0x20]
mov qword [rsp + 0x98], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r14, [rsi + 0x48]
mov rax, qword [r14]
mov rcx, qword [rax + 8]
mov rdx, rax
mov r8d, dword [rsp + 0x88]
jmp 0x1400a2da2
cmp dword [rcx + 0x20], r8d
jae 0x1400a2d9c
mov rcx, qword [rcx + 0x10]
jmp 0x1400a2da2
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400a2d90
cmp rdx, rax
je 0x1400a2dbb
cmp r8d, dword [rdx + 0x20]
mov qword [rsp + 0x80], rdx
jae 0x1400a2dc3
mov qword [rsp + 0x80], rax
lea rbx, [rsp + 0x80]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1400a2ddd
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [r15 + 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 rbx, qword [r14]
je 0x1400a2e08
mov qword [rbx + 0x28], rax
jmp 0x1400a2e1b
lea rdx, [rsp + 0x88]
mov rcx, r14
call fcn.1400a27e8
mov qword [rax], rsi
mov ebx, r15d
add rbx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rbx
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a3750
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
mov rdi, r8
lea rcx, [rbp - 0x10]
mov dword [r8], ebx
lea r8, [0x1400eb52c]
mov qword [rbp - 0x10], rbx
call qword [sym.imp.MSVCR120.dll__wfopen_s]
mov r9, qword [rbp - 0x10]
test r9, r9
je 0x1400a380c
lea edx, [rbx + 1]
lea r8d, [rbx + 2]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCR120.dll_fread]
cmp rax, 2
jne 0x1400a380c
cmp byte [rbp + 0x20], 0xff
jne 0x1400a37b5
cmp byte [rbp + 0x21], 0xfe
jne 0x1400a37ce
mov ebx, eax
mov dword [rdi], eax
jmp 0x1400a380c
cmp byte [rbp + 0x20], 0xfe
jne 0x1400a37ce
cmp byte [rbp + 0x21], 0xff
jne 0x1400a37ce
mov ebx, 3
mov dword [rdi], 2
jmp 0x1400a380c
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.MSVCR120.dll_rewind]
mov r9, qword [rbp - 0x10]
mov edx, 1
lea r8d, [rdx + 2]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCR120.dll_fread]
cmp rax, 3
jne 0x1400a380c
cmp byte [rbp + 0x28], 0xef
jne 0x1400a380c
cmp byte [rbp + 0x29], 0xbb
jne 0x1400a380c
cmp byte [rbp + 0x2a], 0xbf
jne 0x1400a380c
lea ebx, [rax - 2]
mov dword [rdi], eax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.MSVCR120.dll_fclose]
mov rdi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret

Function at 0x1400a448c
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 0x1400a44a7
call fcn.1400a2f40
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
jne 0x1400a44dc
xor eax, eax
jmp 0x1400a4519
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 2]
xor edx, edx
mov rcx, rax
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 qword [rbx + 0x18], rcx
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x1400a4524
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
call qword [sym.imp.MSVCR120.dll_rewind]
mov edx, ntohs
lea rcx, [rsp + 0x20]
lea r8d, [rdx - 0xd]
mov r9, rbx
call qword [sym.imp.MSVCR120.dll_fread]
cmp rax, 1
je 0x1400a4563
xor eax, eax
jmp 0x1400a4583
lea rdx, [0x1400cde48]
lea rcx, [rsp + 0x20]
mov r8d, 2
call sub.MSVCR120.dll_memcmp
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400bf530
add rsp, 0x40
pop rbx
ret
Function at 0x1400a466c
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.MSVCR120.dll_rewind]
mov edx, 1
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 1]
mov r9, rbx
call qword [sym.imp.MSVCR120.dll_fread]
cmp eax, 2
je 0x1400a469b
xor eax, eax
jmp 0x1400a46aa
xor eax, eax
mov ecx, 0xd8ff
cmp word [rsp + 0x38], cx
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x1400a46b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.MSVCR120.dll_rewind]
mov r9, rbx
mov ebx, 3
lea rcx, [rsp + 0x38]
lea edx, [rbx - 2]
mov r8d, ebx
call qword [sym.imp.MSVCR120.dll_fread]
cmp eax, ebx
je 0x1400a46e0
xor eax, eax
jmp 0x1400a46fd
lea rdx, [0x1400cde4c]
lea rcx, [rsp + 0x38]
mov r8, rbx
call sub.MSVCR120.dll_memcmp
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
add rsp, 0x20
pop rbx
ret

Function at 0x1400a4704
Capabilities:
Read file on windows

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

Function at 0x1400a5ea0
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
xor ebx, ebx
lea rbp, [rcx + 0x90]
lea rdi, [rcx + 0x68]
jmp 0x1400a5f0a
mov edx, 0x1000
mov rcx, rdi
call fcn.14001e8c0
mov qword [rsi + 0x88], rax
test rax, rax
je 0x1400a5f1c
mov r9, qword [rsi + 0x38]
mov edx, 1
mov r8d, 0x1000
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_fread]
test rax, rax
je 0x1400a5f1c
mov edx, eax
mov rcx, rdi
call fcn.14001e990
test eax, eax
jne 0x1400a5f1c
mov rdx, rbp
mov rcx, rdi
call fcn.14001eb20
cmp eax, 1
jne 0x1400a5ec6
mov ebx, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400a62ec
Capabilities:
Create thread

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, r8
mov rdi, rcx
call fcn.1400a81e4
mov qword [rdi + 0x28], rbx
xor ebx, ebx
lea r8, [0x1400a9b58]
mov r9, rdi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
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 0x1400aa588
Capabilities:
Send data

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rbp, rdx
mov rsi, rcx
mov rax, qword [0x140108018]
mov qword [r11 + 0x18], rax
mov r8, qword [rcx + 0x50]
lea rdx, str.___s___r_n
lea rcx, [r11 + 0x18]
call fcn.140069514
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x38], 0
mov rbx, qword [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14007c9ac
mov rdi, rax
test rax, rax
je 0x1400aa624
and dword [rsp + 0x60], 0
mov rcx, rax
call sub.MSVCR120.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 0x1400aa624
mov edx, dword [rsp + 0x60]
mov rcx, rsi
call fcn.1400a9b20
mov edi, 1
jmp 0x1400aa626
xor edi, edi
lea rcx, [rsp + 0x28]
call fcn.140068890
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140108010]
je 0x1400aa649
lock add dword [rcx], 0xffffffff
jg 0x1400aa649
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400afc48
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 0x1400afcdb
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 0x1400afcd5
mov r8, qword [rdi]
shr rbx, 1
mov rcx, rax
movsxd r9, dword [r8 - 8]
mov rdx, rbx
add r9, r9
call qword [sym.imp.MSVCR120.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 0x1400afce0
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 0x1400b3840
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
call fcn.14009ac18
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14009ace4
mov rcx, qword [rbx + 8]
lea rdx, str.open
mov r8, qword [rax]
xor r9d, r9d
mov dword [rsp + 0x28], 5
and qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400b38a6
lock add dword [rcx], 0xffffffff
jg 0x1400b38a6
mov rcx, qword [rsp + 0x40]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
xor eax, eax
add rsp, 0x30
pop rbx
ret

Function at 0x1400b47c0
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 qword [rbp - 0x50], 0xfffffffffffffffe
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rbp - 0x10], 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.140069bfc
mov rdx, rax
lea r8, [0x1400eb540]
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll__wfopen_s]
cmp qword [rdi], r12
jne 0x1400b4850
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400b4849
lock add dword [rcx], 0xffffffff
jg 0x1400b4849
mov rcx, qword [rbx]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
xor eax, eax
jmp 0x1400b4951
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rbp - 0x48]
call sub.MSVCR120.dll_memset
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rbp - 0x38]
call sub.MSVCR120.dll_memset
mov eax, 0x4d42
mov word [rbp - 0x48], ax
mov dword [rbp - 0x42], r12d
mov eax, esi
neg eax
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 3
imul ecx, r14d
mov eax, ecx
mov r13d, 1
and eax, 0x80000003
jge 0x1400b48a3
sub eax, r13d
or eax, 0xfffffffc
add eax, r13d
add eax, ecx
imul eax, r15d
add eax, 0x36
mov dword [rbp - 0x46], eax
mov dword [rbp - 0x3e], getservbyport
mov dword [rbp - 0x38], 0x28
mov dword [rbp - 0x34], r14d
mov dword [rbp - 0x30], r15d
mov word [rbp - 0x2c], r13w
neg esi
sbb ax, ax
and ax, 0xfff0
add ax, 0x18
mov word [rbp - 0x2a], ax
mov qword [rbp - 0x28], r12
mov eax, 0xec4
mov dword [rbp - 0x20], eax
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x14], r12d
mov r9, qword [rdi]
mov r8, r13
mov edx, ntohs
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCR120.dll_fwrite]
cmp rax, r13
jne 0x1400b4827
mov r9, qword [rdi]
mov r8, r13
mov edx, 0x28
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCR120.dll_fwrite]
nop
cmp rax, r13
jne 0x1400b4827
mov rax, qword [rbx]
add rax, 0xfffffffffffffff4
cmp rax, qword [0x140108010]
je 0x1400b494e
lock add dword [rax], 0xffffffff
jg 0x1400b494e
mov rcx, qword [rbx]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, r13d
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bf530
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b4970
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 0x1400b4a0b
mov eax, 0x55555556
imul r8d
mov eax, edx
shr eax, 0x1f
add edx, eax
movsxd r14, edx
mov rcx, r14
call fcn.1400befcc
mov rsi, rax
test r14, r14
jle 0x1400b49eb
lea r8, [rdi + 1]
movzx ecx, byte [r8 + 1]
movzx edx, byte [r8 - 1]
mov eax, 0x55555556
add edx, ecx
movzx ecx, byte [r8]
lea r8, [r8 + 3]
add edx, ecx
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [rbx + rsi], dl
inc rbx
cmp rbx, r14
jl 0x1400b49bc
mov r9, qword [rbp + 0x58]
mov r8d, 1
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rcx, rsi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400b4a21
mov r9, qword [rcx + 0x58]
movsxd rdx, r8d
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x20
pop r14
ret

Function at 0x1400b5320
Capabilities:
Enumerate gui resources

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, r9
mov ebx, r8d
mov dword [rbp - 0x3c], ebx
mov dword [rbp - 0x40], edx
mov qword [rbp - 0x38], r9
lea rdx, [rbp - 0x40]
lea rcx, [0x1400b51d0]
call qword [sym.imp.USER32.dll_EnumWindows]
test ebx, ebx
jne 0x1400b5442
mov rdx, qword [0x140108018]
mov qword [rbp - 0x28], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov rdi, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rdi
sar rax, 5
test rax, rax
je 0x1400b542a
xor ecx, ecx
test dword [rcx + rdi + 0x1c], 0x40000
je 0x1400b53bc
test dword [rcx + rdi + 0x18], 0xc00000
je 0x1400b53bc
test dword [rcx + rdi + 0x18], 0x80000
jne 0x1400b53ca
inc rbx
add rcx, 0x20
cmp rbx, rax
jae 0x1400b53ec
jmp 0x1400b539e
shl rbx, 5
add rbx, rdi
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140068904
movups xmm0, xmmword [rbx + 8]
mov eax, dword [rbx + 0x18]
mov dword [rbp - 0x10], eax
mov eax, dword [rbx + 0x1c]
jmp 0x1400b540a
test rax, rax
je 0x1400b542a
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140068904
movups xmm0, xmmword [rdi + 8]
mov eax, dword [rdi + 0x18]
mov dword [rbp - 0x10], eax
mov eax, dword [rdi + 0x1c]
mov dword [rbp - 0xc], eax
movdqu xmmword [rbp - 0x20], xmm0
mov rcx, rsi
call fcn.14007b21c
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.1400b63c8
mov rdx, qword [rbp - 0x28]
lea rcx, [rdx - 0xc]
cmp rcx, qword [0x140108010]
je 0x1400b5442
lock add dword [rcx], 0xffffffff
jg 0x1400b5442
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bf530
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b7078
Capabilities:
Initialize winsock library

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

Function at 0x1400b7818
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r8
mov rbx, rdx
mov qword [rbp - 9], rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
and qword [rbp - 0x11], 0
mov rcx, qword [rdx]
call fcn.140069ea4
movsxd rsi, eax
test eax, eax
jns 0x1400b78a3
lea rcx, [rbp - 0x21]
call fcn.140068890
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400b7899
lock add dword [rcx], 0xffffffff
jg 0x1400b7899
mov rcx, qword [rbx]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, 1
jmp 0x1400b79a5
mov rcx, rsi
call fcn.1400befcc
mov rdi, rax
and qword [rbp - 0x29], 0
lea r8, [0x1400eb52c]
mov rdx, qword [rbx]
lea rcx, [rbp - 0x29]
call qword [sym.imp.MSVCR120.dll__wfopen_s]
mov r9, qword [rbp - 0x29]
test r9, r9
je 0x1400b796b
mov r8d, 1
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_fread]
cmp rax, 1
jne 0x1400b796b
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.MSVCR120.dll_fclose]
lea rax, [0x1400ccd6c]
mov qword [rsp + 0x20], rax
mov r9d, 0x4c
mov r8d, esi
mov rdx, rdi
lea rcx, [rbp + 7]
call fcn.14006ddcc
mov rdx, rax
mov rcx, r15
call fcn.140093f48
cmp qword [rbp + 0x1f], 0x10
jb 0x1400b7932
mov rcx, qword [rbp + 7]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, rdi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rbp - 0x21]
call fcn.140068890
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400b7967
lock add dword [rcx], 0xffffffff
jg 0x1400b7967
mov rcx, qword [rbx]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
xor eax, eax
jmp 0x1400b79a5
mov rcx, rdi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rbp - 0x21]
call fcn.140068890
nop
mov rcx, qword [rbx]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400b79a0
lock add dword [rcx], 0xffffffff
jg 0x1400b79a0
mov rcx, qword [rbx]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, 2
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400bf530
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b83a4
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov qword [rcx + 0x28], r8
mov qword [rcx + 0x20], rdx
xor ebx, ebx
mov r9, rcx
lea r8, [0x1400ba870]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret
Function at 0x1400bb980
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 [0x1401080e0]
xor rax, rsp
mov qword [rbp + 0x170], rax
lea rax, [0x1400bb398]
lea rsi, str.getaddrinfo
xor ebx, ebx
cmp dword [0x140109898], ebx
mov qword [rsp + 0x28], rax
lea rax, str.getnameinfo
mov qword [rsp + 0x30], rax
lea rax, [0x1400bb754]
movzx r12d, cx
mov qword [rsp + 0x38], rax
lea rax, str.freeaddrinfo
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x40], rax
lea rax, [0x1400bb344]
mov qword [rsp + 0x48], rax
je 0x1400bba19
lea r14, str.getaddrinfo
jmp 0x1400bbb50
lea rcx, [rbp + 0x60]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r14, str.getaddrinfo
test eax, eax
je 0x1400bbb46
mov r15d, 0x10c
lea r8, [rbp + 0x60]
lea rcx, [rsp + 0x50]
mov edx, r15d
call qword [sym.imp.MSVCR120.dll_strcpy_s]
lea r8, str.ws2_32
lea rcx, [rsp + 0x50]
mov edx, r15d
call qword [sym.imp.MSVCR120.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400bba99
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400bba94
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
jne 0x1400bbaf5
lea r8, [rbp + 0x60]
lea rcx, [rsp + 0x50]
mov rdx, r15
call qword [sym.imp.MSVCR120.dll_strcpy_s]
lea r8, str.wship6
lea rcx, [rsp + 0x50]
mov rdx, r15
call qword [sym.imp.MSVCR120.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400bbb46
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400bbaf0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
je 0x1400bbb46
mov r15d, ebx
lea rsi, [rsp + 0x28]
mov rdx, qword [rsi - 8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], rax
test rax, rax
je 0x1400bbb21
inc r15d
add rsi, 0x10
cmp r15d, 3
jl 0x1400bbafd
jmp 0x1400bbb2d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, rbx
test rdi, rdi
je 0x1400bbb46
mov rax, qword [rsp + rbx + 0x28]
add rbx, 0x10
mov qword [rbx + r14 - 8], rax
cmp rbx, 0x30
jl 0x1400bbb32
mov dword [0x140109898], 1
movzx eax, r12w
add rax, rax
mov rax, qword [r14 + rax*8 + 8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400bf530
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
Function at 0x1400bbe20
Capabilities:
Resolve dns

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, 0x20
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
movzx ebp, r9w
and qword [rsi], 0
mov r15d, r8d
mov r12d, edx
mov byte [r14], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rbx, rax
test rax, rax
je 0x1400bbec6
cmp word [rax + 0x10], 2
jne 0x1400bbea5
cmp word [rax + 0x12], 4
jne 0x1400bbea5
mov rdi, qword [rax + 0x18]
jmp 0x1400bbe9d
mov r9d, dword [rax]
movzx r8d, bp
mov edx, r15d
mov ecx, r12d
call fcn.1400bbd38
mov qword [rsi], rax
test rax, rax
je 0x1400bbebf
lea rsi, [rax + 0x28]
add rdi, 8
mov rax, qword [rdi]
test rax, rax
jne 0x1400bbe7b
mov r8, qword [rbx]
mov r9d, 0x400
mov rcx, r14
lea edx, [r9 + 1]
call qword [sym.imp.MSVCR120.dll_strncpy_s]
xor eax, eax
jmp 0x1400bbee1
mov eax, 8
jmp 0x1400bbee1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x1400bbedf
dec eax
je 0x1400bbf07
dec eax
je 0x1400bbf00
dec eax
mov eax, ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov eax, 0x2afb
jmp 0x1400bbee1
mov eax, 0x2afa
jmp 0x1400bbee1