joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c53d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
add eax, 0x30
push eax
push 0xc8
call fcn.1000b8d0
add esp, 8
mov esi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov cl, byte [eax + 4]
lea ebx, [eax + 4]
mov byte [ebp - 0xd], cl
xor edi, edi
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100407f4
mov edx, dword [eax + 8]
mov edi, ecx
lock inc dword [ecx + 8]
mov cl, byte [ebp - 0xd]
mov byte [esi + 0x20], cl
lea ecx, [edi + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10040c90
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 [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 0x14], ecx
test edi, edi
je 0x10040857
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edi
lock inc dword [ecx]
lea ebx, [eax + 4]
jmp 0x1004085a
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
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.10040f10
push dword [ebp + 0x18]
lea ecx, [esi + 0xa8]
sub esp, 8
call fcn.100367b0
test edi, edi
je 0x100408a3
mov ecx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x100408a3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp + 8]
lea ebx, [ecx + 4]
jmp 0x100408a6
mov ecx, dword [ebp + 8]
test byte [ebx], 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
je 0x100408c4
test edx, edx
jne 0x100408c4
mov al, 1
jmp 0x100408c6
xor al, al
push esi
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push 1
push eax
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.1000e330
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10040be0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10040fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c5e5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [edi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 1
jne 0x10041003
push dword [0x1009e9b8]
and eax, 0xfffffffc
mov esi, dword [eax + 8]
lea eax, [esi + 0x14]
neg esi
sbb esi, esi
and esi, eax
call ebx
test eax, eax
je 0x10041003
cmp dword [eax], esi
je 0x10041021
mov eax, dword [eax + 8]
test eax, eax
jne 0x10040ff8
push dword [0x1009e9b8]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x100410b5
mov ecx, dword [eax + 4]
jmp 0x100410b7
cmp dword [eax + 4], 0
je 0x10041003
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov dword [ecx], 0
mov dword [ebp - 4], 0
nop
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1002ba70
add esp, 8
nop
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004117f
push 0
push eax
mov eax, dword [eax]
call eax
add esp, 8
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
xor ecx, ecx
push ecx
push dword [ebp + 8]
mov edx, 0x28
call fcn.1001bce0
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10041f20
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 [ecx]
mov dword [esi + 0x20], eax
mov dword [ecx], 0
mov eax, dword [edi + 4]
and eax, 0xfffffffc
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 0x10041169
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 0x10041152
mov dword [eax + 0x14], esi
jmp 0x10041155
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 - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.10041940
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 0x100411a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c620
mov eax, dword fs:[0]
push eax
sub esp, 0x238
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 dword [ebp - 0x238], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x244], eax
add eax, 0x30
push eax
push 0x140
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], ecx
call fcn.1000b8d0
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 0x10041231
mov edx, dword [esi + 8]
mov eax, ecx
mov dword [ebp - 0x220], eax
lock inc dword [ecx + 8]
mov dword [ebx + 0x14], 0
lea ecx, [eax + 8]
mov dword [ebx + 0x18], 0x100414d0
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
mov dword [ebp - 0x224], ecx
test eax, eax
je 0x1004128e
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x10041294
mov dword [ebp - 0x224], ecx
mov esi, dword [ebp - 0x228]
lea edi, [ebx + 0x28]
push dword [ebp - 0x22c]
mov ecx, 0x21
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0xb0]
call fcn.100419f0
push dword [ebp - 0x230]
lea ecx, [ebx + 0x120]
sub esp, 8
call fcn.100367b0
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x100412e7
mov edx, dword [ebp - 0x224]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x100412e7
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
call fcn.10041380
mov ecx, dword [ebp - 0x234]
test byte [ecx + 4], 0x10
je 0x1004130e
cmp dword [ebp - 0x18], 0
jne 0x1004130e
mov al, 1
jmp 0x10041310
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 - 0x238]
call fcn.1000e270
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
call fcn.10041420
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 0x14
Function at 0x100418b0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100418e1
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x100418da
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 0x10041923
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10041913
mov edx, dword [eax + 4]
test edx, edx
je 0x10041913
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10041926
inc eax
cmp eax, 6
jl 0x10041904
push esi
call fcn.100502a3
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x68]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret

