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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4f31b4]
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 0x42e674
push dword [edi + 0x200]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x42e674
mov ecx, dword [edi + 0x200]
lea edx, [edi + 0x200]
call fcn.0042c5a0
call fcn.0041be10
test al, al
je 0x42e4f9
lea ecx, [ebp - 0x78]
call fcn.0041bd50
jmp 0x42e504
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.0042c670
test bl, 8
je 0x42e527
mov ecx, dword [ebp - 0x3c]
call fcn.00433d40
lea ecx, [ebp - 0x1c]
call fcn.00404ef0
test bl, 1
je 0x42e5e9
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.0042ec40
mov edx, eax
test edx, edx
je 0x42e584
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 0x42e584
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 0x42e5b1
push edx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
push 0x45
lea eax, [ebp - 0x34]
push eax
call fcn.0042dfd0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00411530
lea ecx, [ebp - 0x34]
call fcn.00404eb0
cmp dword [0x507854], 0
je 0x42e5da
mov eax, dword [0x507854]
test eax, eax
setne al
test al, al
je 0x42e5da
call fcn.00435590
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
je 0x42e5da
add ecx, 0xfffffffc
mov dword [eax + 4], ecx
cmp byte [ebp - 0x4c], 0
je 0x42e5e9
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0xc], 0
je 0x42e632
cmp dword [0x507630], 2
jg 0x42e621
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.00419ff0
lea edx, [ebp - 0x1c]
lea ecx, [eax + 8]
call fcn.004116f0
test byte [ebp - 0x38], 2
je 0x42e632
lea ecx, [ebp - 0x128]
call fcn.0041a040
test bl, 4
je 0x42e65f
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x42e65f
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.00404eb0
mov ecx, dword [edi + 0x200]
xor edx, edx
call fcn.0042c5a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493b18
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ec40
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 0x42ec65
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 0x42ec90
push dword [edi + 0x1f8]
call esi
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.0042c760
test eax, eax
jne 0x42ecef
mov esi, dword [ebp + 8]
test esi, esi
je 0x42eca9
cmp byte [esi + 4], 0
jne 0x42eca9
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 0x42ece3
mov eax, edx
and eax, 0x3ffffff
cmp eax, dword [edi + 0x228]
jne 0x42ece3
mov eax, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x1c08]
jne 0x42ec5b
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 0x42f1b0
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 0x42f20e
mov ecx, edx
jmp 0x42f213
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x42f262
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x42f222
mov eax, dword [eax]
jmp 0x42f206
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x42f238
mov esi, edx
jmp 0x42f23d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x42f24d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x42f24d
mov eax, dword [eax]
jmp 0x42f230
cmp ecx, eax
je 0x42f262
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 0x42f2e0
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 0x42f2fa
mov esi, dword [ebx]
jmp 0x42f2fc
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x42f318
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x42f307
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 0x42f340
mov eax, edi
jmp 0x42f344
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x42f37d
lea ecx, [esi + 8]
mov edx, ebx
call fcn.0040f170
test al, al
jne 0x42f360
mov esi, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x42f338
lea edx, [esi + 8]
mov ecx, ebx
call fcn.0040f170
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 0x42f570
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 0x42f5e1
cmp dword [ecx], edi
jne 0x42f5d9
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 0x42f5e9
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x42f5e9
cmp dword [ecx], edi
jne 0x42f5ec
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.00489c95
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x42f9e0
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 0x42fa63
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42fa63
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42fa51
cmp esi, eax
jne 0x42fa43
jmp 0x42fa66
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.004284b0
mov edi, dword [ebx + 4]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x42faa0
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 0x42faba
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42fadc
cmp eax, esi
jne 0x42fac2
mov dword [ecx], edi
jmp 0x42fadc
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42fadc
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.0042fb00
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 0x42fc10
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 0x42fc81
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42fc81
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42fcc5
cmp esi, eax
jne 0x42fc75
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42fcae
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 0x42fcf3
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42fd15
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.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 0x42fcfb
mov dword [ecx], edi
jmp 0x42fd15
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42fd15
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.0042fb00
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 0x42fda0
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 0x42fdb6
mov esi, dword [edi]
jmp 0x42fdb8
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x42fdd6
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x42fdc4
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 0x42fe18
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42fe18
nop dword [eax]
mov esi, dword [esi + 4]
mov ecx, edi
lea edx, [esi + 8]
call fcn.0040f170
test al, al
jne 0x42fe5c
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x42fe00
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42fe42
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 0x42fe94
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], edi
jmp 0x42feb6
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.00404eb0
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
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x42fe9c
mov dword [ecx], edi
jmp 0x42feb6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42feb6
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.00430150
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 0x42fed0
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 0x42ff4c
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x42ff4c
mov ecx, dword [edi]
nop dword [eax]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x42ff90
cmp esi, eax
jne 0x42ff40
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42ff79
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 0x42ffda
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42fffc
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.0042fd30
push dword [ebx + 0xc]
call fcn.00489c95
push ebx
mov dword [ebx + 0xc], 0
call fcn.00489c95
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 0x42ffe2
mov dword [ecx], edi
jmp 0x42fffc
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42fffc
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.004301f0
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 0x430020
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 0x430091
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x430091
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x4300d5
cmp esi, eax
jne 0x430085
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x4300be
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 0x43010b
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x43012d
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.00404eb0
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 0x430113
mov dword [ecx], edi
jmp 0x43012d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x43012d
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.00430290
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 0x431150
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.00424940
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x4311ac
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4311a8
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 0x4311a8
xor dl, dl
jmp 0x4311be
mov dl, 1
jmp 0x4311be
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 0x4311d0
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.00431010
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x431d30
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x4f31b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4f3d44]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x431dd0
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x431d7d
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x431dae
cmp byte [0x5076f0], 0
jne 0x431e47
int3
mov ecx, ebx
mov edx, 0x4f3d44
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x431dd0
push ebx
call esi
mov ebx, dword [0x4f3d44]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x431de5
cmp byte [0x5076f0], 0
jne 0x431e55
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004991f0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.00493d9f
add esp, 4
lea esi, [ebp - 0x408]
mov ebx, eax
mov ecx, 0x100
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00493b18
mov esp, ebp
pop ebp
ret
push 1
call fcn.004a38ae
push 1
call fcn.004a38ae
push 1
call fcn.004a38ae
int3

Function at 0x431e60
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4f31b4]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4f3d44]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00493d9a
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x5077fc]
xor dl, dl
test esi, esi
jle 0x431ef8
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x431ef3
mov eax, dword [esi*4 + 0x506e28]
test eax, eax
je 0x431ef3
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x431ed0
dec edi
test edi, edi
jle 0x431f01
test dl, dl
jne 0x431ec0
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493b18
mov esp, ebp
pop ebp
ret
Function at 0x431f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4f3d44]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x431f55
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x431f5a
call fcn.00431d30
mov eax, 1
mov ecx, 0x5077fc
lock xadd dword [ecx], eax
inc eax
mov dword [esi + 4], eax
cmp eax, 0x100
jl 0x431f7d
cmp byte [0x5076f0], 0
jne 0x431f96
int3
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x506e28], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.004a38ae
int3

Function at 0x435590
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4f3d44]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x4355aa
call fcn.00431d30
mov ecx, eax
mov eax, dword [0x507850]
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x4355f6
push 0xc
call fcn.00493b29
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x4f3d44]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4355eb
call fcn.00431d30
mov ecx, dword [0x507850]
mov dword [eax + ecx*4], esi
mov eax, esi
pop esi
ret