joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e090
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 0x1000e0bf
mov ecx, dword [edi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.1000d400
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 0x1000e0e1
mov ecx, dword [edi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.1000d400
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 0x1000e135
cmp eax, 0x3e5
je 0x1000e135
push dword [ebp + 0x18]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.1000d400
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.1000d390
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18

Function at 0x1000e150
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 0x1000e17f
mov ecx, dword [esi + 4]
push 0
push dword [ebp + 0x1c]
call fcn.1000d400
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 0x1000e1a1
mov ecx, dword [esi + 4]
push 0x2719
push dword [ebp + 0x1c]
call fcn.1000d400
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 0x1000e1db
mov eax, 0x2746
jmp 0x1000e1e8
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test ebx, ebx
je 0x1000e208
cmp eax, 0x3e5
je 0x1000e208
push dword [ebp + 0x18]
mov ecx, dword [esi + 4]
push eax
push edi
call fcn.1000d400
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
mov ecx, dword [esi + 4]
push edi
call fcn.1000d390
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x18
Function at 0x10011cb0
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 0x10011d83
lea eax, [edi + 0x40]
cmp edi, eax
jae 0x10011d65
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 0x10011d32
mov ebx, dword [ebp - 0x14c]
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x164]
call fcn.10011990
mov edx, dword [ebp - 0x148]
lea eax, [ebx - 0x40]
cmp edi, eax
jbe 0x10011d18
sub ebx, edi
mov eax, 0xf
nop word [eax + eax]
mov dword [ebp + eax*4 - 0x144], 0
sub eax, 1
jns 0x10011d90
xor esi, esi
lea ecx, [esi + 3]
test ebx, ebx
je 0x10011dda
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 0x10011db0
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 0x10011e30
lea edx, [ebp - 0x144]
lea ecx, [ebp - 0x164]
call fcn.10011990
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.10011990
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 0x10011e60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004fde9
mov esp, ebp
pop ebp
ret
Function at 0x10019ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078a60
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.1004fdf7
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1004eb0c
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1001a3f0
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 0x100320b0
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 0x100320c3
mov edi, dword [edi]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x100320d2
add ecx, dword [eax]
mov eax, dword [eax]
jmp 0x100320d4
add ecx, eax
xor esi, esi
cmp eax, ecx
je 0x100320f2
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 0x100320e0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10032100
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 0x10032152
mov eax, dword [ebx]
xor ecx, ecx
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edi, edi
je 0x10032143
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 0x10032130
mov eax, dword [ebx]
mov ecx, edi
and ecx, 3
je 0x1003214f
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.100037f0
mov ebx, dword [ebx]
mov eax, dword [ebx]
cmp dword [eax + 0x50], 1
jne 0x100321ec
cmp dword [esi + 0x14], 0xf
mov edx, dword [ebp - 4]
mov edx, dword [edx]
jbe 0x1003218c
mov eax, dword [esi]
mov esi, eax
add edx, eax
jmp 0x1003218e
add edx, esi
mov eax, dword [ebp - 8]
add eax, esi
cmp eax, edx
je 0x100321ec
nop word [eax + eax]
cmp dword [ebx + 0xc], 0
movzx edi, byte [eax]
movzx ecx, byte [edi + 0x10087d10]
mov dword [ebp + 8], ecx
je 0x100321c0
mov ecx, dword [ebx + 0x10]
and edi, 0x3f
shl ecx, 6
or edi, ecx
jmp 0x100321c9
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 0x100321fd
inc eax
cmp eax, edx
jne 0x100321a0
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.10010f10
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 0x10035620
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b26d
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 0x10035683
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.1003a820
mov esi, eax
mov byte [ebp - 4], 2
push dword [0x1009e624]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [esi + 8]
push eax
push 0x58
call fcn.1000b700
mov edi, eax
add esp, 8
push esi
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1003fdc0
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.1003fee0
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 0x1003574a
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 0x10035730
mov dword [eax + 0x14], edi
jmp 0x10035733
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 0x10035762
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 0x10035787
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.1004fde9
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x1003b3e0
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 0x1007bb05
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 0x1003b448
push str.connection_close
push 0x400
call fcn.100164a0
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 0x1003b479
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.100032c0
lea esi, [edi + 0xb20]
mov dword [ebp - 4], 0
push esi
mov dword [ebp - 0x3c], esi
call fcn.1004f095
add esp, 4
test eax, eax
jne 0x1003b588
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x1003b58f
mov byte [ebp - 4], 1
cmp dword [edi + 0xb18], 1
je 0x1003b4ce
mov edx, 9
lea ecx, [ebp - 0x40]
call fcn.100062b0
jmp 0x1003b520
mov eax, dword [ebx + 8]
mov ecx, 0x3ea
cmp ax, cx
je 0x1003b507
mov ecx, 0x3ef
cmp ax, cx
je 0x1003b507
mov ecx, 0x3f0
cmp ax, cx
je 0x1003b507
mov ecx, 0x3f1
cmp ax, cx
je 0x1003b507
mov ecx, 0x3f3
mov byte [ebp - 0x30], 0
cmp ax, cx
jne 0x1003b50b
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.1003e360
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.1004f0a6
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x1003b568
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b55e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b59a
push ecx
push edx
call fcn.10050146
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.1004fde9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
push 5
call fcn.1004e926
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1004e926
call fcn.1005a2fd
int3
Function at 0x1003f2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c1d1
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 0x1003f323
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.10020bd0
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 [0x1009e624]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003f38f
nop word [eax + eax]
cmp dword [eax], esi
je 0x1003f476
mov eax, dword [eax + 8]
test eax, eax
jne 0x1003f380
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x60]
push eax
push 0xc0
call fcn.1000b700
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], 0x10042ea0
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.10042f90
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], 0
call fcn.1000e890
lea ecx, [ebp - 0xb4]
call fcn.10042e20
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1003f43f
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 0x1003f45a
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.1004fde9
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x1003f38f
nop
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.100440b0
add esp, 8
nop
jmp 0x1003f420
Function at 0x1003f600
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c226
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.1003a930
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.10029ea0
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 [0x1009e624]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003f6a4
cmp dword [eax], esi
je 0x1003f796
mov eax, dword [eax + 8]
test eax, eax
jne 0x1003f695
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x68]
push eax
push 0xd0
call fcn.1000b700
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100432d0
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.10029ea0
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.10029ea0
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.1000e890
lea ecx, [ebp - 0x60]
call fcn.10020c50
lea ecx, [ebp - 0xb0]
call fcn.10020c50
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.1004fde9
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x1003f6a4
nop
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10044450
add esp, 8
nop
jmp 0x1003f767
Function at 0x100400f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c34d
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.10034990
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 [0x1009e624]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10040172
cmp dword [eax], esi
je 0x1004018d
mov eax, dword [eax + 8]
test eax, eax
jne 0x10040167
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x74], eax
cmp byte [esi + 0x400], 0
jne 0x100401ab
mov byte [esi + 0x400], 1
jmp 0x100401ba
cmp dword [eax + 4], 0
je 0x10040172
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100443c0
add esp, 8
nop
jmp 0x1004023c
push 0x80
call fcn.1004fdf7
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100435a0
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.10029e10
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.1000e890
lea ecx, [ebp - 0x74]
call fcn.10043420
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10040264
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10040264
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10040264
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1004027c
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.1004fde9
mov esp, ebp
pop ebp
ret 8
Function at 0x100402a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c39d
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.10034990
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 [0x1009e624]
mov esi, dword [ebx]
mov dword [ebp - 0x6c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1004032b
nop word [eax + eax]
cmp dword [eax], esi
je 0x10040346
mov eax, dword [eax + 8]
test eax, eax
jne 0x10040320
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
cmp byte [edi + 0x400], 0
jne 0x10040364
mov byte [edi + 0x400], 1
jmp 0x10040373
cmp dword [eax + 4], 0
je 0x1004032b
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100443c0
add esp, 8
nop
jmp 0x100403f0
push 0x80
call fcn.1004fdf7
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], 0x100434b0
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.100359d0
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.1000e890
lea ecx, [ebp - 0x78]
call fcn.10043420
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10040418
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10040418
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10040418
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10040430
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.1004fde9
mov esp, ebp
pop ebp
ret 8