joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582b1b
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe38
lea eax, [ebp - 0xc30]
push eax
call fcn.005330af
test al, al
jne 0x582b48
lea eax, [ebp - 0xc30]
push eax
call fcn.0053313a
test al, al
je 0x582cc5
push ebx
push esi
push edi
lea eax, [ebp - 0xc30]
push eax
mov esi, 0x104
push str._s_shellmenu
mov eax, esi
lea edi, [ebp - 0x208]
call fcn.005383cd
mov eax, edi
push eax
mov ebx, str._s_shellmenu.dll
push ebx
mov eax, esi
lea edi, [ebp - 0xe38]
call fcn.005383cd
add esp, 0x10
lea eax, [ebp - 0xa28]
push eax
call fcn.00545274
lea eax, [ebp - 0xa28]
push eax
push ebx
mov eax, esi
lea edi, [ebp - 0x820]
call fcn.005383cd
lea eax, [ebp - 0xa28]
push eax
push str._s_shellmenuA.msix
mov eax, esi
lea edi, [ebp - 0x410]
call fcn.005383cd
lea eax, [ebp - 0xa28]
push eax
push str._s_shellmenuB.msix
mov eax, esi
lea edi, [ebp - 0x618]
call fcn.005383cd
add esp, 0x18
call fcn.0058243c
xor edi, edi
cmp ax, 1
jb 0x582bf9
lea eax, [ebp - 0xe38]
push eax
call fcn.00401e3b
test al, al
jne 0x582c93
push str.shellmenua
call fcn.00582136
push str.shellmenub
call fcn.00582136
lea eax, [ebp - 0x820]
push eax
call fcn.00401e3b
test al, al
je 0x582c4d
lea eax, [ebp - 0x208]
push eax
call fcn.00401e3b
test al, al
jne 0x582c38
lea ecx, [ebp - 0x208]
call fcn.00537bf5
push edi
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0x410]
push eax
call fcn.00401e3b
test al, al
je 0x582c70
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00581f11
lea eax, [ebp - 0x618]
push eax
call fcn.00401e3b
test al, al
je 0x582c93
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x618]
push eax
call fcn.00581f11
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x820]
push eax
call esi
lea eax, [ebp - 0x410]
push eax
call esi
lea eax, [ebp - 0x618]
push eax
call esi
push edi
push edi
push edi
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x58969d
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4064
call fcn.0060f180
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
push ebx
push esi
push edi
push 0x44
pop esi
lea edi, [eax + 4]
or dword [edi], 0xffffffff
push esi
xor ebx, ebx
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.005fc0d0
add esp, 0xc
mov dword [ebp - 0x64], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0xfffffffffffffff6
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], bx
call esi
or dword [ebp - 0x28], 0xffffffff
push 0xfffffffffffffff4
mov dword [ebp - 0x2c], eax
call esi
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], eax
push 0x10000
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x589729
xor al, al
jmp 0x5897c4
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push edi
call esi
push eax
push dword [ebp - 4]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov ecx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ecx]
xor edx, edx
add ecx, 2
jmp 0x58977a
cmp edx, 0x1fff
jae 0x58977f
mov word [ebp + edx*2 - 0x4064], ax
movzx eax, word [ecx]
inc edx
inc ecx
inc ecx
cmp ax, bx
jne 0x589764
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push 0x10
push 1
push ebx
push ebx
lea eax, [ebp - 0x4064]
push eax
push ebx
mov word [ebp + edx*2 - 0x4064], bx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
push dword [ebp - 0x28]
jne 0x5897b3
call esi
jmp 0x589722
call esi
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5897cb
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x206c
call fcn.0060f180
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
push ebx
push esi
push edi
push 0x44
lea esi, [eax + 4]
or dword [esi], 0xffffffff
add eax, 8
or dword [eax], 0xffffffff
pop edi
push edi
mov dword [ebp - 0xc], eax
xor ebx, ebx
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.005fc0d0
add esp, 0xc
push 0xfffffffffffffff4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], 0x101
mov word [ebp - 0x3c], bx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x58984d
xor al, al
jmp 0x58992a
push 2
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push dword [ebp - 8]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call edi
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x589846
push 2
push 0
push 0
push dword [ebp - 0xc]
call esi
push eax
push dword [ebp - 4]
call esi
push eax
call edi
push dword [ebp - 4]
call ebx
mov ecx, dword [ebp + 0xc]
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, word [ecx]
xor esi, esi
xor edx, edx
add ecx, 2
jmp 0x5898d6
cmp edx, 0xfff
jae 0x5898db
mov word [ebp + edx*2 - 0x206c], ax
movzx eax, word [ecx]
inc edx
inc ecx
inc ecx
cmp ax, si
jne 0x5898c0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
lea eax, [ebp - 0x206c]
push eax
push esi
mov word [ebp + edx*2 - 0x206c], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
push dword [ebp - 0x34]
jne 0x589914
call ebx
push dword [ebp - 0x30]
call ebx
jmp 0x589846
call ebx
push dword [ebp - 0x30]
call ebx
push dword [ebp - 0x24]
call ebx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x589a61
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push 1
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x589b23
push 2
push 0x400
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x589b23
push esi
push 1
call dword [sym.imp.ADVAPI32.dll_GetSidLengthRequired]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
lea eax, [ebp - 8]
push eax
push esi
mov byte [ebp - 8], bl
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
mov byte [ebp - 3], 1
call dword [sym.imp.ADVAPI32.dll_InitializeSid]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
push esi
push 0x10000000
mov dword [eax], ebx
push 2
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
je 0x589b1b
push ebx
lea eax, [ebp - 0x428]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x589b1b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
lea eax, [ebp - 0x14]
push eax
push 0xbb8
mov eax, 0x10000
push eax
push eax
mov eax, dword [ebp + 8]
push 0xff
push ebx
push 0x40000003
add eax, 0x29
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
pop ebx
leave
ret 4

