joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400143f0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001b340
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b340
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400150c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140046228]
test eax, eax
je 0x14001515a
lea rax, [0x140046200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140046230]
mov qword [rbp - 8], rax
jmp 0x14001513e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140015132
cmp qword [rbp - 0x10], 0
je 0x140015132
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400150f8
lea rax, [0x140046200]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14001515b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015260
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140015288
mov eax, 0
jmp 0x1400152d6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400152b1
mov eax, 0
jmp 0x1400152d6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400152d1
mov eax, 0
jmp 0x1400152d6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400152dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001535a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015351
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015351
mov rax, qword [rbp - 8]
jmp 0x14001536f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015324
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000211c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x30
mov rbx, rcx
test dl, dl
je 0x140002206
lea rcx, [rbp + 0x20]
call fcn.140012bc8
nop
mov dl, reloc.WS2_32.dll_WSASetLastError
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x67
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x61
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x69
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x66
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, reloc.WS2_32.dll_WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x2e
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x63
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140012630
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140012630
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140012390
nop
lea rcx, [rbp + 0x20]
call fcn.140012648
jmp 0x140002227
mov dword [rbp - 0x10], 0x616f7373
mov dword [rbp - 0xc], 0x632e6d70
mov word [rbp - 7], WSASetLastError
mov byte [rbp - 8], reloc.WS2_32.dll_WSAGetLastError
lea rdx, [rbp - 0x10]
call fcn.14001227c
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
Function at 0x140002238
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov sil, dl
mov rbx, rcx
and dword [rbp + 0x47], 0
call fcn.140012bc8
mov dword [rbp + 0x47], 1
xor edi, edi
mov word [rbp + 0x2a], 0x656e
mov dword [rbp + 0x30], 0x6c6c64
mov word [rbp + 0x27], 0x654b
mov dword [rbp + 0x2c], 0x2e32336c
mov byte [rbp + 0x29], WSAStartup
mov dword [rbp + 0x38], 0x69547465
mov dword [rbp + 0x40], 0x746e75
mov byte [rbp + 0x37], 0x47
mov dword [rbp + 0x3c], 0x6f436b63
lea rcx, [rbp + 0x27]
call fcn.140114ce0
mov rcx, rax
lea rdx, [rbp + 0x37]
call fcn.140114c08
test rax, rax
je 0x1400022c4
call rax
mov edi, eax
mov dword [rbp - 0x39], 0x70747468
test sil, sil
je 0x14000238c
mov dword [rbp + 0xe], 0x69742664
mov word [rbp + 0xb], 0x253d
mov dword [rbp - 0x16], 0x73726576
mov byte [rbp - 0x2f], reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp - 0x35], 0x2f2f3a73
mov dword [rbp + 0x13], 0x64253d65
mov dword [rbp + 2], 0x26732525
mov dword [rbp - 0x28], 0x2e736f66
mov dword [rbp - 0xe], 0x67267325
mov word [rbp - 0x11], 0x6e6f
mov dword [rbp - 6], 0x26732525
mov dword [rbp - 0x21], 0x6162662f
mov dword [rbp - 0x2c], 0x6e696d61
mov word [rbp - 0x1b], 0x702e
mov dword [rbp - 2], 0x3d726176
mov dword [rbp - 0xa], 0x3d646975
mov word [rbp - 0x18], 0x3f70
mov dword [rbp + 6], 0x756c6176
mov word [rbp - 0x23], 0x6d6f
mov byte [rbp + 0xa], 0x65
mov byte [rbp + 0x17], 0
mov word [rbp - 0x1d], 0x6b63
mov byte [rbp + 0xd], 0x25
mov byte [rbp + 0x12], WSASetLastError
mov byte [rbp - 0x24], 0x63
mov byte [rbp - 0x12], 0x69
mov word [rbp - 0x31], 0x7270
mov byte [rbp - 0x19], 0x68
mov word [rbp - 0x2e], 0x7267
mov byte [rbp - 0xf], 0x3d
lea rdx, [rbp - 0x39]
jmp 0x140002443
mov dword [rbp - 7], 0x253d7261
mov word [rbp + 9], 0x7426
mov dword [rbp - 0xd], 0x7325253d
mov word [rbp - 0x1a], 0x7372
mov dword [rbp - 0x2b], 0x6d6f632e
mov dword [rbp + 3], 0x253d6575
mov word [rbp - 0x12], 0x6726
mov word [rbp + 0xc], 0x656d
mov dword [rbp - 2], 0x61762673
mov dword [rbp - 0x1f], 0x763f7068
mov dword [rbp - 0x32], 0x6f73732f
mov word [rbp + 7], 0x6425
mov dword [rbp - 0x17], 0x253d6e6f
mov word [rbp - 0x2e], 0x7061
mov dword [rbp - 0x25], 0x6b636162
mov word [rbp - 0xf], 0x6469
mov byte [rbp + 2], WSAGetLastError
mov word [rbp - 0x27], 0x662f
mov byte [rbp - 0x2c], WSASetLastError
mov word [rbp - 9], 0x7626
mov word [rbp - 0x21], 0x702e
mov word [rbp + 0xf], 0x6425
mov word [rbp - 0x34], 0x2f3a
mov byte [rbp - 0x1b], 0x65
mov byte [rbp - 0x10], 0x75
mov byte [rbp - 3], 0x25
mov byte [rbp - 0x13], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x18], 0x69
mov byte [rbp + 0xb], 0x69
mov byte [rbp + 0xe], 0x3d
mov byte [rbp - 0x35], reloc.WS2_32.dll_WSAStartup
mov byte [rbp + 0x11], 0
lea rdx, [rbp - 0x39]
mov r8d, edi
mov rcx, rbx
call fcn.140011df4
mov rax, rbx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400026e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x13], 0x72656c6c
mov rbx, rcx
mov dword [rbp - 0x18], 0x74736e49
mov word [rbp - 0x1e], 0x626f
mov word [rbp - 0x1b], 0x5c6c
mov word [rbp - 0xb], 0x78
mov word [rbp - 0xe], 0x7475
mov byte [rbp - 0x19], 0x43
mov word [rbp - 0x20], 0x6c47
mov byte [rbp - 0x14], 0x61
mov byte [rbp - 0xf], 0x4d
mov byte [rbp - 0xc], 0x65
mov byte [rbp - 0x1c], 0x61
call fcn.14001227c
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x140002748
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x19], 0x6e494549
mov rbx, rcx
mov dword [rbp - 0x20], 0x626f6c47
mov word [rbp - 0x1c], 0x6c61
mov dword [rbp - 0xc], 0x786574
mov dword [rbp - 0x12], 0x72656c6c
mov byte [rbp - 0x1a], 0x5c
mov word [rbp - 0xe], 0x754d
mov word [rbp - 0x14], 0x6174
mov byte [rbp - 0x15], reloc.WS2_32.dll_WSAStartup
call fcn.14001227c
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret

Function at 0x1400027a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x18], 0x736e4946
mov rbx, rcx
mov dword [rbp - 0x1f], 0x61626f6c
mov word [rbp - 0x14], 0x6174
mov word [rbp - 0xe], 0x754d
mov word [rbp - 0x11], 0x656c
mov dword [rbp - 0xc], 0x786574
mov word [rbp - 0x1a], 0x465c
mov byte [rbp - 0xf], WSAStartup
mov byte [rbp - 0x1b], WSAGetLastError
mov byte [rbp - 0x20], 0x47
mov byte [rbp - 0x12], WSAGetLastError
call fcn.14001227c
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret
Function at 0x140040634
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
xor r9d, r9d
cmp byte [rcx + 8], r9b
je 0x140040667
cmp dword [rcx + 0x3d0], r9d
jle 0x140040662
sub r8, rdx
mov al, byte [r8 + rdx]
inc r9d
xor byte [rdx], al
inc rdx
cmp r9d, dword [rcx + 0x3d0]
jl 0x14004064d
add rsp, 0x48
ret
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x20]
call fcn.1400406c0
lea rdx, [0x14013f648]
lea rcx, [rsp + 0x20]
call fcn.1400ae0a8
int3

Function at 0x140042891
Capabilities:
Authenticate hmac

