joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012760
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, ebx
call fcn.10011e40
mov eax, dword [edi + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10227880]
mov dword [esp + 0x14], 0
mov byte [esp + 0x18], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1022b680]
cmp eax, dword [ecx + 4]
jle 0x100127d6
push 0x1022b680
call fcn.1016716f
add esp, 4
cmp dword [0x1022b680], 0xffffffff
jne 0x100127d6
call fcn.10004d60
push 0x1022b680
call fcn.10167130
add esp, 4
push 1
push 0
push 0
push dword [ebp + 0x18]
mov dword [esp + 0x2c], 0x1022b6a0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
lea ecx, [esp + 0x14]
cmp esi, 0xffffffff
sete dl
call fcn.10011820
cmp esi, 0xffffffff
jne 0x1001280d
or esi, esi
jmp 0x1001282d
cmp dword [ebp + 0x10], 0x17
jne 0x1001282d
push 4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x1b
push 0x29
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, ebx
call fcn.10011e40
mov dword [ebx], esi
cmp esi, 0xffffffff
jne 0x10012855
push ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0x24]
call fcn.100115a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ebx, dword [ebp + 0x24]
lea eax, [esp + 0x10]
push ebx
push eax
mov eax, dword [ebp + 0x20]
push eax
push eax
push 0
push dword [ebp + 0x1c]
mov dword [esp + 0x28], 0
push esi
push dword [ebp + 8]
call dword [sym.imp.MSWSOCK.dll_AcceptEx]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x100128a1
cmp eax, 0x3e5
je 0x100128a1
mov ecx, dword [edi + 4]
push esi
push eax
push ebx
call fcn.100114e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [edi + 4]
push ebx
call fcn.10011470
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20

