joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cf60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x14000cf83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x40]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x14000cf70
mov byte [rcx + 0xd], 0
mov rax, rcx
ret

Function at 0x14000cf90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 6], 0
je 0x14000cfb3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x40]
xor byte [rax + rcx], dl
inc rax
cmp rax, 5
jb 0x14000cfa0
mov byte [rcx + 6], 0
mov rax, rcx
ret

Function at 0x14000d0b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1410
call fcn.1401845e0
sub rsp, rax
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x1400], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
movups xmm0, xmmword [0x1401ca508]
movups xmmword [rsp + 0x13c0], xmm0
movups xmm1, xmmword [0x1401ca518]
movups xmmword [rsp + 0x13d0], xmm1
movups xmm0, xmmword [0x1401ca528]
movups xmmword [rsp + 0x13e0], xmm0
movsd xmm1, qword [0x1401ca538]
movsd qword [rsp + 0x13f0], xmm1
mov eax, dword [0x1401ca540]
mov dword [rsp + 0x13f8], eax
movzx eax, word [0x1401ca544]
mov word [rsp + 0x13fc], ax
movzx eax, byte [0x1401ca546]
mov byte [rsp + 0x13fe], al
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x18], rbx
mov qword [rcx + 0x20], rbx
lea ecx, [rbx + 0x10]
call fcn.14001bfb0
mov qword [rax + 8], rbx
mov qword [rdi], rax
mov qword [rax], rdi
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rdi + 8], bl
mov ebx, 1
mov dword [rsp + 0x20], ebx
call fcn.140035e60
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rsp + rbx*4 + 0x34], eax
inc rbx
cmp rbx, 0x270
jb 0x14000d1a0
mov dword [rsp + 0x30], 0x270
test esi, esi
jle 0x14000d22b
mov rbx, rsi
nop
lea rcx, [rsp + 0x30]
call fcn.1400276a0
mov ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
cmp eax, 0x4210842
jae 0x14000d1d0
mov eax, 0x8421085
mul ecx
mov r8d, ecx
sub r8d, edx
shr r8d, 1
add r8d, edx
shr r8d, 5
imul edx, r8d, 0x3e
sub ecx, edx
movsxd rdx, ecx
movzx edx, byte [rsp + rdx + 0x13c0]
mov rcx, rdi
call fcn.140017fc0
sub rbx, 1
jne 0x14000d1d0
mov rax, rdi
mov rcx, qword [rsp + 0x1400]
xor rcx, rsp
call fcn.14002d8e0
lea r11, [rsp + 0x1410]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14000e710
Capabilities:
Access peb ldr_data
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
mov ebx, reloc.WS2_32.dll_ntohs
mov edi, ebx
mov rax, qword gs:[0x58]
mov r15, qword [rax]
mov r12d, reloc.WS2_32.dll_sendto
mov eax, dword [r12 + r15]
mov ebp, 0x13c0
test al, 1
jne 0x14000e7bc
or eax, 1
mov dword [r12 + r15], eax
mov esi, ebp
add rsi, r15
call fcn.140035e60
mov ecx, eax
mov dword [rsi + 0x1384], 0xffffffff
mov dword [rsi + 4], eax
lea edx, [rbx - 0xe]
lea r8, [rsi + 8]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [r8], ecx
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x14000e790
mov dword [rsi], 0x270
mov eax, dword [r12 + r15]
mov esi, 0x2748
xor r13d, r13d
test al, 2
jne 0x14000e7dc
or eax, 2
mov dword [r12 + r15], eax
mov qword [r15 + rsi], r13
mov qword [r15 + rsi + 8], Ordinal_26
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
mov qword [rax + 8], r13
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rbx
mov byte [rsp + 0x40], 0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140014dd0
add rsi, r15
add rbp, r15
lea r15, str.QWERTYUIOPASDFGHJKLZXCVBNM
mov rdx, rbp
mov rcx, rsi
call fcn.14001b060
movzx edx, byte [rax + r15]
lea rcx, [rsp + 0x38]
call fcn.140017fc0
sub rdi, 1
jne 0x14000e833
mov rsi, qword [rsp + 0x50]
movabs rax, 0x7fffffffffffffff
sub rax, rsi
cmp rax, 4
jb 0x14000e964
lea r12, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r12, qword [rsp + 0x40]
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x18], r13
mov qword [r14 + 0x20], r13
lea rbp, [rsi + 4]
lea rdi, [r14 + 8]
lea rax, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
mov qword [rsp + 0x28], rax
mov qword [rax], r14
mov qword [rax + 8], r13
mov qword [r14], rax
cmp rbp, 0xf
jbe 0x14000e8f7
mov rbx, rbp
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
jbe 0x14000e8db
mov rbx, rax
jmp 0x14000e8e7
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.14001bfb0
mov rdi, rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.140114680
mov dword [rdi + rsi], 0x6578652e
mov byte [rdi + rbp], 0
lea rcx, [rsp + 0x38]
call fcn.140017f30
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r13
mov edx, reloc.WS2_32.dll_recv
call fcn.14001c090
mov rax, r14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002d8e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140002520
nop
int3
Function at 0x14000e970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
lea ebx, [rbp + 0xf]
mov rax, qword gs:[0x58]
mov r15, qword [rax]
mov r14d, Ordinal_26
mov eax, dword [r14 + r15]
mov r12d, reloc.WLDAP32.dll_Ordinal_32
test al, 1
jne 0x14000ea0c
or eax, 1
mov dword [r14 + r15], eax
mov esi, r12d
add rsi, r15
call fcn.140035e60
mov dword [rsi + 0x1384], 0xffffffff
mov dword [rsi + 4], eax
lea edx, [rbp + 1]
lea r8, [rsi + 8]
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [r8], eax
inc rdx
lea r8, [r8 + 4]
cmp rdx, 0x270
jb 0x14000e9e0
mov dword [rsi], 0x270
mov eax, dword [r14 + r15]
test al, 2
jne 0x14000ea2e
or eax, 2
mov dword [r14 + r15], eax
mov eax, 0x13a8
mov r14d, eax
mov qword [rax + r15], rbp
mov qword [rax + r15 + 8], Ordinal_26
jmp 0x14000ea34
mov r14d, 0x13a8
mov qword [rdi], rbp
mov qword [rdi + 8], rbp
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
mov ecx, reloc.WS2_32.dll_recv
call fcn.14001bfb0
mov qword [rax + 8], rbp
mov qword [rdi], rax
mov qword [rax], rdi
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbx
mov byte [rdi + 8], 0
mov dword [rsp + 0x20], 1
mov rdx, rbx
mov rcx, rdi
call fcn.140014dd0
mov esi, r12d
add rsi, r15
lea rbp, [r15 + r14]
lea r14, str.QWERTYUIOPASDFGHJKLZXCVBNM
nop word [rax + rax]
mov rdx, rsi
mov rcx, rbp
call fcn.14001b060
movzx edx, byte [rax + r14]
mov rcx, rdi
call fcn.140017fc0
sub rbx, 1
jne 0x14000ea90
mov rax, rdi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x14000ed20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x6c], 0
je 0x14000ed43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x40]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x6b
jb 0x14000ed30
mov byte [rcx + 0x6c], 0
mov rax, rcx
ret
Function at 0x140012bb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x5c], 0
je 0x140012bd3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x40]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x5b
jb 0x140012bc0
mov byte [rcx + 0x5c], 0
mov rax, rcx
ret

