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

Disassembly:
push 0x124
mov eax, 0x5d827f
call fcn.0056d43d
mov edi, ecx
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x130], edi
xor esi, esi
mov dword [ebp - 0x12c], esi
xor eax, eax
mov dword [edi], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
xor ebx, ebx
mov dword [ebp - 4], esi
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, esi
je 0x46333d
sub eax, ebx
je 0x4632e3
sub eax, ebx
je 0x4631c5
push str.Unknown
jmp 0x463342
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x463233
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x4631f8
push str.Windows_2003
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x463233
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
jne 0x463219
push str.Windows_XP
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, 5
jne 0x463233
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x463349
push str.Windows_2000
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, 4
ja 0x46324a
push str.Windows_NT
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
push 6
pop esi
cmp eax, esi
jne 0x4632d7
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x46327b
push str.Windows_Vista
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, esi
jne 0x4632d7
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
jne 0x46329b
push str.Windows_7
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, esi
jne 0x4632d7
mov eax, dword [ebp - 0x11c]
cmp eax, 2
jne 0x4632bc
push str.Windows_8
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, esi
jne 0x4632d7
mov eax, dword [ebp - 0x11c]
cmp eax, 3
jne 0x463349
push str.Windows_8.1
mov ecx, edi
call fcn.00408fe7
mov eax, dword [ebp - 0x120]
cmp eax, 0xa
jne 0x463349
push str.Windows_10
jmp 0x463342
cmp dword [ebp - 0x120], 4
jne 0x463349
mov eax, dword [ebp - 0x11c]
test eax, eax
jne 0x463311
push str.Windows_95
mov ecx, edi
call fcn.00408fe7
cmp dword [ebp - 0x120], 4
jne 0x463349
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jne 0x463331
push str.Windows_98
mov ecx, edi
call fcn.00408fe7
cmp dword [ebp - 0x120], 4
jne 0x463349
mov eax, dword [ebp - 0x11c]
cmp eax, 0x5a
jne 0x463349
push str.Windows_ME
jmp 0x463342
push str.Windows_Win32s
mov ecx, edi
call fcn.00408fe7
lea ecx, [ebp - 0x128]
call fcn.0040ade6
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.00422e62
add esp, 0x14
cmp word [ebp - 0x110], 0
je 0x4633a1
push 0x614668
mov ecx, edi
call fcn.00409914
lea eax, [ebp - 0x110]
mov ecx, edi
push eax
call fcn.00409914
mov esi, dword [ebp - 0x128]
mov ecx, edi
push esi
call fcn.00409914
lea ecx, [esi - 0x10]
call fcn.0040bedb
mov eax, edi
call fcn.0056d3ec
ret
Function at 0x46e672
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
xor eax, eax
push esi
mov esi, edx
mov dword [ebp - 4], eax
push edi
mov edx, dword [ebx + 0x3c]
mov dword [ebp - 8], esi
cmp dword [edx], eax
jne 0x46e6a2
push dword [ebx + 0x78]
call fcn.0046e239
mov dword [ebp - 4], eax
pop ecx
test eax, eax
jne 0x46e78b
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x46e6d9
mov eax, dword [ebx + 0x80]
push 0
cdq
push ecx
push edx
push eax
call fcn.0056c9e0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
push 5
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 4]
test esi, esi
je 0x46e78b
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x14], edi
cmp edi, dword [ebx + 0x18]
ja 0x46e77d
test byte [esi + 0x18], 0x20
jne 0x46e77d
mov eax, dword [ebx + 0x80]
lea ecx, [edi - 1]
cdq
push edx
push eax
push 0
push ecx
call fcn.0056c9e0
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
cmp edi, 1
jne 0x46e723
mov ecx, esi
call fcn.0046dcdd
push dword [ebp - 4]
mov ecx, dword [ebx + 0x80]
push dword [ebp - 0xc]
mov eax, dword [esi + 4]
mov edx, eax
push ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x10], eax
call fcn.00465436
add esp, 0xc
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x46e75e
mov esi, dword [ebp - 0x10]
lea edi, [ebx + 0x64]
add esi, 0x18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebx + 0x20]
jbe 0x46e766
mov dword [ebx + 0x20], edi
inc dword [ebx + 0xa8]
mov edx, edi
push dword [esi + 4]
mov ecx, dword [ebx + 0x58]
call fcn.0047982d
mov eax, dword [ebp - 4]
pop ecx
mov esi, dword [esi + 0xc]
mov dword [ebp - 8], esi
test eax, eax
je 0x46e6dc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b58ef
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x4b5901
push 0xd
pop eax
jmp 0x4b5933
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4b590a
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x4b5f29
Capabilities:
Get file version info

Disassembly:
push 0xc
mov eax, 0x5d92dd
call fcn.0056d40a
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.00573610
add esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4b5fb0
push ecx
push edi
mov ecx, esi
call fcn.004099d9
push dword [esi]
push edi
push 0
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4b5fb0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x60db0c
push dword [esi]
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4b5fb0
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.0056d3d8
ret 4

