joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f780
Capabilities:
Hash data using fnv

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
cmp edx, ebp
je 0x1001f8ef
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [esp + 0x20], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [esp + 0x14], ecx
lea eax, [edi + eax*8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.100beee5
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x1001f847
cmp esi, ebp
jne 0x1001f800
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jne 0x1001f8e4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x1001f85d
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x1001f861
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x1001f8e4
nop dword [eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [esp + 0x20]
lea eax, [ecx + eax*8]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0xc
push eax
call fcn.100beee5
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x1001f8f9
cmp esi, ebp
jne 0x1001f8c0
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, ebp
jne 0x1001f870
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x1001fa20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x134
mov eax, dword [0x1015f6c0]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x150]
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x24]
mov esi, ecx
push eax
call fcn.100289b0
mov eax, dword [esi]
add esp, 8
mov ecx, dword [esp + 0x30]
mov ebx, dword [eax + 0x80]
test ecx, ecx
je 0x1001fa75
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
jmp 0x1001fa77
xor eax, eax
mov dword [esp + 0x18], eax
mov al, byte [ebx + 8]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xf], al
cmp ebx, 0xffffffff
jne 0x1001faa7
call fcn.100250a0
mov dword [edi], 0x2719
xor esi, esi
mov dword [edi + 4], eax
jmp 0x1001fb6e
test ecx, ecx
jne 0x1001fab8
test al, 0x10
je 0x1001fab8
mov dword [edi], ecx
xor esi, esi
jmp 0x1001fb6e
push edi
push 0
push 1
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10027200
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x1001fb6e
test byte [esp + 0xf], 1
push ebp
jne 0x1001fb6b
mov ebp, dword [sym.imp.WS2_32.dll_select]
call fcn.100250a0
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x1001faff
cmp dword [edi], 0x2733
je 0x1001fb17
call fcn.100250a0
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x1001fb6b
cmp dword [edi], 0x4d5
jne 0x1001fb6b
push 0
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x48], ebx
push eax
push 0
lea eax, [ebx + 1]
mov dword [esp + 0x4c], 1
push eax
call ebp
test eax, eax
js 0x1001fb59
push edi
push 0
push 1
lea eax, [esp + 0x24]
mov dword [edi], 0
push eax
push ebx
call fcn.10027200
mov esi, eax
add esp, 0x14
test esi, esi
js 0x1001fae7
jmp 0x1001fb6d
call fcn.100250a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [edi], eax
mov dword [edi + 4], esi
xor esi, esi
pop ebp
mov ecx, dword [esp + 0x34]
cmp ecx, 0xf
jbe 0x1001fba0
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001fb96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001fbbc
push ecx
push edx
call fcn.100beee5
add esp, 8
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100bf2d0
add esp, 0x134
ret 0x10
call fcn.100c45bf
int3
Function at 0x100206d0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x24
push esi
push dword [0x10164654]
mov esi, ecx
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10020827
cmp dword [eax], esi
je 0x10020703
mov eax, dword [eax + 8]
test eax, eax
jne 0x100206f3
pop esi
add esp, 0x24
ret
mov esi, dword [eax + 4]
test esi, esi
je 0x10020827
mov eax, dword [esi + 0x28]
sub eax, 0
je 0x100207e1
sub eax, 1
jne 0x10020827
mov dword [esi + 0x28], 2
add esi, 0x2c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push esi
push eax
call fcn.100bcb4b
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], vtable.asio::multiple_exceptions.0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
push eax
movq qword [esp + 0x28], xmm0
call fcn.100bcb4b
lea eax, [esp + 0x1c]
push eax
call fcn.100bcc73
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x20], 0
call fcn.100bcb88
push 0x101548d8
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100bcb62
lea eax, [esp + 0x44]
push eax
call fcn.100bcc73
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], vtable.std::exception.0
push eax
call fcn.100c0987
lea eax, [esp + 0x30]
push eax
push esi
call fcn.100bcb3b
lea eax, [esp + 0x38]
push eax
call fcn.100bcc73
add esp, 0x38
pop esi
add esp, 0x24
ret
lea eax, [esp + 4]
mov dword [esi + 0x28], 1
push eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.100bcb88
lea eax, [esp + 8]
push eax
call fcn.100bcb97
lea eax, [esp + 0xc]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.100bcb3b
lea eax, [esp + 0x14]
push eax
call fcn.100bcc73
add esp, 0x14
pop esi
add esp, 0x24
ret
Function at 0x10024a20
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
push esi
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
push edi
mov edi, dword [ebp + 4]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp + 0x18]
and ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + ecx*8 + 4]
lea edx, [eax + ecx*8]
mov eax, esi
cmp eax, edi
jne 0x10024a78
xor eax, eax
jmp 0x10024a94
mov ecx, dword [ebx]
mov esi, dword [edx]
cmp ecx, dword [eax + 8]
je 0x10024a91
cmp eax, esi
je 0x10024a8f
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x10024a81
jmp 0x10024a91
xor eax, eax
mov esi, dword [edx + 4]
test eax, eax
je 0x10024ae0
mov ecx, dword [edx]
cmp esi, eax
jne 0x10024ab1
cmp ecx, eax
jne 0x10024aa9
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10024ab9
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
jmp 0x10024ab9
cmp ecx, eax
jne 0x10024ab9
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
dec dword [ebp + 8]
mov ecx, dword [eax + 4]
push 0xc
push eax
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.100beee5
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4