Function at 0x1400276a0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140027701
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x1400276c0
mov ecx, dword [r10]
jmp 0x1400277ea
cmp ecx, 0x4e0
jb 0x1400277ea
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140027720
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140027770
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140076270
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
mov dword [rsp + 0x54], 4
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
mov r8d, 0x1008
mov edx, 0xffff
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400762e4
cmp dword [rsp + 0x34], 1
jne 0x1400762e4
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.140184540
add rsp, 0x70
pop rdi
ret

Function at 0x14007c4c0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x1505
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jae 0x14007c54b
mov rax, qword [rsp + 0x28]
shl rax, 5
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x50]
inc rax
mov qword [rsp + 0x50], rax
movzx ecx, byte [rsp + 0x30]
call fcn.14009bad0
movsx rax, al
mov rcx, qword [rsp + 0x28]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
jmp 0x14007c4ed
xor edx, edx
mov rax, qword [rsp + 0x28]
mov ecx, 0x100
div rcx
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140094580
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
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0xaa8]
test eax, eax
je 0x14009468a
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x260], 0
je 0x140094615
mov rcx, qword [rsp + 0x50]
call fcn.140074230
mov byte [rsp + 0x30], al
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400741c0
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 + 0x260]
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.1400741c0
jmp 0x14009468a
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140094634
cmp dword [rsp + 0x34], 1
je 0x140094634
cmp dword [rsp + 0x34], 2
je 0x140094634
jmp 0x14009468a
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x140193720]
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.14012bb50
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.14012bb50
add rsp, 0x40
pop rdi
ret

Function at 0x1400980e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x40]
call fcn.140097f40
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.14015b520
cdqe
add rsp, 0x20
pop rdi
ret
Function at 0x140098650
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x30]
mov ecx, 0x7c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x230]
mov rax, qword [0x1401e1010]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rsp + 0x230]
and eax, 2
test eax, eax
je 0x140098727
mov eax, 0x202
mov word [rsp + 0x30], ax
lea rdx, [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x1f4], eax
cmp dword [rsp + 0x1f4], 0
je 0x1400986cd
mov eax, 2
jmp 0x1400987df
movzx eax, word [rsp + 0x50]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x140098717
movzx eax, word [rsp + 0x50]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x30]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x140098727
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1400987df
call fcn.1400fae80
mov dword [rsp + 0x1f8], eax
cmp dword [rsp + 0x1f8], 0
je 0x140098749
mov eax, dword [rsp + 0x1f8]
jmp 0x1400987df
lea rcx, [0x1401e29e8]
call fcn.140098880
mov qword [0x1404daf48], rax
cmp qword [0x1404daf48], 0
je 0x14009879c
lea rdx, [0x1401e29f8]
mov rcx, qword [0x1404daf48]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x200], rax
cmp qword [rsp + 0x200], 0
je 0x14009879c
mov rax, qword [rsp + 0x200]
mov qword [0x1404daf40], rax
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov ecx, 6
call fcn.1400fa9d0
movzx eax, al
test eax, eax
je 0x1400987c9
mov byte [0x1404e0a34], 1
jmp 0x1400987d0
mov byte [0x1404e0a34], 0
lea rcx, [0x1404e0a38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140184540
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.14002d8e0
add rsp, 0x220
pop rdi
ret
Function at 0x140098880
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
lea rcx, [0x1401e2a08]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400988bd
xor eax, eax
jmp 0x140098a59
lea rdx, [0x1401e2a18]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
lea rdx, [0x1401e2a14]
mov rcx, qword [rsp + 0x70]
call fcn.140154b10
test rax, rax
je 0x140098929
cmp qword [rsp + 0x28], 0
je 0x14009890a
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x50], rax
jmp 0x14009891a
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
jmp 0x140098a54
cmp qword [rsp + 0x28], 0
je 0x140098963
lea rdx, [0x1401e2a28]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140098963
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x20], rax
jmp 0x140098a54
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x140098a54
mov rcx, qword [rsp + 0x70]
call fcn.14014b100
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
add rax, qword [rsp + 0x40]
mov rcx, rax
call qword [fcn.140135e40]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140098a49
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x140098a49
mov rcx, qword [rsp + 0x48]
call fcn.14014b100
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
lea rdx, [0x1401e2a38]
mov rcx, rax
call fcn.140154830
mov rcx, qword [rsp + 0x48]
call fcn.14014b100
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.140154830
cmp qword [rsp + 0x28], 0
je 0x140098a2f
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_41]
mov qword [rsp + 0x58], rax
jmp 0x140098a3f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x48]
call qword [fcn.14012bfc0]
mov rax, qword [rsp + 0x20]
add rsp, 0x60
pop rdi
ret
Function at 0x1400a0750
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x50]
mov ecx, reloc.WS2_32.dll_sendto
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4004747b
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1400a07f1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x64]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_bind
call fcn.140184540
add rsp, 0xa0
pop rdi
ret
Function at 0x1400a6d80
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rax, qword [rsp + 0x50]
add rax, 0xe8
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x60]
mov dword [rax + 0x1350], ecx
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
mov rcx, qword [rsp + 0x50]
mov dword [rcx + 0x1358], eax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
test eax, eax
je 0x1400a6df5
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x1161]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
cmp eax, ecx
jle 0x1400a6e0c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
movzx ecx, byte [rcx + 0x70f]
mov byte [rax + 0x1161], cl
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x1170], 0
je 0x1400a6e45
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x11e8]
test eax, eax
jne 0x1400a6e45
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x1a0
jne 0x1400a6e45
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xdd], 1
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xa
jne 0x1400a6e78
lea rdx, [0x1401e4638]
mov rcx, qword [rsp + 0x50]
call fcn.1400942b0
mov edx, 1
mov rcx, qword [rsp + 0x58]
call fcn.1400956c0
jmp 0x1400a6ee0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0x14
je 0x1400a6e9f
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x7c], 2
jne 0x1400a6eb9
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x65
jne 0x1400a6eb9
xor eax, eax
test eax, eax
jne 0x1400a6e9f
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x6d0]
mov dword [rax], 2
jmp 0x1400a6ee0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x70f]
cmp eax, 0xb
jl 0x1400a6ee0
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax + 0x2ce]
test eax, eax
jne 0x1400a6ee0
xor eax, eax
test eax, eax
jne 0x1400a6eda
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0x64
jl 0x1400a6f03
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x60], 0xc8
jge 0x1400a6f03
mov dword [rsp + 0x28], 1
jmp 0x1400a6f0b
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x28], 0
jne 0x1400a6f1c
mov dword [rsp + 0x2c], 0
jmp 0x1400a6f24
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0xde], cl
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xcc
je 0x1400a6f72
cmp dword [rsp + 0x30], 0x130
je 0x1400a6f56
jmp 0x1400a6f97
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax + 0x528]
test eax, eax
je 0x1400a6f72
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x1434], 1
mov rax, qword [rsp + 0x20]
mov qword [rax], 0
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov byte [rax + 0xde], 1
xor eax, eax
add rsp, 0x40
pop rdi
ret
Function at 0x1400b2ee0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x30]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x80]
cmp qword [rsp + 0x88], 0
je 0x1400b2f2a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
jne 0x1400b2f6c
cmp qword [rsp + 0x90], 0
je 0x1400b2f42
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
jne 0x1400b2f6c
cmp qword [rsp + 0x98], 0
je 0x1400b2f5a
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x1400b2f6c
mov rcx, qword [rsp + 0xa0]
call fcn.1400b2e60
jmp 0x1400b303d
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call fcn.1401050a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x98], 0
je 0x1400b2faa
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
je 0x1400b2faa
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x50], rax
jmp 0x1400b2fb3
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x90], 0
je 0x1400b2fda
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x1400b2fda
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
jmp 0x1400b2fe3
mov qword [rsp + 0x58], 0
cmp qword [rsp + 0x88], 0
je 0x1400b300a
mov rax, qword [rsp + 0x88]
cmp dword [rax], 0
je 0x1400b300a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rax
jmp 0x1400b3013
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x80]
inc eax
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.140184540
mov rax, rdi
add rsp, 0x70
pop rdi
ret