Function at 0x10015960
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
mov edx, dword [0x10227880]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax + edx*4]
mov eax, dword [0x1022b680]
cmp eax, dword [edx + 4]
jle 0x100159b8
push 0x1022b680
call fcn.1016716f
add esp, 4
cmp dword [0x1022b680], 0xffffffff
jne 0x100159b8
call fcn.10004d60
push 0x1022b680
call fcn.10167130
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x1022b6a0
pop esi
cmp eax, 0xffffffff
jne 0x100159e6
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.10010a20
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x10015a06
push 4
push dword [ebp + 8]
push 4
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.10011820
cmp byte [ebp - 8], 0
jne 0x10015a12
mov esp, ebp
pop ebp
ret 4
mov edx, str.set_option
lea ecx, [ebp - 0xc]
call fcn.10005a10
int3
Function at 0x10019440
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7729
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
test byte [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jne 0x100194a1
mov eax, dword [edi]
push dword [0x1022cabc]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x100194a1
cmp dword [eax], esi
je 0x100194e4
mov eax, dword [eax + 8]
test eax, eax
jne 0x10019496
push dword [0x1022cabc]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x10019565
mov eax, dword [eax + 4]
test eax, eax
je 0x10019565
mov edx, dword [eax]
test edx, edx
je 0x10019565
mov dword [eax], 0
mov al, byte [edx]
cmp al, 0xa
jb 0x1001955c
mov byte [edx + 0x28], al
jmp 0x10019575
cmp dword [eax + 4], 0
je 0x100194a1
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ecx], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1001a2e0
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x100195e7
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edx
call fcn.1003100b
add esp, 4
push 0x29
call fcn.10030fd4
mov edx, eax
add esp, 4
mov byte [edx + 0x28], 0xa
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x100195c3
mov ecx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x10019fa0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ecx]
mov dword [edx + 0x20], eax
mov dword [ecx], 0
jmp 0x100195c5
xor edx, edx
push ecx
mov ecx, dword [edi]
push edx
mov ecx, dword [ecx + 8]
call fcn.10011220
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.100199d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10019600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7755
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
test byte [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
jne 0x10019661
mov eax, dword [edi]
push dword [0x1022cabc]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x10019661
cmp dword [eax], esi
je 0x1001969e
mov eax, dword [eax + 8]
test eax, eax
jne 0x10019656
mov dword [ebp - 4], 0xffffffff
push dword [0x1022cabc]
call ebx
test eax, eax
je 0x1001970d
mov eax, dword [eax + 4]
test eax, eax
je 0x1001970d
mov ecx, dword [eax]
test ecx, ecx
je 0x1001970d
mov dword [eax], 0
mov al, byte [ecx]
cmp al, 0xb
jb 0x10019704
mov byte [ecx + 0x2c], al
jmp 0x1001971d
cmp dword [eax + 4], 0
je 0x10019661
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], fcn.1001a300
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.1001a300
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.1003100b
add esp, 4
push 0x2d
call fcn.10030fd4
mov ecx, eax
add esp, 4
mov byte [ecx + 0x2c], 0xb
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x1001976a
mov eax, dword [ebp + 8]
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0x10019ef0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], fcn.1001a300
mov dword [ecx + 0x24], eax
jmp 0x1001976c
xor ecx, ecx
push ecx
push ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 8]
call fcn.10011220
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100199d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6576
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x10019a1c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10019a15
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10019a58
push dword [0x1022cabc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10019a48
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10019a48
cmp dword [ecx], 0
jne 0x10019a48
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10019a51
push esi
call fcn.1003100b
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001a3f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [0x1022cabc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001a432
mov eax, dword [eax + 4]
test eax, eax
je 0x1001a432
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001a432
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 7
jb 0x1001a429
mov byte [ecx + 0x1c], al
jmp 0x1001a442
push ecx
call fcn.1003100b
add esp, 4
push 0x1d
call fcn.10030fd4
mov ecx, eax
add esp, 4
mov byte [ecx + 0x1c], 7
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1001a47d
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
movq xmm0, qword [ebp + 0x10]
movq qword [ecx + 0xc], xmm0
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, esi
mov dword [ecx], 0x1001aac0
mov dword [esi], ecx
mov dword [ebp - 0xc], 0
pop esi
mov esp, ebp
pop ebp
ret 0x18
xor ecx, ecx
mov eax, esi
mov dword [esi], ecx
mov dword [ebp - 0xc], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1001a490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a78e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 4], 0
push dword [0x1022cabc]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001a4fe
mov eax, dword [eax + 4]
test eax, eax
je 0x1001a4fe
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001a4fe
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xa
jb 0x1001a4f5
mov byte [ecx + 0x28], al
jmp 0x1001a50e
push ecx
call fcn.1003100b
add esp, 4
push 0x29
call fcn.10030fd4
mov ecx, eax
add esp, 4
mov byte [ecx + 0x28], 0xa
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x1001a56e
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
movq xmm0, qword [ebp + 0x1c]
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
movq qword [ecx + 0x18], xmm0
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x20], eax
mov dword [ecx], 0x1001abc0
jmp 0x1001a570
xor ecx, ecx
mov dword [esi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.1001a890
lea ecx, [ebp + 0xc]
call fcn.10013180
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x1001a5a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a791e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x20]
mov dword [ebp - 4], 0
push dword [0x1022cabc]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001a610
mov eax, dword [eax + 4]
test eax, eax
je 0x1001a610
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1001a610
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 8
jb 0x1001a607
mov byte [ecx + 0x20], al
jmp 0x1001a620
push ecx
call fcn.1003100b
add esp, 4
push 0x21
call fcn.10030fd4
mov ecx, eax
add esp, 4
mov byte [ecx + 0x20], 8
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x1001a666
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
movq xmm0, qword [ebp + 0x14]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
movq qword [ecx + 0x10], xmm0
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov dword [ecx], 0x1001ac90
jmp 0x1001a668
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.1001a7d0
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1001a6a8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001a6a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001a6a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x1001a7d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a70e6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1001a834
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1001a82d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1001a82d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1001a82d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1001a872
push dword [0x1022cabc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001a862
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001a862
cmp dword [ecx + 8], 0
jne 0x1001a862
mov al, byte [esi + 0x20]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x1001a86b
push esi
call fcn.1003100b
add esp, 4
mov dword [edi + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001a890
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1001a8aa
add ecx, 8
call fcn.10013180
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1001a8f0
push dword [0x1022cabc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1001a8e0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001a8e0
cmp dword [ecx + 8], 0
jne 0x1001a8e0
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.1003100b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x1001cce0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7cee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 2
push ebx
call fcn.10169110
add esp, 8
mov dword [ebp - 4], 0
lea edi, [ebx + 0x30]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
push 0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001ebb0
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.1001dc90
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001d610
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edi + 0x18]
imul ecx, ecx, 0x1000193
pop edi
pop esi
and eax, ecx
pop ebp
ret 4
Function at 0x1001ddf0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1021afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x10]
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [eax]
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 0
push edi
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x1001de50
mov edx, 0x2719
lea ecx, [ebp - 0x34]
call fcn.10010a20
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
jmp 0x1001de80
push esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0x1c
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov esi, eax
mov ecx, ebx
mov eax, dword [ebp - 0x24]
test esi, esi
mov dword [ebp - 0x28], eax
setne dl
call fcn.10011820
test esi, esi
pop esi
je 0x1001deb3
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
mov dword [edi], 2
mov dword [edi + 4], 0
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016700d
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x28], 0x80
jbe 0x1001dede
mov edx, 0x2726
lea ecx, [ebp - 0x40]
call fcn.10010a20
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x34], xmm0
cmp byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
jne 0x1001df09
movups xmm0, xmmword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movups xmmword [edi], xmm0
xor ecx, ebp
movq xmm0, qword [ebp - 0x10]
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], eax
mov eax, edi
pop edi
pop ebx
call fcn.1016700d
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x34]
call fcn.1000e310
int3

Function at 0x1001ec60
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x1001ecbb
mov ecx, esi
jmp 0x1001ecc0
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1001ece5
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1001eccf
mov eax, dword [eax]
jmp 0x1001ecb3
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x1001ef80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7fe6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul ecx, edx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edx, [ecx*8]
mov dword [ebp + 0xc], edx
cmp eax, dword [ebx + 4]
jne 0x1001f00b
mov esi, dword [ebx + 4]
jmp 0x1001f011
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x1001f023
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x1001f06d
cmp esi, eax
jne 0x1001f017
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x1001f053
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x1001f0d9
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x1001f0fb
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov byte [ebp - 4], 1
mov edi, dword [edi + 0x10]
test edi, edi
je 0x1001f0b1
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1001f0b1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x1001f0b1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push dword [ebp + 0xc]
call fcn.1003100b
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1001f0e1
mov dword [ecx], edi
jmp 0x1001f0fb
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1001f0fb
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 3
call fcn.1001f310
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001f3b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a70e6
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021afe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x1001f440
cmp dword [ecx], edi
jne 0x1001f438
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001f448
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001f448
cmp dword [ecx], edi
jne 0x1001f44b
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x1001f48c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1001f48c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1001f48c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push edi
call fcn.1003100b
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8