Function at 0x589b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
lea eax, [esi + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push 4
push dword [ebp + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x589b75
and dword [ebx], 0
jmp 0x589bb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x589baf
push 0xbb8
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [edi]
lea ecx, [ebp + 8]
push ecx
mov ecx, edi
call dword [eax + 8]
cmp dword [ebp + 8], 0
je 0x589ba8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [ebp + 8]
mov dword [ebx], eax
jmp 0x589bb5
mov dword [ebx], 2
mov eax, ebx
pop ebx
pop ebp
ret 8
Function at 0x589bbc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 4
pop ebx
lea edi, [esi + 8]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x589c1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x589c28
push 0xffffffffffffffff
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 8]
push edx
call dword [eax + 8]
cmp dword [ebp - 8], 0
jne 0x589c33
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x589c28
mov eax, dword [ebp - 4]
cmp eax, ebx
jae 0x589c45
add dword [ebp + 0x10], eax
sub ebx, eax
jmp 0x589bc9
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x589c4b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x589c4b
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop ebx
leave
ret 0xc
Function at 0x58a947
Capabilities:
Write clipboard data

Disassembly:
mov eax, dword [esp + 4]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x58a94e
push esi
sub eax, ecx
sar eax, 1
push edi
lea esi, [eax + eax + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [esp + 0x10]
push eax
call fcn.005fbd60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
ret 4

Function at 0x58a99a
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x38
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call fcn.0054cb88
test al, al
jne 0x58a9bd
mov dword [ebx], 2
jmp 0x58aa82
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
lea esi, [ebp - 0x38]
call fcn.00406704
lea esi, [ebp - 0xc]
lea edi, [ebp - 0x28]
call fcn.0053f95f
test al, al
lea ecx, [ebp - 0x38]
jne 0x58a9ea
mov dword [ebx], 2
jmp 0x58aa74
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 0x14], ecx
call fcn.004ac747
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x58aa17
mov dword [ebx], eax
jmp 0x58aa71
mov edi, dword [ebp - 8]
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x58aa31
mov dword [ebx], 2
jmp 0x58aa71
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x58aa45
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x58aa29
push edi
push dword [ebp - 0xc]
push eax
call fcn.005fbd60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
and eax, 0xfffffff7
push esi
add eax, 0x11
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
and dword [ebx], 0
lea ecx, [ebp - 0x38]
call fcn.00497762
push dword [ebp - 0xc]
call fcn.005f858a
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x58aa8b
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x58aa98
xor al, al
jmp 0x58aaea
push esi
push dword [ebp + 0xc]
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x58aabc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x58aac0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor al, al
jmp 0x58aae9
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.005fbd60
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push esi
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
mov al, 1
pop esi
pop ebp
ret 0xc
Function at 0x58abc8
Capabilities:
Read clipboard data

Disassembly:
cmp byte [eax + 1], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x58abd7
xor al, al
jmp 0x58ac2a
call fcn.0058ac6d
test al, al
je 0x58abd3
push str.PicoPDF_Image
call dword [sym.imp.USER32.dll_RegisterClipboardFormatW]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x58abd3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
call fcn.0058d0a0
mov eax, dword [edi]
test eax, eax
je 0x58abd3
push esi
push ebx
push eax
mov dword [edi + 4], esi
call fcn.005fbd60
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x58acab
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
xor ebx, ebx
cmp byte [eax + 1], bl
push esi
push edi
jne 0x58acc4
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
call fcn.0058ad6d
test al, al
je 0x58acbb
call fcn.0058ad8c
cmp eax, ebx
je 0x58acbb
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
cmp edi, ebx
je 0x58acbb
lea esi, [ebp - 0x44]
call fcn.0040c73b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push ebx
push eax
mov esi, edi
lea eax, [ebp - 0x34]
call fcn.0040209c
test al, al
jne 0x58ad1a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 0x44]
call fcn.0040c778
jmp 0x58acbb
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 8], 0x646540
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
call fcn.004aca13
cmp dword [eax], 2
jne 0x58ad69
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 0x44]
mov dword [ebp - 8], 0x6920c4
call fcn.0040c778
mov al, bl
jmp 0x58acbd
mov bl, 1
jmp 0x58ad4c

