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

Disassembly:
push 0x8c
mov eax, 0x48a4ee
call fcn.004544e0
mov esi, ecx
test esi, esi
je 0x422ba4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422ba4
xor ebx, ebx
mov dword [ebp - 0x20], 0xaac56b
xor eax, eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], 0x11d0cd44
mov dword [ebp - 0x18], 0xc000c28c
mov dword [ebp - 0x14], 0xee95c24f
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
push ecx
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.004246cf
pop ecx
test al, al
je 0x422b8b
push 0x4a5c98
lea ecx, [ebp - 0x50]
call fcn.00404500
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x422a4b
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.004044d0
jmp 0x422ac9
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x422ac9
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0x2f
cmovae eax, dword [ebp - 0x38]
movzx eax, word [eax + edx*2 - 2]
pop edx
mov dword [ebp - 0x54], edx
push 0x5c
pop edi
cmp dx, ax
je 0x422a85
cmp di, ax
je 0x422a85
push 0x4a5b00
lea ecx, [ebp - 0x38]
call fcn.004044a0
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
mov edx, ebx
cmovae eax, dword [ebp - 0x50]
movzx eax, word [eax]
cmp word [ebp - 0x54], ax
je 0x422aa0
cmp di, ax
jne 0x422aa3
xor edx, edx
inc edx
cmp dword [ebp - 0x3c], 8
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
lea ecx, [eax + ecx*2]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
lea eax, [eax + edx*2]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00404760
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004087f0
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x422af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x422b84
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x422b11
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x422b7b
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x10
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x60], esi
push ecx
push ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x98], 0x34
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x100
mov dword [ebp - 0x6c], ebx
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
test esi, esi
sete bl
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x422ba0
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.004087b0
mov eax, ebx
jmp 0x422ba6
xor eax, eax
call fcn.0045449e
ret
Function at 0x42377e
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4b7c5c]
push esi
xor esi, esi
push edi
mov edi, 0xfffffc18
cmp eax, 0xffffffff
jne 0x4238fc
push 0x110
lea eax, [ebp - 0x324]
mov dword [0x4b7c5c], edi
push esi
push eax
mov dword [ebp - 0x328], 0x114
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4238f2
cmp dword [ebp - 0x318], 2
jne 0x4238f2
cmp dword [ebp - 0x324], 5
jne 0x423887
mov eax, dword [ebp - 0x320]
test eax, eax
jne 0x42380c
inc eax
jmp 0x423982
cmp eax, 1
jne 0x423878
push 0x7f
lea eax, [ebp - 0x314]
push eax
push 0x4a5e48
call fcn.00463847
add esp, 0xc
test eax, eax
jne 0x423832
push 3
jmp 0x423981
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_2
call fcn.00463847
add esp, 0xc
test eax, eax
jne 0x423853
push 4
jmp 0x423981
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_3
call fcn.00463847
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x423982
cmp eax, 2
jne 0x4238f2
push 6
pop eax
mov dword [0x4b7c5c], eax
jmp 0x4238f7
cmp dword [ebp - 0x324], 6
jne 0x4238f2
cmp dword [ebp - 0x320], esi
jne 0x4238de
push 0x7f
lea eax, [ebp - 0x314]
push eax
push 0x4a5e48
call fcn.00463847
add esp, 0xc
test eax, eax
jne 0x4238b9
push 8
jmp 0x423981
push 0x7f
lea eax, [ebp - 0x314]
push eax
push str.Service_Pack_2
call fcn.00463847
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
jmp 0x423982
cmp dword [ebp - 0x320], 1
mov eax, dword [0x4b7c5c]
push 0xa
pop ecx
cmove eax, ecx
jmp 0x423880
mov eax, dword [0x4b7c5c]
cmp eax, 0xffffffff
je 0x423904
cmp eax, edi
jne 0x4239a0
push 0x208
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.kernel32.dll
lea eax, [ebp - 0x210]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x330]
mov dword [ebp - 0x32c], esi
push eax
lea edx, [ebp - 0x32c]
mov dword [ebp - 0x330], esi
lea ecx, [ebp - 0x210]
call fcn.00423506
pop ecx
test eax, eax
je 0x42399b
mov eax, dword [ebp - 0x32c]
cmp eax, 0x60002
jne 0x423978
push 0xb
jmp 0x423981
cmp eax, 0x60003
jne 0x423989
push 0xc
pop eax
mov dword [0x4b7c5c], eax
jmp 0x4239a0
cmp eax, 0xa0000
je 0x423997
cmp eax, 0x60004
jne 0x42399b
push 0xd
jmp 0x423981
mov eax, dword [0x4b7c5c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00453c11
leave
ret
Function at 0x4239fb
Capabilities:
Check os version

Disassembly:
push 0x124
mov eax, 0x48a683
call fcn.004544e0
mov esi, ecx
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x130], esi
xor edi, edi
mov dword [ebp - 0x12c], edi
xor eax, eax
mov dword [esi], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
mov word [esi], ax
xor ebx, ebx
mov dword [ebp - 4], edi
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x114
inc ebx
push eax
mov dword [ebp - 0x12c], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
sub eax, edi
je 0x423bf0
sub eax, ebx
je 0x423b96
sub eax, ebx
je 0x423a78
push str.Unknown
jmp 0x423bf5
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x423ae6
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x423aab
push str.Windows_2003
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x423ae6
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
jne 0x423acc
push str.Windows_XP
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x423ae6
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x423bfc
push str.Windows_2000
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, 4
ja 0x423afd
push str.Windows_NT
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
push 6
pop edi
cmp eax, edi
jne 0x423b8a
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x423b2e
push str.Windows_Vista
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, edi
jne 0x423b8a
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
jne 0x423b4e
push str.Windows_7
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, edi
jne 0x423b8a
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x423b6f
push str.Windows_8
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, edi
jne 0x423b8a
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x423bfc
push str.Windows_8.1
mov ecx, esi
call fcn.00404470
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
jne 0x423bfc
push str.Windows_10
jmp 0x423bf5
cmp dword [ebp - 0x120], 4
jne 0x423bfc
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x423bc4
push str.Windows_95
mov ecx, esi
call fcn.00404470
cmp dword [ebp - 0x120], 4
jne 0x423bfc
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x423be4
push str.Windows_98
mov ecx, esi
call fcn.00404470
cmp dword [ebp - 0x120], 4
jne 0x423bfc
mov eax, dword [ebp - 0x11c]
cmp eax, 0x5a
jne 0x423bfc
push str.Windows_ME
jmp 0x423bf5
push str.Windows_Win32s
mov ecx, esi
call fcn.00404470
lea ecx, [ebp - 0x128]
call fcn.00417360
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x128]
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push str.__build_d._d._d_
push eax
call fcn.00417bb0
add esp, 0x14
cmp word [ebp - 0x110], 0
je 0x423c54
push 0x4a6034
mov ecx, esi
call fcn.004044a0
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.004044a0
push dword [ebp - 0x128]
mov ecx, esi
call fcn.004044a0
lea ecx, [ebp - 0x128]
call fcn.00417340
mov eax, esi
call fcn.0045449e
ret
Function at 0x423e24
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0x10
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x423e63
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x78
neg eax
sbb eax, eax
inc eax
jmp 0x423eca
lea eax, [ebp - 0x34]
xor esi, esi
push eax
push 0x4a6038
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x423e86
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x423eca
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 1
push eax
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push esi
push dword [ebp - 0x28]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x423ebf
xor esi, esi
inc esi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00453c11
leave
ret