Function at 0x4b64b2
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, edx
mov eax, ecx
xor esi, esi
mov dword [ebp - 8], eax
test edi, edi
jne 0x4b64d5
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4b656c
push ebx
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4b650c
push 0x104
push edi
push ebx
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
test eax, eax
je 0x4b6503
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4b6569
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4b6569
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.004b5c4c
test eax, eax
jne 0x4b6569
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4b6569
mov eax, ebx
mov ecx, dword [ebp - 8]
cmp dword [eax + 0x44], ecx
jne 0x4b6547
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4b6547
movzx edx, word [eax + 0x38]
test dx, dx
jne 0x4b6553
mov ecx, dword [eax]
test ecx, ecx
je 0x4b6562
add eax, ecx
jne 0x4b652f
jmp 0x4b6562
mov eax, edx
shr eax, 1
push eax
push ecx
mov ecx, edi
call fcn.004b6346
mov esi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4b7813
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jb 0x4b782a
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x4b7a0e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea edx, [ecx + 8]
mov esi, 0x270
mov ecx, dword [edx - 4]
xor ecx, dword [edx]
lea edx, [edx + 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x4b7a17
pop esi
ret

Function at 0x4b7a4f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, 0xe3
push edi
lea edi, [esi + 0x9c4]
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4b7a61
lea edi, [esi + 0xd50]
mov ebx, 0x18c
mov eax, dword [edi]
lea edx, [edi + 4]
mov ecx, dword [edx]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd4c]
xor eax, ecx
mov dword [edi - 0x9c0], eax
lea edi, [edx]
mov eax, dword [edx]
sub ebx, 1
jne 0x4b7aa6
mov ecx, dword [esi + 0x1380]
xor ecx, dword [esi + 4]
and ecx, 0x7fffffff
xor ecx, dword [esi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
and dword [esi], 0
pop esi
pop ebx
ret
Function at 0x4b8aac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 0
push eax
mov esi, edx
mov ebx, ecx
call fcn.00573610
xor eax, eax
mov dword [ebp - 0x28], 0x80
lea edi, [ebp - 0x10]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4b8b2a
test esi, esi
je 0x4b8b15
or eax, 0xffffffff
cmp dword [ebp + 8], edi
cmove eax, dword [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
jmp 0x4b8b45
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 4
pop edx
push 0x6f
pop ecx
call fcn.004f4320
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b8ed9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.00573610
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b8f34
cmp dword [ebp - 0x110], 2
jne 0x4b8f34
cmp dword [ebp - 0x11c], 6
jb 0x4b8f34
xor eax, eax
inc eax
jmp 0x4b8f36
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056cd75
leave
ret

Function at 0x4b939d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
inc ebx
xor esi, esi
cmp byte [0x649ffc], 0
push edi
mov edi, ecx
jne 0x4b93d0
push esi
mov byte [0x649ffc], bl
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00573610
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x103
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.wdc.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4b9463
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4b9463
push str.WdcRunTaskAsInteractiveUser
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b9463
push esi
push 0x60c5e0
push edi
call eax
test eax, eax
cmove esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret
Function at 0x4ba7d8
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc18
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x645cf0], 0
push ebx
mov ebx, 0x200
push esi
mov esi, ecx
mov dword [ebp - 0xc14], ebx
je 0x4ba81a
push 0x645cf0
push ebx
push esi
call fcn.005a88a8
add esp, 0xc
xor eax, eax
inc eax
jmp 0x4ba932
push edi
mov edi, 0x400
xor eax, eax
push edi
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00573610
push edi
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00573610
push edi
lea eax, [ebp - 0xc04]
push 0
push eax
call fcn.00573610
add esp, 0x24
mov byte [esi], 0
lea eax, [ebp - 0xc08]
mov dword [ebp - 0xc08], ebx
mov dword [ebp - 0xc0c], ebx
mov dword [ebp - 0xc10], ebx
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
pop edi
test eax, eax
jne 0x4ba88e
mov dword [0x645ce8], 0x6c
jmp 0x4ba930
lea eax, [ebp - 0x404]
push str.SYSTEM
push eax
call fcn.00595551
pop ecx
pop ecx
test eax, eax
jne 0x4ba8b1
mov dword [0x645ce8], 0x6b
jmp 0x4ba930
lea ecx, [ebp - 0x404]
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4ba8bc
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0xc08], eax
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x4ba926
lea eax, [ebp - 0xc14]
mov edx, esi
push eax
lea ecx, [ebp - 0x804]
call fcn.004ba674
pop ecx
test eax, eax
jne 0x4ba812
mov dword [0x645ce8], 0x6d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret
Function at 0x4ba940
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x400
lea eax, [ebp - 0x804]
push edi
xor esi, esi
mov ebx, ecx
push esi
push eax
call fcn.00573610
push edi
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.00573610
push edi
lea eax, [ebp - 0xc04]
push esi
push eax
call fcn.00573610
mov eax, 0x200
add esp, 0x24
mov dword [ebp - 0xc08], eax
mov dword [ebp - 0xc10], eax
mov dword [ebp - 0xc0c], eax
lea eax, [ebp - 0xc08]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x4ba9ca
mov dword [0x645ce8], 0x6c
jmp 0x4baaa9
lea eax, [ebp - 0x804]
push str.SYSTEM
push eax
call fcn.00595551
pop ecx
pop ecx
test eax, eax
jne 0x4ba9f0
mov dword [0x645ce8], 0x6b
jmp 0x4baaa9
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x4ba9f9
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0xc08], eax
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0xc04]
push eax
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x804]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x4baa52
mov dword [0x645ce8], 0x6d
jmp 0x4baaa9
lea eax, [ebp - 0x404]
mov edi, esi
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4baaa9
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidIdentifierAuthority]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
test eax, eax
je 0x4baa86
movzx edi, byte [eax]
test edi, edi
je 0x4baaa9
push esi
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
test eax, eax
je 0x4baaa4
push eax
mov ecx, ebx
call fcn.004baac3
inc esi
cmp esi, edi
jb 0x4baa8a
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret
Function at 0x4bada1
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 0x4baec4
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x4baec4
mov edx, dword [ebp + 0xc]
shl eax, 2
cmp dword [edx], eax
jl 0x4baec4
push esi
mov esi, dword [ebp + 8]
cmp edi, 2
jle 0x4bae51
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 0x4badf3
mov edi, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
test edi, edi
je 0x4baeb5
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
lea eax, [esi + 2]
movzx ecx, byte [ebx]
and ecx, 3
mov dword [ebp - 4], eax
shl ecx, 4
cmp edi, 1
jle 0x4baea1
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]
mov esi, dword [ebp - 4]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov byte [esi + 1], 0x3d
jmp 0x4baeb2
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
mov esi, dword [ebp - 4]
mov word [esi], 0x3d3d
add esi, 2
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
mov byte [esi], 0
pop esi
jmp 0x4baec7
or eax, 0xffffffff
pop edi
pop ebx
leave
ret
Function at 0x4bbbe2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor edx, edx
mov esi, edx
test edi, edi
jle 0x4bbbda
movzx ecx, byte [esi + ebx]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x6098f0]
inc esi
cmp esi, edi
jl 0x4bbbc2
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret
mov edx, ecx
push esi
lea esi, [edx + 2]
movzx eax, word [edx]
add edx, 2
test ax, ax
jne 0x4bbbe8
sub edx, esi
sar edx, 1
add edx, edx
pop esi
jmp 0x4bbbb3
Function at 0x4bbbff
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x63d284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ecx], 0xc
lea eax, [esi - 8]
mov dword [ebp - 0x110], esi
mov ebx, edi
mov ecx, edi
test eax, eax
js 0x4bbcb1
mov eax, esi
shr eax, 3
mov dword [ebp - 0x10c], eax
mov esi, eax
shl eax, 3
mov dword [ebp - 0x108], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + ebx*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + ebx*4 - 0x100], ecx
add ebx, 2
sub esi, 1
jne 0x4bbc4f
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x108]
mov eax, esi
sub eax, ecx
je 0x4bbd21
mov eax, esi
mov ecx, edi
and eax, 7
mov esi, edi
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4bbcc8
jmp dword [eax*4 + 0x4bbdf7]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov dword [ebp + ebx*4 - 0x104], esi
mov esi, dword [ebp - 0x110]
mov dword [ebp + ebx*4 - 0x100], ecx
mov ebx, dword [ebp - 0x114]
lea eax, [esi + 3]
cdq
xor ecx, ecx
and edx, 3
add edx, eax
push 0x1a
sar edx, 2
inc ecx
mov dword [ebx + 4], 0xb7e15163
pop esi
mov eax, dword [ebx + ecx*4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4 + 4], eax
inc ecx
cmp ecx, esi
jl 0x4bbd40
cmp edx, esi
mov dword [ebp - 0x10c], edi
mov eax, edx
mov dword [ebp - 0x108], edi
cmovl eax, esi
mov ecx, edi
imul esi, eax, 3
mov dword [ebp - 0x110], ecx
test esi, esi
jle 0x4bbde7
mov eax, dword [ebx + ecx*4 + 4]
add eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x108]
rol eax, 3
mov dword [ebx + ecx*4 + 4], eax
mov ecx, eax
add ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x108], eax
and ecx, 0x1f
mov eax, dword [ebp + edi*4 - 0x104]
add eax, dword [ebp - 0x10c]
add eax, dword [ebp - 0x108]
rol eax, cl
lea ecx, [edi + 1]
mov dword [ebp + edi*4 - 0x104], eax
xor edi, edi
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x110]
inc eax
cmp eax, 0x1a
cmovl edi, eax
mov dword [ebp - 0x110], edi
xor edi, edi
cmp ecx, edx
cmovl edi, ecx
mov ecx, dword [ebp - 0x110]
sub esi, 1
jne 0x4bbd73
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056cd75
leave
ret