joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5888d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e90d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xc]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0x10], xmm0
movdqu xmmword [esp + 0x20], xmm0
call fcn.00587e20
mov edx, dword [esi]
lea edi, [esi + 8]
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
cmp edi, eax
je 0x58896c
push eax
mov ecx, edi
call fcn.005895d0
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], 2
cmp edx, 0xffffffff
je 0x588988
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], 0xffffffff
cmp dword [esp + 0x28], 0x10
jb 0x58899b
push dword [esp + 0x14]
call fcn.005c40d3
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005c4b26
add esp, 0x30
ret 4
Function at 0x5898d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x2c]
xor edx, edx
mov dword [esp + 4], 0x310030
mov dword [esp + 8], 0x330032
mov dword [esp + 0xc], 0x350034
mov dword [esp + 0x10], 0x370036
mov dword [esp + 0x14], 0x390038
mov dword [esp + 0x18], 0x420041
mov dword [esp + 0x1c], 0x440043
mov dword [esp + 0x20], 0x460045
test edi, edi
je 0x589959
mov eax, dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x2c]
jmp 0x589930
movzx ecx, byte [edx + esi]
lea eax, [eax + 4]
shr ecx, 4
movzx ecx, word [esp + ecx*2 + 8]
mov word [eax - 4], cx
movsx ecx, byte [edx + esi]
inc edx
and ecx, 0xf
movzx ecx, word [esp + ecx*2 + 8]
mov word [eax - 2], cx
cmp edx, edi
jne 0x589930
pop esi
pop edi
add esp, 0x20
ret

Function at 0x589a10
Capabilities:
Create directory

Disassembly:
sub esp, 0x28
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push 1
push eax
mov byte [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x589a6b
push 0
push 0
push 1
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x589a6b
lea eax, [esp + 0x10]
mov dword [esp + 4], 0xc
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x24], 0
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 0x28]
neg eax
pop esi
sbb eax, eax
xor ecx, esp
neg eax
call fcn.005c4b26
add esp, 0x28
ret
Function at 0x58a530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9358
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi]
mov edi, dword [esp + 0x3c]
xorps xmm0, xmm0
movq qword [esp + 0x10], xmm0
mov dword [esp + 0x10], esi
call fcn.0058cc20
mov byte [esp + 0x14], 1
mov esi, dword [esi + 4]
push 3
mov dword [esp + 0x38], 0
call fcn.0058a6c0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push 8
lea ecx, [esp + 0x20]
push ecx
push 0
push esi
call eax
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test eax, eax
push edi
cmovne esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00587970
push ecx
mov ecx, esp
lea edi, [esi*4 + 4]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push eax
mov dword [ecx], edi
call fcn.00586ed0
add esp, 0xc
mov esi, eax
test byte [esp + 0x18], 1
jne 0x58a5f9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x58a5f9
cmp dword [esp + 0x1c], 0xb
jbe 0x58a5f9
push eax
call fcn.005c40d3
add esp, 4
cmp esi, edi
je 0x58a602
add esi, 0x18
jmp 0x58a604
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00588390
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005c4b26
add esp, 0x28
ret 4
Function at 0x58a760
Capabilities:
Access the windows event log