Function at 0x423ed7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
jne 0x423ef2
xor eax, eax
jmp 0x423f9f
cmp byte [0x4bca00], 0
jne 0x423f07
call fcn.00423e24
mov byte [0x4bca00], 1
push esi
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x423f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push ecx
push ebx
push esi
push eax
push 0xc
pop edx
call fcn.0042ac10
add esp, 0x14
jmp 0x423eeb
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x423f65
cmp dword [esp + 0x10], 0x103
je 0x423f65
push ecx
push ecx
push ebx
push esi
push dword [esp + 0x20]
push 0xf
pop edx
call fcn.0042ac10
add esp, 0x14
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x423f8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
push ecx
push ebx
push esi
push eax
push 0xd
pop edx
call fcn.0042ac10
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4246cf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.00455ce0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x424716
xor al, al
jmp 0x424726
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00404470
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00453c11
leave
ret
Function at 0x424b0a
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x48a740
call fcn.004544ad
mov ebx, ecx
mov dword [ebp - 0x18], ebx
lea esi, [ebx + 0x34]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push 0x34
push eax
mov dword [ebp - 4], eax
push ebx
mov byte [ebx + 0x40], al
call fcn.00455ce0
add esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x424b90
push edi
mov ecx, esi
call fcn.004205d5
push dword [esi]
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x424b90
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a5b00
push dword [esi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x424b90
mov esi, dword [ebp - 0x14]
mov edi, ebx
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x40], 1
mov eax, ebx
call fcn.0045448a
ret 4
Function at 0x42a990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ad6b
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x70], edx
mov eax, dword [0x4cbe80]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
test al, 1
jne 0x42a9f9
or eax, 1
mov dword [0x4cbe94], 0
xorps xmm0, xmm0
mov dword [0x4cbe80], eax
push 0x48efb0
movups xmmword [0x4cbe84], xmm0
call fcn.00453e8c
add esp, 4
xor eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x6c], 0x1fc5
cmp eax, ebx
je 0x42aa75
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x42aa69
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp - 0x58]
push eax
call fcn.00408440
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x42aa92
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42aa86
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x40]
push eax
call fcn.00408440
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x42aaaf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42aaa3
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00408440
push 0x4bc8a8
mov dword [ebp - 0x70], 0x4bc8a8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov esi, dword [0x4cbe88]
cmp esi, dword [0x4cbe8c]
je 0x42ab28
mov eax, dword [ebp - 0x6c]
lea ecx, [esi + 0x14]
mov dword [esi], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x74], esi
call fcn.00404570
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x2c]
call fcn.00404570
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x44]
call fcn.00404570
add dword [0x4cbe88], 0x5c
jmp 0x42ab37
lea eax, [ebp - 0x6c]
mov ecx, 0x4cbe84
push eax
push esi
call fcn.00431b70
cmp dword [0x4cbe90], 0
jne 0x42ab72
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0x4cbe84
push 0x42de80
push 0
push 0
mov dword [0x4cbe94], eax
call fcn.00463244
add esp, 0x18
mov dword [0x4cbe90], eax
push 0x4bc8a8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x6c]
call fcn.0042e5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
Function at 0x42b11f
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x4a2bc0]
or esi, dword [eax*4 + 0x4a29c0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x4a27c0]
or esi, dword [edx*4 + 0x4a25c0]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x4a2cc0]
or ecx, dword [eax*4 + 0x4a2ac0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x4a28c0]
or ecx, dword [edx*4 + 0x4a26c0]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x4a2bc0]
or esi, dword [eax*4 + 0x4a29c0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x4a27c0]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x4a25c0]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x4a2cc0]
or ecx, dword [eax*4 + 0x4a2ac0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x4a28c0]
or ecx, dword [edx*4 + 0x4a26c0]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
jne 0x42b19a
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x42b409
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], eax
xor esi, esi
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x4a2ea0]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x42b42c
push 0x1c
xor edx, edx
pop edi
movzx eax, byte [edx + 0x4a2dc0]
lea esi, [edx + edx]
and dword [ebp + esi*4 - 0xf0], 0
and dword [ebp + esi*4 - 0xf4], 0
xor ecx, ecx
cmp eax, edi
jge 0x42b481
mov bl, byte [ebp + eax - 0x3c]
jmp 0x42b485
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, edi
jl 0x42b477
movzx eax, byte [edx + 0x4a2dc0]
mov ecx, edi
add eax, edi
cmp eax, 0x38
jge 0x42b4a5
mov bl, byte [ebp + eax - 0x3c]
jmp 0x42b4a9
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x42b49a
xor ecx, ecx
movzx eax, byte [ecx + 0x4a2dd0]
cmp byte [ebp + eax - 0x74], 0
je 0x42b4d2
mov eax, dword [ecx*4 + 0x4a2e00]
or dword [ebp + esi*4 - 0xf4], eax
movzx eax, byte [ecx + 0x4a2de8]
cmp byte [ebp + eax - 0x74], 0
je 0x42b4ee
mov eax, dword [ecx*4 + 0x4a2e00]
or dword [ebp + esi*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x42b4b6
inc edx
cmp edx, 0x10
jl 0x42b45b
mov edx, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
call fcn.0042b32e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453c11
leave
ret
Function at 0x42b707
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, edx
mov ebx, ecx
lea eax, [edi + 2]
test eax, eax
js 0x42b816
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x42b816
push esi
mov esi, dword [ebp + 8]
cmp edi, 2
jle 0x42b7a6
lea eax, [edi - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add edi, ecx
mov dword [ebp - 4], edi
pop edi
movzx ecx, byte [ebx]
shr ecx, 2
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
and ecx, edi
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, edi
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x42b74b
mov edi, dword [ebp - 4]
test edi, edi
je 0x42b800
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [ebx]
and ecx, 3
shl ecx, 4
cmp edi, 1
jle 0x42b7ee
movzx eax, byte [ebx + 1]
shr eax, 4
mov al, byte [eax + ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov byte [esi + 3], 0x3d
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
jmp 0x42b7fd
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x42b80e
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x42b819
or eax, 0xffffffff
pop edi
pop ebx
leave
ret