joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e160
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 0x1001e2cf
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.10029419
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x1001e227
cmp esi, ebp
jne 0x1001e1e0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jne 0x1001e2c4
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 0x1001e23d
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x1001e241
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x1001e2c4
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.10029419
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x1001e2d9
cmp esi, ebp
jne 0x1001e2a0
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 0x1001e250
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 0x1001e400
Capabilities:
Get socket status

Disassembly:
sub esp, 0x134
mov eax, dword [0x10048140]
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.100272b0
mov eax, dword [esi]
add esp, 8
mov ecx, dword [esp + 0x30]
mov ebx, dword [eax + 0x80]
test ecx, ecx
je 0x1001e455
cmp dword [esp + 0x34], 0xf
lea eax, [esp + 0x20]
cmova eax, dword [esp + 0x20]
jmp 0x1001e457
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 0x1001e487
call fcn.10023a00
mov dword [edi], 0x2719
xor esi, esi
mov dword [edi + 4], eax
jmp 0x1001e54e
test ecx, ecx
jne 0x1001e498
test al, 0x10
je 0x1001e498
mov dword [edi], ecx
xor esi, esi
jmp 0x1001e54e
push edi
push 0
push 1
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.10025b00
mov esi, eax
add esp, 0x14
test esi, esi
jns 0x1001e54e
test byte [esp + 0xf], 1
push ebp
jne 0x1001e54b
mov ebp, dword [sym.imp.WS2_32.dll_select]
call fcn.10023a00
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x1001e4df
cmp dword [edi], 0x2733
je 0x1001e4f7
call fcn.10023a00
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x1001e54b
cmp dword [edi], 0x4d5
jne 0x1001e54b
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 0x1001e539
push edi
push 0
push 1
lea eax, [esp + 0x24]
mov dword [edi], 0
push eax
push ebx
call fcn.10025b00
mov esi, eax
add esp, 0x14
test esi, esi
js 0x1001e4c7
jmp 0x1001e54d
call fcn.10023a00
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 0x1001e580
mov edx, dword [esp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001e576
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e59c
push ecx
push edx
call fcn.10029419
add esp, 8
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10029804
add esp, 0x134
ret 0x10
call fcn.1002cc4f
int3
Function at 0x1001f0a0
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x24
push esi
push dword [0x10049c9c]
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 0x1001f1f7
cmp dword [eax], esi
je 0x1001f0d3
mov eax, dword [eax + 8]
test eax, eax
jne 0x1001f0c3
pop esi
add esp, 0x24
ret
mov esi, dword [eax + 4]
test esi, esi
je 0x1001f1f7
mov eax, dword [esi + 0x28]
sub eax, 0
je 0x1001f1b1
sub eax, 1
jne 0x1001f1f7
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.1002887d
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.1002887d
lea eax, [esp + 0x1c]
push eax
call fcn.100289a5
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
mov dword [esp + 0x20], 0
call fcn.100288ba
push 0x10046520
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10028894
lea eax, [esp + 0x44]
push eax
call fcn.100289a5
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], vtable.std::exception.0
push eax
call fcn.1002a8d2
lea eax, [esp + 0x30]
push eax
push esi
call fcn.1002886d
lea eax, [esp + 0x38]
push eax
call fcn.100289a5
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.100288ba
lea eax, [esp + 8]
push eax
call fcn.100288c9
lea eax, [esp + 0xc]
push eax
lea eax, [esi + 0x2c]
push eax
call fcn.1002886d
lea eax, [esp + 0x14]
push eax
call fcn.100289a5
add esp, 0x14
pop esi
add esp, 0x24
ret
Function at 0x10023380
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 0x100233d8
xor eax, eax
jmp 0x100233f4
mov ecx, dword [ebx]
mov esi, dword [edx]
cmp ecx, dword [eax + 8]
je 0x100233f1
cmp eax, esi
je 0x100233ef
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x100233e1
jmp 0x100233f1
xor eax, eax
mov esi, dword [edx + 4]
test eax, eax
je 0x10023440
mov ecx, dword [edx]
cmp esi, eax
jne 0x10023411
cmp ecx, eax
jne 0x10023409
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10023419
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
jmp 0x10023419
cmp ecx, eax
jne 0x10023419
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.10029419
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 0x10023c30
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, 0x10049ca0
lock xadd dword [ecx], eax
mov ecx, dword [esi + 4]
test eax, eax
push 0
setne al
push ecx
test al, al
je 0x10023c83
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
add esp, 8
ret
push method.std::_Associated_state_int_.virtual_16
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 0x10024550
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1002458c
mov esi, dword [esi + 0x28]
test esi, esi
je 0x10024585
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10024584
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10024584
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 0x100245cf
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100245bf
mov edx, dword [eax + 4]
test edx, edx
je 0x100245bf
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100245d2
inc eax
cmp eax, 2
jl 0x100245b0
push esi
call fcn.1002ccbb
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 0x100245f0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 8]
test esi, esi
je 0x1002462c
mov esi, dword [esi + 0x2c]
test esi, esi
je 0x10024625
push ebx
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10024624
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10024624
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 0x1002466f
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002465f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002465f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10024672
inc eax
cmp eax, 2
jl 0x10024650
push esi
call fcn.1002ccbb
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 0x10024690
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100246aa
add ecx, 0x20
call fcn.10014440
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100246ef
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100246df
mov edx, dword [eax + 4]
test edx, edx
je 0x100246df
xor eax, eax
nop word [eax + eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100246f2
inc eax
cmp eax, 2
jl 0x100246d0
push esi
call fcn.1002ccbb
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 0x10024710
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0
je 0x10024721
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10024760
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10024750
mov edx, dword [eax + 4]
test edx, edx
je 0x10024750
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10024763
inc eax
cmp eax, 2
jl 0x10024741
push esi
call fcn.1002ccbb
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 0x10025220
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048140]
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 0x1002526c
mov eax, dword [eax + 0x20]
mov dword [ebp - 4], 0
test eax, eax
je 0x10025265
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 0x100252af
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002529f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002529f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100252c0
inc eax
cmp eax, 2
jl 0x10025290
push esi
call fcn.1002ccbb
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 0x100252a8

