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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x5c4738]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x447700
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x4226e0
push 0
push eax
push 0x4226d0
push 0x5c7ee0
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x44779b
cmp dword [0x5c7ee4], 0
jne 0x4476ec
push dword [0x5c7ee8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4476ec
mov esi, eax
mov eax, 0x5c7eec
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x5c7ef0]
mov ebx, dword [0x5c7ef4]
mov eax, dword [0x5c7ef8]
mov dword [ebp - 0x18], eax
mov eax, 0x5c7eec
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x447772
push dword [esi]
call edi
add esp, 4
test ebx, ebx
je 0x44777e
push dword [esi + 4]
call ebx
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x44778d
push dword [esi + 8]
call dword [ebp - 0x18]
add esp, 4
push esi
call fcn.004c1c90
add esp, 4
jmp 0x4476ec
call fcn.004d16b0
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov dword [ecx], 0x58addc
cmp byte [ecx + 0x27], 0
js 0x4477d8
mov edi, dword [ebp + 8]
cmp byte [esi + 0x1b], 0
js 0x4477e5
mov ecx, esi
call fcn.004b94c0
test edi, edi
je 0x4477d0
push esi
call fcn.004cf0d6
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
ret 4
push dword [esi + 0x1c]
call fcn.004cf0d6
add esp, 4
jmp 0x4477b3
push dword [esi + 0x10]
call fcn.004cf0d6
add esp, 4
jmp 0x4477bc
Function at 0x449290
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov esi, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x8c], eax
cmp byte [ecx], 0
jne 0x4492d4
cmp byte [esi + 0x1b], 0
js 0x4492f6
cmp byte [esi + 0xf], 0
js 0x449303
mov ecx, dword [esp + 0x8c]
xor ecx, ebp
call fcn.004d25a3
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
lea edi, [esi + 0x10]
movzx eax, byte [esi + 0x1b]
test al, al
js 0x449310
cmp al, 1
jbe 0x44940b
cmp word [edi + eax*2 - 2], 0
mov ecx, edi
je 0x44932a
jmp 0x44940b
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call fcn.004cf0d6
jmp 0x4492b9
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.004cf0d6
jmp 0x4492bf
mov eax, dword [esi + 0x14]
cmp eax, 1
jbe 0x44940b
mov ecx, dword [edi]
cmp word [ecx + eax*2 - 2], 0
jne 0x44940b
cmp word [ecx + eax*2 - 4], 0
jne 0x44940b
mov ecx, esi
call fcn.00449420
movzx eax, byte [esi + 0xf]
test al, al
js 0x449403
mov ecx, eax
test ecx, ecx
je 0x44940e
pxor xmm0, xmm0
movdqu xmmword [esp + 0x7c], xmm0
movdqu xmmword [esp + 0x6c], xmm0
movdqu xmmword [esp + 0x5c], xmm0
movdqu xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x48], 0x44
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
cmp byte [edi + 0xb], 0
jns 0x449389
mov edi, dword [edi]
lea ecx, [esi + 4]
test al, al
jns 0x449392
mov ecx, dword [ecx]
lea eax, [esp + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x586b00]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
je 0x4492b3
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
sub esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
sub esp, 4
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x4492b3
mov ecx, dword [esi + 8]
jmp 0x44934b
int3
int3
Function at 0x44a460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp byte [edx + 0xb], 0
jns 0x44a47b
mov edx, dword [edx]
xor ebx, ebx
lea esi, [ebp - 0x20]
mov dword [esi], ebx
push esi
push 0x20219
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, 0
test eax, eax
jne 0x44a49d
mov edi, dword [ebp - 0x20]
jne 0x44a4d5
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x44a4ac
mov eax, dword [ebx]
mov dword [ebp - 0x20], 0xffffffff
xor ecx, ecx
lea edx, [ebp - 0x2c]
mov dword [edx], ecx
push edx
push ecx
push esi
push ecx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a4d3
mov eax, dword [ebp - 0x20]
dec eax
cmp eax, 2
jb 0x44a4f4
xor ebx, ebx
test edi, edi
je 0x44a4e0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp - 0x2c]
mov eax, esi
shr eax, 1
xor edx, edx
dec edx
lea ecx, [ebp - 0x20]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
push eax
call fcn.0054f9e0
lea eax, [ebp - 0x20]
mov ecx, dword [eax]
cmp byte [ebx + 0xb], 0
jns 0x44a51c
mov ebx, dword [ebx]
xor eax, eax
dec eax
mov dword [ebp - 0x2c], eax
and esi, 0xfffffffe
lea eax, [ebp - 0x14]
mov dword [eax], esi
push eax
mov esi, ecx
push ecx
lea eax, [ebp - 0x2c]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44a5b1
mov eax, dword [ebp - 0x2c]
dec eax
cmp eax, 1
ja 0x44a5b1
test esi, esi
je 0x44a56a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44a565
test al, 1
jne 0x44a5b1
and eax, 0xfffffffe
cmp word [eax + esi - 2], 0
jne 0x44a5b1
jmp 0x44a56a
mov word [esi], 0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x44a57c
push esi
call fcn.004d00f2
add esp, 4
jmp 0x44a57e
xor eax, eax
lea ebx, [ebp - 0x2c]
mov ecx, ebx
push eax
push esi
call fcn.004cae90
push ebx
mov esi, ebx
call fcn.0042fa90
add esp, 4
mov ebx, eax
mov ecx, esi
call fcn.004c5e70
test bl, bl
je 0x44a5b1
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.00414d50
mov bl, 1
jmp 0x44a5b3
xor ebx, ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44a4d5
mov dword [ebp - 0x1c], eax
push eax
call fcn.004cf0d6
add esp, 4
jmp 0x44a4d5
Function at 0x44d5b0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov ebx, ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 4]
cmp eax, 1
jne 0x44d5f2
mov eax, 8
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], eax
mov ecx, ebx
push eax
call fcn.00559210
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [ebx + 0x10], eax
jmp 0x44d79c
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebx + 4], esi
mov ecx, ebx
push esi
mov dword [ebp - 0x28], eax
call fcn.00559210
mov edi, eax
shl esi, 2
push esi
push 0
push eax
call fcn.004d5a00
mov edx, dword [ebp - 0x2c]
add esp, 0xc
mov dword [ebx + 0x10], edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jae 0x44d78d
mov dword [ebp - 0x20], ebx
mov esi, dword [edx + ecx*4]
test esi, esi
je 0x44d784
mov eax, ecx
xor eax, 1
cmp esi, dword [edx + eax*4]
mov dword [ebp - 0x24], ecx
je 0x44d76d
movzx edx, byte [esi + 0xb]
mov eax, esi
test dl, dl
jns 0x44d662
mov eax, dword [esi]
mov edx, dword [esi + 4]
cmp edx, 4
jb 0x44d766
lea ebx, [edx - 4]
test bl, 4
jne 0x44d695
imul edi, dword [eax], 0x5bd1e995
mov ecx, edi
shr ecx, 0x18
xor ecx, edi
imul edi, ecx, 0x5bd1e995
imul ecx, edx, 0x5bd1e995
xor ecx, edi
add eax, 4
mov edx, ebx
jmp 0x44d697
mov ecx, edx
cmp ebx, 4
jb 0x44d6e0
imul edi, dword [eax], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, edi
imul edi, dword [eax + 4], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, edi
add eax, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x44d69c
mov ebx, edx
cmp ebx, 1
je 0x44d6f4
cmp ebx, 2
je 0x44d702
cmp ebx, 3
je 0x44d6f9
mov ebx, dword [ebp - 0x20]
jmp 0x44d719
mov ebx, dword [ebp - 0x20]
jmp 0x44d70e
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
mov ebx, dword [ebp - 0x20]
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor ecx, dword [ebx + 8]
xor ecx, eax
mov eax, ecx
mov edx, 0x7f4a7c15
mul edx
imul eax, ecx, 0x9e3779b9
add eax, edx
mov edx, dword [ebx + 4]
dec edx
and edx, eax
mov edi, dword [esi + 0x28]
mov ecx, ebx
push esi
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00558e70
mov esi, edi
test edi, edi
mov ecx, dword [ebp - 0x24]
jne 0x44d653
jmp 0x44d77e
mov ecx, edx
jmp 0x44d6de
mov ecx, ebx
push dword [ebp - 0x24]
inc dword [ebp - 0x24]
push edx
call fcn.00495420
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, eax
jb 0x44d637
cmp dword [ebx + 0x14], 0
jne 0x44d79c
push edx
call fcn.004cf0d6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x495420
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x5c4738]
xor edx, ebp
mov dword [ebp - 0x10], edx
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
mov dword [ebp - 0x24], eax
add eax, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x49545d
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, 4
jb 0x495582
lea ecx, [edx - 4]
test cl, 4
jne 0x495495
imul esi, dword [eax], 0x5bd1e995
mov edi, ecx
mov ecx, esi
shr ecx, 0x18
xor ecx, esi
imul esi, ecx, 0x5bd1e995
imul ecx, edx, 0x5bd1e995
xor ecx, esi
mov esi, dword [ebp - 0x20]
add eax, 4
mov edx, edi
jmp 0x495499
mov edi, ecx
mov ecx, edx
cmp edi, 4
jb 0x4954e5
imul edi, dword [eax], 0x5bd1e995
mov esi, edi
shr esi, 0x18
xor esi, edi
imul esi, esi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
imul esi, dword [eax + 4], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 8
add edx, 0xfffffff8
cmp edx, 3
ja 0x49549e
mov edi, edx
mov esi, dword [ebp - 0x20]
cmp edi, 1
je 0x495506
cmp edi, 2
je 0x4954fd
cmp edi, 3
jne 0x495511
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor ecx, dword [esi + 8]
xor ecx, eax
mov eax, ecx
mov edx, 0x7f4a7c15
mul edx
imul eax, ecx, 0x9e3779b9
add eax, edx
mov edx, dword [esi + 4]
dec edx
and edx, eax
mov ecx, esi
push dword [ebx + 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00558e70
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x49555f
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x495555
jmp 0x495575
mov eax, dword [ebx + 8]
cmp dword [eax], ebx
je 0x495575
add ebx, 8
mov ecx, dword [ebx]
lea ebx, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x495569
mov ebx, eax
cmp eax, dword [ebp - 0x28]
jne 0x49544d
jmp 0x49558b
mov ecx, edx
mov edi, edx
jmp 0x4954e5
mov eax, esi
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x49559a
cmp dword [eax + 0x14], 0
je 0x4955ae
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d25a3
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, esi
push dword [esi + 4]
call fcn.00558d10
push esi
call fcn.004cf0d6
add esp, 4
jmp 0x49559a
Function at 0x4ba1c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5c83b0]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x4ba1eb
mov ecx, 0x5c83a8
pop ebp
jmp fcn.004ba5b0
push 0x5c83b0
call fcn.004d02b9
add esp, 4
cmp dword [0x5c83b0], 0xffffffff
jne 0x4ba1e0
xor eax, eax
mov dword [0x5c83ac], eax
mov dword [0x5c83a8], eax
mov ecx, 0x5c83a8
push eax
call fcn.00402e30
push 0x5c83b0
call fcn.004d03d3
add esp, 4
jmp 0x4ba1e0
Function at 0x4ba6f0
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x5c71a8]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x4ba71b
jnp 0x4ba740
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.004d25a3
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x5c71b8]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x4ba875
mov eax, dword [0x5c71c8]
mov ecx, dword [0x5c7534]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 0x18]
jg 0x4ba8ae
rdtsc
mov dword [esp + 8], eax
mov dword [esp + 4], edx
xor eax, eax
lea ebx, [esp + 0x28]
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub esi, dword [0x5c71c0]
sbb edi, dword [0x5c71c4]
movd xmm1, edi
movd xmm0, esi
punpckldq xmm0, xmm1
punpckldq xmm0, xmmword [0x579360]
subpd xmm0, xmmword [0x579370]
haddpd xmm0, xmm0
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
divsd xmm0, qword [esp + 0x20]
pxor xmm1, xmm1
movsd xmm2, qword [0x57e4b0]
ucomisd xmm2, xmm0
ja 0x4ba71b
mov eax, dword [esp + 8]
sub eax, dword [0x5c71b0]
mov ecx, dword [esp + 4]
sbb ecx, dword [0x5c71b4]
movd xmm2, ecx
movd xmm1, eax
punpckldq xmm1, xmm2
punpckldq xmm1, xmmword [0x579360]
subpd xmm1, xmmword [0x579370]
haddpd xmm1, xmm1
divsd xmm1, xmm0
movsd qword [0x5c71a8], xmm1
jmp 0x4ba71b
push 0x5c71b8
call fcn.004d02b9
add esp, 4
cmp dword [0x5c71b8], 0xffffffff
jne 0x4ba77f
rdtsc
mov dword [0x5c71b0], eax
mov dword [0x5c71b4], edx
push 0x5c71b8
call fcn.004d03d3
add esp, 4
jmp 0x4ba77f
push 0x5c71c8
call fcn.004d02b9
add esp, 4
cmp dword [0x5c71c8], 0xffffffff
jne 0x4ba7a0
xor eax, eax
lea edi, [esp + 0x28]
mov dword [edi + 4], eax
mov dword [edi], eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [0x5c71c4], ecx
mov dword [0x5c71c0], eax
push 0x5c71c8
call fcn.004d03d3
add esp, 4
jmp 0x4ba7a0
Function at 0x4c4cd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x4c4d49
mov ecx, dword [ebp + 0xc]
cmp ebx, 1
jne 0x4c4cec
xor esi, esi
jmp 0x4c4d2e
and ebx, 0xfffffffe
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx edi, al
movzx edx, byte [ecx + esi]
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x585e24]
movzx edx, al
movzx edi, byte [ecx + esi + 1]
xor edi, edx
shr eax, 8
xor eax, dword [edi*4 + 0x585e24]
add esi, 2
cmp ebx, esi
jne 0x4c4d00
mov edx, dword [ebp + 0x10]
test dl, 1
je 0x4c4d49
movzx edx, al
movzx ecx, byte [ecx + esi]
xor ecx, edx
shr eax, 8
xor eax, dword [ecx*4 + 0x585e24]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4c5ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x4c5d1e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x4c5d07
lea eax, [edi + 1]
cmp eax, 2
jb 0x4c5ceb
mov dword [esi], edi
call fcn.004bafe0
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 1
inc eax
cmp eax, 1
jbe 0x4c5d22
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.004bafe0
push dword [esi]
call fcn.004c1b90
add esp, 4
mov dword [esi], 0
jmp 0x4c5cdc
mov byte [esi + 4], 1
int3
Function at 0x4c9120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 8], ecx
mov eax, dword [0x5c4738]
xor eax, ebp
mov dword [esp + 0x68], eax
xor ebx, ebx
dec ebx
lea edi, [esp + 0x30]
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x3e
push str..._.._base_files_file_win.cc
push str.Read
push esi
call fcn.004c10c0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004c7be0
cmp dword [ebp + 0x14], 0
js 0x4c91eb
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x28], 0
call fcn.004c7b10
test al, al
jne 0x4c921d
pxor xmm0, xmm0
movdqa xmmword [esp + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebx
lea eax, [esp + 0xc]
mov dword [eax], 0xffffffff
push esi
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4c920b
mov ebx, dword [esp + 0xc]
lea ecx, [esp + 0x28]
call fcn.004c7b30
lea ecx, [esp + 0x30]
call fcn.004c7b60
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004d25a3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
jmp 0x4c91e2
lea ecx, [esp + 0x28]
push 0
push dword [ebp + 0x14]
push dword [esp + 0x10]
push str.File::Read
call fcn.00519a00
jmp 0x4c91a2

Function at 0x4cb900
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cb910

Function at 0x4cbf10
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cbf20
Function at 0x4cc330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jb 0x4cc41e
nop word cs:[eax + eax]
nop
movdqa xmm6, xmm0
movdqa xmm4, xmmword [0x579870]
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x579880]
pclmulqdq xmm0, xmm5, 0x11
movdqa xmm7, xmm0
pxor xmm7, xmm6
movdqa xmm0, xmm3
movdqa xmm4, xmmword [0x579870]
pclmulqdq xmm0, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
movdqa xmm6, xmm3
pxor xmm6, xmm0
movdqa xmm0, xmm2
pclmulqdq xmm0, xmm4, 0
movdqa xmm3, xmm4
pclmulqdq xmm2, xmm5, 0x11
movdqa xmm4, xmm2
pxor xmm4, xmm0
movdqa xmm0, xmm1
pclmulqdq xmm0, xmm3, 0
pclmulqdq xmm1, xmm5, 0x11
movdqa xmm5, xmm1
pxor xmm5, xmm0
movdqu xmm0, xmmword [ecx]
pxor xmm0, xmm7
movdqu xmm3, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm2, xmmword [ecx + 0x20]
pxor xmm2, xmm4
movdqu xmm1, xmmword [ecx + 0x30]
pxor xmm1, xmm5
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x4cc370
movdqa xmm4, xmmword [0x579890]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x5798a0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x4cc4d6
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmmword [0x579890]
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmmword [0x5798a0], 0x11
pxor xmm0, xmm2
mov edx, eax
and edx, 0xfffffff0
cmp edx, 0x10
je 0x4cc4d6
movdqu xmm1, xmmword [ecx + 0x10]
movdqa xmm2, xmmword [0x579890]
pclmulqdq xmm2, xmm0, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmmword [0x5798a0], 0x11
pxor xmm0, xmm2
add eax, 0xffffffe0
cmp eax, 0x10
jae 0x4cc53e
movdqa xmm1, xmmword [0x5798a0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm2, xmmword [0x5798b0], 0
pxor xmm2, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm2, 3
pclmulqdq xmm0, xmmword [0x5798c0], 0x10
pblendw xmm0, xmm1, 0xfc
pclmulqdq xmm0, xmmword [0x5798d0], 0
pxor xmm0, xmm2
pextrd eax, xmm0, 1
pop ebp
ret
add ecx, 0x20
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
jbe 0x4cc4d6
jmp 0x4cc541