Disassembly:
push 0xffffffffffffffff
push 0x5e9390
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x50]
push 0x530254
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
test edi, edi
je 0x58a8c4
mov dword [esp + 0x20], edi
mov ebx, 0x10000
mov dword [esp + 0x48], 0
push ebx
call fcn.005c6d08
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x48], 1
test esi, esi
je 0x58a8a3
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push esi
push 0
push 9
push edi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
test eax, eax
jne 0x58a858
call ebp
cmp eax, 0x7a
jne 0x58a833
mov ebx, dword [esp + 0x24]
push ebx
push esi
call fcn.005c6d9a
add esp, 8
test eax, eax
jne 0x58a7f4
push esi
call fcn.005c4218
add esp, 4
xor esi, esi
mov byte [esp + 0x48], 0
test esi, esi
je 0x58a845
push esi
call fcn.005c4218
add esp, 4
push edi
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
xor al, al
jmp 0x58a8c6
lea eax, [esp + 0x18]
push eax
push 0x1775
push 0x53025c
push dword [esp + 0x34]
push esi
call fcn.0058a640
add esp, 0x14
test al, al
je 0x58a7f4
mov eax, dword [esp + 0x18]
push dword [eax + 0xc]
lea eax, [esp + 0x30]
push 0x5301fc
push eax
call fcn.005c4a60
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x38]
add esp, 0xc
push eax
call fcn.00588810
mov byte [esp + 0x48], 0
test esi, esi
je 0x58a8b5
push esi
call fcn.005c4218
add esp, 4
push edi
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005c4b26
add esp, 0x38
ret
Function at 0x58af20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5e9478
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
push edx
push dword [0x5f8088]
mov byte [esp + 0x1f], 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x58afd3
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebp
lea eax, [esp + 0x2c]
mov dword [edi], 0
push eax
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete bl
test bl, bl
je 0x58afc0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
push esi
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x58afd7
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005c4b26
add esp, 0x24
ret
Function at 0x58b000
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5e9478
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
xor bl, bl
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x58b055
mov eax, dword [edi]
jmp 0x58b057
mov eax, edi
mov byte [eax], 0
lea eax, [esp + 0x1c]
push eax
push dword [0x5f8088]
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x58b135
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0
push ebp
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, eax
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x58b0a9
cmp eax, 2
jne 0x58b126
test ecx, ecx
jne 0x58b126
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x24]
cmp eax, ecx
ja 0x58b0d1
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], eax
jb 0x58b0c9
mov ecx, dword [edi]
mov byte [ecx + eax], 0
jmp 0x58b0dd
mov ecx, edi
mov byte [ecx + eax], 0
jmp 0x58b0dd
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.005896e0
cmp dword [edi + 0x14], 0x10
jb 0x58b0e7
mov eax, dword [edi]
jmp 0x58b0e9
mov eax, edi
lea ecx, [esp + 0x24]
push ecx
push eax
lea eax, [esp + 0x28]
push eax
push 0
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x58b126
cmp dword [edi + 0x14], 0x10
jb 0x58b10f
mov ecx, dword [edi]
jmp 0x58b111
mov ecx, edi
mov eax, dword [edi + 0x10]
dec eax
add eax, ecx
mov ecx, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0058a040
mov bl, 1
push esi
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005c4b26
add esp, 0x24
ret

Function at 0x58b1c0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x34
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0x530200
push 0x530210
push 0x80000002
call fcn.0058b000
add esp, 0x10
cmp dword [esi + 0x10], 0
jne 0x58b20b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
mov ecx, 0x5300c8
cmp eax, dword [ecx]
je 0x58b21e
add ecx, 8
cmp ecx, 0x5301c8
jne 0x58b1f5
mov eax, 1
jmp 0x58b221
push 0x13
push 0x5303a0
mov ecx, esi
call fcn.00548300
pop esi
add esp, 0x34
ret
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
push 0
lea eax, [esp + 8]
push eax
call fcn.00587ba0
push 0x5f3550
lea eax, [esp + 0x10]
push eax
call fcn.005c4b35
int3
Function at 0x58c780
Capabilities:
Clear file content
Get file size
Write file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x58c7b5
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005c4b26
add esp, 0x10
ret
xor edx, edx
push edi
mov edi, dword [esp + 0x20]
cmp edx, 0x7fffffff
jb 0x58c7e9
ja 0x58c7cb
cmp edi, 0xffffffff
jbe 0x58c7e9
push 0xdf
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor al, al
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005c4b26
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
push ebp
push esi
cmp edx, ecx
jl 0x58c85f
mov eax, dword [esp + 0x14]
jg 0x58c7fd
cmp edi, eax
jbe 0x58c85f
push 0
push 0
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x58c87b
sub edi, dword [esp + 0x14]
je 0x58c84a
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 0x200
nop
cmp edi, 0x200
mov esi, edi
push 0
cmova esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push 0x602548
push ebx
call ebp
cmp dword [esp + 0x10], esi
jne 0x58c87b
mov eax, 0x200
sub edi, esi
jne 0x58c820
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005c4b26
add esp, 0x10
ret
push 0
push 0
push edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x58c87b
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x58c84a
mov ecx, dword [esp + 0x1c]
xor al, al
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
call fcn.005c4b26
add esp, 0x10
ret
Function at 0x58ccb0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x58ccf1
mov eax, dword [0x602748]
test eax, eax
jne 0x58ccdf
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x18]
mov ecx, 1
cmp ecx, eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
cmp eax, 8
jb 0x58cd4d
cmp eax, 0x20
jae 0x58cd13
pause
inc dword [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c4b26
add esp, 0x28
ret
mov ecx, esi
jne 0x58cd2f
call fcn.0058b300
inc dword [esi + 0xc]
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.005c4b26
add esp, 0x28
ret
call fcn.0058cd60
test al, al
je 0x58cd45
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x58cd4d
push eax
jmp 0x58cd47
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
pop esi
xor ecx, esp
call fcn.005c4b26
add esp, 0x28
ret

Function at 0x590390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e9a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov eax, dword [0x5fc7d0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, dword [esp + 0x15c]
lea eax, [esp + 0xc]
push pe_nt_image_headers32
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.005c55e0
xor eax, eax
cmp byte [esp + 0x14], al
setne al
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00590580
mov eax, dword [esp + 0x174]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x148], xmm0
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 0x14c], eax
mov eax, dword [esi]
mov dword [esp + 0x150], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x154], eax
lea eax, [esp + 0x48]
push eax
xor eax, eax
mov dword [esp + 0x168], 0
cmp byte [esp + 0x20], al
setne al
push eax
push 0x10
push dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
call fcn.00590bf0
lea eax, [esp + 0x15c]
xorps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x3c]
push eax
movdqu xmmword [esp + 0x68], xmm0
call fcn.00590940
movdqu xmm0, xmmword [esp + 0x168]
mov esi, dword [esp + 0x18c]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x188], 0xffffffff
movdqu xmmword [esi], xmm0
call fcn.00590920
add esp, 0x38
mov eax, esi
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.005c4b26
add esp, 0x14c
ret
Function at 0x590dd0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
sub esp, 8
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x590e30
call fcn.005c716e
add eax, 0x40
push eax
push 0x5308f0
call fcn.005c724a
add esp, 8
mov eax, 0x10300001
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005c4b26
add esp, 8
ret
push esi
push dword [esp + 0x18]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x590e7a
call fcn.005c716e
add eax, 0x40
push eax
push 0x530910
call fcn.005c724a
add esp, 8
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x10300001
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.005c4b26
add esp, 8
ret
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
xor ecx, esp
call fcn.005c4b26
add esp, 8
ret

