joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100213e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push dword [0x1022daec]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10021422
mov eax, dword [eax + 4]
test eax, eax
je 0x10021422
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10021422
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xd
jb 0x10021419
mov byte [ecx + 0x34], al
jmp 0x10021432
push ecx
call fcn.100317aa
add esp, 4
push 0x35
call fcn.1003176a
mov ecx, eax
add esp, 4
mov byte [ecx + 0x34], 0xd
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1002148f
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
movq xmm0, qword [ebp + 0xc]
movq qword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
movq xmm0, qword [ebp + 0x24]
movq qword [ecx + 0x20], xmm0
mov eax, dword [ebp + 0x2c]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, esi
mov dword [ecx], 0x10021500
mov dword [esi], ecx
mov dword [ebp - 0xc], 0
pop esi
mov esp, ebp
pop ebp
ret 0x30
xor ecx, ecx
mov eax, esi
mov dword [esi], ecx
mov dword [ebp - 0xc], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x30

Function at 0x10023480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a8dfe
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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.101698cd
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.10025260
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.100243c0
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 0x10023d40
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 0x10024520
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1021bfec]
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 0x10024580
mov edx, 0x2719
lea ecx, [ebp - 0x34]
call fcn.10010b30
movq xmm0, qword [eax]
movq qword [ebx], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
jmp 0x100245b0
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.10011930
test esi, esi
pop esi
je 0x100245e3
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.101677cc
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x28], 0x80
jbe 0x1002460e
mov edx, 0x2726
lea ecx, [ebp - 0x40]
call fcn.10010b30
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 0x10024639
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.101677cc
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x34]
call fcn.1000e590
int3

Function at 0x100252d0
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 0x1002532b
mov ecx, esi
jmp 0x10025330
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10025355
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x1002533f
mov eax, dword [eax]
jmp 0x10025323
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 0x100255f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a90c6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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 0x1002567b
mov esi, dword [ebx + 4]
jmp 0x10025681
mov esi, dword [esi + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10025693
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x100256dd
cmp esi, eax
jne 0x10025687
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100256c3
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 0x10025749
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x1002576b
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 0x10025721
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x10025721
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x10025721
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push dword [ebp + 0xc]
call fcn.100317aa
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 0x10025751
mov dword [ecx], edi
jmp 0x1002576b
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1002576b
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.10025980
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 0x10025a20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7886
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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 0x10025ab0
cmp dword [ecx], edi
jne 0x10025aa8
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 0x10025ab8
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x10025ab8
cmp dword [ecx], edi
jne 0x10025abb
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 0x10025afc
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10025afc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10025afc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push edi
call fcn.100317aa
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
Function at 0x10025cb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9103
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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 0x10025d11
mov eax, dword [edi]
push dword [0x1022daec]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x10025d11
cmp dword [eax], esi
je 0x10025d55
mov eax, dword [eax + 8]
test eax, eax
jne 0x10025d06
push dword [0x1022daec]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x10025e1c
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10025e1c
mov eax, dword [ecx]
test eax, eax
je 0x10025e1c
mov dword [ecx], 0
mov cl, byte [eax]
cmp cl, 0xc
jb 0x10025e13
mov byte [eax + 0x30], cl
jmp 0x10025e2a
cmp dword [eax + 4], 0
je 0x10025d11
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.100198b0
add esp, 8
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10025e62
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10025e62
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10025e62
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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 eax
call fcn.100317aa
add esp, 4
push 0x31
call fcn.1003176a
add esp, 4
mov byte [eax + 0x30], 0xc
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10025e3e
push ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.10026020
jmp 0x10025e40
xor eax, eax
push ecx
mov ecx, dword [edi]
push eax
mov ecx, dword [ecx + 8]
call fcn.10011330
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.10025f60
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 0x10025f60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7886
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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 0x10025fc4
mov dword [ebp - 4], 0
mov esi, dword [esi + 0x28]
test esi, esi
je 0x10025fbd
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10025fbd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10025fbd
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 0x10026000
push dword [0x1022daec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025ff0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10025ff0
cmp dword [ecx], 0
jne 0x10025ff0
mov al, byte [esi + 0x30]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10025ff9
push esi
call fcn.100317aa
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 0x10029440
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
mov edx, dword [0x10228880]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax + edx*4]
mov eax, dword [0x1022c6ac]
cmp eax, dword [edx + 4]
jle 0x10029498
push 0x1022c6ac
call fcn.1016792e
add esp, 4
cmp dword [0x1022c6ac], 0xffffffff
jne 0x10029498
call fcn.10005060
push 0x1022c6ac
call fcn.101678ef
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x1022c6d0
pop esi
cmp eax, 0xffffffff
jne 0x100294c6
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.10010b30
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x100294e3
push 4
push dword [ebp + 8]
push 1
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.10011930
cmp byte [ebp - 8], 0
jne 0x100294ef
mov esp, ebp
pop ebp
ret 4
mov edx, str.set_option
lea ecx, [ebp - 0xc]
call fcn.10005d10
int3
Function at 0x10029500
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
mov edx, dword [0x10228880]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax + edx*4]
mov eax, dword [0x1022c6ac]
cmp eax, dword [edx + 4]
jle 0x10029558
push 0x1022c6ac
call fcn.1016792e
add esp, 4
cmp dword [0x1022c6ac], 0xffffffff
jne 0x10029558
call fcn.10005060
push 0x1022c6ac
call fcn.101678ef
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x1022c6d0
pop esi
cmp eax, 0xffffffff
jne 0x10029586
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.10010b30
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x100295a9
push 4
push dword [ebp + 8]
push 0x1001
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.10011930
cmp byte [ebp - 8], 0
jne 0x100295b5
mov esp, ebp
pop ebp
ret 4
mov edx, str.set_option
lea ecx, [ebp - 0xc]
call fcn.10005d10
int3