Disassembly:
and ah, byte [rax + 0x75]
jno 0x1400428fc
jp 0x1400428ec
xor eax, 0x226d7d2a
and dword [ebp + 0x65], r9d
jge 0x14004293d
sub dword [rcx + 0x39], edi
invalid

Function at 0x1400428ab
Capabilities:
Authenticate hmac

Disassembly:
cdq
iretd
cdq
invalid
movabs eax, dword [0x97d0a1d892d592d1]
int3
insd dword [rdi], dx
and ah, byte [rdi + 0x44]
and dword [rbp + 0x65], ecx
jnp 0x1400428f8
jg 0x140042847
jle 0x140042845
adc dword [rdi - 0x6a726e78], 0x7f
nop
jg 0x140042855
mov dword [rax - 0x68816777], ebx
jp 0x14004289c
imul ecx, ebx, 0x6f
invalid
pop rsp
and dl, byte [rsi + 0x32]
and al, 0x79
ja 0x140042962
insd dword [rdi], dx
nop
invalid
sbb ah, byte [rdx + 0x18]
pop rbp
sbb al, 0x2a
sub bh, byte [rdx]
xor al, 0x5a

Function at 0x1400428bf
Capabilities:
Authenticate hmac

Disassembly:
jno 0x140042929
jnp 0x14004291d
cmp al, 0x34
and dword [rsi + 0x48], edi
push 0x254c3535
jne 0x14004292c
invalid
invalid
jl 0x14004296b
outsb dx, byte [rsi]
jo 0x140042992
pop r12
imul ebx, dword [rbx + rdi + 0x70], 0x49
invalid
jge 0x1400429e9
push rbp
sub byte [rsi + 0x37], cl
cmp eax, 0x49543047
outsb dx, byte [rsi]
jo 0x1400429c8
and sil, byte [rdx]
and ah, byte [rdx + 0x5e]
push rsi
invalid
movabs byte [0x323ab043a23daf38], al
jb 0x1400429fc
imul ebp, dword ds:[rsi], 0x4f
imul ebp, dword [rsi], 0x4f
xor dword [rax + 0x6b], eax
and al, 0x59
push rcx
outsd dx, dword [rsi]
jo 0x1400429e2
js 0x14004299f
sbb al, 0xf1
invalid
push rsp
sub dword fs:[edx + 0x38], edi
insb byte [rdi], dx
jle 0x140042a3f
jnp 0x140042a3e
sub r13b, byte [r11 + 0x4a]
pop rax
cmp ebp, dword [0x15e3c8e08]
sub ah, byte [rbx + rbp]
invalid
sbb ch, byte [0x16b204f14]
and esi, dword [rbx]
xor esi, dword [rdi]
jne 0x140042a20
js 0x140042a51
xor byte [rsi + 0x24], ch
push rax
and dword [rcx], esp
cmp dword [r14 + 0x72], esi
invalid
je 0x1400429a8
jle 0x140042a91
jle 0x140042a98
xor dword [r8], r14d
cmp ax, 0x6aee
imul byte [rbp - 0x12]
outsb dx, byte [rsi]
clc
jne 0x140042a34
je 0x140042a3b
jb fcn.140042a39
outsd dx, dword [rsi]
in eax, dx
ja 0x140042a9d
push rbx
cmp byte [rsi + 0x7d], bl
sub byte [0x18a4a81b4], bh
cmp eax, 0x4a46575e
invalid
push 0x6f757d4c
sub al, 0x7e
cmp ebp, dword [rdi + 0x36]
imul ebx, dword fs:[rcx + 0x36], 0x43767562
pop rcx
invalid
jne 0x140042b16
pop rsp
push rbx

