joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e7e2
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x4ca3f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x824], esi
mov dword [ebp - 0x81c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x818], 0
mov word [esi], dx
mov dword [ebp - 4], edx
mov dword [ebp - 0x81c], 1
test ecx, ecx
je 0x4352a0
test eax, eax
je 0x4352a0
test ebx, ebx
je 0x4352a0
lea edx, [ebp - 0x818]
push edx
push 0x20219
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43528f
cmp dword [ebp - 0x818], eax
je 0x4352a0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0046d470
add esp, 0xc
mov dword [ebp - 0x820], 0x800
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x814]
push eax
push 0
push 0xffff
push ebx
push 0
push dword [ebp - 0x818]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x43528f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435271
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407ca0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4352a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00461490
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435b90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e8cd
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4ca3f4]
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
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
push 0
push eax
call fcn.0046d470
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x435c1e
nop dword [eax]
lea eax, [ebp - 0x218]
push eax
call edi
sub esi, 1
jne 0x435c10
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435c44
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407ca0
xor eax, eax
mov dword [ebp - 4], 1
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [ebp - 0x238], 0
push eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x24c], 1
call fcn.00423db0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.004217b8
push 0x10
push 0x4aa3e8
lea ecx, [ebp - 0x248]
call fcn.004217b8
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x234]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x435d42
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435d38
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435de0
push edx
push ecx
call fcn.004611e8
add esp, 8
lea eax, [ebp - 0x218]
test esi, esi
je 0x435d53
push str.ProductInfo.dat
jmp 0x435d58
push str.utilsProductInfo.dat
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push eax
mov ecx, ebx
call fcn.00435df0
mov edx, dword [ebp - 0x21c]
mov bl, al
cmp edx, 8
jb 0x435dc0
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435de5
push edx
push ecx
call fcn.004611e8
add esp, 8
mov al, bl
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.00461490
mov esp, ebp
pop ebp
ret 4
call fcn.0047089a
call fcn.0047089a
int3
Function at 0x43c2d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f178
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4ca3f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.004611b8
mov edi, eax
add esp, 4
test edi, edi
je 0x43c36d
push 1
mov dword [ebp - 4], 0
call fcn.0041cd68
add esp, 4
mov dword [edi + 4], eax
jmp 0x43c36f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.0041dad6
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x43c3d1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x43c3d1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x43c3f4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x43c417
cmp byte [ebp + 0xc], 0
je 0x43c403
push esi
call fcn.0041d37c
add esp, 4
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
test cl, 4
je 0x43c423
mov esi, str.ios_base::badbit_set
jmp 0x43c433
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.00408b60
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00403c70
push 0x4be6d0
lea eax, [ebp - 0x30]
push eax
call fcn.0046c558
int3
Function at 0x43e880
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4ca3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x43e8a3
test eax, eax
jne 0x43e958
mov eax, dword [0x4ca394]
cmp eax, 0xffffffff
je 0x43e958
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x43e957
mov eax, dword [0x4ca394]
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.004614eb
add esp, 4
mov edi, 0x100
nop dword [eax + eax]
mov esi, dword [0x4cee80]
xor dl, dl
test esi, esi
jle 0x43e93e
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x404]
test ecx, ecx
je 0x43e939
mov eax, dword [esi*4 + 0x4cee88]
test eax, eax
je 0x43e939
push ecx
mov dword [ebp + esi*4 - 0x404], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x43e910
dec edi
test edi, edi
jle 0x43e947
test dl, dl
jne 0x43e900
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.00461490
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fbd2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ca3f4]
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.004611b8
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.004611b8
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.00451800
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044bef0
add esp, 8
mov esi, dword [eax]
xor ecx, ecx
mov dword [eax], 0
mov dword [ebp + 8], ecx
test esi, esi
je 0x444cd7
cmp esi, dword [ebx + 4]
je 0x444d1c
mov edx, dword [ebx + 4]
mov dword [ebx + 4], ecx
test edx, edx
je 0x444cec
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 0x444cf9
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x444d06
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.0047b8c9
int3
Function at 0x445040
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x4ce458
mov dword [ebp - 4], esi
call fcn.0044eac0
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 0x445170
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 0x4451cd
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push esi
call fcn.0043efc0
add esp, 0xc
test eax, eax
je 0x4451cd
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.004449e0
lea ecx, [ebp - 0xb4]
call fcn.004471e0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4471e0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ff70
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4ca3f4]
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 [0x4ca1c5], 0
je 0x44741d
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0045da80
movzx eax, al
mov ecx, esi
push eax
call fcn.0045d0b0
mov ecx, esi
call fcn.0043bbd0
lea eax, [ebp - 0x428]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.0045d730
mov eax, dword [0x4ce480]
test eax, eax
je 0x447283
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 0x447412
test byte [0x4ca1c0], 2
je 0x4472a9
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4472ae
cmp dword [ebx], 2
jl 0x4472ec
cmp dword [ebp - 0x414], 0x10
lea edi, [ebp - 0x428]
mov esi, dword [ebp - 0x418]
cmovae edi, dword [ebp - 0x428]
push 2
call fcn.0048463c
push eax
push 1
push esi
push edi
call fcn.00484c94
push 2
call fcn.0048463c
push eax
call fcn.004849f9
lea esi, [ebx + 0xc]
add esp, 0x1c
test byte [0x4ca1c0], 1
je 0x447398
push 0
push 0
call fcn.00451660
add esp, 8
cmp dword [0x4ce48c], 0
jne 0x44731e
push 0xffffffffffffffff
push dword [0x4ce488]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x44732a
push dword [0x4ce484]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.004529b0
test al, al
je 0x447375
push 2
push 0
push 0
push dword [0x4ce474]
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 [0x4ce474]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x4ce48c], 0
jne 0x44738c
push dword [0x4ce488]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x447398
push dword [0x4ce484]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx], 3
jne 0x447412
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
mov ecx, dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
cmp ecx, 0x400
ja 0x44744d
push ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0046c970
lea eax, [ebp - 0x410]
push eax
call fcn.0044ac90
add esp, 0x10
cmp dword [0x4ce47c], 0
je 0x447452
lea eax, [ebp - 0x444]
mov ecx, esi
push eax
call fcn.0045d730
lea eax, [ebp - 0x444]
push eax
call dword [0x4ce47c]
add esp, 4
lea ecx, [ebp - 0x444]
call fcn.00404040
lea ecx, [ebp - 0x428]
call fcn.00404040
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebx + 8]
call fcn.0042c100
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.00461490
mov esp, ebp
pop ebp
ret
call fcn.0047089a
call fcn.0044b320
int3
Function at 0x447a10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ffc0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ca3f4]
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, 0x4ce458
mov dword [edi], vtable.base::debug::TraceLog::ThreadLocalEventBuffer.0
call fcn.0044eac0
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.00454a10
mov esi, dword [edi + 0x10]
test esi, esi
je 0x447b1b
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x447a84
cmp edx, 0x7fffffff
jne 0x447a84
movsd xmm0, qword [0x4aae90]
jmp 0x447a91
call fcn.00461f30
divsd xmm0, qword [0x4ade38]
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.0044a1d0
test eax, eax
je 0x447b1b
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 0x4ceda3
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.004523c0
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.0044e700
mov ecx, 0x4ce458
call fcn.0044eac0
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.0045be40
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call fcn.00456ec0
mov esi, dword [edi + 8]
add esp, 8
test esi, esi
je 0x447b9b
push 0x447c00
push 0x40
push 0x60
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
call fcn.004610ba
push 0x1810
push esi
call fcn.004611e8
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.00461490
mov esp, ebp
pop ebp
ret
Function at 0x44b340
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 0x44b3b1
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 + 0x4ab250]
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 + 0x4ab250]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4ab250]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4ab250]
sub edi, 1
jne 0x44b353
pop edi
pop ebx
pop esi
ret
Function at 0x44eac0
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 0x44eb37
push esi
call fcn.004531f0
add esp, 4
test al, al
je 0x44eb37
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 0x44eb34
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push edi
call fcn.0043efc0
add esp, 0xc
test eax, eax
je 0x44eb34
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.004449e0
lea ecx, [ebp - 0xb4]
call fcn.004471e0
mov dword [esi], edi
pop edi
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x450220
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 0x450236
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 0x45027e
push dword [edi + 0x1dc]
call esi
mov esi, eax
mov edx, dword [esi + 8]
test edx, edx
je 0x45027e
cmp ebx, dword [edx + 0x1808]
jne 0x45027e
mov eax, dword [ebp + 0xc]
movzx ecx, ax
cmp ecx, dword [esi + 0xc]
jne 0x45027e
movzx eax, word [ebp + 0xe]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, edx
jne 0x4502e2
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x450297
cmp byte [esi + 4], 0
jne 0x450297
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x20c]
test ecx, ecx
je 0x4502d6
mov eax, dword [ebp + 0xc]
movzx eax, ax
cmp eax, dword [edi + 0x210]
jne 0x4502d6
cmp ebx, dword [ecx + 0x1808]
jne 0x4502cd
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 0x452200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x4ca3f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ca394]
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x45222b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x452230
call fcn.0044bb80
mov eax, 1
mov ecx, 0x4cee80
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 0x45228d
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043ee50
add esp, 0xc
test eax, eax
je 0x45228d
push eax
push 0xd2
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0xbc]
call fcn.004449e0
lea ecx, [ebp - 0xbc]
call fcn.004471e0
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x4cee88], eax
mov al, 1
mov ecx, dword [ebp - 4]
mov byte [esi], 1
xor ecx, ebp
pop esi
call fcn.00461490
mov esp, ebp
pop ebp
ret 4
Function at 0x452ac0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1281
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ca3f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.004522b0
test al, al
je 0x452c81
mov eax, dword [0x4ca394]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x452b11
call fcn.0044bb80
mov ecx, eax
mov eax, dword [0x4cf294]
cmp dword [ecx + eax*4], 0
jne 0x452c81
push 0x70
call fcn.004611b8
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x452c57
push 0x70
push 0
push edi
call fcn.0046d470
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.00459980
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.0042c340
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.00459960
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.004611b8
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 0x452c4e
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x452c45
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00407ba0
mov ecx, edi
call fcn.00453ef0
jmp 0x452c59
xor edi, edi
mov eax, dword [0x4ca394]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x452c79
call fcn.0044bb80
mov ecx, eax
mov eax, dword [0x4cf294]
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