Function at 0x10041940
Capabilities:
Get thread local storage value

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
mov eax, dword [edi + 8]
test eax, eax
je 0x1004198c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10041985
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 0x100419cf
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100419bf
mov edx, dword [eax + 4]
test edx, edx
je 0x100419bf
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100419e0
inc eax
cmp eax, 2
jl 0x100419b0
push esi
call fcn.100502a3
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 0x100419c8
Function at 0x10041c40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c735
mov eax, dword fs:[0]
push eax
sub esp, 0x70
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, edx
mov edi, ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x10041c95
mov eax, dword [ecx]
lea edx, [ebp - 0x68]
push edx
call dword [eax]
mov dword [ebp - 0x44], eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10040220
mov dword [ebp - 4], 1
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 0x10041ccf
nop
cmp dword [eax], esi
je 0x10041d5e
mov eax, dword [eax + 8]
test eax, eax
jne 0x10041cc0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x38]
push eax
push 0x80
call fcn.1000b8d0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10044250
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 - 0x44]
test ecx, ecx
je 0x10041d87
lea eax, [ebp - 0x68]
cmp ecx, eax
jne 0x10041d7d
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10041d87
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x10041d80
cmp dword [eax + 4], 0
je 0x10041ccf
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.10045060
add esp, 8
nop
jmp 0x10041db3
mov dword [edi + 0x24], ecx
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x28]
call fcn.10040220
mov ecx, dword [ebp - 0x6c]
push esi
push ebx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1000ea70
lea ecx, [ebp - 0x78]
call fcn.100441d0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10041dd2
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10041dea
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
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
Function at 0x10041fc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c7c5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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]
mov dword [ebp - 0x60], eax
mov al, byte [esi + 0x10]
mov byte [ebp - 0x58], al
lea eax, [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x1004201f
mov eax, dword [ecx]
lea edx, [ebp - 0x50]
push edx
call dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x40]
movq xmm0, qword [esi + 0x48]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x50]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 1
lea ebx, [esi + 4]
mov eax, dword [esi]
push dword [0x1009e994]
mov esi, dword [ebx]
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10042065
cmp dword [eax], esi
je 0x10042127
mov eax, dword [eax + 8]
test eax, eax
jne 0x10042056
lea eax, [ebp - 0x60]
push eax
push 0x78
mov dword [ebp - 0x70], eax
call fcn.1000b8d0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0x28]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x100445c0
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
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x58]
push eax
call fcn.10020f00
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x64]
mov dword [edi + 0x58], eax
movq xmm0, qword [ebp - 0x20]
movq qword [edi + 0x60], xmm0
mov eax, dword [ebp - 0x18]
push edi
push ebx
mov dword [edi + 0x68], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
call fcn.1000ea70
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1004210b
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
cmp dword [eax + 4], 0
je 0x10042065
nop
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1003f570
add esp, 8
nop
jmp 0x100420f3

