joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e270
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
push 0
je 0x1000e29f
mov ecx, dword [edi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x1000e2c1
mov ecx, dword [edi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x18]
push ebx
push dword [ebp + 0x14]
mov dword [ebp + 0x18], 0
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x1000e315
cmp eax, 0x3e5
je 0x1000e315
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.1000d570
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x1000e330
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
push 0
je 0x1000e35f
mov ecx, dword [esi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
jne 0x1000e381
mov ecx, dword [esi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
push edi
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x1000e3bb
mov eax, 0x2746
jmp 0x1000e3c8
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x1000e3e8
cmp eax, 0x3e5
je 0x1000e3e8
push dword [ebp + 0x18]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.1000d5e0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.1000d570
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x10011e80
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x150], eax
push edi
mov edx, ecx
mov dword [ebp - 0x14c], ebx
xor edi, edi
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x164], 0x67452301
mov dword [ebp - 0x160], 0xefcdab89
mov dword [ebp - 0x15c], 0x98badcfe
mov dword [ebp - 0x158], 0x10325476
mov dword [ebp - 0x154], 0xc3d2e1f0
cmp ebx, 0x40
jb 0x10011f53
lea eax, [edi + 0x40]
cmp edi, eax
jae 0x10011f35
lea eax, [edx + 2]
mov ebx, 0x10
add eax, edi
lea esi, [ebp - 0x144]
add edi, 0x40
movzx edx, byte [eax - 2]
lea esi, [esi + 4]
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 4]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax - 3]
shl edx, 8
or edx, ecx
mov dword [esi - 4], edx
sub ebx, 1
jne 0x10011f02
mov ebx, dword [ebp - 0x14c]
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x164]
call fcn.10011b60
mov edx, dword [ebp - 0x148]
lea eax, [ebx - 0x40]
cmp edi, eax
jbe 0x10011ee8
sub ebx, edi
mov eax, 0xf
nop word [eax + eax]
mov dword [ebp + eax*4 - 0x144], 0
sub eax, 1
jns 0x10011f60
xor esi, esi
lea ecx, [esi + 3]
test ebx, ebx
je 0x10011faa
add edi, edx
nop dword [eax + eax]
mov eax, esi
lea edx, [ebp - 0x144]
shr eax, 2
lea edx, [edx + eax*4]
mov eax, esi
and eax, 3
sub ecx, eax
movzx eax, byte [edi + esi]
shl ecx, 3
inc esi
shl eax, cl
mov ecx, 3
or dword [edx], eax
cmp esi, ebx
jb 0x10011f80
mov eax, esi
lea edx, [ebp - 0x144]
shr eax, 2
and esi, 3
lea edx, [edx + eax*4]
sub ecx, esi
shl ecx, 3
mov eax, 0x80
shl eax, cl
or dword [edx], eax
cmp ebx, 0x38
jb 0x10012000
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x164]
call fcn.10011b60
xorps xmm0, xmm0
movups xmmword [ebp - 0x144], xmm0
movups xmmword [ebp - 0x134], xmm0
movups xmmword [ebp - 0x124], xmm0
movups xmmword [ebp - 0x114], xmm0
nop
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x144]
shl eax, 3
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x108], eax
call fcn.10011b60
mov esi, dword [ebp - 0x150]
mov edx, 0x13
nop dword [eax + eax]
mov eax, edx
mov ecx, edx
and eax, 0xfffffffc
not ecx
and ecx, 3
shl ecx, 3
mov eax, dword [ebp + eax - 0x164]
shr eax, cl
mov byte [esi + edx], al
sub edx, 1
jns 0x10012030
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret
Function at 0x10019e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078c00
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1004ff59
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004ec6c
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1001a720
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100323f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 0xf
jbe 0x10032403
mov edi, dword [edi]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x10032412
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x10032414
add ecx, eax
xor esi, esi
cmp eax, ecx
je 0x10032432
sub edi, eax
nop dword [eax]
mov dl, byte [ebp + esi + 0x10]
inc esi
xor dl, byte [eax]
and esi, 3
mov byte [edi + eax], dl
inc eax
cmp eax, ecx
jne 0x10032420
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10032440
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
push esi
push edi
cmp byte [eax + 0xd], 0
lea ebx, [eax + 0x48]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jge 0x10032492
mov eax, dword [ebx]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edi, edi
je 0x10032483
mov esi, dword [ebp + 8]
nop dword [eax + eax]
mov eax, ecx
and eax, 3
mov al, byte [ebp + eax - 4]
xor byte [esi + ecx], al
inc ecx
cmp ecx, edi
jb 0x10032470
mov eax, dword [ebx]
mov ecx, edi
and ecx, 3
je 0x1003248f
shl cl, 3
ror edx, cl
mov dword [eax + 8], edx
mov eax, dword [ebx]
push edi
push dword [ebp + 8]
mov esi, dword [eax]
add esi, 0x38
mov ecx, esi
lea eax, [esi + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [eax]
mov dword [ebp - 8], eax
call fcn.100038e0
mov ebx, dword [ebx]
mov eax, dword [ebx]
cmp dword [eax + 0x50], 1
jne 0x1003252c
cmp dword [esi + 0x14], 0xf
mov edx, dword [ebp - 4]
mov edx, dword [edx]
jbe 0x100324cc
mov eax, dword [esi]
mov esi, eax
add edx, eax
jmp 0x100324ce
add edx, esi
mov eax, dword [ebp - 8]
add eax, esi
cmp eax, edx
je 0x1003252c
nop word [eax + eax]
cmp dword [ebx + 0xc], 0
movzx edi, byte [eax]
movzx ecx, byte [edi + 0x10087d10]
mov dword [ebp + 8], ecx
je 0x10032500
mov ecx, dword [ebx + 0x10]
and edi, 0x3f
shl ecx, 6
or edi, ecx
jmp 0x10032509
mov esi, 0xff
sar esi, cl
and edi, esi
mov esi, dword [ebp + 8]
mov dword [ebx + 0x10], edi
mov ecx, dword [ebx + 0xc]
add ecx, ecx
movzx ecx, byte [esi + ecx*8 + 0x10087e10]
mov dword [ebx + 0xc], ecx
cmp ecx, 1
je 0x1003253d
inc eax
cmp eax, edx
jne 0x100324e0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
sub dword [eax + 0x18], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.100110e0
mov ecx, eax
mov eax, dword [ebp + 0x10]
pop edi
pop esi
pop ebx
mov dword [eax], 0x10
mov dword [eax + 4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035960
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b3cd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x7c]
mov esi, esp
mov edi, dword [ecx + 0x80]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x100359c3
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.1003ab60
mov esi, eax
mov byte [ebp - 4], 2
push dword [0x1009e994]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [esi + 8]
push eax
push 0x58
call fcn.1000b8d0
mov edi, eax
add esp, 8
push esi
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10040100
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.10040220
mov esi, dword [ebp - 0x4c]
mov esi, dword [esi + 8]
lock inc dword [esi + 0x18]
push edi
push 0
push 0
mov dword [edi + 0x1c], 1
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x10035a8a
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [edi + 0x14], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10035a70
mov dword [eax + 0x14], edi
jmp 0x10035a73
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
lea eax, [esi + 0x34]
mov ecx, 1
xchg dword [eax], ecx
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10035aa2
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x30]
mov dword [ebx], 0
mov dword [ebx + 4], 0x10098ca0
test ecx, ecx
je 0x10035ac7
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x1003b720
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007bc65
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x4d44]
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x30]
shr eax, 0xa
test al, 1
je 0x1003b788
push str.connection_close
push 0x400
call fcn.100167c0
mov eax, dword [esi + 0x10]
mov edx, 0x7b
cmp eax, edx
mov dword [ebp - 0x1c], 0
mov ecx, eax
mov dword [ebp - 0x18], 0
cmova ecx, edx
xorps xmm0, xmm0
cmp eax, ecx
movups xmmword [ebp - 0x2c], xmm0
cmovb ecx, eax
cmp dword [esi + 0x14], 0xf
jbe 0x1003b7b9
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.100033b0
lea esi, [edi + 0xb20]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x3c], esi
call fcn.1004f1f7
add esp, 4
test eax, eax
jne 0x1003b8c8
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x1003b8cf
mov byte [ebp - 4], 1
cmp dword [edi + 0xb18], 1
je 0x1003b80e
mov edx, 9
lea ecx, [ebp - 0x40]
call fcn.10006480
jmp 0x1003b860
mov eax, dword [ebx + 8]
mov ecx, 0x3ea
cmp ax, cx
je 0x1003b847
mov ecx, 0x3ef
cmp ax, cx
je 0x1003b847
mov ecx, 0x3f0
cmp ax, cx
je 0x1003b847
mov ecx, 0x3f1
cmp ax, cx
je 0x1003b847
mov ecx, 0x3f3
mov byte [ebp - 0x30], 0
cmp ax, cx
jne 0x1003b84b
mov byte [ebp - 0x30], 1
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push 0
push ecx
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.1003e6a0
mov edx, dword [ebp - 0x38]
mov ecx, eax
push esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
call fcn.1004f208
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x1003b8a8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b89e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b8da
push ecx
push edx
call fcn.100502a8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 5
call fcn.1004ea86
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1004ea86
call fcn.1005a45d
int3
Function at 0x1003f5f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c331
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov eax, dword [edi + 8]
mov dword [ebp - 0xa8], eax
mov al, byte [edi + 0x10]
mov byte [ebp - 0xa0], al
lea eax, [ebp - 0x98]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x1003f663
mov eax, dword [ecx]
lea edx, [ebp - 0x98]
push edx
call dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x40]
lea esi, [ebx + 0x10]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [ebx]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x58]
push esi
mov dword [ebp - 0x60], eax
call fcn.10020f00
mov eax, dword [esi + 0x30]
movq xmm0, qword [ebx + 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x50]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
mov ebx, dword [edi]
add edi, 4
push dword [0x1009e994]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003f6cf
nop word [eax + eax]
cmp dword [eax], esi
je 0x1003f7b6
mov eax, dword [eax + 8]
test eax, eax
jne 0x1003f6c0
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x60]
push eax
push 0xc0
call fcn.1000b8d0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0xa8]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100431e0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.100432d0
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
call fcn.1000ea70
lea ecx, [ebp - 0xb4]
call fcn.10043160
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1003f77f
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x1003f79a
mov edx, dword [ecx]
lea eax, [ebp - 0x98]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x1003f6cf
nop
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.100443f0
add esp, 8
nop
jmp 0x1003f760
Function at 0x1003f940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c386
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [edi + 8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
lea eax, [edi + 0x10]
push eax
call fcn.1003ac70
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x10]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.1002a1d0
movq xmm0, qword [esi + 0x50]
mov eax, dword [esi + 0x58]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ebx, dword [edi]
add edi, 4
push dword [0x1009e994]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003f9e4
cmp dword [eax], esi
je 0x1003fad6
mov eax, dword [eax + 8]
test eax, eax
jne 0x1003f9d5
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x68]
push eax
push 0xd0
call fcn.1000b8d0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10043610
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0xb8]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1002a1d0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], ecx
lea ecx, [esi + 0x78]
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x70], eax
lea eax, [ebp - 0x60]
push eax
call fcn.1002a1d0
movq xmm0, qword [ebp - 0x20]
mov ecx, ebx
movq qword [esi + 0xb8], xmm0
mov eax, dword [ebp - 0x18]
push esi
push edi
mov dword [esi + 0xc0], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xc0], 0
call fcn.1000ea70
lea ecx, [ebp - 0x60]
call fcn.10020f80
lea ecx, [ebp - 0xb0]
call fcn.10020f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x1003f9e4
nop
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10044790
add esp, 8
nop
jmp 0x1003faa7
Function at 0x10040430
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c4ad
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x10]
push eax
call fcn.10034cd0
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x20], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x1009e994]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100404b2
cmp dword [eax], esi
je 0x100404cd
mov eax, dword [eax + 8]
test eax, eax
jne 0x100404a7
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], eax
cmp byte [esi + 0x400], 0
jne 0x100404eb
mov byte [esi + 0x400], 1
jmp 0x100404fa
cmp dword [eax + 4], 0
je 0x100404b2
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10044700
add esp, 8
nop
jmp 0x1004057c
push 0x80
call fcn.1004ff59
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100438e0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x60]
push eax
call fcn.1002a140
movq xmm0, qword [ebp - 0x20]
mov ecx, ebx
movq qword [esi + 0x68], xmm0
mov eax, dword [ebp - 0x18]
push esi
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x14]
push edi
mov dword [esi + 0x74], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
call fcn.1000ea70
lea ecx, [ebp - 0x74]
call fcn.10043760
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x100405a4
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100405a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100405a4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100405bc
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret 8
Function at 0x100405e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c4fd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x68], eax
lea eax, [esi + 0x10]
push eax
call fcn.10034cd0
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x20], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x1009e994]
mov esi, dword [ebx]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1004066b
nop word [eax + eax]
cmp dword [eax], esi
je 0x10040686
mov eax, dword [eax + 8]
test eax, eax
jne 0x10040660
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
cmp byte [edi + 0x400], 0
jne 0x100406a4
mov byte [edi + 0x400], 1
jmp 0x100406b3
cmp dword [eax + 4], 0
je 0x1004066b
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10044700
add esp, 8
nop
jmp 0x10040730
push 0x80
call fcn.1004ff59
add esp, 4
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x100437f0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.10035d10
movq xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 0x6c]
movq qword [edi + 0x68], xmm0
mov eax, dword [ebp - 0x18]
push edi
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x14]
push ebx
mov dword [edi + 0x74], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1000ea70
lea ecx, [ebp - 0x78]
call fcn.10043760
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10040758
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10040758
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10040758
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10040770
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004ff4b
mov esp, ebp
pop ebp
ret 8