Function at 0x1400428e5
Capabilities:
Authenticate hmac

Disassembly:
xor dword ds:[rbx + 0x2f], edx
insb byte [rdi], dx
sub dword [rdx + 0x7d], eax
sub qword [r9 + 0x39], r15
insd dword [rdi], dx
push 0x7d4b6f2e
push rax
Function at 0x140042901
Capabilities:
Authenticate hmac

Disassembly:
cdq
iretd
cdq
invalid
movabs eax, dword [0x97d0a1d892d592d1]
int3
insd dword [rdi], dx
and ah, byte [rdi + 0x44]
and dword [rbp + 0x65], ecx
jnp 0x1400428f8
jg 0x140042847
jle 0x140042845
adc dword [rdi - 0x6a726e78], 0x7f
nop
jg 0x140042855
mov dword [rax - 0x68816777], ebx
jp 0x14004289c
imul ecx, ebx, 0x6f
invalid
pop rsp
and dl, byte [rsi + 0x32]
and al, 0x79
ja 0x140042962
insd dword [rdi], dx
nop
invalid
sbb ah, byte [rdx + 0x18]
pop rbp
sbb al, 0x2a
sub bh, byte [rdx]
xor al, 0x5a

Function at 0x140042a0d
Capabilities:
Authenticate hmac

Disassembly:
test dword [rdi - 0x73], ebp
jae 0x14004299d
jle 0x140042a82
test dword [rbx - 0x7a], ebp
jo 0x1400429a5
outsb dx, byte [rsi]
sub dword [rbx - 0x80], 0x86748c70

Function at 0x140042a27
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rdi
jnp 0x140042a7f
insb byte [rdi], dx
insb byte [rdi], dx
jne 0x140042a7d
cmp r11b, byte [r9 + r14 + 0x79]
xor dword ss:[r8], r14d
imul esi, dword [rcx + 0x3c], 0x63
cmp al, 0x63
push rsp
pop r10

Function at 0x140042a69
Capabilities:
Authenticate hmac

Disassembly:
push 0x29
jge fcn.140042ab2
jo 0x140042ae5
ja 0x140042ae2
sub al, 0x53
ja 0x140042a99
xor ax, 0x6b59
jno 0x140042abc
invalid
outsd dx, dword [rsi]
imul ebx, dword fs:[rcx + 0x36], 0x43767562
jb 0x140042b14
jnp 0x140042b45

Function at 0x140042a84
Capabilities:
Authenticate hmac

Disassembly:
xchg dword [rsi - 0x7d], edi
lea eax, [rcx + rax*4 + 0x7e8d8883]
mov es, word [rbp + rsi*2 + 0x757d4c68]
jne 0x140042afa
jge 0x140042b0a
outsd dx, dword [rsi]

Function at 0x140042a90
Capabilities:
Authenticate hmac

Disassembly:
xchg dword [rsi - 0x7d], edi
lea eax, [rcx + rax*4 + 0x7e8d8883]
mov es, word [rbp + rsi*2 + 0x757d4c68]
jne 0x140042afa
jge 0x140042b0a
outsd dx, dword [rsi]

Function at 0x140042aa6
Capabilities:
Authenticate hmac

Disassembly:
or byte [rbp + 0xb], cl
add r8d, dword [rdx + 0xb]
cmovp ecx, dword [rdx]
sub qword [rdi + 0x6e], r12
sub dword [rdi + 0x6e], esp
cmp al, 0x36
push 0x76236061
xor spl, byte [r14]
imul edx, dword [rdi + 0x4c], 0x49a34ba7
cmpsq qword [rsi], qword [rdi]
movabs qword [0xa850a54f9f56a649], rax
movabs qword [0x585150559b51a052], rax
push rbp
push rax
push rcx
pop rax

