joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4352e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5c125c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x38], 0
test bl, bl
je 0x4354d4
push dword [edi + 0x200]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4354d4
mov ecx, dword [edi + 0x200]
lea edx, [edi + 0x200]
call fcn.00433350
call fcn.004210b0
test al, al
je 0x435359
lea ecx, [ebp - 0x78]
call fcn.00420ff0
jmp 0x435364
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
mov ecx, edi
push eax
call fcn.004333e0
test bl, 8
je 0x435387
mov ecx, dword [ebp - 0x3c]
call fcn.0043a4b0
lea ecx, [ebp - 0x1c]
call fcn.00407a10
test bl, 1
je 0x435449
push dword [ebp - 0x54]
lea eax, [edi + 4]
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
mov ecx, edi
lea eax, [ebp - 0x50]
push eax
call fcn.00435aa0
mov edx, eax
test edx, edx
je 0x4353e4
mov ecx, dword [ebp - 0x48]
sub ecx, dword [edx]
mov eax, dword [ebp - 0x44]
sbb eax, dword [edx + 4]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov eax, dword [edx + 8]
or eax, dword [edx + 0xc]
je 0x4353e4
mov eax, dword [ebp - 0x5c]
sub eax, dword [edx + 8]
mov ecx, dword [ebp - 0x64]
sbb ecx, dword [edx + 0xc]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edi + 0x164]
test al, 8
je 0x435411
push edx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x34]
push eax
call fcn.00434da0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004078f0
lea ecx, [ebp - 0x34]
call fcn.004078b0
cmp dword [0x5db114], 0
je 0x43543a
mov eax, dword [0x5db114]
test eax, eax
setne al
test al, al
je 0x43543a
call fcn.0043bc20
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x43543a
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [ebp - 0x4c], 0
je 0x435449
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
je 0x435492
cmp dword [0x5d9be0], 2
jg 0x435481
push 2
push 0x5b6
push str.c:codezm3rd_base_trace_event_trace_log.cc
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x38], 2
call fcn.0041cd90
lea edx, [ebp - 0x1c]
lea ecx, [eax + 8]
call fcn.004090a0
test byte [ebp - 0x38], 2
je 0x435492
lea ecx, [ebp - 0x128]
call fcn.0041ce50
test bl, 4
je 0x4354bf
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4354bf
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x6c]
push 0x45
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call eax
add esp, 0x30
lea ecx, [ebp - 0x1c]
call fcn.004078b0
mov ecx, dword [edi + 0x200]
xor edx, edx
call fcn.00433350
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fce93
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435aa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp dword [ebp + 0xc], 0
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
jne 0x435ac5
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x435af0
push dword [edi + 0x1f8]
call esi
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.004334d0
test eax, eax
jne 0x435b4f
mov esi, dword [ebp + 8]
test esi, esi
je 0x435b09
cmp byte [esi + 4], 0
jne 0x435b09
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x224]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x435b43
mov eax, edx
and eax, 0x3ffffff
cmp eax, dword [edi + 0x228]
jne 0x435b43
mov eax, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x1c08]
jne 0x435abb
shr edx, 0x1a
imul eax, edx, 0x70
add eax, 8
add eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push edx
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x435c10
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push dword [ebp + 8]
xor ebx, ebx
push dword [ecx]
mov dword [esp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x435c6d
cmp dword [0x5d9be0], 3
jg 0x435c5f
push 3
push 0x23
push str.c:codezm3rd_base_threading_thread_local_win.cc
lea ecx, [esp + 0x14]
call fcn.0041cd90
mov edx, str.Failed_to_TlsSetValue__.
lea ecx, [eax + 8]
call fcn.00412790
mov ebx, 1
test bl, 1
je 0x435c6d
lea ecx, [esp + 8]
call fcn.0041ce50
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov ebx, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, edx
jne 0x43615e
mov ecx, edx
jmp 0x436163
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x4361b2
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x436172
mov eax, dword [eax]
jmp 0x436156
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x436188
mov esi, edx
jmp 0x43618d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x43619d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x43619d
mov eax, dword [eax]
jmp 0x436180
cmp ecx, eax
je 0x4361b2
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebp
ret 8

Function at 0x436230
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x43624a
mov esi, dword [ebx]
jmp 0x43624c
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x436268
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x436257
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov edi, dword [edi + 4]
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp + 0xc], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 4], eax
cmp edx, edi
jne 0x436290
mov eax, edi
jmp 0x436294
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4362cd
lea ecx, [esi + 8]
mov edx, ebx
call fcn.004112c0
test al, al
jne 0x4362b0
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x436288
lea edx, [esi + 8]
mov ecx, ebx
call fcn.004112c0
test al, al
mov eax, dword [ebp + 8]
cmove esi, edi
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4364c0
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 + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
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]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x436531
cmp dword [ecx], edi
jne 0x436529
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x436539
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x436539
cmp dword [ecx], edi
jne 0x43653c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0056c31e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x436930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
mov esi, dword [ebx + 4]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
shl ecx, 3
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
cmp esi, eax
je 0x4369b3
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4369b3
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4369a1
cmp esi, eax
jne 0x436993
jmp 0x4369b6
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
push edx
push dword [eax]
call fcn.0042f230
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x4369f0
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 ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x436a0a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x436a2c
cmp eax, esi
jne 0x436a12
mov dword [ecx], edi
jmp 0x436a2c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x436a2c
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.00436a50
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x436b60
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 0x436bd1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x436bd1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x436c15
cmp esi, eax
jne 0x436bc5
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x436bfe
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 0x436c43
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x436c65
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0056c31e
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 0x436c4b
mov dword [ecx], edi
jmp 0x436c65
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x436c65
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.00436a50
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 0x436cf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
jb 0x436d06
mov esi, dword [edi]
jmp 0x436d08
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x436d26
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x436d14
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
and eax, edx
lea ecx, [eax*8]
mov dword [ebp - 4], ecx
add ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx]
cmp esi, eax
je 0x436d68
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x436d68
nop dword [eax]
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.004112c0
test al, al
jne 0x436dac
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x436d50
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x436d92
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 ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 4]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x436de4
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x436e06
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 + 8]
dec dword [ebx + 8]
call fcn.004078b0
push edi
call fcn.0056c31e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x436dec
mov dword [ecx], edi
jmp 0x436e06
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x436e06
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.004370a0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x436e20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 4], ebx
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 0x436e9c
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x436e9c
mov ecx, dword [edi]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x436ee0
cmp esi, eax
jne 0x436e90
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x436ec9
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 0x436f2a
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x436f4c
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
lea ecx, [ebx + 0xc]
mov eax, dword [ebp - 4]
dec dword [eax + 8]
call fcn.00436c80
push dword [ebx + 0xc]
call fcn.0056c31e
push ebx
mov dword [ebx + 0xc], 0
call fcn.0056c31e
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x436f32
mov dword [ecx], edi
jmp 0x436f4c
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x436f4c
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.00437140
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x436f70
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 0x436fe1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x436fe1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x437025
cmp esi, eax
jne 0x436fd5
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x43700e
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 0x43705b
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43707d
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.004078b0
push edi
call fcn.0056c31e
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 0x437063
mov dword [ecx], edi
jmp 0x43707d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43707d
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.004371e0
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 0x4378d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [eax]
mov dword [esp + 0xc], ebx
mov dword [esi], eax
test eax, eax
je 0x4378fd
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
call fcn.004379f0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x437948
cmp dword [0x5d9be0], 3
jg 0x43793a
push 3
push 0x23
push str.c:codezm3rd_base_threading_thread_local_win.cc
lea ecx, [esp + 0x1c]
lea ebx, [eax + 4]
call fcn.0041cd90
mov edx, str.Failed_to_TlsSetValue__.
lea ecx, [eax + 8]
call fcn.00412790
test bl, 4
je 0x437948
lea ecx, [esp + 0x10]
call fcn.0041ce50
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437960
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0xc], ebx
call fcn.004379f0
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4379c1
cmp dword [0x5d9be0], 3
jg 0x4379b3
push 3
push 0x23
push str.c:codezm3rd_base_threading_thread_local_win.cc
lea ecx, [esp + 0x1c]
lea ebx, [eax + 2]
call fcn.0041cd90
mov edx, str.Failed_to_TlsSetValue__.
lea ecx, [eax + 8]
call fcn.00412790
test bl, 2
je 0x4379c1
lea ecx, [esp + 0x10]
call fcn.0041ce50
mov edx, dword [esi]
test edx, edx
je 0x4379e2
lea esi, [edx + 4]
or eax, 0xffffffff
lock xadd dword [esi], eax
sub eax, 1
jne 0x4379e2
xor ecx, ecx
test esi, esi
cmovne ecx, edx
mov eax, dword [ecx]
call dword [eax + 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x438170
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.0042b800
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x4381cc
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4381c8
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4381c8
xor dl, dl
jmp 0x4381de
mov dl, 1
jmp 0x4381de
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne dl
xor ecx, ecx
lea eax, [edi + 0x10]
xchg dword [eax], ecx
test dl, dl
jne 0x4381f0
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00438030
pop edi
mov esp, ebp
pop ebp
ret