joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 4], 0
mov dword [edi + 8], eax
jne 0x437d21
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0054f9f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push 0x594154
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x437d37
lea eax, [ebp - 0x20c]
push eax
call fcn.00514b80
add esp, 4
test eax, eax
je 0x437d37
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x437d0f
push str.CreatePopMgr
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x437d0f
call eax
mov dword [edi + 4], eax
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x437d37
mov eax, dword [ecx]
push str.proc_opt_popup_popmgr_stub
push ecx
call dword [eax + 4]
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca7d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.0046ca7d
mov esp, ebp
pop ebp
ret 4
Function at 0x43b4a0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x28], 0
jne 0x43b4c1
push 0
push 0
push esi
push 0x43b870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov byte [esi + 0x28], 1
pop esi
ret

Function at 0x43be10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x74], 0
je 0x43be26
mov eax, 1
pop esi
pop ebp
ret 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43be79
push dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
push 0x5d0ae0
push 0x5d0028
push 0x5dd8bc
call fcn.0040f3f0
add esp, 0x14
movzx eax, ax
mov ecx, esi
push 0
push eax
push 0
push 0
push 0x56000000
push 0
push 0
push dword [ebp + 8]
call fcn.0043b330
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x74], eax
pop esi
pop ebp
ret 4
Function at 0x445f50
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x445f73
test eax, eax
jne 0x446028
mov eax, dword [0x5d0da4]
cmp eax, 0xffffffff
je 0x446028
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x446027
mov eax, dword [0x5d0da4]
mov ecx, 0x100
push esi
push edi
mov esi, ebx
mov dword [ebp - 0x408], eax
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x404]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0046ceae
add esp, 4
mov edi, 0x100
nop dword [eax + eax]
mov esi, dword [0x5dd290]
xor dl, dl
test esi, esi
jle 0x44600e
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x404]
test ecx, ecx
je 0x446009
mov eax, dword [esi*4 + 0x5dd298]
test eax, eax
je 0x446009
push ecx
mov dword [ebp + esi*4 - 0x404], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x445fe0
dec edi
test edi, edi
jle 0x446017
test dl, dl
jne 0x445fd0
push 0
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ca7d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44cf60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58819a
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5d1e24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi], vtable.base::MessageLoop.0
mov dword [ebp + 8], 0
mov dword [ebp - 0x14], 0
mov dword [edi + 4], eax
lea esi, [edi + 0xc]
mov dword [edi + 8], 2
push 8
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046c7a5
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
push 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046c7a5
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov word [edi + 0x64], 1
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0xf
mov byte [edi + 0x68], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.0045ab00
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x44d134
mov edx, dword [ecx]
push 1
call dword [edx]
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 4
Function at 0x44d150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588242
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d1e24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx], vtable.base::MessageLoop.0
mov dword [ebp - 4], 0
mov dword [ebx + 4], 0
mov edi, dword [ebp + 8]
lea esi, [ebx + 0xc]
mov dword [ebx + 8], edi
mov dword [ebp + 8], esi
push 8
mov byte [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046c7a5
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
lea esi, [ebx + 0x38]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebp + 8], esi
push 8
mov byte [ebp - 4], 3
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046c7a5
mov dword [esi], eax
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
mov word [ebx + 0x64], 1
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0xf
mov byte [ebx + 0x68], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x84], 0
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x8c], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [ebx + 0x98], 0
mov dword [ebx + 0x9c], 0
mov dword [ebx + 0xa4], 0
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.0045ab00
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00454f20
add esp, 8
mov esi, dword [eax]
xor ecx, ecx
mov dword [eax], 0
mov dword [ebp + 8], ecx
test esi, esi
je 0x44d327
cmp esi, dword [ebx + 4]
je 0x44d36c
mov edx, dword [ebx + 4]
mov dword [ebx + 4], ecx
test edx, edx
je 0x44d33c
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], esi
test ecx, ecx
je 0x44d349
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x44d356
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, ebx
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
call fcn.00564cf9
int3
Function at 0x44d690
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x5dc868
mov dword [ebp - 4], esi
call fcn.00457d60
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi], eax
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], esi
mov dword [esi + 8], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44d850
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x44d8ad
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push esi
call fcn.00446bc0
add esp, 0xc
test eax, eax
je 0x44d8ad
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.0044ce40
lea ecx, [ebp - 0xb4]
call fcn.0044fa60
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44fa60
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5885f0
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5d1e24]
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 ebx, ecx
cmp byte [0x5d0bd5], 0
je 0x44fc9d
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.004365f0
movzx eax, al
mov ecx, esi
push eax
call fcn.00436420
mov ecx, esi
call fcn.0042a4c0
lea eax, [ebp - 0x428]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.00467ba0
mov eax, dword [0x5dc890]
test eax, eax
je 0x44fb03
lea ecx, [ebp - 0x428]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x44fc92
test byte [0x5d0bd0], 2
je 0x44fb29
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44fb2e
cmp dword [ebx], 2
jl 0x44fb6c
cmp dword [ebp - 0x414], 0x10
lea edi, [ebp - 0x428]
mov esi, dword [ebp - 0x418]
cmovae edi, dword [ebp - 0x428]
push 2
call fcn.00563567
push eax
push 1
push esi
push edi
call fcn.005646e4
push 2
call fcn.00563567
push eax
call fcn.00563a96
lea esi, [ebx + 0xc]
add esp, 0x1c
test byte [0x5d0bd0], 1
je 0x44fc18
push 0
push 0
call fcn.0045a960
add esp, 8
cmp dword [0x5dc89c], 0
jne 0x44fb9e
push 0xffffffffffffffff
push dword [0x5dc898]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44fbaa
push dword [0x5dc894]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0045bd10
test al, al
je 0x44fbf5
push 2
push 0
push 0
push dword [0x5dc884]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x414], 0x10
lea ecx, [ebp - 0x42c]
push 0
push ecx
push dword [ebp - 0x418]
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
push dword [0x5dc884]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x5dc89c], 0
jne 0x44fc0c
push dword [0x5dc898]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x44fc18
push dword [0x5dc894]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx], 3
jne 0x44fc92
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
mov ecx, dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
cmp ecx, 0x400
ja 0x44fccd
push ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0054eef0
lea eax, [ebp - 0x410]
push eax
call fcn.00453910
add esp, 0x10
cmp dword [0x5dc88c], 0
je 0x44fcd2
lea eax, [ebp - 0x444]
mov ecx, esi
push eax
call fcn.00467ba0
lea eax, [ebp - 0x444]
push eax
call dword [0x5dc88c]
add esp, 4
lea ecx, [ebp - 0x444]
call fcn.00405000
lea ecx, [ebp - 0x428]
call fcn.00405000
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebx + 8]
call fcn.004512c0
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.0046ca7d
mov esp, ebp
pop ebp
ret
call fcn.0055306a
call fcn.00454350
int3
Function at 0x450400
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588660
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x5dc868
mov dword [edi], vtable.base::debug::TraceLog::ThreadLocalEventBuffer.0
call fcn.00457d60
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.0045dff0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x45050b
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x450474
cmp edx, 0x7fffffff
jne 0x450474
movsd xmm0, qword [0x59acf8]
jmp 0x450481
call fcn.0046ce50
divsd xmm0, qword [0x59acd0]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov ecx, edi
mov dword [ebp - 0x20], str.average_overhead
mov esi, eax
call fcn.00452e50
test eax, eax
je 0x45050b
movsd xmm0, qword [ebp - 0x30]
push 0
push 0
movsd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x11]
movlpd qword [ebp - 0x28], xmm0
push ecx
lea ecx, [ebp - 0x20]
movlpd qword [ebp - 0x30], xmm0
push ecx
push 1
push 0
push 0
push str.overhead
push 0x5dd1b3
push 0x4d
push dword [ebp - 0x24]
mov ecx, eax
mov byte [ebp - 0x11], 4
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
call fcn.0045b6c0
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.00457940
mov ecx, 0x5dc868
call fcn.00457d60
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], eax
add ecx, 0x1e8
lea eax, [ebp - 0x20]
push eax
call fcn.00465c00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call fcn.00460560
mov esi, dword [edi + 8]
add esp, 8
test esi, esi
je 0x45058b
push 0x4505c0
push 0x40
push 0x60
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0046c6a7
push 0x1810
push esi
call fcn.0046c7d5
add esp, 8
mov dword [edi], vtable.base::MessageLoop::DestructionObserver.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ca7d
mov esp, ebp
pop ebp
ret
Function at 0x454370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x4543e1
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x597fa0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x597fa0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x597fa0]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x597fa0]
sub edi, 1
jne 0x454383
pop edi
pop ebx
pop esi
ret
Function at 0x455220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
test esi, esi
je 0x455248
call fcn.004596c0
cmp dword [eax], 1
jl 0x455248
mov dword [ebp - 4], 0x10000
jmp 0x45524a
xor esi, esi
push 8
call fcn.0046c7a5
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, dword [ebp + 0x10]
mov ebx, eax
test edi, edi
push 0
push dword [ebp - 4]
mov dword [ebx], ecx
setne cl
push ebx
push 0x461370
push esi
push 0
mov byte [ebx + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x455292
push 8
push ebx
call fcn.0046c7d5
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x4552a8
mov dword [edi], eax
mov al, 1
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x457d60
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, 0xfffffffe
jne 0x457dd7
push esi
call fcn.0045c570
add esp, 4
test al, al
je 0x457dd7
push edi
lea edi, [esi + 4]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x457dd4
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push edi
call fcn.00446bc0
add esp, 0xc
test eax, eax
je 0x457dd4
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.0044ce40
lea ecx, [ebp - 0xb4]
call fcn.0044fa60
mov dword [esi], edi
pop edi
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4594c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x4594d6
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
push esi
push dword [edi + 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x45951e
push dword [edi + 0x1dc]
call esi
mov esi, eax
mov edx, dword [esi + 8]
test edx, edx
je 0x45951e
cmp ebx, dword [edx + 0x1808]
jne 0x45951e
mov eax, dword [ebp + 0xc]
movzx ecx, ax
cmp ecx, dword [esi + 0xc]
jne 0x45951e
movzx eax, word [ebp + 0xe]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, edx
jne 0x459582
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x459537
cmp byte [esi + 4], 0
jne 0x459537
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x20c]
test ecx, ecx
je 0x459576
mov eax, dword [ebp + 0xc]
movzx eax, ax
cmp eax, dword [edi + 0x210]
jne 0x459576
cmp ebx, dword [ecx + 0x1808]
jne 0x45956d
movzx eax, word [ebp + 0xe]
pop esi
pop edi
pop ebx
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop ebp
ret 0xc
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x45b500
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x5d1e24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5d0da4]
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x45b52b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x45b530
call fcn.00454bb0
mov eax, 1
mov ecx, 0x5dd290
lock xadd dword [ecx], eax
inc eax
mov dword [ebp - 8], 0x100
mov dword [esi + 4], eax
mov dword [ebp - 0xc], eax
cmp eax, 0x100
jl 0x45b58d
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00446a50
add esp, 0xc
test eax, eax
je 0x45b58d
push eax
push 0xd2
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0xbc]
call fcn.0044ce40
lea ecx, [ebp - 0xbc]
call fcn.0044fa60
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x5dd298], eax
mov al, 1
mov ecx, dword [ebp - 4]
mov byte [esi], 1
xor ecx, ebp
pop esi
call fcn.0046ca7d
mov esp, ebp
pop ebp
ret 4
Function at 0x45be20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589a21
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5d1e24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.0045b5b0
test al, al
je 0x45bfe1
mov eax, dword [0x5d0da4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x45be71
call fcn.00454bb0
mov ecx, eax
mov eax, dword [0x5dd6a4]
cmp dword [ecx + eax*4], 0
jne 0x45bfe1
push 0x70
call fcn.0046c7a5
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x45bfb7
push 0x70
push 0
push edi
call fcn.0054f9f0
mov dword [edi], 0
add esp, 0xc
mov dword [edi + 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x20], 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00463790
mov dword [esi], eax
lea esi, [edi + 0x2c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004637b0
mov dword [esi], eax
lea esi, [edi + 0x34]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00463770
mov dword [esi], eax
lea eax, [edi + 0x3c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea esi, [edi + 0x54]
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0046c7a5
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 6
mov dword [edi + 0x6c], 0xffffffff
cmp ecx, ebx
je 0x45bfae
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x45bfa5
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00409600
mov ecx, edi
call fcn.0045d440
jmp 0x45bfb9
xor edi, edi
mov eax, dword [0x5d0da4]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x45bfd9
call fcn.00454bb0
mov ecx, eax
mov eax, dword [0x5dd6a4]
mov dword [ecx + eax*4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret