joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae650
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4ae65f
mov eax, dword [eax + 4]
jmp 0x4ae662
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4ae6af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
je 0x4ae69e
cmp eax, 3
je 0x4ae69e
cmp eax, 0x7b
je 0x4ae69e
cmp eax, 0x57
je 0x4ae69e
cmp eax, 0x35
je 0x4ae69e
mov eax, dword [esp + 4]
mov dword [eax], 0
ret
mov eax, dword [esp + 4]
mov dword [ecx], 0
mov dword [eax], 1
ret
mov ecx, dword [esp + 0xc]
test al, 0x10
mov dword [ecx], 0
lea eax, [esp + 8]
mov dword [esp + 8], 3
jne 0x4ae6d1
mov dword [esp + 8], 2
mov edx, dword [eax]
mov eax, dword [esp + 4]
mov dword [eax], edx
ret

Function at 0x4ae700
Capabilities:
Create directory

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x18], 0x10
jb 0x4ae711
mov eax, dword [edi + 4]
jmp 0x4ae714
lea eax, [edi + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4ae732
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov byte [eax + 4], 1
pop edi
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
jne 0x4ae76f
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.004ae650
add esp, 0xc
cmp dword [esp + 0x14], 3
jne 0x4ae76f
mov eax, dword [esp + 0x10]
pop esi
mov dword [eax], 0
mov byte [eax + 4], 0
pop edi
pop ecx
ret
mov eax, dword [esp + 0x10]
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop edi
pop ecx
ret

Function at 0x4ae820
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.004ae650
mov eax, dword [esp + 0x10]
add esp, 0xc
test eax, eax
jne 0x4ae7f2
cmp dword [esp + 8], 3
jne 0x4ae7cd
cmp dword [esi + 0x18], 0x10
jb 0x4ae7b5
mov esi, dword [esi + 4]
jmp 0x4ae7b8
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4ae7f0
pop esi
add esp, 8
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x18], 0x10
jb 0x4ae7d8
mov esi, dword [esi + 4]
jmp 0x4ae7db
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4ae7f0
pop esi
add esp, 8
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
add esp, 8
ret
jmp 0x4ae780
Function at 0x4ae8b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x523dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x557b14]
xor eax, esp
mov dword [esp + 0x164], eax
push ebp
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x194]
mov eax, dword [esp + 0x18c]
mov edx, dword [esp + 0x198]
mov edi, dword [esp + 0x188]
mov ebp, dword [esp + 0x190]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00401201
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x180], 0
je 0x4ae998
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4ae95b
call fcn.004e0f8f
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0x10
mov ecx, dword [esp + 0x1c]
jae 0x4ae96a
lea ecx, [esp + 0x1c]
cmp byte [ecx + esi], 0x5c
je 0x4ae991
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4ae97c
call fcn.004e0f8f
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x4ae98b
lea eax, [esp + 0x1c]
cmp byte [eax + esi], 0x3a
jne 0x4ae998
mov edx, 0x542fe8
jmp 0x4ae99d
mov edx, 0x52a4fc
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4ae9a2
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00406fe2
mov eax, dword [esp + 0x1c]
mov esi, 0x10
cmp dword [esp + 0x30], esi
jae 0x4ae9cb
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
jne 0x4aea11
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0
call esi
cmp eax, 2
jne 0x4ae9f5
xor esi, esi
jmp 0x4ae9f9
call esi
mov esi, eax
cmp dword [esp + 0x30], 0x10
jb 0x4aea0d
mov edx, dword [esp + 0x1c]
push edx
call fcn.004e001f
add esp, 4
mov eax, esi
jmp 0x4aea76
lea eax, [esp + 0x60]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4aea18
sub eax, edx
push eax
lea eax, [esp + 0x64]
push eax
mov ecx, ebp
call fcn.00401555
test byte [esp + 0x34], 0x10
je 0x4aea4d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx], 3
mov dword [edx], 3
jmp 0x4aea61
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [eax], 2
mov dword [ecx], 2
cmp dword [esp + 0x30], esi
jb 0x4aea74
mov edx, dword [esp + 0x1c]
push edx
call fcn.004e001f
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.004e0010
add esp, 0x174
ret
Function at 0x4af350
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x523f68
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
mov byte [esi + 8], 1
call fcn.004aef20
lea ecx, [esi + 4]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0x4af2a0
push 0
push 0
mov dword [esp + 0x60], 0
call fcn.004e515e
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x4af3ca
lea ecx, [esp + 8]
call fcn.004aed30
push 0x54da08
lea eax, [esp + 0xc]
push eax
call fcn.004e4aa4
lea ecx, [esp + 0x18]
call fcn.004af010
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.004aef80
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x44
ret 4
Function at 0x4b3190
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524503
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x557b14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
push 1
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4b32ed
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.004b29d0
lea eax, [ebp - 0xb0]
push str.2AC1A572DB6944B0A65C38C4140AF2F4
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004b2500
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4b320c
xor eax, eax
jmp 0x4b3213
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
push edi
mov dword [eax + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.004b2710
mov ecx, eax
call fcn.004b2870
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb0]
call fcn.004b0940
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 1
jb 0x4b3259
mov eax, dword [eax + 4]
jmp 0x4b325c
add eax, 4
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [ebp - 0x18], 0x10
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], bl
jb 0x4b327f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004e001f
add esp, 4
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4b32bd
mov byte [ebp - 4], 2
call dword [ebp + 8]
push 1
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.004afd70
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x64], vtable.std::ios_base.0
call fcn.00520602
add esp, 4
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 0x4b3630
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x524538
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x557b14]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0x576588
push 0x4b3570
call fcn.004b3190
add esp, 8
mov ebx, 1
push 0x576570
mov byte [esp + 0x18], bl
mov dword [esp + 0x1c], 0x576570
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x554414]
cmp eax, 0xffffffff
mov dword [esp + 0x2c], 0
jne 0x4b36ba
push 0x576570
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, eax
test esi, esi
je 0x4b3738
mov eax, dword [0x554414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4b3738
sub dword [0x57658c], ebx
xor bl, bl
push 0x576570
mov byte [esp + 0x18], bl
call ebp
cmp dword [esi + 8], 0
je 0x4b3728
mov eax, dword [esi + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x4b3706
call fcn.004e0f8f
mov edi, dword [edi + 8]
test edi, edi
je 0x4b370f
call edi
mov eax, dword [esi + 4]
mov eax, dword [eax]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004b3580
cmp dword [esi + 8], 0
jne 0x4b36f8
mov ecx, esi
call fcn.004b35e0
push esi
call fcn.004e001f
add esp, 4
test bl, bl
mov dword [esp + 0x2c], 0xffffffff
je 0x4b374b
push 0x576570
call ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x4b8028
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4b8080
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4b8080
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x4b8080
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x4b80a9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4b8117
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4b810e
cmp dword [ebp - 0xc], 4
jne 0x4b810e
cmp dword [ebp - 0x10], edi
je 0x4b810e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5545e8], edi
xor eax, eax
jmp 0x4b813f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5545e8], edi
jge 0x4b813a
mov dword [0x5545e8], edi
call fcn.004b8084
test eax, eax
je 0x4b813a
emms
mov dword [0x5545e8], 1
mov eax, dword [0x5545e8]
pop edi
leave
ret

