joyce8/EMBER2024-capa huggingface dataset:
Function at 0x71b822
Capabilities:
Check os version

Disassembly:
mov eax, 0xc2d1d2
call fcn.00be12c8
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x9c
mov ecx, 0xd86a88
call fcn.004030bb
mov ecx, eax
mov dword [ebp - 0x10], ecx
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x71b857
push ebx
call fcn.0053eb18
jmp 0x71b859
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
lea ecx, [esi + 0x4cc]
call fcn.00541404
mov eax, dword [esi + 0x108]
mov edi, dword [esi + 0x1fc]
lea ecx, [eax - 0xc]
neg eax
sbb eax, eax
and eax, ecx
cmp dword [esi + 0x27c], ebx
je 0x71b890
mov ecx, dword [esi + 0x168]
cmp ecx, ebx
jne 0x71b896
mov ecx, dword [esi + 0x164]
cmp eax, ebx
je 0x71b8c0
cmp dword [eax + 0x2e8], ebx
je 0x71b8c0
cmp dword [ecx + 0x204], ebx
je 0x71b8c0
push dword [ecx + 0xb4]
add ecx, 0xac
push ecx
call fcn.00419768
pop ecx
pop ecx
mov edi, eax
cmp dword [esi + 0x27c], ebx
je 0x71b8d2
mov eax, dword [esi + 0x168]
cmp eax, ebx
jne 0x71b8d8
mov eax, dword [esi + 0x164]
push dword [eax + 0x48]
add eax, 0x40
push eax
call fcn.00419768
test eax, eax
pop ecx
pop ecx
mov ebx, 0x8c
jne 0x71b8f3
fldz
jmp 0x71b916
mov eax, dword [esi + 0x200]
add eax, edi
cmp eax, 0xa
jg 0x71b903
push 0xa
pop eax
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x71b90d
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fmul qword [0xc84070]
push ecx
push ecx
mov ecx, dword [esi + 0x4d0]
fstp qword [esp]
add ecx, 0x24
call fcn.0054144b
cmp dword [esi + 0x27c], 0
je 0x71b93c
mov eax, dword [esi + 0x168]
test eax, eax
jne 0x71b942
mov eax, dword [esi + 0x164]
push dword [eax + 0x48]
add eax, 0x40
push eax
call fcn.00419768
cmp eax, 4
pop ecx
pop ecx
jne 0x71ba17
push ecx
fld1
push ecx
fstp qword [esp]
mov ecx, dword [esi + 0x4d0]
add ecx, 0x78
call fcn.0054144b
mov eax, dword [esi + 0x200]
add eax, dword [esi + 0x1fc]
push 0xa
pop edi
cmp eax, edi
jg 0x71b983
mov eax, edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x71b98d
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
push ecx
push ecx
mov ecx, dword [esi + 0x4d0]
fmul qword [0xc84070]
add ecx, 0x84
fstp qword [esp]
call fcn.0054144b
push ecx
fld1
push ecx
fstp qword [esp]
mov ecx, dword [esi + 0x4d0]
add ecx, 0x54
call fcn.0054144b
mov eax, dword [esi + 0x200]
add eax, dword [esi + 0x1fc]
cmp eax, edi
jg 0x71b9d3
mov eax, edi
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x71b9dd
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
mov edi, dword [esi + 0x4d0]
push ecx
push ecx
fmul qword [0xc84070]
add edi, 0x6c
mov ecx, edi
fstp qword [esp]
call fcn.0054144b
mov ebx, dword [esi + 0x4d0]
mov ecx, edi
add ebx, 0x60
call fcn.0072c1ca
push ecx
push ecx
mov ecx, ebx
fstp qword [esp]
call fcn.0054144b
mov eax, dword [esi + 0x164]
fld qword [eax + 0x150]
push ecx
lea edi, [esi + 0x164]
push ecx
mov ecx, dword [esi + 0x4d0]
fstp qword [esp]
add ecx, 0x18
call fcn.0054144b
mov eax, dword [edi]
fld qword [eax + 0x150]
push ecx
push ecx
mov ecx, dword [esi + 0x4d0]
fstp qword [esp]
add ecx, 0x30
call fcn.0054144b
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x732dd2
Capabilities:
Get number of processors