Function at 0x100252d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100252ea
add ecx, 4
call fcn.100141d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1002532f
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002531f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002531f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025332
inc eax
cmp eax, 6
jl 0x10025310
push esi
call fcn.1002ccbb
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 0x10025350
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1002536a
add ecx, 4
call fcn.10014240
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100253af
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002539f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002539f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100253b2
inc eax
cmp eax, 6
jl 0x10025390
push esi
call fcn.1002ccbb
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 0x100253d0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100253ea
add ecx, 4
call fcn.10014970
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1002542f
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002541f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002541f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025432
inc eax
cmp eax, 6
jl 0x10025410
push esi
call fcn.1002ccbb
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 0x10025450
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1002546a
add ecx, 4
call fcn.10014a30
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100254af
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1002549f
mov edx, dword [eax + 4]
test edx, edx
je 0x1002549f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100254b2
inc eax
cmp eax, 6
jl 0x10025490
push esi
call fcn.1002ccbb
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 0x100254d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048140]
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 0x10025527
lea ecx, [esi + 0x68]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10025518
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.100141d0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025566
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025556
mov edx, dword [eax + 4]
test edx, edx
je 0x10025556
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025577
inc eax
cmp eax, 2
jl 0x10025547
push esi
call fcn.1002ccbb
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 0x1002555f

Function at 0x10025590
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048140]
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 0x100255e7
lea ecx, [esi + 0x7c]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x100255d8
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10014240
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10025626
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025616
mov edx, dword [eax + 4]
test edx, edx
je 0x10025616
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10025637
inc eax
cmp eax, 2
jl 0x10025607
push esi
call fcn.1002ccbb
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 0x1002561f
Function at 0x10025650
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048140]
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 0x100256a7
lea ecx, [esi + 0x68]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10025698
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10014970
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100256e6
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100256d6
mov edx, dword [eax + 4]
test edx, edx
je 0x100256d6
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100256f7
inc eax
cmp eax, 2
jl 0x100256c7
push esi
call fcn.1002ccbb
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 0x100256df

Function at 0x10025710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100392d0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10048140]
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 0x10025767
lea ecx, [esi + 0x7c]
cmp dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
je 0x10025758
mov eax, dword [ecx + 0xc]
push ecx
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [esi + 0x2c]
call fcn.10014a30
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100257a6
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10025796
mov edx, dword [eax + 4]
test edx, edx
je 0x10025796
xor eax, eax
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100257b7
inc eax
cmp eax, 2
jl 0x10025787
push esi
call fcn.1002ccbb
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 0x1002579f
Function at 0x100258f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039335
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10048140]
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 0x10025952
call fcn.10026f70
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0x10048018
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.10013bc0
push dword [0x10049c9c]
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 [0x10049c9c]
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.10022cf0
test eax, eax
je 0x100259cd
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.10022cf0
test eax, eax
jne 0x100259b0
push dword [ebp - 0x10]
push dword [0x10049c9c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor esi, esi
nop
mov eax, dword [ebp + esi*4 - 0x4c]
test eax, eax
je 0x100259f1
push eax
call fcn.1002ccbb
add esp, 4
inc esi
cmp esi, 0xa
jl 0x100259e0
lea eax, [ebp - 0x20]
push eax
call fcn.100289a5
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 0x10025b00
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.10023a00
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 0x10025b55
call fcn.10023a00
mov dword [edi], 0x2746
jmp 0x10025b67
cmp eax, 0x4d2
jne 0x10025b6a
call fcn.10023a00
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x10025b76
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