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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c3dd
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.1000b700
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 0x100404b4
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], 0x10040950
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 0x10040517
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edi
lock inc dword [ecx]
lea ebx, [eax + 4]
jmp 0x1004051a
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.10040bd0
push dword [ebp + 0x18]
lea ecx, [esi + 0xa8]
sub esp, 8
call fcn.10036470
test edi, edi
je 0x10040563
mov ecx, dword [ebp - 0x14]
or eax, 0xffffffff
lock xadd dword [ecx], eax
jne 0x10040563
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp + 8]
lea ebx, [ecx + 4]
jmp 0x10040566
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 0x10040584
test edx, edx
jne 0x10040584
mov al, 1
jmp 0x10040586
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.1000e150
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.100408a0
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 0x10040c60
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c485
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 0x10040cc3
push dword [0x1009e9a0]
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 0x10040cc3
cmp dword [eax], esi
je 0x10040ce1
mov eax, dword [eax + 8]
test eax, eax
jne 0x10040cb8
push dword [0x1009e9a0]
lea eax, [edi + 1]
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x10040d75
mov ecx, dword [eax + 4]
jmp 0x10040d77
cmp dword [eax + 4], 0
je 0x10040cc3
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.1002b740
add esp, 8
nop
mov dword [ebp - 4], 3
mov eax, dword [ebp + 8]
test eax, eax
je 0x10040e3f
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.1001b9b0
mov ecx, dword [ebp + 8]
mov esi, eax
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10041be0
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 0x10040e29
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 0x10040e12
mov dword [eax + 0x14], esi
jmp 0x10040e15
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.10041600
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 0x10040e60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c4c0
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.1000b700
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 0x10040ef1
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], 0x10041190
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 0x10040f4e
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
lock inc dword [ecx]
jmp 0x10040f54
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.100416b0
push dword [ebp - 0x230]
lea ecx, [ebx + 0x120]
sub esp, 8
call fcn.10036470
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x10040fa7
mov edx, dword [ebp - 0x224]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x10040fa7
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x228]
lea ecx, [ebp - 0x21c]
call fcn.10041040
mov ecx, dword [ebp - 0x234]
test byte [ecx + 4], 0x10
je 0x10040fce
cmp dword [ebp - 0x18], 0
jne 0x10040fce
mov al, 1
jmp 0x10040fd0
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.1000e090
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
call fcn.100410e0
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 0x14
Function at 0x10041570
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x100415a1
mov ecx, dword [eax + 0x44]
lea esi, [eax + 0x20]
test ecx, ecx
je 0x1004159a
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 0x100415e3
push dword [0x1009e9a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100415d3
mov edx, dword [eax + 4]
test edx, edx
je 0x100415d3
mov eax, 4
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100415e6
inc eax
cmp eax, 6
jl 0x100415c4
push esi
call fcn.10050141
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 0x10041600
Capabilities:
Get thread local storage value

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
mov eax, dword [edi + 8]
test eax, eax
je 0x1004164c
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x10041645
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 0x1004168f
push dword [0x1009e9a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x1004167f
mov edx, dword [eax + 4]
test edx, edx
je 0x1004167f
xor eax, eax
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x100416a0
inc eax
cmp eax, 2
jl 0x10041670
push esi
call fcn.10050141
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 0x10041688
Function at 0x10041900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c5d5
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 0x10041955
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.1003fee0
mov dword [ebp - 4], 1
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 0x1004198f
nop
cmp dword [eax], esi
je 0x10041a1e
mov eax, dword [eax + 8]
test eax, eax
jne 0x10041980
lea eax, [ebp - 0x68]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x38]
push eax
push 0x80
call fcn.1000b700
add esp, 8
mov esi, eax
mov byte [ebp - 4], 3
lea edi, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x10043f10
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 0x10041a47
lea eax, [ebp - 0x68]
cmp ecx, eax
jne 0x10041a3d
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov dword [edi + 0x24], eax
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x10041a47
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x10041a40
cmp dword [eax + 4], 0
je 0x1004198f
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.10044d20
add esp, 8
nop
jmp 0x10041a73
mov dword [edi + 0x24], ecx
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x28]
call fcn.1003fee0
mov ecx, dword [ebp - 0x6c]
push esi
push ebx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1000e890
lea ecx, [ebp - 0x78]
call fcn.10043e90
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10041a92
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 0x10041aaa
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.1004fde9
mov esp, ebp
pop ebp
ret
Function at 0x10041c80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c665
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 0x10041cdf
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 [0x1009e624]
mov esi, dword [ebx]
mov dword [ebp - 0x64], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10041d25
cmp dword [eax], esi
je 0x10041de7
mov eax, dword [eax + 8]
test eax, eax
jne 0x10041d16
lea eax, [ebp - 0x60]
push eax
push 0x78
mov dword [ebp - 0x70], eax
call fcn.1000b700
add esp, 8
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [edi + 0x28]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10044280
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.10020bd0
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.1000e890
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10041dcb
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
cmp dword [eax + 4], 0
je 0x10041d25
nop
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
push eax
call fcn.1003f230
add esp, 8
nop
jmp 0x10041db3

