joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b0cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45b104]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0e5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45b0f4
or bl, 4
test esi, 0x20000000
je 0x45b0ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4617e0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4617f2
add esp, 0xfffffff0
call fcn.004042b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004215b0
mov eax, dword [0x4d8388]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b84
mov eax, dword [0x4d8394]
mov dword [eax + 4], ebx
mov dword [eax], 0x461b90
mov eax, ebx
call fcn.00461b9c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418788]
call fcn.00403f50
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418788]
call fcn.00403f50
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418788]
call fcn.00403f50
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418788]
call fcn.00403f50
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418788]
call fcn.00403f50
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45dfb4
push eax
push 0
push 0
mov eax, dword [0x4d8534]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4230c8]
call fcn.00424884
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4230c8]
call fcn.00424884
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4230c8]
call fcn.00424884
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462010
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461ed8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461ed8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461ed8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46192f
call fcn.00404310
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461c98
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd9c
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461e68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461e49
mov dl, 1
mov eax, dword [0x418ba4]
call fcn.00403f50
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404d90
lea eax, [ebp - 0x118]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov ebx, eax
call sub.kernel32.dll_GetSystemDefaultLangID
movzx eax, ax
mov dword [ebp - 0x10], eax
dec ebx
test ebx, ebx
jl 0x461e38
inc ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x118]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.0044f9b4
test al, al
jne 0x461d35
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461e2b
xor edx, edx
push ebp
push 0x461e24
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461d55
mov ebx, dword [ebp - 0x10]
jmp 0x461d57
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov dword [ebp - 0x260], ebx
mov byte [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
mov edx, 0x461e78
lea eax, [ebp - 0x258]
call fcn.0040ad9c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461e0d
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x461eb0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461e0d
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00405000
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461e0d
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x218]
mov ecx, pe_nt_image_headers32
call fcn.00405000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e2b
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x18], 4
dec dword [ebp - 0x14]
jne 0x461d16
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041d00c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e6f
lea eax, [ebp - 0x264]
call fcn.00404d90
ret
Function at 0x4627b0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d9b78]
cmp byte [eax + 0xa5], 0
jne 0x462821
cmp dword [0x4d9b90], 0
jne 0x4627e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46276c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d9b90], eax
cmp dword [0x4d9b8c], 0
jne 0x4627fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d9b8c], eax
cmp dword [0x4d9b94], 0
jne 0x462821
push esp
push 0
push 0
push 0x462710
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d9b94], eax
pop edx
ret

Function at 0x462eb4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d9b78]
cmp dword [eax + 0x30], 0
je 0x462f5e
cmp dword [ebx + 0x94], 0
jne 0x462f58
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462e44
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462f58
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x462f1e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462f58
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ac0c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462f2d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463abc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x463af1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404e80
jmp 0x463afe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404de4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464cb8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x464cf9
mov eax, esi
call fcn.0044af90
test al, al
je 0x464cf9
mov eax, dword [ebx + 0x84]
call fcn.0044ac8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x464cf9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ac8c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x466d80
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466ee9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404e28
mov eax, dword [ebp - 0x10]
call fcn.004668f4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x466dd2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004052f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004671ac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x466ea7
xor eax, eax
push ebp
push 0x466ea0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466aa0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00466ef8
test al, al
je 0x466e7e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404e80
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466e7e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405250
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466e78
mov eax, dword [ebp - 0x14]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404f88
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466d80
dec ebx
cmp ebx, 0xffffffff
jne 0x466e31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ea7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466aa0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405250
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00466a8c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ef0
lea eax, [ebp - 0x3c]
call fcn.00404d90
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404db4
ret
Function at 0x466ea7
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466ee9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404e28
mov eax, dword [ebp - 0x10]
call fcn.004668f4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x466dd2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.004052f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004671ac
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x466ea7
xor eax, eax
push ebp
push 0x466ea0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00466aa0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00466ef8
test al, al
je 0x466e7e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404e80
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x466e7e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405250
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x466e78
mov eax, dword [ebp - 0x14]
call fcn.00405250
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404f88
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00466d80
dec ebx
cmp ebx, 0xffffffff
jne 0x466e31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ea7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00466aa0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405250
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00466a8c
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466ef0
lea eax, [ebp - 0x3c]
call fcn.00404d90
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404db4
ret

Function at 0x466ef8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403670
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x4d87c8]
cmp byte [edx + 0xc], 0
je 0x466f5c
mov edx, dword [0x4d87b8]
cmp dword [edx], 2
jne 0x466f5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x4670c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00466908
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405250
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x46711e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d8544]
mov dl, 1
mov eax, dword [0x466794]
call fcn.0040dec8
call fcn.00404720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x467128
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405250
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x467180
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d87d4]
mov dl, 1
mov eax, dword [0x466794]
call fcn.0040dec8
call fcn.00404720
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00466938
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x469710
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x469881
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46985c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404f78
lea eax, [ebp - 0x118]
mov edx, 0x469898
call fcn.00405058
mov eax, dword [ebp - 0x118]
call fcn.00405250
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4697ce
lea eax, [ebp - 0x111]
call fcn.0040a714
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.00404e80
jmp 0x4697d5
mov eax, esi
call fcn.00404d90
cmp bl, 0x61
jae 0x4697f6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040ecd0
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404de4
jmp 0x469810
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040ec44
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404de4
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4698a4
call fcn.0040ae34
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469863
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x46dae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x46db0a
cmp dword [ebx + 0x64], 0
jne 0x46db0a
cmp dword [ebx + 0x6c], 0
jne 0x46db0a
mov edi, esi
jmp 0x46db91
cmp edi, 0xffffffff
jne 0x46db12
dec edi
jmp 0x46db91
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x46db91
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0046cedc
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46db5f
mov cx, word [esp]
sub cx, si
jmp 0x46db61
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46db48
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x46db87
mov cx, word [esp]
sub cx, si
jmp 0x46db89
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x46db70
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x46dbee
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0046d87c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x46dbd9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x46dbee
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x46daea
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x473e44
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4d9c18
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x473e66
shr eax, 1
xor eax, 0xedb88320
jmp 0x473e68
shr eax, 1
dec edx
jne 0x473e54
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x473e4d
mov byte [0x4da018], 1
pop esi
pop ebx
ret

Function at 0x473e84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4da018], 0
jne 0x473e9b
call fcn.00473e44
mov eax, edi
dec eax
test eax, eax
jl 0x473ec4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4d9c18]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x473ea5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x476498
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4764c9
dec al
je 0x476505
dec al
je 0x476549
dec al
je 0x4765b4
jmp 0x47663e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47663e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4764d9
jmp 0x47663e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47663e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x476515
jmp 0x47663e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47663e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x476577
xor ebp, ebp
jmp 0x476588
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x476591
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x476559
jmp 0x47663e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47663e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47660c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00473ecc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4765c8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret