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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 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 [ebx + 0x14]
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x467994
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x4679c3
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4679c3
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x467a07
cmp esi, eax
jne 0x4679b7
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x4679f1
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 [esp + 0xc]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x467a23
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x467a45
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00468c00
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x467a2b
mov dword [ecx], edi
jmp 0x467a45
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x467a45
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00468ca0
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 0x4686f0
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
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 [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x468742
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x468770
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x468770
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x4687b3
cmp esi, eax
jne 0x468764
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x46879d
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 + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x4687e1
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x468803
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 + 4]
call fcn.004d0550
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 0x4687e9
mov dword [ecx], edi
jmp 0x468803
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x468803
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.00466870
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 0x46c860
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.00435500
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x6d], 0
lea eax, [ebp - 0x20]
je 0x46c8bc
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x46c8b8
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 0x46c8b8
xor dl, dl
jmp 0x46c8ce
mov dl, 1
jmp 0x46c8ce
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 0x46c8e0
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.0046c6a0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x475240
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 [0x5520a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x553814]
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x40c], ebx
push esi
push edi
cmp ebx, 0xffffffff
jne 0x4752e0
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TlsFree]
cmp eax, ebx
je 0x47528d
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x4752be
cmp byte [0x55745c], 0
jne 0x475357
int3
mov ecx, ebx
mov edx, 0x553814
or eax, 0xffffffff
lock cmpxchg dword [edx], ecx
cmp eax, 0xffffffff
je 0x4752e0
push ebx
call esi
mov ebx, dword [0x553814]
mov dword [ebp - 0x40c], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4752f5
cmp byte [0x55745c], 0
jne 0x475365
int3
push 0x400
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.004d11d0
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x400
call fcn.004d0695
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.004d11b3
mov esp, ebp
pop ebp
ret
push 1
call fcn.004dc1d8
push 1
call fcn.004dc1d8
push 1
call fcn.004dc1d8
int3

Function at 0x475370
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x5520a0]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x553814]
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.004d069e
add esp, 4
mov edi, 0x100
jmp 0x4753d0
mov esi, dword [0x557524]
xor dl, dl
test esi, esi
jle 0x475408
lea esp, [esp]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x475403
mov eax, dword [esi*4 + 0x556cf0]
test eax, eax
je 0x475403
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x4753e0
dec edi
test edi, edi
jle 0x475411
test dl, dl
jne 0x4753d0
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.004d11b3
mov esp, ebp
pop ebp
ret
Function at 0x475490
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x553814]
mov dword [ebp - 4], 0
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x4754b5
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x4754ba
call fcn.00475240
mov eax, 1
mov ecx, 0x557524
lock xadd dword [ecx], eax
lea ecx, [eax + 1]
mov dword [esi + 4], ecx
cmp ecx, 0x100
jl 0x4754e0
cmp byte [0x55745c], 0
jne 0x4754f7
int3
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x556cf0], eax
mov dword [esi], 1
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
call fcn.004dc1d8
int3
Function at 0x478990
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x4789fe
push ebx
push esi
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 + 0x5432f0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x5432f0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x5432f0]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x5432f0]
dec ebx
jne 0x4789a7
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x486810
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
call fcn.004983e0
movdqu xmm0, xmmword [ebp + 8]
mov ecx, dword [ebp + 0x20]
mov edi, 1
mov eax, dword [ebp + 0x18]
mov dword [esi + 0xd0], eax
movdqu xmmword [esi + 0xc0], xmm0
mov dword [esi + 0xd4], ecx
test ecx, ecx
je 0x48684d
mov eax, edi
lock xadd dword [ecx], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xd8], eax
call fcn.00435500
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0xbc]
mov dword [esi + 0xdc], eax
test eax, eax
je 0x48687a
add eax, 4
lock xadd dword [eax], edi
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x486899
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x486899
mov eax, dword [ecx + 4]
push ecx
call eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x20