Function at 0x10042260
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1004227a
add ecx, 0x18
call fcn.10020f80
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x100422bf
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100422af
mov edx, dword [eax + 4]
test edx, edx
je 0x100422af
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100422c2
inc eax
cmp eax, 6
jl 0x100422a0
push esi
call fcn.100502a3
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x70]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret
Function at 0x10042880
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c8bd
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.1003ac70
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
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 0x100428ff
nop dword [eax]
cmp dword [eax], esi
je 0x100429ad
mov eax, dword [eax + 8]
test eax, eax
jne 0x100428f0
lea eax, [ebp - 0x68]
push eax
push 0x80
mov dword [ebp - 0x78], eax
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], 0x10044bf0
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.1002a1d0
movq xmm0, qword [ebp - 0x20]
mov ecx, ebx
movq qword [esi + 0x68], xmm0
mov eax, dword [ebp - 0x18]
push esi
push edi
mov dword [esi + 0x70], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1000ea70
lea ecx, [ebp - 0x60]
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 0x100428ff
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10040a00
add esp, 8
nop
jmp 0x10042989
Function at 0x10043a60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cb46
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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
lea eax, [edi + 8]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10034cd0
push esi
lea ecx, [ebp - 0x90]
call fcn.10040f10
mov eax, dword [esi + 0x78]
movq xmm0, qword [esi + 0x70]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x7c]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea ebx, [edi + 4]
mov eax, dword [edi]
push dword [0x1009e994]
mov esi, dword [ebx]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10043af6
cmp dword [eax], esi
je 0x10043c29
mov eax, dword [eax + 8]
test eax, eax
jne 0x10043ae7
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x60]
push eax
push 0xe8
call fcn.1000b8d0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd0]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10044f20
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.1002a140
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x60]
call fcn.10040f10
movq xmm0, qword [ebp - 0x20]
mov ecx, dword [ebp - 0xd4]
movq qword [edi + 0xd0], xmm0
mov eax, dword [ebp - 0x18]
push edi
mov dword [edi + 0xd8], eax
mov eax, dword [ebp - 0x14]
push ebx
mov dword [edi + 0xdc], eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
call fcn.1000ea70
lea ecx, [ebp - 0xe0]
call fcn.10044e90
lea ecx, [ebp - 0x90]
call fcn.10034c30
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x10043bef
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10043bef
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10043bef
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x10043c0d
mov edx, dword [ecx]
lea eax, [ebp - 0xc0]
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 0x10043af6
nop
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10045940
add esp, 8
nop
jmp 0x10043bb9
Function at 0x10043c50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007cb96
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 + 0x20]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
lea eax, [edi + 0x28]
push eax
call fcn.10034cd0
mov eax, dword [esi]
mov ecx, dword [esi + 0x1c]
movq xmm0, qword [esi + 8]
mov dword [ebp - 0x88], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x70], eax
lea eax, [esi + 0x20]
mov dword [ebp - 0x6c], ecx
lea ecx, [ebp - 0x68]
push eax
movq qword [ebp - 0x80], xmm0
call fcn.10035d10
mov eax, dword [esi + 0x70]
movq xmm0, qword [esi + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x74]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov ebx, dword [edi + 0x18]
add edi, 0x1c
push dword [0x1009e994]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10043d1b
nop
cmp dword [eax], esi
je 0x10043d3c
mov eax, dword [eax + 8]
test eax, eax
jne 0x10043d10
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
cmp byte [esi + 0x400], 0
jne 0x10043d5a
mov byte [esi + 0x400], 1
jmp 0x10043d69
cmp dword [eax + 4], 0
je 0x10043d1b
nop
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100459e0
add esp, 8
nop
jmp 0x10043dd0
push 0xe8
call fcn.1004ff59
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0xd0]
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x100455d0
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.100458c0
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
call fcn.1000ea70
lea ecx, [ebp - 0xd0]
call fcn.10044af0
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

Function at 0x10043e70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10043e8a
add ecx, 8
call fcn.10034c30
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10043ecf
push dword [0x1009e9b8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10043ebf
mov edx, dword [eax + 4]
test edx, edx
je 0x10043ebf
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10043ed2
inc eax
cmp eax, 6
jl 0x10043eb0
push esi
call fcn.100502a3
add esp, 4
mov dword [edi + 4], 0
pop edi
pop esi
ret
mov al, byte [esi + 0x90]
mov byte [esi], al
mov dword [ecx], esi
mov dword [edi + 4], 0
pop edi
pop esi
ret