Function at 0x591460
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x6027a8], 0
push ebx
push esi
jne 0x591538
xor esi, esi
mov eax, esi
and al, 1
movzx ecx, al
mov eax, esi
neg ecx
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
xor eax, ecx
mov dword [esi*4 + 0x6027b0], eax
inc esi
cmp esi, 0x100
jb 0x591471
mov dword [0x6027a8], 1
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x5915f4
mov edx, dword [esp + 0x10]
test edx, edx
je 0x5915f4
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
test esi, esi
je 0x5915f2
push edi
nop
cmp esi, 0x10
jb 0x5915d2
mov edi, 4
lea ebx, [ebx]
movzx ecx, byte [edx]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6027b0]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6027b0]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6027b0]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6027b0]
dec edi
jne 0x591570
sub esi, 0x10
jmp 0x5915e9
movzx ecx, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x6027b0]
dec esi
test esi, esi
jne 0x591560
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret
Function at 0x591600
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x12c
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [esp + 0x134]
push ebp
push esi
push edi
movdqu xmm0, xmmword [ebx + 0x2c]
mov eax, dword [ebx + 0xc]
mov ebp, 0x30
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x14]
movdqu xmmword [esp + 0x38], xmm0
mov dword [esp + 0x14], eax
movdqu xmm0, xmmword [ebx + 0x3c]
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x1c]
movdqu xmmword [esp + 0x48], xmm0
mov dword [esp + 0x1c], eax
movdqu xmm0, xmmword [ebx + 0x4c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x24]
movdqu xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [ebx + 0x5c]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x30], ebx
movdqu xmmword [esp + 0x68], xmm0
mov edx, dword [eax - 0x34]
lea eax, [eax + 4]
mov esi, dword [eax - 4]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
dec ebp
jne 0x591694
mov ebp, dword [esp + 0x2c]
xor edi, edi
mov ebx, dword [esp + 0x1c]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [esp + 0x18]
xor esi, eax
mov eax, ebx
mov edx, ebp
ror eax, 6
xor esi, eax
ror edx, 0xd
mov eax, dword [esp + 0x10]
and eax, ebx
or ecx, eax
mov eax, ebp
rol eax, 0xa
add esi, ecx
add esi, dword [edi + 0x530948]
xor edx, eax
add esi, dword [esp + edi + 0x38]
mov eax, ebp
add esi, dword [esp + 0x28]
add edi, 4
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x20]
mov ecx, eax
and eax, ebp
or ecx, ebp
and ecx, dword [esp + 0x14]
or ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
add edx, ecx
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], eax
lea ebp, [edx + esi]
mov eax, dword [esp + 0x14]
add ebx, esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
cmp edi, 0x100
jb 0x5916d7
mov eax, dword [esp + 0x34]
add eax, ebp
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
add dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x12c]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 8]
add dword [ebx + 0x14], eax
mov eax, dword [esp + 0x18]
add dword [ebx + 0x18], eax
mov eax, dword [esp + 0x10]
add dword [ebx + 0x1c], eax
mov eax, dword [esp + 4]
add dword [ebx + 0x20], eax
mov eax, dword [esp + 0xc]
add dword [ebx + 0x24], eax
mov eax, dword [esp + 0x1c]
add dword [ebx + 0x28], eax
pop ebx
xor ecx, esp
call fcn.005c4b26
add esp, 0x12c
ret
Function at 0x592530
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov eax, dword [0x5fc7d0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
push ebx
push esi
push edi
mov ebx, dword [ecx + 0x24]
mov edi, 0
sub ebx, 6
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov eax, edi
je 0x59256e
mov esi, dword [esp + 0x44]
lea edi, [esp + 0x18]
mov ecx, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
xor edi, edi
xor esi, esi
test ebx, ebx
je 0x5925af
cmp edi, dword [ecx + 0x24]
ja 0x5926ef
cmp esi, ebx
jae 0x5925a3
cmp eax, 4
jae 0x59259f
mov ebx, dword [esp + 0xc]
lea edx, [eax + edi*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x38], ecx
mov ebx, dword [esp + 0x10]
cmp esi, ebx
jb 0x592581
mov ecx, dword [esp + 0xc]
cmp eax, 4
jne 0x5925ab
inc edi
xor eax, eax
cmp esi, ebx
jb 0x592574
cmp edi, dword [ecx + 0x24]
ja 0x5926ef
mov esi, 0x5fb2f8
lea ecx, [ecx]
movzx ecx, byte [esp + ebx*4 + 0x15]
mov dl, byte [esp + 0x18]
xor dl, byte [ecx + 0x5f80f8]
mov byte [esp + 0x18], dl
mov edx, 1
movzx ecx, byte [esp + ebx*4 + 0x16]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x19], cl
movzx ecx, byte [esp + ebx*4 + 0x17]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x1a], cl
movzx ecx, byte [esp + ebx*4 + 0x14]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x1b], cl
movzx ecx, byte [esi]
inc esi
xor byte [esp + 0x18], cl
mov dword [esp + 0x14], esi
cmp ebx, 8
je 0x592630
cmp ebx, edx
jbe 0x592691
lea ecx, [ecx]
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, ebx
jb 0x592620
jmp 0x592691
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 4
jb 0x592630
movzx ecx, byte [esp + 0x24]
mov edx, 5
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x28], cl
movzx ecx, byte [esp + 0x25]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x29], cl
movzx ecx, byte [esp + 0x26]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x2a], cl
movzx ecx, byte [esp + 0x27]
movzx ecx, byte [ecx + 0x5f80f8]
xor byte [esp + 0x2b], cl
mov ecx, dword [esp + edx*4 + 0x14]
xor dword [esp + edx*4 + 0x18], ecx
inc edx
cmp edx, 8
jb 0x592683
xor esi, esi
test ebx, ebx
je 0x5926de
mov ecx, dword [esp + 0xc]
jmp 0x5926a0
cmp edi, dword [ecx + 0x24]
ja 0x5926de
cmp esi, ebx
jae 0x5926d2
lea esp, [esp]
cmp eax, 4
jae 0x5926ce
mov ebx, dword [esp + 0xc]
lea edx, [eax + edi*4]
mov ecx, dword [esp + esi*4 + 0x18]
inc eax
inc esi
mov dword [ebx + edx*4 + 0x38], ecx
mov ebx, dword [esp + 0x10]
cmp esi, ebx
jb 0x5926b0
mov ecx, dword [esp + 0xc]
cmp eax, 4
jne 0x5926da
inc edi
xor eax, eax
cmp esi, ebx
jb 0x5926a0
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
cmp edi, dword [ecx + 0x24]
jbe 0x5925c0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c4b26
add esp, 0x30
ret