Function at 0x100295d0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword fs:[0x2c]
mov edx, dword [0x10228880]
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
mov edx, dword [eax + edx*4]
mov eax, dword [0x1022c6ac]
cmp eax, dword [edx + 4]
jle 0x10029628
push 0x1022c6ac
call fcn.1016792e
add esp, 4
cmp dword [0x1022c6ac], 0xffffffff
jne 0x10029628
call fcn.10005060
push 0x1022c6ac
call fcn.101678ef
add esp, 4
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0x1022c6d0
pop esi
cmp eax, 0xffffffff
jne 0x10029656
mov edx, 0x2719
lea ecx, [ebp - 0x18]
call fcn.10010b30
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 4], eax
jmp 0x10029679
push 4
push dword [ebp + 8]
push 0x1002
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0xc]
setne dl
call fcn.10011930
cmp byte [ebp - 8], 0
jne 0x10029685
mov esp, ebp
pop ebp
ret 4
mov edx, str.set_option
lea ecx, [ebp - 0xc]
call fcn.10005d10
int3
Function at 0x1002bb70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a80be
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x24]
mov dword [ebp - 4], 0
push dword [0x1022daec]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002bbe0
mov eax, dword [eax + 4]
test eax, eax
je 0x1002bbe0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1002bbe0
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 9
jb 0x1002bbd7
mov byte [ecx + 0x24], al
jmp 0x1002bbf0
push ecx
call fcn.100317aa
add esp, 4
push 0x25
call fcn.1003176a
mov ecx, eax
add esp, 4
mov byte [ecx + 0x24], 9
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x1002bc3c
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 eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
mov dword [ecx], 0x1002ca70
jmp 0x1002bc3e
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.1002c030
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1002bc7e
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002bc7e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002bc7e
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 0x20

Function at 0x1002c030
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7886
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
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 0x1002c094
mov dword [ebp - 4], 0
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1002c08d
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002c08d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002c08d
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 0x1002c0d2
push dword [0x1022daec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002c0c2
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002c0c2
cmp dword [ecx + 8], 0
jne 0x1002c0c2
mov al, byte [esi + 0x24]
mov byte [esi], al
mov dword [ecx + 8], esi
jmp 0x1002c0cb
push esi
call fcn.100317aa
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 0x1002c9a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9b48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x1021bfec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 0
push dword [0x1022daec]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002ca0f
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002ca0f
mov eax, dword [ecx + 8]
test eax, eax
je 0x1002ca0f
mov dword [ecx + 8], 0
mov cl, byte [eax]
cmp cl, 0xe
jb 0x1002ca06
mov byte [eax + 0x38], cl
jmp 0x1002ca1d
push eax
call fcn.100317aa
add esp, 4
push 0x39
call fcn.1003176a
add esp, 4
mov byte [eax + 0x38], 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x1002ca39
push ecx
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.1002cc00
jmp 0x1002ca3b
xor eax, eax
lea ecx, [ebp - 0x18]
mov dword [esi], eax
mov dword [ebp - 0x14], 0
call fcn.1002cb60
lea ecx, [ebp + 8]
call fcn.1002a6e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34

Function at 0x1002cb60
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1002cb7a
add ecx, 4
call fcn.1002a6e0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1002cbc0
push dword [0x1022daec]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002cbb0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1002cbb0
cmp dword [ecx + 8], 0
jne 0x1002cbb0
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx + 8], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
push esi
call fcn.100317aa
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x1002cf80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a9bee
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1021bfec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x38]
mov dword [ebp - 4], 0
push dword [0x1022daec]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002cff0
mov eax, dword [eax + 4]
test eax, eax
je 0x1002cff0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1002cff0
mov dword [eax + 8], 0
mov al, byte [ecx]
cmp al, 0xe
jb 0x1002cfe7
mov byte [ecx + 0x38], al
jmp 0x1002d000
push ecx
call fcn.100317aa
add esp, 4
push 0x39
call fcn.1003176a
mov ecx, eax
add esp, 4
mov byte [ecx + 0x38], 0xe
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
test ecx, ecx
je 0x1002d068
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
movq xmm0, qword [ebp + 0xc]
movq qword [ecx + 8], xmm0
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x20], eax
movq xmm0, qword [ebp + 0x28]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0
movq qword [ecx + 0x24], xmm0
mov eax, dword [ebp + 0x30]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ecx + 0x30], eax
mov dword [ecx], 0x1002d2d0
jmp 0x1002d06a
xor ecx, ecx
mov dword [edi], ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
call fcn.1002d210
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x1002d0aa
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1002d0aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x1002d0aa
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 0x34