Function at 0x10041f20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10041f3a
add ecx, 0x18
call fcn.10020c50
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10041f7f
push dword [0x1009e9a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10041f6f
mov edx, dword [eax + 4]
test edx, edx
je 0x10041f6f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10041f82
inc eax
cmp eax, 6
jl 0x10041f60
push esi
call fcn.10050141
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 0x10042540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c75d
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.1003a930
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 [0x1009e624]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100425bf
nop dword [eax]
cmp dword [eax], esi
je 0x1004266d
mov eax, dword [eax + 8]
test eax, eax
jne 0x100425b0
lea eax, [ebp - 0x68]
push eax
push 0x80
mov dword [ebp - 0x78], eax
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], 0x100448b0
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.10029ea0
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.1000e890
lea ecx, [ebp - 0x60]
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 0x100425bf
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100406c0
add esp, 8
nop
jmp 0x10042649
Function at 0x10043720
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c9e6
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.10034990
push esi
lea ecx, [ebp - 0x90]
call fcn.10040bd0
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 [0x1009e624]
mov esi, dword [ebx]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100437b6
cmp dword [eax], esi
je 0x100438e9
mov eax, dword [eax + 8]
test eax, eax
jne 0x100437a7
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x60]
push eax
push 0xe8
call fcn.1000b700
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], 0x10044be0
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.10029e10
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x60]
call fcn.10040bd0
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.1000e890
lea ecx, [ebp - 0xe0]
call fcn.10044b50
lea ecx, [ebp - 0x90]
call fcn.100348f0
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x100438af
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100438af
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100438af
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x100438cd
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.1004fde9
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], 0
je 0x100437b6
nop
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.10045600
add esp, 8
nop
jmp 0x10043879
Function at 0x10043910
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ca36
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.10034990
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.100359d0
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 [0x1009e624]
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100439db
nop
cmp dword [eax], esi
je 0x100439fc
mov eax, dword [eax + 8]
test eax, eax
jne 0x100439d0
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xdc], eax
cmp byte [esi + 0x400], 0
jne 0x10043a1a
mov byte [esi + 0x400], 1
jmp 0x10043a29
cmp dword [eax + 4], 0
je 0x100439db
nop
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100456a0
add esp, 8
nop
jmp 0x10043a90
push 0xe8
call fcn.1004fdf7
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], 0x10045290
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.10045580
push esi
push edi
mov ecx, ebx
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
call fcn.1000e890
lea ecx, [ebp - 0xd0]
call fcn.100447b0
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

Function at 0x10043b30
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10043b4a
add ecx, 8
call fcn.100348f0
mov dword [edi + 8], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x10043b8f
push dword [0x1009e9a0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10043b7f
mov edx, dword [eax + 4]
test edx, edx
je 0x10043b7f
mov eax, 4
nop dword [eax]
cmp dword [edx + eax*4], 0
lea ecx, [edx + eax*4]
je 0x10043b92
inc eax
cmp eax, 6
jl 0x10043b70
push esi
call fcn.10050141
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