Disassembly:
mov eax, 0xc2e47a
call fcn.00be12c8
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], 0xc8ad00
lea ecx, [esi + 0x70]
mov dword [ebp - 4], 6
call fcn.0044e4fb
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 5
call fcn.0044e4fb
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 4
call fcn.0044e4fb
lea ecx, [esi + 0x44]
mov edi, 0xc8ad04
mov byte [ebp - 4], 3
mov dword [ecx], edi
call fcn.00734b2a
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [ecx], edi
call fcn.00734b2a
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
mov dword [ecx], edi
call fcn.00734b2a
and byte [ebp - 4], 0
lea ecx, [esi + 4]
mov dword [ecx], 0xc86200
call fcn.00554479
mov ecx, dword [ebp - 0xc]
and dword [0xd808f0], 0
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x74be46
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0xc2fbc8
call fcn.00be12c8
push ecx
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 4]
mov eax, ecx
neg eax
lea edx, [ecx - 4]
sbb eax, eax
and eax, edx
push edi
mov dword [ebp - 0x10], esi
mov dword [0xd83490], eax
push 0xffffffffffffffff
xor ebx, ebx
mov edi, 0xd80c88
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
call fcn.0041736e
push 0xffffffffffffffff
lea ecx, [esi + 8]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
call fcn.0041736e
mov dword [esi + 0xc], ebx
push 0x7f89
push ebx
mov byte [ebp - 4], 3
mov dword [esi + 0x30], ebx
mov dword [esi], 0xc8add4
call dword [0xd862c8]
push 0x7f00
push ebx
mov dword [esi + 0x34], eax
call dword [0xd862c8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x7779c8
Capabilities:
Create http request

Disassembly:
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push 1
push str.OperatorBoardDownloader
mov esi, ecx
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp eax, edi
mov dword [esi + 0xc], eax
jne 0x7779ef
mov ecx, esi
call fcn.00777a2b
jmp 0x777a20
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00777b1f
mov edi, dword [esi + 8]
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0x7d0
push edi
call ebx
cmp eax, 0x102
jne 0x777a24
mov ecx, esi
call fcn.00777a2b
push 0xffffffffffffffff
push edi
call ebx
xor eax, eax
jmp 0x777a27
push 1
pop eax
pop edi
pop esi
pop ebx
ret

Function at 0x777a54
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x10], eax
je 0x777a9b
push 8
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00be1770
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 7
lea eax, [ebp - 0xc]
push eax
push dword [esi + 0x10]
call dword [sym.imp.wininet.dll_InternetReadFile]
lea eax, [ebp - 0xc]
push eax
call fcn.00be1b4a
pop ecx
mov ecx, dword [ebp + 8]
push 1
mov dword [ecx], eax
pop eax
pop esi
leave
ret 4
Function at 0x777b1f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
push 0x18
xor edi, edi
lea eax, [ebp - 0x1c]
push edi
push eax
mov esi, ecx
call fcn.00be1770
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
push edi
neg eax
push edi
sbb eax, eax
push 1
and eax, 4
push edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call dword [0xd86134]
push edi
push edi
push 1
push edi
mov dword [ebp - 0x10], eax
call dword [0xd86134]
cmp dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
je 0x777c2a
cmp eax, edi
je 0x777c2a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x777c5d
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
push dword [ebp + 0x18]
call fcn.00be3e25
add esp, 0x18
cmp eax, edi
mov dword [esi + 8], eax
jne 0x777bc2
call dword [0xd861fc]
push dword [ebp - 0x10]
mov esi, eax
call dword [0xd860e8]
jmp 0x777c45
cmp dword [ebp + 0xc], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 4], ecx
je 0x777bd7
push dword [ebp + 0xc]
push eax
call dword [0xd86110]
push dword [esi + 8]
call dword [0xd86114]
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [0xd86144]
push dword [ebp - 0x10]
call dword [0xd860e8]
cmp dword [ebp - 8], edi
je 0x777c0d
push dword [esi + 8]
call dword [0xd860e8]
push dword [ebp - 8]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
jmp 0x777c4f
test byte [ebp - 0x14], 4
je 0x777c1c
push dword [esi + 8]
call dword [0xd86118]
push dword [ebp - 0xc]
call dword [0xd86138]
push 1
pop eax
jmp 0x777c57
call dword [0xd861fc]
cmp dword [ebp - 0x10], edi
mov esi, eax
je 0x777c40
push dword [ebp - 0x10]
call dword [0xd860e8]
cmp dword [ebp - 0xc], edi
je 0x777c4e
push dword [ebp - 0xc]
call dword [0xd860e8]
push esi
call dword [0xd86200]
xor eax, eax
pop edi
pop esi
leave
ret 0x14
Function at 0x7a438f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea eax, [ebp + 0xc]
push eax
push 1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x7a43f9
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi]
mov edi, dword [ebp + 0x14]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x18]
lea eax, [ebp + 0x14]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x7a43f0
cmp dword [ebp + 0x14], edi
jne 0x7a43f0
mov eax, dword [ebp + 8]
cmp dword [esi], eax
jb 0x7a43f0
push dword [ebp + 0xc]
mov dword [esi], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
push 1
pop eax
jmp 0x7a43fb
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x7a43ff
Capabilities:
Check os version
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
mov esi, 0x104
push esi
xor ebx, ebx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00be1770
push 0x208
lea eax, [ebp - 0x310]
push ebx
push eax
call fcn.00be1770
add esp, 0x18
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 5
push 1
jb 0x7a4452
push 0x23
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
jmp 0x7a44a4
push 0x26
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.shell32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x7a44a4
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov dword [ebp - 4], esi
call fcn.007a438f
add esp, 0x18
test eax, eax
jne 0x7a44a4
lea eax, [ebp - 0x108]
push str.c:Program_Files
push eax
call fcn.00be2bf0
pop ecx
pop ecx
lea eax, [ebp - 0x108]
push eax
call fcn.00be1c90
test eax, eax
pop ecx
jbe 0x7a44ec
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push str._sNexonNGM
push eax
call fcn.00be1665
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.00be2d60
add esp, 0x18
push 1
mov byte [esi + 0x103], bl
pop eax
jmp 0x7a44ee
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x7a44f2
Capabilities:
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.00be1770
mov esi, str.MPF:
push esi
push dword [ebp + 8]
call fcn.00be395a
mov ebx, eax
add esp, 0x14
cmp ebx, edi
je 0x7a457a
push esi
call fcn.00be1c90
add ebx, eax
mov dword [esp], 0x104
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.00be2d60
lea eax, [ebp - 0x30c]
push eax
call fcn.007a43ff
add esp, 0x10
test eax, eax
je 0x7a45c2
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x208]
push str._sTemp_s.mp
push eax
call fcn.00be1665
add esp, 0x10
lea eax, [ebp - 0x208]
push eax
call fcn.00be1c90
test eax, eax
pop ecx
jbe 0x7a4635
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x7a45c2
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetFileSize]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jbe 0x7a45c9
xor eax, eax
jmp 0x7a4649
lea eax, [esi + 1]
push eax
mov ecx, 0xd86a88
call fcn.004030bb
push 0
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7a461d
cmp esi, dword [ebp + 8]
jne 0x7a461d
push dword [ebp + 0x10]
and byte [esi + edi], 0
push edi
push dword [ebp + 0xc]
call fcn.00be2d60
add esp, 0xc
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 1
pop esi
jmp 0x7a4626
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor esi, esi
push edi
mov ecx, 0xd86a88
call fcn.00403243
mov eax, esi
jmp 0x7a4649
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00be2d60
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7a464e
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
lea eax, [ebp - 0x244]
push eax
call fcn.007a43ff
test eax, eax
pop ecx
je 0x7a4707
push esi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x44c]
push str._sTemp.mp
push eax
call fcn.00be1665
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x7a46ff
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x44c]
push str._sTemp_s
push eax
call fcn.00be1665
add esp, 0x10
test byte [ebp - 0x140], 5
je 0x7a46e0
push 0x80
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x7a46a3
push esi
call dword [sym.imp.kernel32.dll_FindClose]
pop esi
leave
ret
Function at 0x86e577
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push edi
mov edi, dword [esp + 0xc]
push str.PcCreateObject
push edi
call esi
push str.PcFreeUnusedLibraries
push edi
mov dword [0xd86d18], eax
call esi
push str.PcSerializeObject
push edi
mov dword [0xd86d1c], eax
call esi
push str.PcSerializeString
push edi
mov dword [0xd86d20], eax
call esi
push str.PcRootNameSpace
push edi
mov dword [0xd86d24], eax
call esi
pop edi
mov dword [0xd86d28], eax
mov eax, 0xd86d18
pop esi
cmp dword [eax], 0
je 0x86e5de
add eax, 4
cmp eax, 0xd86d2c
jb 0x86e5cb
push 1
pop eax
ret
xor eax, eax
ret
Function at 0x86e7e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, edx
shr eax, 4
mov esi, ebx
mov ecx, 0xf0f0f0f
and eax, ecx
and esi, ecx
xor eax, esi
xor ebx, eax
shl eax, 4
xor edx, eax
mov eax, ebx
shr eax, 4
mov esi, edx
mov ecx, 0x1010101
and esi, ecx
and eax, ecx
xor eax, esi
xor edx, eax
shl eax, 4
xor ebx, eax
mov ecx, ebx
shr ecx, 9
mov eax, 0x550055
and ecx, eax
mov esi, ebx
and esi, eax
xor ecx, esi
mov esi, ecx
shl esi, 9
xor esi, ecx
xor ebx, esi
mov ecx, edx
shr ecx, 9
and ecx, eax
mov esi, edx
and esi, eax
xor ecx, esi
mov eax, ecx
shl eax, 9
xor eax, ecx
xor edx, eax
mov eax, 0x3333
mov ecx, ebx
shr ecx, 0x12
and ecx, eax
mov esi, ebx
and esi, eax
xor ecx, esi
mov esi, ecx
shl esi, 0x12
xor esi, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, eax
xor ebx, esi
mov esi, edx
and esi, eax
xor ecx, esi
mov eax, ecx
shl eax, 0x12
xor eax, ecx
xor edx, eax
xor eax, eax
mov dword [ebp + 0xc], edx
mov al, byte [ebp + 0xe]
mov ecx, edx
and ecx, 0xff
mov dword [ebp - 4], 0x10
xor eax, ecx
mov ecx, eax
shl ecx, 0x10
xor ecx, eax
mov eax, dword [ebp + 0x10]
xor edx, ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], 1
mov eax, 0xfffffff
and ebx, eax
and edx, eax
test word [ebp + 0x10], 0x7efc
mov eax, ebx
je 0x86e8d7
shl eax, 0x1a
shr ebx, 2
or ebx, eax
mov eax, edx
shl eax, 0x1a
shr edx, 2
jmp 0x86e8e5
shl eax, 0x1b
shr ebx, 1
or ebx, eax
mov eax, edx
shl eax, 0x1b
shr edx, 1
or edx, eax
xor ecx, ecx
mov eax, ebx
shr eax, 0x10
movzx esi, al
mov cl, bl
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov edi, ecx
and edi, 0xc0
mov ecx, eax
shr ecx, 5
or edi, ecx
shr edi, 2
mov ecx, ebx
shr ecx, 0x18
and ecx, 0xe
or edi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, esi
and esi, 0x40
shr edi, 5
and edi, 4
or edi, esi
shr edi, 1
shr eax, 1
and ecx, 0x1d
or edi, ecx
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0xc8c9e0]
or ecx, dword [edi*4 + 0xc8c8e0]
and eax, 0x3f
or ecx, dword [eax*4 + 0xc8c7e0]
mov eax, dword [ebp - 0x10]
and eax, 0x3f
or ecx, dword [eax*4 + 0xc8c6e0]
mov eax, edx
shr eax, 0x10
movzx esi, al
mov dword [ebp - 0xc], esi
and esi, 0xc0
movzx edi, dl
mov dword [ebp - 0x10], edi
shr edi, 4
and edi, 8
or edi, esi
mov eax, edx
shr eax, 8
movzx eax, al
shr edi, 2
mov esi, edx
shr esi, 0x18
and esi, 0xd
or edi, esi
mov esi, eax
shr esi, 6
and esi, 2
and eax, 0x3d
or esi, eax
mov eax, dword [edi*4 + 0xc8cde0]
or eax, dword [esi*4 + 0xc8cbe0]
mov esi, dword [ebp - 0x10]
and esi, 0x3f
or eax, dword [esi*4 + 0xc8cae0]
mov esi, dword [ebp - 0xc]
and esi, 0x3f
or eax, dword [esi*4 + 0xc8cce0]
mov esi, ecx
mov edi, eax
and esi, 0xffff
shl edi, 0x10
or edi, esi
mov esi, dword [ebp + 0xc]
mov dword [esi], edi
add esi, 4
and eax, 0xffff0000
shr ecx, 0x10
shl dword [ebp + 0x10], 1
or eax, ecx
mov dword [esi], eax
add esi, 4
dec dword [ebp - 4]
mov dword [ebp + 0xc], esi
jne 0x86e8b2
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x86ea59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xb8]
test ecx, ecx
lea edx, [edi + 0xb0]
lea esi, [edi + 0xa8]
je 0x86eaed
push 8
pop ebx
sub ebx, ecx
cmp ebx, dword [ebp + 0x10]
jbe 0x86ea87
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jbe 0x86eabb
lea eax, [ecx + esi]
sub edx, esi
add ecx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
mov cl, byte [ecx]
inc dword [ebp + 0xc]
mov byte [edx + eax], cl
mov bl, byte [eax]
xor bl, cl
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
dec dword [ebp + 0x10]
inc eax
dec dword [ebp - 4]
mov byte [ecx], bl
jne 0x86ea98
mov ecx, dword [ebp - 8]
cmp ecx, 8
jne 0x86eadd
mov ecx, dword [edi + 0xb0]
and dword [edi + 0xb8], 0
lea eax, [edi + 0xb0]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x86eae3
mov dword [edi + 0xb8], ecx
cmp dword [ebp + 0x10], 0
je 0x86ebf8
mov ecx, dword [edi + 0xbc]
mov ebx, dword [esi]
mov eax, dword [edi + 0xc0]
mov dword [ebp - 4], ecx
xor edx, edx
xor ecx, ecx
cmp dword [ebp + 0x10], edx
mov dword [ebp - 0x20], ebx
mov ebx, dword [esi + 4]
mov dword [ebp - 8], eax
je 0x86eba2
jmp 0x86eb19
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x86eb26
dec dword [ebp - 4]
jne 0x86eb3d
mov dword [ebp - 4], eax
lea eax, [edi + 0x24]
push eax
push ebx
push dword [ebp - 0x20]
mov ecx, edi
call fcn.0086ebff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x86eb65
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x14], 0
push 7
mov dword [ebp - 0x18], ebx
shr dword [ebp - 0x18], 0x19
pop ecx
mov edx, ebx
call fcn.00be40c0
mov ecx, dword [ebp - 0x18]
or ecx, eax
mov eax, dword [ebp - 0x14]
or eax, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], 8
jb 0x86eb9c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
add eax, 8
mov dword [ebp - 0x20], ecx
xor ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov edx, ebx
xor edx, dword [ebp - 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
sub dword [ebp + 0x10], 8
mov dword [ebp + 8], eax
jne 0x86eb16
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x86ebbc
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
mov dword [esi + 4], ebx
jmp 0x86ebf8
mov dword [esi], ecx
xor ecx, ecx
test eax, eax
mov dword [esi + 4], edx
jbe 0x86ebf2
lea ecx, [edi + 0xb0]
sub ecx, esi
mov edx, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
inc dword [ebp + 0xc]
mov byte [esi + ecx], al
mov bl, byte [esi]
xor bl, al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
inc esi
dec edx
mov byte [eax], bl
jne 0x86ebd4
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0xb8], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x86ebff
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 4
push dword [esp + 0x1c]
call fcn.00be1734
mov edi, dword [esp + 0x1c]
mov ecx, edi
xor ecx, eax
and ecx, 0xf0f0f0f
xor edi, ecx
xor ecx, eax
push 0xc
push ecx
call fcn.00be1734
mov ecx, edi
xor ecx, eax
and ecx, 0xffff0000
xor edi, ecx
xor ecx, eax
push 0x12
push ecx
call fcn.00be1734
mov ecx, edi
xor ecx, eax
and ecx, 0x33333333
xor edi, ecx
xor ecx, eax
push 0x16
push ecx
call fcn.00be1734
mov ecx, edi
xor ecx, eax
and ecx, 0xff00ff00
xor edi, ecx
xor ecx, eax
push 9
push ecx
call fcn.00be1734
mov esi, edi
xor esi, eax
and esi, 0x55555555
mov ecx, esi
xor ecx, eax
push 2
push ecx
call fcn.00be1d0b
push 1
xor esi, edi
push esi
mov dword [esp + 0x54], eax
call fcn.00be1d0b
add esp, 0x38
mov esi, eax
mov dword [esp + 0x14], 8
mov edi, 0x3f3f3f3f
mov ebx, dword [ebp]
push 4
xor ebx, esi
push esi
and ebx, edi
add ebp, 4
call fcn.00be1734
xor eax, dword [ebp]
add ebp, 4
and eax, edi
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xc8d5e0]
or ecx, dword [edx*4 + 0xc8d3e0]
mov edx, eax
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d1e0]
mov edx, ebx
shr edx, 0x18
or ecx, dword [edx*4 + 0xc8d4e0]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d2e0]
mov edx, ebx
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d0e0]
movzx eax, al
or ecx, dword [eax*4 + 0xc8cfe0]
xor eax, eax
mov al, bl
mov ebx, dword [ebp]
push 4
add ebp, 4
or ecx, dword [eax*4 + 0xc8cee0]
xor dword [esp + 0x28], ecx
xor ebx, dword [esp + 0x28]
push dword [esp + 0x28]
and ebx, edi
call fcn.00be1734
xor eax, dword [ebp]
add esp, 0x10
and eax, edi
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0xc8d5e0]
or ecx, dword [edx*4 + 0xc8d3e0]
mov edx, eax
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d1e0]
mov edx, ebx
shr edx, 0x18
or ecx, dword [edx*4 + 0xc8d4e0]
mov edx, ebx
shr edx, 0x10
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d2e0]
mov edx, ebx
shr edx, 8
movzx edx, dl
or ecx, dword [edx*4 + 0xc8d0e0]
movzx eax, al
or ecx, dword [eax*4 + 0xc8cfe0]
xor eax, eax
mov al, bl
add ebp, 4
or ecx, dword [eax*4 + 0xc8cee0]
xor esi, ecx
dec dword [esp + 0x14]
jne 0x86eca4
push 1
push dword [esp + 0x20]
call fcn.00be1734
push 2
push esi
mov edi, eax
call fcn.00be1734
mov ecx, eax
xor ecx, edi
and ecx, 0x55555555
xor edi, ecx
xor ecx, eax
push 9
push ecx
call fcn.00be1d0b
mov ecx, eax
xor ecx, edi
and ecx, 0xff00ff00
xor edi, ecx
xor ecx, eax
push 0x16
push ecx
call fcn.00be1d0b
mov ecx, eax
xor ecx, edi
and ecx, 0x33333333
xor edi, ecx
xor ecx, eax
push 0x12
push ecx
call fcn.00be1d0b
mov ecx, eax
xor ecx, edi
and ecx, 0xffff0000
xor edi, ecx
xor ecx, eax
push 0xc
push ecx
call fcn.00be1d0b
mov esi, eax
xor esi, edi
and esi, 0xf0f0f0f
mov ecx, esi
xor ecx, eax
push 4
push ecx
call fcn.00be1d0b
add esp, 0x38
xor esi, edi
pop edi
xor ecx, ecx
mov edx, eax
or ecx, esi
pop esi
xor eax, eax
pop ebp
or edx, eax
mov eax, ecx
pop ebx
ret 0xc