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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c63f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0x1a
push eax
call fcn.0042f0f0
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x42e8c7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e945
push dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov ecx, esi
push 1
push eax
call fcn.0042f0f0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42e90b
mov ecx, eax
call fcn.004040d0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42e945
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42e93b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42ea4d
push edx
push ecx
call fcn.0045ded2
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x42e970
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x4a0650
mov word [edi], ax
call fcn.004082f0
jmp 0x42ea26
call fcn.00405510
mov ecx, eax
test ecx, ecx
je 0x42ea52
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040ad10
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00420c30
mov edx, dword [ebp - 0x48]
add esp, 8
mov byte [ebp - 4], 1
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e9d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x44]
xor eax, eax
mov ecx, esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e9f2
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.004082f0
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42ea26
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
call fcn.004040d0
mov eax, edi
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.0045e17a
mov esp, ebp
pop ebp
ret 8
call fcn.0046d39a
push 0x80004005
call fcn.00404fa0
int3
Function at 0x431470
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ab32
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x4c63f4]
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 0x4315a0
test eax, eax
je 0x4315a0
test ebx, ebx
je 0x4315a0
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 0x43158f
cmp dword [ebp - 0x818], eax
je 0x4315a0
push 0x802
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.00469f70
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 0x43158f
lea ecx, [ebp - 0x814]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431571
sub ecx, edx
lea eax, [ebp - 0x814]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004082f0
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4315a0
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.0045e17a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x433540
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ada0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c63f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00433620
push 0
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00433710
add esp, 0x18
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4335ae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x14], 0
je 0x4335df
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4335df
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x4a0650
call fcn.0040ad10
jmp 0x4335ed
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040ac80
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x43360c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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
Function at 0x433710
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ae10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4c63f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x433829
cmp dword [ebp + 0x10], 0
je 0x433829
call fcn.00405510
mov ecx, eax
test ecx, ecx
je 0x433879
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 0xc], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x105
or eax, ecx
mov dword [ebp - 4], 1
jge 0x43378e
push 0x105
lea ecx, [ebp + 0xc]
call fcn.004056d0
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [esi - 8]
push esi
call fcn.0046d623
add esp, 8
test eax, eax
js 0x433883
cmp eax, dword [esi - 8]
jg 0x433883
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp + 0x14], ecx
je 0x433819
push ecx
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x433819
mov edi, dword [ebp + 8]
mov ecx, edi
push 0x4a0650
call fcn.0040ad10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433806
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0040ac80
jmp 0x4337e7
call fcn.00405510
mov ecx, eax
test ecx, ecx
je 0x43388d
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x4a0650
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00404fc0
test al, al
jne 0x433866
push 0
push 0x4a0650
mov ecx, esi
call fcn.00406370
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404fa0
push 0x80070057
call fcn.00404fa0
push 0x80004005
call fcn.00404fa0
int3
Function at 0x438e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b548
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4c63f4]
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.0045dea2
mov edi, eax
add esp, 4
test edi, edi
je 0x438ebd
push 1
mov dword [ebp - 4], 0
call fcn.00418e0e
add esp, 4
mov dword [edi + 4], eax
jmp 0x438ebf
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.00419b7c
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 0x438f21
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x438f21
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 0x438f44
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 0x438f67
cmp byte [ebp + 0xc], 0
je 0x438f53
push esi
call fcn.00419422
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 0x438f73
mov esi, str.ios_base::badbit_set
jmp 0x438f83
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.004091b0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.00403cb0
push 0x4bab7c
lea eax, [ebp - 0x30]
push eax
call fcn.00469058
int3
Function at 0x43b2f0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c63f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x43b439
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b439
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b439
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43b439
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push 0x80000000
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x43b425
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43b41e
cmp dword [ebp - 0x1c], ebx
jne 0x43b41e
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x43b3bd
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x43b3b7
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x43b3c9
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00407d30
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.004191b7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x43b41e
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4c63f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x43b553
test eax, eax
jne 0x43b608
mov eax, dword [0x4c6394]
cmp eax, 0xffffffff
je 0x43b608
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x43b607
mov eax, dword [0x4c6394]
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.0045e1cb
add esp, 4
mov edi, 0x100
nop dword [eax + eax]
mov esi, dword [0x4cb290]
xor dl, dl
test esi, esi
jle 0x43b5ee
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x404]
test ecx, ecx
je 0x43b5e9
mov eax, dword [esi*4 + 0x4cb298]
test eax, eax
je 0x43b5e9
push ecx
mov dword [ebp + esi*4 - 0x404], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x43b5c0
dec edi
test edi, edi
jle 0x43b5f7
test dl, dl
jne 0x43b5b0
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.0045e17a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4417b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49bfc2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4c63f4]
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.0045dea2
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.0045dea2
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.0044e490
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00448b80
add esp, 8
mov esi, dword [eax]
xor ecx, ecx
mov dword [eax], 0
mov dword [ebp + 8], ecx
test esi, esi
je 0x441987
cmp esi, dword [ebx + 4]
je 0x4419cc
mov edx, dword [ebx + 4]
mov dword [ebx + 4], ecx
test edx, edx
je 0x44199c
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 0x4419a9
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x4419b6
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.004795f9
int3
Function at 0x441cf0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov ecx, 0x4ca868
mov dword [ebp - 4], esi
call fcn.0044b750
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 0x441e20
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 0x441e7d
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push esi
call fcn.0043bc70
add esp, 0xc
test eax, eax
je 0x441e7d
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.00441690
lea ecx, [ebp - 0xb4]
call fcn.00443e90
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443e90
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c360
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4c63f4]
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 [0x4c61c5], 0
je 0x4440cd
mov eax, dword [ebx + 8]
lea esi, [ebx + 8]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.0045a7a0
movzx eax, al
mov ecx, esi
push eax
call fcn.00459d70
mov ecx, esi
call fcn.00438720
lea eax, [ebp - 0x428]
lea esi, [ebx + 0xc]
push eax
mov ecx, esi
call fcn.0045a3f0
mov eax, dword [0x4ca890]
test eax, eax
je 0x443f33
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 0x4440c2
test byte [0x4c61c0], 2
je 0x443f59
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x443f5e
cmp dword [ebx], 2
jl 0x443f9c
cmp dword [ebp - 0x414], 0x10
lea edi, [ebp - 0x428]
mov esi, dword [ebp - 0x418]
cmovae edi, dword [ebp - 0x428]
push 2
call fcn.00480ffc
push eax
push 1
push esi
push edi
call fcn.00481654
push 2
call fcn.00480ffc
push eax
call fcn.004813b9
lea esi, [ebx + 0xc]
add esp, 0x1c
test byte [0x4c61c0], 1
je 0x444048
push 0
push 0
call fcn.0044e2f0
add esp, 8
cmp dword [0x4ca89c], 0
jne 0x443fce
push 0xffffffffffffffff
push dword [0x4ca898]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x443fda
push dword [0x4ca894]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call fcn.0044f670
test al, al
je 0x444025
push 2
push 0
push 0
push dword [0x4ca884]
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 [0x4ca884]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [0x4ca89c], 0
jne 0x44403c
push dword [0x4ca898]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x444048
push dword [0x4ca894]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx], 3
jne 0x4440c2
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
mov ecx, dword [ebp - 0x418]
cmovae eax, dword [ebp - 0x428]
cmp ecx, 0x400
ja 0x4440fd
push ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00469470
lea eax, [ebp - 0x410]
push eax
call fcn.00447920
add esp, 0x10
cmp dword [0x4ca88c], 0
je 0x444102
lea eax, [ebp - 0x444]
mov ecx, esi
push eax
call fcn.0045a3f0
lea eax, [ebp - 0x444]
push eax
call dword [0x4ca88c]
add esp, 4
lea ecx, [ebp - 0x444]
call fcn.00404080
lea ecx, [ebp - 0x428]
call fcn.00404080
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebx + 8]
call fcn.004297c0
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.0045e17a
mov esp, ebp
pop ebp
ret
call fcn.0046d39a
call fcn.00447fb0
int3
Function at 0x4446c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c63f4]
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, 0x4ca868
mov dword [edi], vtable.base::debug::TraceLog::ThreadLocalEventBuffer.0
call fcn.0044b750
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.004516d0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x4447cb
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x444734
cmp edx, 0x7fffffff
jne 0x444734
movsd xmm0, qword [0x4a6c88]
jmp 0x444741
call fcn.0045ec60
divsd xmm0, qword [0x4a9c30]
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.00446e60
test eax, eax
je 0x4447cb
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 0x4cb1b3
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.0044f080
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.0044b390
mov ecx, 0x4ca868
call fcn.0044b750
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.00458b00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call fcn.00453b80
mov esi, dword [edi + 8]
add esp, 8
test esi, esi
je 0x44484b
push 0x4448b0
push 0x40
push 0x60
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0045dda4
push 0x1810
push esi
call fcn.0045ded2
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.0045e17a
mov esp, ebp
pop ebp
ret
Function at 0x447fd0
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 0x448041
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 + 0x4a7050]
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 + 0x4a7050]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4a7050]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4a7050]
sub edi, 1
jne 0x447fe3
pop edi
pop ebx
pop esi
ret