Function at 0x489e50
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 + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x489ea2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x489eba
mov ecx, esi
jmp 0x489ebf
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x489eec
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x489ece
mov eax, dword [eax]
jmp 0x489eb2
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x489ede
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [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 0x489f00
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 + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [esi + 0x18], ecx
ja 0x489f52
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov edx, dword [esi + 8]
mov esi, dword [esi]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x489f6a
mov ecx, esi
jmp 0x489f6f
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x489f9c
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x489f7e
mov eax, dword [eax]
jmp 0x489f62
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], esi
jne 0x489f8e
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [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 0x48a880
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
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 [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x48a8d2
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx + 8]
mov edx, dword [ebx]
shl ecx, 3
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + ecx]
cmp eax, edx
jne 0x48a8e8
mov esi, edx
jmp 0x48a8ee
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x48a900
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x48a94e
cmp esi, eax
jne 0x48a8f4
push edi
push dword [edx]
mov ecx, ebx
call fcn.0048bc50
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x48a935
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 + 8]
mov edx, dword [ebp + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48a95e
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x48a980
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x48a966
mov dword [ecx], edi
jmp 0x48a980
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x48a980
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0048ab30
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 0x48b620
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
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 [ebx + 0x14]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edx
and ecx, eax
cmp dword [ebx + 0x18], ecx
ja 0x48b672
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
mov esi, dword [ebx]
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x48b6a0
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x48b6a0
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], ecx
je 0x48b6e3
cmp esi, eax
jne 0x48b694
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x48b6cd
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 + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x48b711
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], edi
jmp 0x48b733
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 + 4]
call fcn.004d0550
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 0x48b719
mov dword [ecx], edi
jmp 0x48b733
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x48b733
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.0048ab30
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 0x496020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], 0
mov eax, dword [ecx + 0xc]
push esi
push edi
test eax, eax
je 0x49604d
mov ebx, 1
mov dword [ebp - 8], eax
mov ecx, ebx
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 8]
jmp 0x496077
mov ebx, 2
call fcn.004501f0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x496074
mov ecx, 1
add eax, 4
lock xadd dword [eax], ecx
lea ecx, [ebp - 4]
mov esi, dword [ebp + 8]
or edi, 0xffffffff
mov eax, dword [ecx]
mov dword [ecx], 0
mov dword [esi], eax
test bl, 2
je 0x4960b7
mov eax, dword [ebp - 4]
and ebx, 0xfffffffd
test eax, eax
je 0x4960b7
lea ecx, [eax + 4]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
setne al
test al, al
jne 0x4960b7
test ecx, ecx
je 0x4960b0
add ecx, 0xfffffffc
jmp 0x4960b2
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
test bl, 1
je 0x4960f1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4960f1
lea ecx, [eax + 4]
lock xadd dword [ecx], edi
dec edi
setne al
test al, al
jne 0x4960f1
test ecx, ecx
je 0x4960ea
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
call dword [edx + 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x499fc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
push edi
mov edi, dword [eax + 0x10]
cmp ecx, 0x10
jb 0x499fe3
mov esi, dword [eax]
jmp 0x499fe5
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x49a001
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x499ff0
mov ecx, dword [ebx + 0x14]
mov ebx, ecx
and ebx, edx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x18], ebx
ja 0x49a019
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add ebx, eax
mov ecx, dword [edx + 8]
lea eax, [ebx + ebx]
mov edx, dword [edx]
lea eax, [eax + 1]
mov dword [ebp - 8], edx
mov esi, dword [ecx + ebx*8]
mov ebx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
cmp ebx, edx
jne 0x49a03f
mov eax, edx
jmp 0x49a043
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x49a109
cmp dword [ebp - 4], 0x10
lea ecx, [esi + 8]
jb 0x49a05b
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
jmp 0x49a05e
mov edx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov ebx, dword [ecx + 0x10]
jb 0x49a069
mov ecx, dword [ecx]
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.0040f300
add esp, 0xc
test eax, eax
jne 0x49a08c
cmp ebx, edi
jb 0x49a08c
cmp ebx, edi
setne al
test eax, eax
je 0x49a099
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x49a037
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov ebx, dword [ecx + 0x10]
jb 0x49a0a7
mov ecx, dword [ecx]
cmp dword [ebp - 4], 0x10
jb 0x49a0b5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
push eax
push ecx
push dword [ebp + 0xc]
call fcn.0040f300
add esp, 0xc
test eax, eax
jne 0x49a0f0
cmp edi, ebx
jb 0x49a0f0
cmp edi, ebx
setne al
test eax, eax
jne 0x49a0f0
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x49a120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
push edi
mov edi, dword [eax + 0x10]
cmp ecx, 0x10
jb 0x49a143
mov esi, dword [eax]
jmp 0x49a145
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x49a161
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x49a150
mov ecx, dword [ebx + 0x14]
mov ebx, ecx
and ebx, edx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x18], ebx
ja 0x49a179
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add ebx, eax
mov ecx, dword [edx + 8]
lea eax, [ebx + ebx]
mov edx, dword [edx]
lea eax, [eax + 1]
mov dword [ebp - 8], edx
mov esi, dword [ecx + ebx*8]
mov ebx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
cmp ebx, edx
jne 0x49a19f
mov eax, edx
jmp 0x49a1a3
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x49a269
cmp dword [ebp - 4], 0x10
lea ecx, [esi + 8]
jb 0x49a1bb
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
jmp 0x49a1be
mov edx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov ebx, dword [ecx + 0x10]
jb 0x49a1c9
mov ecx, dword [ecx]
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push edx
push ecx
call fcn.0040f300
add esp, 0xc
test eax, eax
jne 0x49a1ec
cmp ebx, edi
jb 0x49a1ec
cmp ebx, edi
setne al
test eax, eax
je 0x49a1f9
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x49a197
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov ebx, dword [ecx + 0x10]
jb 0x49a207
mov ecx, dword [ecx]
cmp dword [ebp - 4], 0x10
jb 0x49a215
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp edi, ebx
mov eax, ebx
cmovb eax, edi
push eax
push ecx
push dword [ebp + 0xc]
call fcn.0040f300
add esp, 0xc
test eax, eax
jne 0x49a250
cmp edi, ebx
jb 0x49a250
cmp edi, ebx
setne al
test eax, eax
jne 0x49a250
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
pop edi
mov dword [ebp + 0xc], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x4a5180
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x170], 0
mov dword [ecx + 0x174], 0
mov dword [ecx + 0x14], 0x67452301
mov dword [ecx + 0x18], 0xefcdab89
mov dword [ecx + 0x1c], 0x98badcfe
mov dword [ecx + 0x20], 0x10325476
mov dword [ecx + 0x24], 0xc3d2e1f0
ret