Function at 0x140042ab2
Capabilities:
Authenticate hmac

Disassembly:
or byte [rbp + 0xb], cl
add r8d, dword [rdx + 0xb]
cmovp ecx, dword [rdx]
sub qword [rdi + 0x6e], r12
sub dword [rdi + 0x6e], esp
cmp al, 0x36
push 0x76236061
xor spl, byte [r14]
imul edx, dword [rdi + 0x4c], 0x49a34ba7
cmpsq qword [rsi], qword [rdi]
movabs qword [0xa850a54f9f56a649], rax
movabs qword [0x585150559b51a052], rax
push rbp
push rax
push rcx
pop rax
Function at 0x140064a9c
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x140064b45
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0x2733
jne 0x140064af9
mov dword [rsp + 0x24], 1
jmp 0x140064b01
mov dword [rsp + 0x24], 0
cmp dword [rsp + 0x24], 0
jne 0x140064b12
mov dword [rsp + 0x28], 0
jmp 0x140064b1a
mov dword [rsp + 0x28], 1
mov al, byte [rsp + 0x28]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x68]
mov qword [rax], 0
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140064b3e
mov eax, 0x51
jmp 0x140064b54
mov eax, 0x38
jmp 0x140064b54
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x48
ret

Function at 0x140064cd8
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov rax, qword [0x140146de8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
test eax, eax
jne 0x140064d04
xor eax, eax
test eax, eax
jne 0x140064d0a
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x30], rax
movsxd rax, dword [rsp + 0x168]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + rax*8 + 0x1d0]
mov qword [rsp + 0x38], rax
mov r8d, dword [rsp + 0x168]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x160]
call fcn.140065258
test eax, eax
je 0x140064d73
mov rax, qword [rsp + 0x180]
mov dword [rax], 0x1b
mov rax, 0xffffffffffffffff
jmp 0x140064e2b
xor r9d, r9d
mov r8d, dword [rsp + 0x178]
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x180]
mov dword [rax], 0
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x140064e26
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x140064ddb
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x180]
mov dword [rax], 0x51
jmp 0x140064e26
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
call fcn.1400941cc
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, qword [rsp + 0x160]
call fcn.140064834
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0xd2c], ecx
mov rax, qword [rsp + 0x180]
mov dword [rax], 0x37
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ab3a0
add rsp, 0x158
ret
Function at 0x140065144
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xa77]
test eax, eax
je 0x14006524c
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x270], 0
je 0x1400651d7
mov rcx, qword [rsp + 0x50]
call fcn.14004cdf4
mov byte [rsp + 0x30], al
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.14004cd90
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x1d8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x270]
mov dl, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.14004cd90
jmp 0x14006524c
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400651f6
cmp dword [rsp + 0x34], 1
je 0x1400651f6
cmp dword [rsp + 0x34], 2
je 0x1400651f6
jmp 0x14006524c
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x140120e90]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x1d0]
mov r8d, 1
mov edx, 2
mov rcx, rax
call fcn.1400cc95c
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x1d0]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.1400cc95c
add rsp, 0x48
ret
Function at 0x140065258
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx + rax*8 + 0x1d0]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rax + 0x218]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 0x84]
and eax, 3
test eax, eax
je 0x140065427
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
lea rdx, [0x140064b60]
cmp qword [rcx + rax*8 + 0x1f8], rdx
jne 0x140065427
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x14006530a
cmp qword [rsp + 0x30], 0
je 0x140065427
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
call fcn.14007faec
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x140065427
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140065427
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x1400653ba
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x6dc]
shl eax, 1
mov eax, eax
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [section..data]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x140065392
mov eax, 0x1b
jmp 0x140065429
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x14006541a
xor eax, eax
test eax, eax
jne 0x1400653c5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x10]
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jle 0x140065418
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
jmp 0x140065427
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
xor eax, eax
add rsp, 0x58
ret