joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x41987b
mov ecx, esi
jmp 0x419880
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4198a5
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x41988f
mov eax, dword [eax]
jmp 0x419873
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x419bc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x419c31
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x419c31
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x419c75
cmp esi, eax
jne 0x419c25
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x419c5e
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x419cab
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x419ccd
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 0xc]
dec dword [ebx + 8]
call fcn.00404d70
push edi
call fcn.00489c95
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x419cb3
mov dword [ecx], edi
jmp 0x419ccd
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x419ccd
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00419cf0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x41a040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x4f31b4]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.00415110
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.00414330
mov eax, dword [0x507638]
test eax, eax
je 0x41a0a9
lea ecx, [esp + 0x10]
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 0x41a195
cmp dword [ebx], 2
jl 0x41a0ed
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.0049d152
add esp, 4
push eax
push 1
push esi
push edi
call fcn.0049d47a
push 2
call fcn.0049d152
add esp, 0x14
push eax
call fcn.0049cdf0
add esp, 4
lea esi, [ebx + 0xc]
lea edi, [ebx + 8]
call fcn.00419ec0
test al, al
je 0x41a11c
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x50763c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], 3
jne 0x41a195
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x41a150
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00498c70
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.0041fde0
add esp, 4
cmp dword [0x507644], 0
je 0x41a18b
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00414330
lea eax, [esp + 0x28]
push eax
call dword [0x507644]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00404eb0
jmp 0x41a195
cmp byte [0x5076f0], 0
jne 0x41a1d8
int3
lea ecx, [esp + 0x10]
call fcn.00404eb0
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea esi, [edi + 0x50]
mov ecx, esi
call fcn.00413580
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.00495172
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493b18
mov esp, ebp
pop ebp
ret
push 1
call fcn.004a38ae
int3
Function at 0x41bf00
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movsd xmm0, qword [0x507688]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lahf
test ah, 0x44
jp 0x41c03f
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [ebp - 4], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x5078b0]
test cl, 1
jne 0x41bf67
rdtsc
or ecx, 1
mov dword [0x5078a8], eax
mov dword [0x5078b0], ecx
mov dword [0x5078ac], edx
test cl, 2
jne 0x41bf97
lea eax, [ebp - 0x10]
or ecx, 2
xorps xmm0, xmm0
mov dword [0x5078b0], ecx
push eax
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
mov dword [0x5078b8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x5078bc], eax
rdtsc
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push dword [ebp - 4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [0x5078b8]
mov edx, dword [ebp - 0xc]
sbb edx, dword [0x5078bc]
call fcn.004943c0
mov edx, dword [ebp - 0x14]
movaps xmm1, xmm0
mov ecx, dword [ebp - 0x18]
movsd qword [ebp - 0x10], xmm1
call fcn.00494400
movsd xmm2, qword [ebp - 0x10]
divsd xmm2, xmm0
movsd xmm1, qword [0x4ea2f0]
comisd xmm1, xmm2
movsd qword [ebp - 0x10], xmm2
jbe 0x41c01d
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sub edi, dword [0x5078a8]
mov ecx, edi
sbb ebx, dword [0x5078ac]
mov edx, ebx
call fcn.004943c0
divsd xmm0, qword [ebp - 0x10]
movsd qword [0x507688], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ff40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], 0
push edi
mov edi, edx
test ebx, ebx
je 0x41ffab
cmp dword [0x5078c8], 0
jne 0x41ff98
push 0x4c
call fcn.00493b29
add esp, 4
mov ecx, eax
call fcn.0041e9f0
mov esi, eax
mov edx, 0x5078c8
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41ff98
test esi, esi
je 0x41ff98
lea ecx, [esi + 0x34]
call fcn.00404eb0
push esi
call fcn.00489c95
add esp, 4
mov eax, dword [0x5078c8]
cmp dword [eax], 1
jl 0x41ffab
mov dword [ebp - 4], 0x10000
jmp 0x41ffad
xor ebx, ebx
push 0xc
call fcn.00493b29
add esp, 4
mov esi, eax
push 0
push dword [ebp - 4]
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
push esi
push 0x41fe80
setne cl
push ebx
mov byte [esi + 4], cl
mov ecx, dword [ebp + 0xc]
push 0
mov dword [esi + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x41fff6
push esi
call fcn.00489c95
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x420005
mov dword [edi], eax
mov al, 1
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 0x4231a0
Capabilities:
Enumerate processes

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Process32FirstW]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
nop
push 0x22c
push 0
push edi
call fcn.004991f0
add esp, 0xc
mov dword [edi], 0x22c
cmp byte [esi + 8], 0
push edi
push dword [esi + 4]
jne 0x4231d8
mov byte [esi + 8], 1
call ebx
jmp 0x4231de
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
setne al
test al, al
je 0x4231fa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 4]
call edx
test al, al
je 0x4231b0
mov eax, edi
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x423940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp], 0
call fcn.00424940
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 4], eax
lea eax, [esp + 4]
mov ecx, eax
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], 0
call fcn.00431a20
lea ecx, [esp + 0x18]
call fcn.00431b00
mov esp, ebp
pop ebp
ret

Function at 0x425890
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48c
mov eax, dword [0x4f31b4]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
xor ebx, ebx
mov byte [esp + 0xb], 1
push edi
mov dword [esp + 0x10], ebx
mov esi, ecx
push ebx
push 2
mov dword [esp + 0x240], 0x4e6e30
mov byte [esp + 0x248], bl
mov dword [esp + 0x478], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push esi
lea ecx, [esp + 0x478]
mov dword [esp + 0x240], eax
mov dword [esp + 0x23c], 0x4e676c
call fcn.00404e80
lea ecx, [esp + 0x238]
call fcn.004231a0
test eax, eax
je 0x425a02
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push dword [eax + 8]
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov byte [esp + 0x10], 0
push esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.004103b0
call edi
cmp esi, eax
jne 0x425952
cmp byte [0x5076f0], 0
jne 0x425a4a
int3
test bl, 1
je 0x425963
lea ecx, [esp + 0x18]
and ebx, 0xfffffffe
call fcn.0041a040
test bl, 2
je 0x425974
lea ecx, [esp + 0x18]
and ebx, 0xfffffffd
call fcn.0041a040
cmp byte [esp + 0x10], 0
je 0x42597f
call edi
jmp 0x425983
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
mov byte [esp + 0xe], al
test al, al
je 0x4259c9
cmp byte [esp + 0x10], 0
je 0x4259a4
call edi
jmp 0x4259a8
mov eax, dword [esp + 0x14]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4259dd
test bl, 4
je 0x4259dd
and ebx, 0xfffffffb
lea ecx, [esp + 0xc8]
jmp 0x4259d8
test bl, 8
je 0x4259e1
and ebx, 0xfffffff7
lea ecx, [esp + 0x180]
call fcn.0041a680
mov al, byte [esp + 0xe]
and byte [esp + 0xf], al
lea ecx, [esp + 0x14]
call fcn.00410340
lea ecx, [esp + 0x238]
call fcn.004231a0
test eax, eax
jne 0x425915
lea ecx, [esp + 0x474]
mov dword [esp + 0x238], 0x4e676c
call fcn.00404d70
push dword [esp + 0x23c]
mov dword [esp + 0x23c], 0x4e6e30
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x494]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493b18
mov esp, ebp
pop ebp
ret
push 1
call fcn.004a38ae
int3
Function at 0x427320
Capabilities:
Get thread local storage value

Disassembly:
push edi
mov edi, ecx
call fcn.00427660
mov eax, dword [0x4f3d44]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
test edx, edx
jne 0x427341
call fcn.00431d30
mov edx, eax
mov eax, dword [0x507750]
cmp dword [edx + eax*4], 0
jne 0x427382
push 0x70
call fcn.00493b29
add esp, 4
mov ecx, eax
push edi
call fcn.00427110
mov ecx, dword [0x4f3d44]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x42737a
call fcn.00431d30
mov ecx, eax
mov eax, dword [0x507750]
mov dword [ecx + eax*4], edi
pop edi
ret

Function at 0x427390
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x50774c]
push ebx
push esi
push edi
test eax, eax
jne 0x4273a0
pop edi
pop esi
pop ebx
ret
mov eax, dword [0x4f3d44]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x4273b9
call fcn.00431d30
mov ecx, eax
mov eax, dword [0x507750]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x427449
mov ecx, 0x507710
xor edi, edi
xor ebx, ebx
call fcn.0041c110
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x507734]
test ecx, ecx
je 0x4273f9
mov eax, dword [ecx + 4]
mov edi, ecx
mov dword [0x507734], eax
mov dword [ecx + 4], ebx
jmp 0x427406
mov ebx, dword [0x507754]
inc ebx
mov dword [0x507754], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x427425
push 0x70
call fcn.00493b29
add esp, 4
mov ecx, eax
push ebx
call fcn.004271c0
mov edi, eax
mov ecx, dword [0x4f3d44]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x42743f
call fcn.00431d30
mov ecx, eax
mov eax, dword [0x507750]
mov dword [ecx + eax*4], edi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x42adb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4f31b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x42adcb
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], 0x67452301
mov dword [ebp - 0x5c], 0xefcdab89
mov dword [ebp - 0x58], 0x98badcfe
mov dword [ebp - 0x54], 0x10325476
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], eax
call fcn.00432ed0
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x70]
call fcn.00432ff0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.0042ad10
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00493b18
mov esp, ebp
pop ebp
ret
Function at 0x42ae30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x42ae9e
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x4e69a0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x4e69a0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x4e69a0]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x4e69a0]
sub ebx, 1
jne 0x42ae47
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c5a0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push edx
xor ebx, ebx
push ecx
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x42c630
cmp dword [0x507630], 3
jg 0x42c622
sub esp, 8
mov dword [esp + 0x10], 3
lea ecx, [esp + 0x18]
call fcn.004142a0
mov dword [esp + 0xac], str.c:codezm3rd_base_threading_thread_local_win.cc
mov dword [esp + 0xb0], 0x23
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.c:codezm3rd_base_threading_thread_local_win.cc
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], eax
call fcn.0041a1e0
mov edx, str.Failed_to_TlsSetValue__.
lea ecx, [esp + 0x10]
call fcn.0040ad60
mov ebx, 1
test bl, 1
je 0x42c630
lea ecx, [esp + 8]
call fcn.0041a040
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c7b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 4], 0x4e7084
mov dword [edi], 0x4e707c
mov dword [edi + 4], 0x4e709c
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x240]
mov dword [edi + 0x14], eax
call fcn.00424940
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call esi
mov edx, dword [eax + 0x5c]
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], edi
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
cmp eax, edx
je 0x42c823
cmp dword [eax], edi
je 0x42c81f
add eax, 4
cmp eax, edx
jne 0x42c814
cmp eax, edx
jne 0x42c82c
lea eax, [ebp + 8]
push eax
call fcn.00425290
call fcn.004309d0
push dword [eax]
call esi
mov esi, dword [eax]
mov dword [ebp - 0xc], esi
test esi, esi
je 0x42c84a
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov eax, dword [0x507870]
test eax, eax
jne 0x42c858
call fcn.00437400
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 0xc]
push ecx
push str.ThreadLocalEventBuffer
lea ecx, [edi + 4]
push ecx
mov ecx, eax
call fcn.00436c50
test esi, esi
je 0x42c898
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
sub eax, 1
jne 0x42c898
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [ebx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x204]
call fcn.0042f9e0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42c900
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
mov dword [esp + 8], 0
push esi
lea esi, [ebx + 4]
mov dword [esi], 0x4e709c
push edi
mov dword [ebx], 0x4e707c
call fcn.00424940
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [eax]
call edi
push ebx
lea ecx, [eax + 0x54]
call fcn.00425010
mov eax, dword [0x507870]
test eax, eax
jne 0x42c94b
call fcn.00437400
push ecx
push esi
mov ecx, eax
call fcn.00436d10
mov esi, dword [ebx + 8]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0xc], 0
je 0x42c992
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x240]
cmp dword [ebx + 0x14], eax
jne 0x42c992
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebx + 0xc]
push ecx
mov edx, esp
mov dword [ebx + 0xc], 0
mov dword [edx], eax
mov eax, dword [ecx]
push dword [ebx + 0x10]
call dword [eax + 8]
call fcn.00424940
push dword [eax]
call edi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov eax, dword [ebx + 8]
push ecx
add eax, 0x204
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.0042f1b0
mov edi, dword [esp + 0x18]
mov eax, edi
mov edx, dword [esp + 0x1c]
cmp edi, edx
je 0x42c9d6
nop word [eax + eax]
mov eax, dword [eax]
cmp eax, edx
jne 0x42c9d0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push eax
call fcn.0042f280
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 8]
xor edx, edx
mov ecx, dword [ecx + 0x1f8]
call fcn.0042c5a0
mov esi, dword [ebx + 0xc]
mov dword [ebx + 0xc], 0
test esi, esi
je 0x42ca1b
mov ecx, esi
call fcn.00435030
push esi
call fcn.00489c95
add esp, 4
pop edi
pop esi
mov dword [ebx], method.std::_Facet_base.virtual_4
mov dword [ebx + 4], 0x4e7084
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42cc80
Capabilities:
Allocate thread local storage
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x7d0
lea eax, [edi + 4]
mov dword [edi], 0x4e7090
push eax
call esi
push 0x7d0
lea eax, [edi + 0x1c]
push eax
call esi
mov dword [edi + 0x34], 0
lea ecx, [edi + 0x60]
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov byte [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
call fcn.00404ef0
lea ecx, [edi + 0x78]
call fcn.00419750
push ecx
lea eax, [esp + 0xc]
mov dword [edi + 0x98], 0
push eax
lea ecx, [edi + 0x9c]
mov dword [esp + 0x10], 0
call fcn.0042f420
lea ecx, [edi + 0xbc]
call fcn.00419750
lea ecx, [edi + 0xdc]
call fcn.0042ef20
lea ecx, [edi + 0xfc]
call fcn.00419750
mov dword [edi + 0x120], 0
lea ecx, [edi + 0x14c]
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
call fcn.00404ef0
mov dword [edi + 0x164], 1
lea ecx, [edi + 0x170]
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
call fcn.00435630
lea ecx, [edi + 0x1b4]
call fcn.00435630
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 0x1f8], 0
call esi
mov dword [edi + 0x1f8], eax
cmp eax, 0xffffffff
jne 0x42ce23
cmp byte [0x5076f0], 0
jne 0x42cf58
int3
mov dword [edi + 0x1fc], 0
call esi
mov dword [edi + 0x1fc], eax
cmp eax, 0xffffffff
jne 0x42ce48
cmp byte [0x5076f0], 0
jne 0x42cf5f
int3
mov dword [edi + 0x200], 0
call esi
mov dword [edi + 0x200], eax
cmp eax, 0xffffffff
jne 0x42ce6d
cmp byte [0x5076f0], 0
jne 0x42cf66
int3
lea ecx, [edi + 0x204]
call fcn.0042eec0
mov dword [edi + 0x224], 0
mov dword [edi + 0x228], 0
mov dword [edi + 0x22c], 0
mov dword [edi + 0x230], 0
mov dword [edi + 0x234], 0
mov dword [edi + 0x238], 0
mov dword [edi + 0x23c], 0
mov dword [edi + 0x240], 0
mov byte [edi + 0x244], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x130], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.004944e0
mov ecx, edi
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
call fcn.0042ed00
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x3c], eax
test ecx, ecx
je 0x42cf1b
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x507870]
mov dword [esp + 0xc], 0
test eax, eax
jne 0x42cf31
call fcn.00437400
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
lea ecx, [esp + 0x10]
push ecx
push str.TraceLog
push edi
mov ecx, eax
call fcn.00436c50
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 1
call fcn.004a38ae
push 1
call fcn.004a38ae
push 1
call fcn.004a38ae
int3
Function at 0x42d370
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [esi + 0x1fc]
call edi
test eax, eax
jne 0x42d3d5
call fcn.00424940
push dword [eax]
call edi
test eax, eax
je 0x42d3d5
push dword [esi + 0x1f8]
call edi
mov edx, eax
test edx, edx
je 0x42d3b6
mov ecx, dword [edx + 0x14]
cmp ecx, dword [esi + 0x240]
je 0x42d3d5
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax + 4]
push 0x18
call fcn.00493b29
add esp, 4
mov ecx, eax
push esi
call fcn.0042c7b0
mov ecx, dword [esi + 0x1f8]
mov edx, eax
call fcn.0042c5a0
pop edi
pop esi
pop ecx
ret