Function at 0x4b821f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4b8256
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x4b8278
cmp dword [ebp - 0x20], 4
ja 0x4b8282
jne 0x4b8272
cmp dword [ebp - 0x1c], 0xa
jb 0x4b8272
cmp word [ebp - 0x18], 0x55d
jae 0x4b8282
mov byte [ebp + 0x73], 1
jmp 0x4b8282
cmp dword [ebp - 0x14], 2
jne 0x4b8298
test bl, bl
je 0x4b82b3
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x4b82a3
dec eax
je 0x4b829c
sub eax, 3
jne 0x4b8298
cmp byte [ebp + 0x73], 0
je 0x4b82c4
xor eax, eax
jmp 0x4b82cc
call fcn.004b8142
jmp 0x4b82cc
cmp byte [ebp + 0x73], 0
jne 0x4b8298
call fcn.004b817a
and eax, 4
jmp 0x4b82cc
cmp dword [ebp + 0x7c], 0xa
je 0x4b82c4
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x4b82cc
call fcn.004b817a
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x4baa55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x18], eax
jae 0x4bab76
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
jae 0x4bab5a
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 0xc], edi
shr edi, 2
and edi, esi
mov dword [ebp - 4], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 0xc]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp - 4]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 0xc]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp - 4]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0x10]
add ecx, 8
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov esi, 0xffc03fc0
jne 0x4baaac
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], edx
jb 0x4baa8a
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret
Function at 0x4bae42
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x4baf89
mov edx, 0xf81f
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4baf64
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff07e0
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x1002]
mov ebp, eax
and ebp, 0xffff07e0
add ebp, ecx
mov ecx, edi
and ecx, 0xffff07e0
add ebp, ecx
mov ecx, esi
and ecx, 0xffff07e0
shr ebx, 2
lea ecx, [ecx + ebp + 0x40]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff07e0
lea eax, [eax + esi + 0x1002]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4baeab
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x4bae82
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4bb0b6
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
mov edx, dword [esi + 0x18]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
add ebp, edx
cmp edx, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebp
jae 0x4bb1fc
mov eax, 0x83e0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [edx + esi*2]
mov dword [esp + 0x10], ebx
add edi, edx
cmp edx, esi
mov ebx, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4bb1d7
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx edx, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
and ebp, eax
mov ebx, edx
and ebx, eax
add ebx, ebp
mov ebp, edi
and ebp, eax
add ebx, ebp
mov dword [esp + 0x24], ecx
and ecx, 0x7c1f
mov ebp, esi
and ebp, eax
lea ebx, [ebx + ebp + 0x10040]
mov ebp, edx
and ebp, 0x7c1f
add ebp, ecx
mov ecx, edi
and ecx, 0x7c1f
add ebp, ecx
mov ecx, esi
and ecx, 0x7c1f
lea ecx, [ecx + ebp + 0x802]
shr ecx, 2
shr ebx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and ecx, eax
and edx, eax
add edx, ecx
and edi, eax
add edx, edi
mov edi, dword [esp + 0x1c]
and esi, eax
and ebx, 0xffff7c1f
lea ecx, [edx + esi + 0x10040]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [ecx], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4bb11f
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea edx, [edx + edi*2]
cmp edx, ebp
mov dword [esp + 0x20], edx
jb 0x4bb0f6
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4bb205
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
push esi
mov esi, dword [ecx]
mov ebp, dword [esi + 0x105c]
push edi
mov edi, dword [esi + 0x1050]
imul ebp, edi
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x18]
add ebp, eax
cmp eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
jae 0x4bb34f
mov edx, 0xf0f0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, dword [esi + 0x1058]
lea esi, [eax + esi*2]
mov dword [esp + 0x10], ebx
add edi, eax
cmp eax, esi
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jae 0x4bb32a
movzx ecx, word [ebx]
movzx esi, word [ebx + 2]
movzx eax, word [edi + 2]
movzx edi, word [edi]
mov ebp, ecx
mov ebx, eax
and bx, dx
and bp, dx
mov dword [esp + 0x24], ecx
and ecx, 0xffff0f0f
add ebx, ebp
mov ebp, edi
and bp, dx
add ebx, ebp
mov ebp, esi
and bp, dx
lea ebx, [ebx + ebp + 0x2020]
mov ebp, eax
and ebp, 0xffff0f0f
add ebp, ecx
mov ecx, edi
and ecx, 0xffff0f0f
add ebp, ecx
mov ecx, esi
and ecx, 0xffff0f0f
shr ebx, 2
lea ecx, [ecx + ebp + 0x202]
shr ecx, 2
xor ebx, ecx
mov ecx, dword [esp + 0x24]
and eax, edx
and ecx, edx
add eax, ecx
and edi, edx
add eax, edi
mov edi, dword [esp + 0x1c]
and esi, edx
and ebx, 0xffff0f0f
lea eax, [eax + esi + 0x2020]
shr eax, 2
xor ebx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov word [eax], bx
mov ebx, dword [esp + 0x18]
add ebx, 4
add edi, 4
cmp ebx, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edi
jb 0x4bb26e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov esi, dword [ecx + 4]
mov esi, dword [esi + 0x1050]
add dword [esp + 0x14], esi
mov esi, dword [ecx]
mov edi, dword [esi + 0x1050]
lea eax, [eax + edi*2]
cmp eax, ebp
mov dword [esp + 0x20], eax
jb 0x4bb245
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x4bb358
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x105c]
push edi
mov edi, dword [edx + 0x1050]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x4bb48e
push ebx
mov edx, dword [edx + 0x1058]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x4bb469
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0x1c
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 8]
mov ecx, eax
and ecx, 0xffff00e3
mov ebx, ebp
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00e3
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00e3
shr edx, 2
lea ecx, [ecx + ebx + 0x42]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xe3
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0x1c
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x42]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x4bb3b7
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1050]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1050]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x4bb393
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret