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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585d90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, 0x5d4bd8
mov dword [edi], vtable.base::debug::TraceLog::ThreadLocalEventBuffer.0
call fcn.00476c30
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.0047cb80
mov esi, dword [edi + 0x10]
test esi, esi
je 0x46faeb
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
jne 0x46fa54
cmp edx, 0x7fffffff
jne 0x46fa54
movsd xmm0, qword [0x5939d0]
jmp 0x46fa61
call fcn.0045ed60
divsd xmm0, qword [0x5985f0]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
divsd xmm0, xmm1
movsd qword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov ecx, edi
mov dword [ebp - 0x20], str.average_overhead
mov esi, eax
call fcn.004722a0
test eax, eax
je 0x46faeb
movsd xmm0, qword [ebp - 0x30]
push 0
push 0
movsd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x11]
movlpd qword [ebp - 0x28], xmm0
push ecx
lea ecx, [ebp - 0x20]
movlpd qword [ebp - 0x30], xmm0
push ecx
push 1
push 0
push 0
push str.overhead
push 0x5d5523
push 0x4d
push dword [ebp - 0x24]
mov ecx, eax
mov byte [ebp - 0x11], 4
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
call fcn.0047a530
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.00476870
mov ecx, 0x5d4bd8
call fcn.00476c30
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], eax
add ecx, 0x1e8
lea eax, [ebp - 0x20]
push eax
call fcn.00484180
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 4]
push 0
push dword [eax + 0x1dc]
call fcn.0047f100
mov esi, dword [edi + 8]
add esp, 8
test esi, esi
je 0x46fb6b
push 0x46fba0
push 0x40
push 0x60
lea eax, [esi + 8]
mov dword [ebp - 4], 0
push eax
call fcn.0045de95
push 0x1810
push esi
call fcn.0045dbd6
add esp, 8
mov dword [edi], vtable.base::MessageLoop::DestructionObserver.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
Function at 0x473410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x473481
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x5959b0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x5959b0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5959b0]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x5959b0]
sub edi, 1
jne 0x473423
pop edi
pop ebx
pop esi
ret
Function at 0x4742c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push edi
test esi, esi
je 0x4742e8
call fcn.00478590
cmp dword [eax], 1
jl 0x4742e8
mov dword [ebp - 4], 0x10000
jmp 0x4742ea
xor esi, esi
push 8
call fcn.0045dba6
mov ecx, dword [ebp + 0xc]
add esp, 4
mov edi, dword [ebp + 0x10]
mov ebx, eax
test edi, edi
push 0
push dword [ebp - 4]
mov dword [ebx], ecx
setne cl
push ebx
push 0x47fe50
push esi
push 0
mov byte [ebx + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x474332
push 8
push ebx
call fcn.0045dbd6
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x474348
mov dword [edi], eax
mov al, 1
mov dword [edi + 4], 0
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 0x476c30
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, 0xfffffffe
jne 0x476ca7
push esi
call fcn.0047b350
add esp, 4
test al, al
je 0x476ca7
push edi
lea edi, [esi + 4]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x476ca4
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push edi
call fcn.00466f10
add esp, 0xc
test eax, eax
je 0x476ca4
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.0046c6b0
lea ecx, [ebp - 0xb4]
call fcn.0046f040
mov dword [esi], edi
pop edi
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x478390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x4783a6
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
push esi
push dword [edi + 0x1dc]
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call esi
test eax, eax
je 0x4783ee
push dword [edi + 0x1dc]
call esi
mov esi, eax
mov edx, dword [esi + 8]
test edx, edx
je 0x4783ee
cmp ebx, dword [edx + 0x1808]
jne 0x4783ee
mov eax, dword [ebp + 0xc]
movzx ecx, ax
cmp ecx, dword [esi + 0xc]
jne 0x4783ee
movzx eax, word [ebp + 0xe]
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, edx
jne 0x478452
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x478407
cmp byte [esi + 4], 0
jne 0x478407
push dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esi + 4], 1
mov ecx, dword [edi + 0x20c]
test ecx, ecx
je 0x478446
mov eax, dword [ebp + 0xc]
movzx eax, ax
cmp eax, dword [edi + 0x210]
jne 0x478446
cmp ebx, dword [ecx + 0x1808]
jne 0x47843d
movzx eax, word [ebp + 0xe]
pop esi
pop edi
pop ebx
lea eax, [eax + eax*2]
shl eax, 5
add eax, 8
add eax, ecx
pop ebp
ret 0xc
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov ecx, dword [edi + 0x3c]
push dword [ebp + 0xc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x47a370
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5ca6b4]
push esi
mov esi, ecx
cmp eax, 0xffffffff
je 0x47a39b
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x47a3a0
call fcn.00473c50
mov eax, 1
mov ecx, 0x5d5600
lock xadd dword [ecx], eax
inc eax
mov dword [ebp - 8], 0x100
mov dword [esi + 4], eax
mov dword [ebp - 0xc], eax
cmp eax, 0x100
jl 0x47a3fd
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00466c30
add esp, 0xc
test eax, eax
je 0x47a3fd
push eax
push 0xd2
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_storage.cc
lea ecx, [ebp - 0xbc]
call fcn.0046c6b0
lea ecx, [ebp - 0xbc]
call fcn.0046f040
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [ecx*4 + 0x5d5608], eax
mov al, 1
mov ecx, dword [ebp - 4]
mov byte [esi], 1
xor ecx, ebp
pop esi
call fcn.0045de7e
mov esp, ebp
pop ebp
ret 4
Function at 0x47ac30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587031
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c9440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
call fcn.0047a420
test al, al
je 0x47adf1
mov eax, dword [0x5ca6b4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x47ac81
call fcn.00473c50
mov ecx, eax
mov eax, dword [0x5d5a14]
cmp dword [ecx + eax*4], 0
jne 0x47adf1
push 0x70
call fcn.0045dba6
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x47adc7
push 0x70
push 0
push edi
call fcn.00549aa0
mov dword [edi], 0
add esp, 0xc
mov dword [edi + 4], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0xf
mov byte [edi + 8], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x20], 0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00482140
mov dword [esi], eax
lea esi, [edi + 0x2c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0044ae90
mov dword [esi], eax
lea esi, [edi + 0x34]
mov byte [ebp - 4], 3
mov ecx, esi
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004057f0
mov dword [esi], eax
lea eax, [edi + 0x3c]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea esi, [edi + 0x54]
mov byte [ebp - 4], 5
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0045dba6
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea ecx, [edi + 8]
mov byte [ebp - 4], 6
mov dword [edi + 0x6c], 0xffffffff
cmp ecx, ebx
je 0x47adbe
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x47adb5
mov eax, dword [ebx]
push dword [ebx + 0x10]
push eax
call fcn.00406f40
mov ecx, edi
call fcn.0047c060
jmp 0x47adc9
xor edi, edi
mov eax, dword [0x5ca6b4]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
test ecx, ecx
jne 0x47ade9
call fcn.00473c50
mov ecx, eax
mov eax, dword [0x5d5a14]
mov dword [ecx + eax*4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b8b0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, 0xfffffffe
jne 0x47b935
push esi
call fcn.0047b350
add esp, 4
test al, al
je 0x47b935
push edi
lea edi, [esi + 4]
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
jne 0x47b924
push str.slot_____DWORD_0xFFFFFFFF_
lea eax, [ebp - 4]
push eax
push edi
call fcn.00466f10
add esp, 0xc
test eax, eax
je 0x47b924
push eax
push 0x11
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xb4]
call fcn.0046c6b0
lea ecx, [ebp - 0xb4]
call fcn.0046f040
push esi
push 0x47b7a0
mov dword [esi], edi
call fcn.0047c240
add esp, 8
pop edi
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47bfa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, 0x5d4bd8
call fcn.00476c30
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
mov al, byte [eax + 0x65]
test al, al
lea eax, [ebp - 0x20]
je 0x47c006
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x47c002
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 0x47c002
xor bl, bl
jmp 0x47c018
mov bl, 1
jmp 0x47c018
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x47c03a
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0047bdc0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
Function at 0x47f100
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58630f
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x5c9440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x47f1c7
cmp dword [0x5d4bec], 3
jg 0x47f1b7
push 1
push 2
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xc0], 3
call fcn.004496d0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
mov dword [ebp - 0x18], 0x23
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
push 0x23
push str.d:code.aliyun.comcore_liblibschromium_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.004793f0
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 2
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.00448a40
add esp, 8
test bl, 1
je 0x47f1c7
lea ecx, [ebp - 0xc0]
call fcn.0046f040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482cd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push edi
mov ebx, ecx
cmp dword [edx + 0x14], 0x10
mov edi, dword [edx + 0x10]
jb 0x482ce5
mov edx, dword [edx]
xor eax, eax
push esi
mov esi, 0x811c9dc5
test edi, edi
je 0x482d02
movzx ecx, byte [eax + edx]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, edi
jb 0x482cf1
push 0x1f31d
and esi, 0x7fffffff
push esi
call fcn.005690ba
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
pop esi
sub ecx, eax
jns 0x482d2d
add ecx, 0x7fffffff
mov eax, dword [ebx + 0x1c]
pop edi
and eax, ecx
pop ebx
pop ebp
ret 4

