joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028720
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 0x140028816
lea rcx, [rbp + 0x20]
call fcn.140012550
nop
mov dl, reloc.WS2_32.dll_WSASetLastError
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x67
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x61
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x69
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x66
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, reloc.WS2_32.dll_WSAStartup
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x2e
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x63
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.140013140
mov dl, 0x6d
lea rcx, [rbp + 0x20]
call fcn.140013140
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.140012450
nop
lea rcx, [rbp + 0x20]
call fcn.1400128c0
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
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.140012490
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
Function at 0x1400288d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
movzx esi, dl
mov rbx, rcx
xor edi, edi
mov dword [rbp + 0x47], edi
call fcn.140012550
mov dword [rbp + 0x47], 1
mov word [rbp + 0x2a], 0x656e
mov dword [rbp + 0x30], 0x6c6c64
mov word [rbp + 0x27], 0x654b
mov dword [rbp + 0x2c], 0x2e32336c
mov byte [rbp + 0x29], WSACleanup
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.140030f50
mov rcx, rax
lea rdx, [rbp + 0x37]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002895e
call rax
mov edi, eax
mov dword [rbp - 0x39], 0x70747468
test sil, sil
je 0x140028a26
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 0x140028add
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.1400134c0
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 0x14002a8f0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r14d, r8d
mov r15, rdx
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x43], 0x51504f4e
mov word [rbp - 0x49], 0x4948
mov word [rbp - 0x4c], 0x4645
mov dword [rbp - 0x47], 0x4d4c4b4a
mov dword [rbp - 0x28], 0x7271706f
mov word [rbp - 0x4f], 0x4342
mov dword [rbp - 0x2e], 0x6c6b6a69
mov dword [rbp - 0x1d], 0x3231307a
mov dword [rbp - 0x35], 0x65646362
mov word [rbp - 0x30], 0x6867
mov dword [rbp - 0x13], 0x2f2b39
mov dword [rbp - 0x3b], 0x59585756
mov word [rbp - 0x24], 0x7473
mov dword [rbp - 0x21], 0x79787776
mov byte [rbp - 0x31], 0x66
mov word [rbp - 0x16], 0x3736
mov byte [rbp - 0x4d], 0x44
mov word [rbp - 0x2a], 0x6e6d
mov word [rbp - 0x3e], 0x5453
mov word [rbp - 0x19], 0x3433
mov byte [rbp - 0x3f], 0x52
mov byte [rbp - 0x4a], 0x47
mov byte [rbp - 0x22], 0x75
mov word [rbp - 0x37], 0x615a
mov byte [rbp - 0x17], 0x35
mov byte [rbp - 0x14], 0x38
mov byte [rbp - 0x50], 0x41
mov byte [rbp - 0x3c], 0x55
call fcn.140003a80
mov dword [rbp - 0x60], 1
mov ebx, esi
test r14d, r14d
je 0x14002ab35
mov ecx, esi
nop word [rax + rax]
dec r14d
movzx eax, byte [r15]
mov byte [rbp + rcx + 0x50], al
inc ebx
inc rcx
lea r15, [r15 + 1]
movzx edx, byte [rbp + 0x52]
movzx r12d, byte [rbp + 0x51]
movzx r13d, byte [rbp + 0x50]
cmp rcx, 3
jne 0x14002aa74
movzx eax, r13b
shr al, 2
mov byte [rbp + 0x58], al
movzx ecx, r13b
and cl, 3
shl cl, 4
movzx eax, r12b
shr al, 4
add cl, al
mov byte [rbp + 0x59], cl
movzx ecx, r12b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rbp + 0x5a], cl
movzx eax, dl
and al, 0x3f
mov byte [rbp + 0x5b], al
mov rbx, rsi
nop dword [rax + rax]
movzx eax, byte [rbp + rbx + 0x58]
movzx edx, byte [rbp + rax - 0x50]
mov rcx, rdi
call fcn.140013160
inc rbx
cmp rbx, 4
jl 0x14002aa50
mov ebx, esi
mov rcx, rsi
movzx edx, byte [rbp + 0x52]
test r14d, r14d
jne 0x14002a9e0
test ebx, ebx
je 0x14002ab35
mov r14d, 3
cmp ebx, r14d
jge 0x14002aab7
mov eax, r14d
sub eax, ebx
movsxd r8, eax
movsxd rax, ebx
lea rcx, [rbp + 0x50]
add rcx, rax
xor edx, edx
call fcn.1400abbb0
movzx edx, byte [rbp + 0x52]
movzx r12d, byte [rbp + 0x51]
movzx r13d, byte [rbp + 0x50]
movzx eax, r13b
shr al, 2
mov byte [rbp + 0x58], al
and r13b, r14b
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rbp + 0x59], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, dl
shr al, 6
add r12b, al
mov byte [rbp + 0x5a], r12b
and dl, 0x3f
mov byte [rbp + 0x5b], dl
lea eax, [rbx + 1]
movsxd r15, eax
test eax, eax
jle 0x14002ab1a
nop dword [rax + rax]
movzx eax, byte [rbp + rsi + 0x58]
movzx edx, byte [rbp + rax - 0x50]
mov rcx, rdi
call fcn.140013160
inc rsi
cmp rsi, r15
jl 0x14002ab00
cmp ebx, r14d
jge 0x14002ab35
sub r14d, ebx
movsxd rbx, r14d
mov dl, 0x3d
mov rcx, rdi
call fcn.140013160
sub rbx, 1
jne 0x14002ab25
mov rax, rdi
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002ab80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1020]
mov eax, 0x1120
call fcn.1400a9250
sub rsp, rax
movsxd r15, r8d
mov r14, rcx
lea rcx, [rbp - 0x80]
call fcn.1400039f0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14002a670
nop
lea rcx, [rbp - 0x80]
call fcn.140003c00
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x820]
call fcn.1400abbb0
xor ebx, ebx
lea rcx, [rsp + 0x58]
call fcn.14002bc90
test rax, rax
je 0x14002ac2a
mov esi, ebx
lea rdi, [rbp + 0x820]
nop
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.14002b630
movzx ecx, byte [rax]
mov byte [rdi], cl
inc ebx
lea rdi, [rdi + 1]
movsxd rsi, ebx
lea rcx, [rsp + 0x58]
call fcn.14002bc90
cmp rsi, rax
jb 0x14002ac00
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xc20]
call fcn.1400abbb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x420]
call fcn.1400abbb0
mov dword [rsp + 0x37], 0x41324443
mov word [rsp + 0x3b], 0x4537
mov dword [rsp + 0x47], 0x46434243
mov dword [rsp + 0x30], 0x37383843
mov word [rsp + 0x3e], 0x3646
mov word [rsp + 0x4f], 0x39
mov word [rsp + 0x34], 0x3444
mov dword [rsp + 0x43], 0x42413436
mov word [rsp + 0x4c], 0x4638
mov word [rsp + 0x41], 0x4232
mov byte [rsp + 0x4e], 0x39
mov byte [rsp + 0x36], 0x32
mov byte [rsp + 0x4b], 0x36
mov byte [rsp + 0x3d], 0x39
mov byte [rsp + 0x40], 0x44
lea r8, [rsp + 0x30]
mov edx, 0x400
lea rcx, [rbp + 0x420]
call fcn.1400b9e9c
lea rcx, [rbp - 0x60]
call fcn.140075610
nop
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0x20
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x420]
lea rcx, [rbp - 0x60]
call fcn.140075650
lea rcx, [rsp + 0x58]
call fcn.14002bc90
mov r9, rax
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0xc20]
lea rdx, [rbp + 0x820]
lea rcx, [rbp - 0x60]
call fcn.140076d60
lea rdx, [rbp + 0xc20]
add rdx, r15
mov rcx, r14
call fcn.1400039f0
nop
lea rcx, [rbp - 0x60]
call fcn.140075630
nop
lea rcx, [rsp + 0x58]
call fcn.14002b600
mov rax, r14
lea r11, [rsp + 0x1120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140074620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rsi, rdx
xor edi, edi
mov dword [rbp - 0x30], edi
lea rdx, [rbp - 0x28]
call fcn.1400746f0
mov rcx, rsi
call fcn.140003a80
mov dword [rbp - 0x30], 1
lea edx, [rdi + 0x20]
mov rcx, rsi
call fcn.1400755a0
nop word [rax + rax]
mov dword [rbp - 0xd], 0x65646362
mov dword [rbp - 0x18], 0x33323130
mov word [rbp - 9], 0x66
mov word [rbp - 0x10], 0x3938
mov word [rbp - 0x13], 0x3635
mov byte [rbp - 0x11], 0x37
mov byte [rbp - 0xe], 0x61
mov byte [rbp - 0x14], 0x34
movzx ebx, byte [rbp + rdi - 0x28]
mov eax, ebx
shr rax, 4
movzx edx, byte [rbp + rax - 0x18]
mov rcx, rsi
call fcn.140013160
and ebx, 0xf
movzx edx, byte [rbp + rbx - 0x18]
mov rcx, rsi
call fcn.140013160
inc rdi
cmp rdi, 0x10
jl 0x140074670
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x140076fb0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
cmp byte [rcx + 8], 0
mov r9, rcx
je 0x140076feb
xor ecx, ecx
cmp dword [r9 + 0x3d0], ecx
jle 0x140076fe6
sub r8, rdx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
inc ecx
xor byte [rdx], al
lea rdx, [rdx + 1]
cmp ecx, dword [r9 + 0x3d0]
jl 0x140076fd0
add rsp, 0x48
ret
mov rdx, qword [str.Object_not_Initialized]
lea rcx, [rsp + 0x20]
call fcn.140076f30
lea rdx, [0x140141c28]
lea rcx, [rsp + 0x20]
call fcn.1400aa334
int3
Function at 0x1400776f0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [rcx], 0x6a09e667
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret
Function at 0x140079ad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcc0
lea rbp, [rsp + 0x30]
mov eax, 0x43
mov qword [rbp + 0xcd0], rbx
mov ebx, WSACleanup
mov word [rbp + 0x6c], ax
mov eax, 0x52
movsxd rdi, edx
mov word [rbp + 0x3c], ax
mov rsi, rcx
mov eax, 0x4d
mov word [rbp + 0x72], bx
lea r11d, [rbx - 0xd]
mov word [rbp + 0x42], ax
lea r10d, [rbx - 3]
mov word [rbp + 0x48], bx
mov eax, WSACleanup
mov dword [rbp + 0x6e], 0x720075
xor edx, edx
mov word [rbp + 0x10], ax
mov r8d, 0x800
mov dword [rbp + 0x56], 0x690057
lea rcx, [rbp + 0x490]
mov dword [rbp + 0x44], 0x630069
mov dword [rbp + 0x38], 0x410057
xor ebx, ebx
mov dword [rbp + 0x3e], 0x5c0045
mov dword [rbp + 0x30], 0x4f0053
mov dword [rbp + 0x4a], 0x73006f
mov dword [rbp + 0x4e], 0x66006f
mov dword [rbp + 0x7e], 0x730072
mov dword [rbp + 0x34], 0x540046
mov dword [rbp + 0x64], 0x4e0020
mov dword [rbp + 0x74], 0x6e0065
mov dword [rbp + 0x82], 0x6f0069
mov dword [rbp + 0x52], 0x5c0074
mov dword [rbp + 0x68], 0x5c0054
mov dword [rbp + 0x78], 0x560074
mov dword [rbp + 0x60], 0x730077
mov dword [rbp + 0x5a], 0x64006e
mov dword [rbp + 0x86], WSACleanup
mov word [rbp + 0x5e], r10w
mov word [rbp + 0x7c], r11w
mov dword [rbp + 0x12], 0x64006f
mov dword [rbp + 0x16], 0x630075
mov dword [rbp + 0xc], 0x50006c
mov dword [rbp + 8], 0x610074
mov dword [rbp + 0x1a], 0x490074
mov dword [rbp + 4], 0x690067
mov dword [rbp + 0x1e], 0x64
mov dword [rbp], 0x690044
call fcn.1400abbb0
lea rax, [rbp + 0xce8]
mov dword [rbp + 0xce0], 0x800
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, 0xffffffff80000002
call fcn.14002fa10
test eax, eax
jne 0x140079d34
mov rcx, qword [rbp + 0xce8]
lea rax, [rbp + 0xce0]
mov qword [rsp + 0x28], rax
lea rdx, [rbp]
lea rax, [rbp + 0x490]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call fcn.14002fae0
test eax, eax
jne 0x140079d28
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x400
call fcn.1400abbb0
mov r8d, dword [rbp + 0xce0]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x490]
call fcn.140079d60
call fcn.140029790
mov r9d, eax
mov rdx, 0xffffffffffffffff
lea rax, [rbp + 0x90]
inc rdx
cmp byte [rax + rdx], bl
jne 0x140079cc2
inc edx
cmp edx, 0x3fffffff
jg 0x140079d13
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140079ced
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400a9250
sub rsp, rcx
mov r8d, edx
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14007a7c0
mov rbx, rax
mov rdx, rdi
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rcx, rsi
call fcn.1400d6620
mov rcx, qword [rbp + 0xce8]
call fcn.14002fcd0
mov rbx, qword [rbp + 0xcd0]
lea rsp, [rbp + 0xc90]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140079e30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
movsxd rbx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x200
call fcn.1400abbb0
mov r10d, reloc.WS2_32.dll_WSAGetLastError
mov dword [rbp + 0x1e0], 0x200
mov eax, 0x68
mov dword [rsp + 0x70], 0x740066
mov word [rbp - 0x76], ax
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x7a], 0x700061
lea r8d, [r10 + 3]
mov dword [rsp + 0x74], 0x43005c
mov word [rsp + 0x68], r8w
lea r12d, [r10 - 0x22]
mov word [rbp - 0x7c], r8w
mov r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x6a], 0x73006f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x58], 0x410057
mov dword [rsp + 0x78], 0x790072
mov dword [rsp + 0x60], 0x4d005c
mov dword [rsp + 0x7c], 0x740070
mov dword [rsp + 0x64], 0x630069
mov dword [rbp - 0x80], 0x67006f
mov dword [rsp + 0x5c], 0x450052
mov dword [rsp + 0x50], 0x4f0053
mov dword [rsp + 0x54], 0x540046
mov dword [rbp - 0x74], 0x79
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x20], rax
call fcn.14002fa10
test eax, eax
jne 0x14007a015
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x1e8]
mov eax, 0x68
mov dword [rsp + 0x40], 0x6e0069
mov word [rsp + 0x3e], ax
lea rdx, [rsp + 0x38]
lea rax, [rbp + 0x1e0]
mov dword [rsp + 0x4c], 0x64
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x70]
mov dword [rsp + 0x44], 0x470065
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3a], 0x630061
mov dword [rsp + 0x48], 0x690075
mov word [rsp + 0x38], r12w
call fcn.14002fae0
test eax, eax
je 0x140079ff5
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call fcn.14002fa10
test eax, eax
jne 0x14007a015
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e8]
lea rax, [rbp - 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14002fae0
test eax, eax
jne 0x14007a015
mov rdx, rbx
lea r8, [rbp - 0x70]
mov r9, 0xffffffffffffffff
mov rcx, rdi
call fcn.1400d6620
mov rcx, qword [rsp + 0x30]
call fcn.14002fcd0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008af00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0x97f], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x14008afc9
cmp qword [rcx + 0x260], 0
je 0x14008af7e
mov qword [rsp + 0x40], rbx
call fcn.1400803d0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.140080750
mov rcx, qword [rdi + 0x1d0]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.140080750
mov rbx, qword [rsp + 0x40]
jmp 0x14008afc9
mov ecx, esi
test edx, edx
je 0x14008af8e
sub ecx, 1
je 0x14008af8e
cmp ecx, 1
jne 0x14008afc9
mov r9, qword [rdi + 0x1c8]
lea rax, [0x14011e278]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.1400d7128
mov r9, qword [rdi + 0x1c8]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.1400d7128
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x14008b1f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x14008b232
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x38
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x140144098]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, qword [rsp + 0x180]
mov rdi, r8
movsxd r8, edx
mov rsi, r9
mov rdx, qword [rcx + 0x18]
mov rbp, rcx
mov r14, qword [rdx + r8*8 + 0x160]
call fcn.14008b8d0
test eax, eax
je 0x14008b3b8
mov dword [rbx], 0x1b
mov rax, 0xffffffffffffffff
jmp 0x14008b425
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [rbx], 0
cmp rdi, 0xffffffffffffffff
jne 0x14008b422
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp eax, 0x2733
jne 0x14008b3f2
xor edi, edi
mov dword [rbx], 0x51
jmp 0x14008b422
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, esi
call fcn.14009f820
mov r8, rax
lea rdx, str.Send_failure:__s
mov rcx, rbp
call fcn.14008afe0
mov dword [rbp + 0xc1c], esi
mov dword [rbx], 0x37
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400a9630
add rsp, 0x130
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14008b8d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movsxd r9, r8d
lea rbx, [rdx + 0x1a8]
mov rax, r9
mov rbp, rcx
shl rax, 5
add rbx, rax
mov rax, qword [rdx + 0x2c8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x84], 3
je 0x14008b9bb
lea rax, [0x14008b280]
cmp qword [rdx + r9*8 + 0x188], rax
jne 0x14008b9bb
cmp qword [rbx], 0
je 0x14008b93b
test rdi, rdi
je 0x14008b9bb
mov rsi, qword [rdx + r9*8 + 0x160]
mov rdx, 0xffffffffffffffff
mov r8, rdx
xor r9d, r9d
mov rcx, rsi
call fcn.140097060
cmp eax, 0xffffffff
je 0x14008b9bb
test al, 1
je 0x14008b9bb
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14008b99a
mov eax, dword [rbp + 0x5f4]
lea ecx, [rax + rax]
mov qword [rbx + 8], rcx
call qword [fcn.1400baec0]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x14008b98c
lea eax, [rcx + 0x1b]
jmp 0x14008b9bd
mov rdi, qword [rbx + 8]
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rcx
mov r8d, edi
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14008b9bb
add qword [rbx + 0x10], rcx
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14008be20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140144098]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rax, rdx
mov rbx, r8
mov rsi, rcx
lea r8, [rsp + 0x20]
mov rcx, rax
lea rdx, [rsp + 0x30]
mov rdi, r9
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14008bec5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.14009f820
mov r8d, ebx
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x14008bf0b
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r9, rdi
mov r8, rbx
call fcn.14008b9e0
test al, al
jne 0x14008bf16
call fcn.1400b9d28
mov ebx, dword [rax]
call fcn.1400b9d28
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.14009f820
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.14008afe0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400a9630
add rsp, 0x1c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14008c670
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x140145360]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x14008c6d4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.1400a1590
test al, al
je 0x14008c6c8
mov dword [0x140145360], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x140145360], 1
jmp 0x14008c6d9
cmp eax, 2
je 0x14008c72b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14008c70a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x14008c72b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret