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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x10058014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.10029da0
mov eax, dword [ebp + 8]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x30], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x1005c574]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10035a92
cmp dword [eax], esi
je 0x10035aad
mov eax, dword [eax + 8]
test eax, eax
jne 0x10035a87
mov edi, dword [ebp - 0x78]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x1c], eax
cmp byte [edi + 0x400], 0
jne 0x10035ac9
mov byte [edi + 0x400], 1
jmp 0x10035ad8
cmp dword [eax + 4], 0
je 0x10035a92
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10039ac0
add esp, 8
jmp 0x10035b55
push 0x80
call fcn.1004234e
add esp, 4
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x78]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10038c60
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.1002b090
movq xmm0, qword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
movq qword [edi + 0x68], xmm0
mov eax, dword [ebp - 0x28]
push edi
mov dword [edi + 0x70], eax
mov eax, dword [ebp - 0x24]
push ebx
mov dword [edi + 0x74], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000baa0
lea ecx, [ebp - 0x1c]
call fcn.10038bd0
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x10035b7d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035b7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035b7d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x10035b95
mov edx, dword [ecx]
lea eax, [ebp - 0x60]
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 esp, ebp
pop ebp
ret 8
Function at 0x10035bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047d30
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x10058014]
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [ecx]
lea ecx, [eax + 0x44]
lea esi, [eax + 4]
mov dword [ebp - 0x228], ecx
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
add eax, 0x30
push eax
push 0x138
call fcn.10008120
add esp, 8
mov ebx, eax
mov ecx, dword [esi + 0xc]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x220], eax
test ecx, ecx
je 0x10035c42
mov edx, dword [esi + 8]
lock inc dword [ecx + 8]
mov eax, ecx
mov dword [ebp - 0x220], ecx
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x10036c60
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
test eax, eax
je 0x10035c97
mov dword [ebx + 0x24], eax
add eax, 8
mov dword [ebx + 0x20], edx
lock inc dword [eax]
mov esi, dword [ebp - 0x224]
lea edi, [ebx + 0x28]
push dword [ebp + 8]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xb0]
call fcn.100370c0
push dword [ebp - 0x228]
lea ecx, [ebx + 0x120]
sub esp, 8
call fcn.1002b8d0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10035ce4
or eax, 0xffffffff
lea edx, [ecx + 8]
lock xadd dword [edx], eax
jne 0x10035ce4
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
call fcn.100369f0
mov ecx, dword [ebp - 0x22c]
test byte [ecx + 4], 0x10
je 0x10035d0b
cmp dword [ebp - 0x18], 0
jne 0x10035d0b
mov al, 1
jmp 0x10035d0d
xor al, al
push ebx
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.1000afa0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
call fcn.10036bb0
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.10041f5c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10035d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047d6d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10058014]
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 dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], eax
add eax, 0x30
push eax
push 0xc0
mov dword [ebp - 0x24], ecx
call fcn.10008120
add esp, 8
mov esi, eax
mov eax, dword [ebx + 0xc]
xor ecx, ecx
xor edi, edi
test eax, eax
je 0x10035dd7
mov ecx, dword [ebx + 8]
mov edi, eax
lock inc dword [eax + 8]
mov al, byte [ebx + 4]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10036170
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 byte [esi + 0x20], al
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
test edi, edi
je 0x10035e32
mov dword [esi + 0x24], ecx
lea eax, [edi + 8]
mov dword [esi + 0x28], edi
lock inc dword [eax]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x20]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x38]
mov dword [esi + 0x2c], eax
call fcn.10036470
push dword [ebp - 0x24]
lea ecx, [esi + 0xa8]
sub esp, 8
call fcn.1002b8d0
test edi, edi
je 0x10035e73
or eax, 0xffffffff
lea ecx, [edi + 8]
lock xadd dword [ecx], eax
jne 0x10035e73
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test byte [ebx + 4], 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
je 0x10035e92
test ecx, ecx
jne 0x10035e92
mov al, 1
jmp 0x10035e94
xor al, al
mov ecx, dword [ebp - 0x28]
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push 1
push eax
push ebx
call fcn.1000b110
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.100360c0
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.10041f5c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10036500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047e95
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10058014]
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 dword [ebp - 0x10], esp
mov edi, ecx
test byte [edi + 8], 1
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edi
jne 0x1003656b
mov eax, dword [edi]
push dword [0x1005c5ac]
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003656b
nop word [eax + eax]
cmp dword [eax], esi
je 0x10036586
mov eax, dword [eax + 8]
test eax, eax
jne 0x10036560
push dword [0x1005c5ac]
lea eax, [edi + 4]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100365ec
mov ecx, dword [eax + 4]
jmp 0x100365ee
cmp dword [eax + 4], 0
je 0x1003656b
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov dword [ebx], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1001eaa0
add esp, 8
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100366af
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
jmp 0x100366af
xor ecx, ecx
push ecx
push dword [ebp - 0x1c]
mov edx, 0x28
call fcn.100133e0
mov esi, eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100373c0
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 [ebx]
mov dword [esi + 0x20], eax
mov dword [ebx], 0
mov eax, dword [edi]
mov edi, dword [eax + 8]
lock inc dword [edi + 0x18]
push esi
push 0
push 0
mov dword [esi + 0x1c], 1
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x10036699
lea ebx, [edi + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x14], 0
mov eax, dword [edi + 0x58]
test eax, eax
je 0x10036682
mov dword [eax + 0x14], esi
jmp 0x10036685
mov dword [edi + 0x54], esi
mov dword [edi + 0x58], esi
lea eax, [edi + 0x34]
mov ecx, 1
xchg dword [eax], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.10036b00
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.10041f5c
mov esp, ebp
pop ebp
ret 4
Function at 0x100367b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047f05
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x10058014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10036802
mov eax, dword [ecx]
lea edx, [ebp - 0x74]
push edx
call dword [eax]
mov dword [ebp - 0x50], eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.10033520
mov dword [ebp - 4], 1
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x1005c574]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003683f
nop dword [eax]
cmp dword [eax], esi
je 0x100368ce
mov eax, dword [eax + 8]
test eax, eax
jne 0x10036830
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
push eax
push 0x80
call fcn.10008120
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100393c0
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 dword [edi + 0x24], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x100368f5
lea eax, [ebp - 0x74]
cmp ecx, eax
jne 0x100368eb
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x100368f5
mov edx, dword [ecx]
lea eax, [ebp - 0x74]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x100368ee
cmp dword [eax + 4], 0
je 0x1003683f
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1003a1d0
add esp, 8
jmp 0x10036921
mov dword [edi + 0x24], ecx
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [edi + 0x28]
call fcn.10033520
mov ecx, dword [ebp - 0x10]
push esi
push ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000baa0
lea ecx, [ebp - 0x1c]
call fcn.10039340
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10036940
mov edx, dword [ecx]
lea eax, [ebp - 0x44]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10036958
mov edx, dword [ecx]
lea eax, [ebp - 0x74]
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 esp, ebp
pop ebp
ret
Function at 0x10036a70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x10036aa1
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x10036a9a
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10036ae0
push dword [0x1005c5ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10036ad0
mov edx, dword [eax + 4]
test edx, edx
je 0x10036ad0
mov eax, 4
cmp dword [edx + eax*4], 0
je 0x10036ae3
inc eax
cmp eax, 6
jl 0x10036ac4
push esi
call fcn.100427ad
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov cl, byte [esi + 0x68]
mov byte [esi], cl
mov dword [edx + eax*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10036b00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047de0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10058014]
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 0x10036b4c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10036b45
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 0x10036b8c
push dword [0x1005c5ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10036b7c
mov edx, dword [eax + 4]
test edx, edx
je 0x10036b7c
xor ecx, ecx
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x10036b9d
inc ecx
cmp ecx, 2
jl 0x10036b70
push esi
call fcn.100427ad
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 [edx + ecx*4], esi
jmp 0x10036b85

Function at 0x100375e0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x100375fa
add ecx, 0x18
call fcn.10016d90
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x1003763c
push dword [0x1005c5ac]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1003762c
mov edx, dword [eax + 4]
test edx, edx
je 0x1003762c
mov ecx, 4
nop dword [eax]
cmp dword [edx + ecx*4], 0
je 0x1003763f
inc ecx
cmp ecx, 6
jl 0x10037620
push esi
call fcn.100427ad
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x70]
mov byte [esi], al
mov dword [edx + ecx*4], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10037c00
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048183
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
push ebx
push esi
push edi
mov eax, dword [0x10058014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0xd8]
call fcn.10035fe0
push esi
lea ecx, [ebp - 0x98]
call fcn.100370c0
mov eax, dword [esi + 0x78]
movq xmm0, qword [esi + 0x70]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x7c]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
lea ebx, [edi + 0x2c]
push dword [0x1005c574]
mov edi, dword [edi + 0x28]
mov esi, dword [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10037c8f
nop
cmp dword [eax], esi
je 0x10037d7a
mov eax, dword [eax + 8]
test eax, eax
jne 0x10037c80
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x68]
push eax
push 0xe8
call fcn.10008120
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd8]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1003a7c0
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.1003a8f0
push esi
push ebx
mov ecx, edi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.1000baa0
lea ecx, [ebp - 0x18]
call fcn.1003a730
lea ecx, [ebp - 0x98]
call fcn.1002f750
mov esi, dword [ebp - 0x9c]
test esi, esi
je 0x10037d4a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10037d4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10037d4a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x10037d68
mov edx, dword [ecx]
lea eax, [ebp - 0xc8]
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 esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x10037c8f
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.1003ada0
add esp, 8
jmp 0x10037d14
Function at 0x10037e30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100481cd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x10058014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
lea eax, [esi + 0x10]
push eax
call fcn.1002f7f0
movq xmm0, qword [esi + 0x50]
mov eax, dword [esi + 0x58]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
lea edi, [esi + 4]
mov ebx, dword [esi]
push dword [0x1005c574]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10037eaf
nop word [eax + eax]
cmp dword [eax], esi
je 0x10037f53
mov eax, dword [eax + 8]
test eax, eax
jne 0x10037ea0
lea eax, [ebp - 0x78]
push eax
push 0x80
mov dword [ebp - 0x1c], eax
call fcn.10008120
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x28]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1003a0e0
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 - 0x78]
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x70]
push eax
call fcn.1001cc60
movq xmm0, qword [ebp - 0x30]
mov ecx, ebx
movq qword [esi + 0x68], xmm0
mov eax, dword [ebp - 0x28]
push esi
push edi
mov dword [esi + 0x70], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000baa0
lea ecx, [ebp - 0x70]
call fcn.10016d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x10037eaf
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10035fc0
add esp, 8
jmp 0x10037f39
Function at 0x10038ed0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048443
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push esi
push edi
mov eax, dword [0x10058014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0xe0]
call fcn.10029da0
push esi
lea ecx, [ebp - 0xa0]
call fcn.10036470
mov eax, dword [esi + 0x78]
movq xmm0, qword [esi + 0x70]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x7c]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea ebx, [edi + 4]
mov eax, dword [edi]
push dword [0x1005c574]
mov esi, dword [ebx]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10038f60
cmp dword [eax], esi
je 0x1003907a
mov eax, dword [eax + 8]
test eax, eax
jne 0x10038f51
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x70]
push eax
push 0xe8
call fcn.10008120
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xe0]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x1003a3a0
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.1001cbd0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [edi + 0x60]
call fcn.10036470
movq xmm0, qword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
movq qword [edi + 0xd0], xmm0
mov eax, dword [ebp - 0x28]
push edi
mov dword [edi + 0xd8], eax
mov eax, dword [ebp - 0x24]
push ebx
mov dword [edi + 0xdc], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.1000baa0
lea ecx, [ebp - 0x1c]
call fcn.1003a310
lea ecx, [ebp - 0xa0]
call fcn.10029d00
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x1003904a
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003904a
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1003904a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x10039068
mov edx, dword [ecx]
lea eax, [ebp - 0xd0]
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 esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x10038f60
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.1003ad70
add esp, 8
jmp 0x10039014