Function at 0x4831e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5d4bd8
call fcn.00476c30
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x483204
mov eax, dword [ebp + 8]
mov dword [eax], 0
pop ebp
ret
mov ecx, dword [eax + 0xa8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
test ecx, ecx
je 0x48321f
mov edx, 1
add ecx, 4
lock xadd dword [ecx], edx
pop ebp
ret
Function at 0x49d690
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10
mov dword [ebp - 0xb8], eax
mov eax, 0x20
mov dword [ebp - 0xbc], edi
mov edi, dword [edi + 0x1005c]
cmp edi, 1
cmovne esi, eax
xor eax, eax
cmp dword [ebp + 0x10], eax
push esi
push dword [ebp + 0x14]
sete al
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00548fa0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov eax, ecx
mov byte [ebp + esi - 0x2c], cl
sar eax, 8
mov byte [ebp + esi - 0x2b], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp + esi - 0x2a], al
mov eax, ecx
sar eax, 0x18
mov byte [ebp + esi - 0x29], al
mov dword [ebp + esi - 0x28], 0x546c4173
cmp edi, 2
jne 0x49d734
lea eax, [ebp - 0x5c]
push eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004d7550
add esp, 0xc
jmp 0x49d797
lea eax, [esi + 8]
mov dword [ebp - 0xb4], 0x67452301
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xb0], 0xefcdab89
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xac], 0x98badcfe
push eax
mov dword [ebp - 0xa8], 0x10325476
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
call fcn.0049e540
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0049de20
add esp, 0x14
mov esi, dword [ebp - 0xbc]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.0049dbd0
lea eax, [ebp - 0x3c]
xor ecx, ecx
push eax
mov eax, 2
cmp dword [esi + 0x1005c], eax
cmovne eax, ecx
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0xc0]
push 1
push dword [esi + 0x4c]
call fcn.0049fb90
mov eax, dword [ebp + 0x1c]
add esp, 0x24
mov ecx, dword [esi + 0x4c]
shl eax, 3
cmp dword [ebp + 0x10], 0
push dword [ebp - 0xb8]
push eax
push ebx
push ecx
je 0x49d807
call fcn.0049f070
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
call fcn.0049ed10
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
Function at 0x49dbd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, 0x4f7a09cd
inc ecx
imul ecx
imul ecx, ecx, 0x9ef4
push ebx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
push esi
mov esi, dword [ebp + 0x10]
sub ecx, eax
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
mov eax, ebx
imul ecx, ebx, 0x9ef4
sar eax, 8
mov byte [ebp - 0x13], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0x12], al
mov eax, ebx
sar eax, 0x18
mov byte [ebp - 0x11], al
mov eax, 0x4f7a09cd
imul ebx
mov byte [ebp - 0x14], bl
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
sub ecx, eax
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
mov eax, ebx
imul ecx, ebx, 0x9ef4
sar eax, 8
mov byte [ebp - 0xf], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 0xe], al
mov eax, ebx
sar eax, 0x18
mov byte [ebp - 0xd], al
mov eax, 0x4f7a09cd
imul ebx
mov byte [ebp - 0x10], bl
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
sub ecx, eax
mov eax, 0x4f7a09cd
lea ebx, [ecx + 0x7fffff07]
cmovns ebx, ecx
imul ebx
mov ecx, ebx
mov byte [ebp - 0xc], bl
sar ecx, 8
mov byte [ebp - 0xb], cl
mov ecx, ebx
sar ecx, 0x10
sar edx, 0xe
mov byte [ebp - 0xa], cl
mov eax, edx
shr eax, 0x1f
mov ecx, ebx
add eax, edx
sar ecx, 0x18
mov byte [ebp - 9], cl
imul eax, eax, 0x7fffff07
imul ecx, ebx, 0x9ef4
sub ecx, eax
lea edx, [ecx + 0x7fffff07]
cmovns edx, ecx
mov byte [ebp - 8], dl
mov eax, edx
sar eax, 8
mov byte [ebp - 7], al
mov eax, edx
sar eax, 0x10
mov byte [ebp - 6], al
lea eax, [ebp - 0x14]
push 0x10
push eax
lea eax, [ebp - 0x6c]
sar edx, 0x18
push eax
mov byte [ebp - 5], dl
mov dword [ebp - 0x6c], 0x67452301
mov dword [ebp - 0x68], 0xefcdab89
mov dword [ebp - 0x64], 0x98badcfe
mov dword [ebp - 0x60], 0x10325476
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
call fcn.0049e540
lea eax, [ebp - 0x6c]
push eax
push esi
call fcn.0049de20
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
pop esi
pop ebx
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
Function at 0x49fb90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5c9440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
mov dword [edi], 1
cmp eax, 1
je 0x49fbd0
test eax, eax
je 0x49fbd0
cmp eax, 2
je 0x49fbd0
or eax, 0xffffffff
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49fbf3
cmp eax, 1
je 0x49fbf3
mov eax, 0xfffffffe
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
mov dword [edi + 8], eax
test edx, edx
je 0x49fc0f
xor ecx, ecx
nop
mov al, byte [ecx + edx]
mov byte [edi + ecx + 0xc], al
inc ecx
cmp ecx, 0x10
jb 0x49fc00
jmp 0x49fc16
xorps xmm0, xmm0
movups xmmword [edi + 0xc], xmm0
mov eax, dword [ebp + 0x18]
push ebx
sub eax, 0
je 0x49fc5a
sub eax, 1
je 0x49fc4c
sub eax, 1
je 0x49fc3e
pop ebx
mov eax, 0xfffffffd
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
mov ebx, 0x20
mov dword [edi + 0x1c], 0xe
jmp 0x49fc66
mov ebx, 0x18
mov dword [edi + 0x1c], 0xc
jmp 0x49fc66
mov ebx, 0x10
mov dword [edi + 0x1c], 0xa
cmp dword [ebp + 0x14], 0
jne 0x49fc81
pop ebx
mov eax, 0xfffffffc
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045de7e
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0x14]
xor eax, eax
push esi
mov ecx, eax
lea edx, [ebp - 0x24]
and ecx, 3
mov esi, eax
add edx, ecx
shr esi, 2
mov cl, byte [eax + edi]
inc eax
mov byte [edx + esi*4], cl
cmp eax, ebx
jb 0x49fc87
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.0049fdc0
add esp, 8
cmp dword [edi + 8], 1
jne 0x49fd99
mov ebx, 1
cmp dword [edi + 0x1c], ebx
jbe 0x49fd99
lea esi, [edi + 0x32]
nop dword [eax]
movzx eax, byte [esi + 1]
lea esi, [esi + 0x10]
movzx ecx, byte [esi - 0x11]
inc ebx
mov edx, dword [eax*4 + 0x5cefc8]
xor edx, dword [ecx*4 + 0x5ce7c8]
movzx eax, byte [esi - 0x10]
xor edx, dword [eax*4 + 0x5cebc8]
movzx eax, byte [esi - 0x12]
xor edx, dword [eax*4 + 0x5ce3c8]
mov dword [esi - 0x12], edx
movzx eax, byte [esi - 0xb]
movzx ecx, byte [esi - 0xc]
mov edx, dword [eax*4 + 0x5cefc8]
xor edx, dword [ecx*4 + 0x5cebc8]
movzx eax, byte [esi - 0xd]
xor edx, dword [eax*4 + 0x5ce7c8]
movzx eax, byte [esi - 0xe]
xor edx, dword [eax*4 + 0x5ce3c8]
mov dword [esi - 0xe], edx
movzx eax, byte [esi - 7]
movzx ecx, byte [esi - 8]
mov edx, dword [eax*4 + 0x5cefc8]
xor edx, dword [ecx*4 + 0x5cebc8]
movzx eax, byte [esi - 9]
xor edx, dword [eax*4 + 0x5ce7c8]
movzx eax, byte [esi - 0xa]
xor edx, dword [eax*4 + 0x5ce3c8]
mov dword [esi - 0xa], edx
movzx eax, byte [esi - 3]
movzx ecx, byte [esi - 4]
mov edx, dword [eax*4 + 0x5cefc8]
movzx eax, byte [esi - 5]
xor edx, dword [ecx*4 + 0x5cebc8]
xor edx, dword [eax*4 + 0x5ce7c8]
movzx eax, byte [esi - 6]
xor edx, dword [eax*4 + 0x5ce3c8]
mov dword [esi - 6], edx
cmp ebx, dword [edi + 0x1c]
jb 0x49fcd0
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
pop ebx
mov dword [edi], 0
xor ecx, ebp
pop edi
call fcn.0045de7e
mov esp, ebp
pop ebp
ret