Function at 0x5986e0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 0x50000000
mov esi, eax
mov edi, dword [esi + 0x1a]
push 0x631c38
mov ebx, 0x257f
mov ebp, 0x631a7c
push ebx
mov edx, ebp
call fcn.00568123
push ebx
push dword [esi + 0x1a]
mov ecx, esi
call fcn.0049936c
mov eax, dword [esi + 0x1a]
push 0
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push ebx
lea eax, [esi + 0x1e]
push eax
mov eax, dword [esi + 0x1a]
call fcn.00566cbf
push esi
mov esi, dword [esi + 0x1a]
push 0x5a4cfb
push 0x112
add esi, 0x28
call fcn.00568620
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x5991da
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, eax
mov eax, dword [esi]
lea ecx, [eax + 1]
push 0x104
mov dword [esi], ecx
lea ecx, [ebp - 0x208]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x599211
and word [esi + 0x628], 0
jmp 0x599227
lea ecx, [ebp - 0x208]
lea eax, [esi + 0x41c]
push ecx
add esi, 8
push esi
call fcn.0040188d
pop esi
leave
ret
Function at 0x5a249d
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x124]
xor edx, edx
push edi
sub esi, ecx
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x124]
lea ecx, [ebp + edx*4 - 0x124]
mov dword [ecx], edi
inc edx
cmp edx, 0x10
bswap edi
mov dword [ecx], edi
jl 0x5a24b5
lea ecx, [ebp - 0xec]
mov dword [ebp - 4], 0x30
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x5a24df
mov ecx, dword [eax + 4]
and dword [ebp - 0xc], 0
mov ebx, dword [eax + 8]
mov edi, dword [eax + 0x10]
mov esi, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 0x24]
lea edx, [ebp - 0x124]
sub ecx, edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], ecx
mov edx, esi
ror edx, 0xd
mov ecx, esi
rol ecx, 0xa
xor edx, ecx
mov ecx, esi
ror ecx, 2
xor edx, ecx
mov ecx, dword [ebp - 8]
xor ecx, esi
and ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, esi
xor ecx, ebx
add edx, ecx
mov ecx, edi
mov ebx, edi
ror ecx, 0xb
rol ebx, 7
xor ecx, ebx
mov ebx, edi
ror ebx, 6
xor ecx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, dword [ebp - 0x18]
not edi
and edi, dword [ebp - 0x14]
xor edi, ebx
mov ebx, dword [ebp - 0xc]
add ecx, edi
mov edi, dword [ebp - 0x24]
lea edi, [edi + ebx*4]
add ecx, dword [ebp + edi - 0x124]
mov edi, ebx
add ecx, dword [ebp + edi*4 - 0x124]
mov edi, dword [ebp - 0x14]
add ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x1c]
add edi, ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x40
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
lea esi, [ecx + edx]
jl 0x5a2557
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
add ecx, esi
mov dword [eax], ecx
mov ecx, dword [eax + 4]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, edi
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 0x14]
add ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x18], ecx
mov ecx, dword [eax + 0x1c]
pop edi
add ecx, edx
and dword [eax + 0x70], 0
pop esi
mov dword [eax + 0x1c], ecx
pop ebx
leave
ret
Function at 0x5a2647
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov eax, dword [esi + 0x70]
lea ecx, [eax + 9]
mov byte [eax + esi + 0x30], 0x80
inc dword [esi + 0x70]
cmp ecx, 0x40
mov eax, dword [esi + 0x70]
jbe 0x5a268f
push edi
push 0x40
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x30]
push 0
push eax
call fcn.005fc0d0
lea edi, [esi + 0x30]
add esp, 0xc
mov ecx, edi
mov eax, esi
call fcn.005a249d
push 0x38
push 0
push edi
call fcn.005fc0d0
add esp, 0xc
pop edi
jmp 0x5a26a4
push 0x38
pop ecx
sub ecx, eax
push ecx
lea eax, [eax + esi + 0x30]
push 0
push eax
call fcn.005fc0d0
add esp, 0xc
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x28]
shl ecx, 3
shr edx, 0x1d
or ecx, edx
bswap ecx
lea eax, [esi + 0x68]
mov dword [eax], ecx
mov ecx, dword [esi + 0x28]
add eax, 4
shl ecx, 3
bswap ecx
mov dword [eax], ecx
lea ecx, [esi + 0x30]
mov eax, esi
jmp fcn.005a249d
Function at 0x5a770d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 0x14]
sub esp, 0x14
cmp eax, dword [esi]
push ebx
jae 0x5a7858
mov eax, dword [edi + 0x14]
cmp eax, dword [edi]
jae 0x5a7858
call fcn.00543891
mov ebx, dword [ebp + 0x10]
test ebx, ebx
mov dword [ebp - 0x14], eax
jle 0x5a7784
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, eax
shr edx, 8
push edx
mov ecx, eax
lea edx, [ebp - 4]
shr ecx, 0x10
push edx
mov dword [ebp - 0x10], eax
call fcn.004cd56c
xor eax, eax
mov ah, byte [ebp - 0xd]
xor ecx, ecx
mov ch, byte [ebp - 0xd]
xor eax, dword [ebp - 4]
and eax, 0xffff7fff
xor eax, ecx
mov ecx, dword [edi + 0x18]
mov word [ecx], ax
mov word [ebp - 4], ax
mov eax, esi
call fcn.0054d8be
mov eax, edi
call fcn.0054d8be
dec ebx
jne 0x5a7739
call fcn.00543891
xor ebx, ebx
mov ecx, eax
inc ebx
sub ecx, dword [ebp - 0x14]
je 0x5a77aa
xor edx, edx
mov eax, 0x186a0
div ecx
cmp eax, ebx
jle 0x5a77a5
mov dword [ebp - 8], eax
jmp 0x5a77b1
mov dword [ebp - 8], ebx
jmp 0x5a77b1
mov dword [ebp - 8], 0x186a0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
call dword [eax]
test al, al
je 0x5a77cd
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x5a7861
cmp dword [ebp + 0x14], ebx
mov dword [ebp - 0x10], ebx
jle 0x5a7850
cmp dword [ebp + 0x10], 0
jle 0x5a782a
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, eax
shr edx, 8
push edx
mov ecx, eax
lea edx, [ebp - 4]
shr ecx, 0x10
push edx
mov dword [ebp - 0x14], eax
call fcn.004cd56c
xor eax, eax
mov ah, byte [ebp - 0x11]
xor ecx, ecx
mov ch, byte [ebp - 0x11]
xor eax, dword [ebp - 4]
and eax, 0xffff7fff
xor eax, ecx
mov ecx, dword [edi + 0x18]
mov word [ecx], ax
mov word [ebp - 4], ax
mov eax, esi
call fcn.0054d8be
mov eax, edi
call fcn.0054d8be
dec ebx
jne 0x5a77de
inc ebx
mov eax, dword [ebp - 0xc]
dec dword [ebp - 0xc]
test eax, eax
jne 0x5a7845
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax]
test al, al
jne 0x5a77c3
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jl 0x5a77d5
mov eax, dword [ebp + 8]
and dword [eax], 0
jmp 0x5a7861
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ebx
leave
ret 0x10