Function at 0x10025320
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x10164658
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
test eax, eax
push 0
setne al
push ecx
test al, al
je 0x10025373
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push fcn.1001eb80
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
add esp, 8
ret
Function at 0x10025c50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x10025c8c
mov esi, dword [esi + 0x28]
test esi, esi
je 0x10025c85
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10025c84
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10025c84
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025ccf
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025cbf
mov edx, dword [eax + 4]
test edx, edx
je 0x10025cbf
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025cd2
inc eax
cmp eax, 2
jl 0x10025cb0
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x30]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10025cf0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x10025d2c
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x10025d25
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10025d24
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10025d24
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop ebx
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025d6f
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025d5f
mov edx, dword [eax + 4]
test edx, edx
je 0x10025d5f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025d72
inc eax
cmp eax, 2
jl 0x10025d50
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x34]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10025d90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10025daa
add ecx, 0x20
call fcn.10015970
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025def
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025ddf
mov edx, dword [eax + 4]
test edx, edx
je 0x10025ddf
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025df2
inc eax
cmp eax, 2
jl 0x10025dd0
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x38]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10025e10
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x10025e21
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025e60
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025e50
mov edx, dword [eax + 4]
test edx, edx
je 0x10025e50
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025e63
inc eax
cmp eax, 2
jl 0x10025e41
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10026920
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x1002696c
mov eax, dword [eax + 0x20]
mov dword [ebp - 4], 0
test eax, eax
je 0x10026965
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 0x100269af
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002699f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002699f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100269c0
inc eax
cmp eax, 2
jl 0x10026990
push esi
call fcn.100c462b
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
mov al, byte [esi + 0x28]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x100269a8

Function at 0x100269d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100269ea
add ecx, 4
call fcn.10015700
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026a2f
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026a1f
mov edx, dword [eax + 4]
test edx, edx
je 0x10026a1f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026a32
inc eax
cmp eax, 6
jl 0x10026a10
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x4c]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10026a50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10026a6a
add ecx, 4
call fcn.10015770
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026aaf
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026a9f
mov edx, dword [eax + 4]
test edx, edx
je 0x10026a9f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026ab2
inc eax
cmp eax, 6
jl 0x10026a90
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x60]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10026ad0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10026aea
add ecx, 4
call fcn.10015ea0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026b2f
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026b1f
mov edx, dword [eax + 4]
test edx, edx
je 0x10026b1f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026b32
inc eax
cmp eax, 6
jl 0x10026b10
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x4c]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10026b50
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10026b6a
add ecx, 4
call fcn.10015f60
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026baf
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026b9f
mov edx, dword [eax + 4]
test edx, edx
je 0x10026b9f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026bb2
inc eax
cmp eax, 6
jl 0x10026b90
push esi
call fcn.100c462b
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x60]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10026bd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10026c27
lea ecx, [esi + 0x68]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10026c18
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10015700
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026c66
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026c56
mov edx, dword [eax + 4]
test edx, edx
je 0x10026c56
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026c77
inc eax
cmp eax, 2
jl 0x10026c47
push esi
call fcn.100c462b
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
mov al, byte [esi + 0x84]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10026c5f

Function at 0x10026c90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10026ce7
lea ecx, [esi + 0x7c]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10026cd8
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10015770
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026d26
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026d16
mov edx, dword [eax + 4]
test edx, edx
je 0x10026d16
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026d37
inc eax
cmp eax, 2
jl 0x10026d07
push esi
call fcn.100c462b
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
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10026d1f
Function at 0x10026d50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10026da7
lea ecx, [esi + 0x68]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10026d98
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10015ea0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026de6
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026dd6
mov edx, dword [eax + 4]
test edx, edx
je 0x10026dd6
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026df7
inc eax
cmp eax, 2
jl 0x10026dc7
push esi
call fcn.100c462b
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
mov al, byte [esi + 0x84]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10026ddf

Function at 0x10026e10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1015f6c0]
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 0x10026e67
lea ecx, [esi + 0x7c]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10026e58
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10015f60
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10026ea6
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10026e96
mov edx, dword [eax + 4]
test edx, edx
je 0x10026e96
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10026eb7
inc eax
cmp eax, 2
jl 0x10026e87
push esi
call fcn.100c462b
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
mov al, byte [esi + 0x98]
mov byte [esi], al
mov dword [ecx], esi
jmp 0x10026e9f
Function at 0x10026ff0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ede75
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1015f6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edx, edx
lea eax, [esi + 0x18]
lock xadd dword [eax], edx
test edx, edx
jne 0x10027052
call fcn.10028670
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0x1015f018
xor eax, eax
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
lea ecx, [ebp - 0x4c]
call fcn.100150f0
push dword [0x10164654]
mov ecx, esi
mov dword [ebp - 4], 0
neg ecx
lea eax, [esi + 0x14]
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push ebx
push eax
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 4], 1
xor edi, edi
call fcn.10024390
test eax, eax
je 0x100270cd
nop
cmp edi, 0xffffffff
lea eax, [edi + 1]
push ebx
cmove eax, edi
mov ecx, esi
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push 0xffffffffffffffff
call fcn.10024390
test eax, eax
jne 0x100270b0
push dword [ebp - 0x10]
push dword [0x10164654]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
nop
mov eax, dword [ebp + esi*4 - 0x4c]
test eax, eax
je 0x100270f1
push eax
call fcn.100c462b
add esp, 4
inc esi
cmp esi, 0xa
jl 0x100270e0
lea eax, [ebp - 0x20]
push eax
call fcn.100bcc73
add esp, 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 4

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

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 0
push dword [esp + 0x28]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call fcn.100250a0
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x10027255
call fcn.100250a0
mov dword [edi], 0x2746
jmp 0x10027267
cmp eax, 0x4d2
jne 0x1002726a
call fcn.100250a0
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x10027276
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
mov dword [edi], 0
pop edi
pop esi
pop ebx
pop ecx
ret