joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466180
Capabilities:
Reference cloudflare dns server

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4662bd
mov ecx, dword [esp]
push ebp
push ecx
call sub.mfc90.dll_Ordinal_265
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4662b8
lea edx, [esp + 4]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4662af
push ebx
push esi
push edi
mov edi, ebp
lea esp, [esp]
lea esi, [edi + 0x1d4]
test esi, esi
je 0x4662a2
mov edi, edi
cmp byte [esi + 4], 0
lea eax, [esi + 4]
je 0x46627b
mov edx, str.0.0.0.0
mov ecx, eax
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x466214
test bl, bl
je 0x466210
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x466214
add ecx, 2
add edx, 2
test bl, bl
jne 0x4661f4
xor ecx, ecx
jmp 0x466219
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x46627b
mov edx, str.1.1.1.1
mov ecx, eax
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x466244
test bl, bl
je 0x466240
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x466244
add ecx, 2
add edx, 2
test bl, bl
jne 0x466224
xor ecx, ecx
jmp 0x466249
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x46627b
mov ecx, str.255.255.255.255
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x466272
test dl, dl
je 0x46626e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x466272
add eax, 2
add ecx, 2
test dl, dl
jne 0x466252
xor eax, eax
jmp 0x466277
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x466287
mov esi, dword [esi]
test esi, esi
jne 0x4661e0
jmp 0x4662a2
add esi, 4
push esi
push str.tc_GW
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491e90
add esp, 0x10
mov edi, dword [edi]
test edi, edi
jne 0x4661d0
pop edi
pop esi
pop ebx
push ebp
call sub.mfc90.dll_Ordinal_266
add esp, 4
xor eax, eax
pop ebp
pop ecx
ret
xor eax, eax
pop ecx
ret
Function at 0x466670
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x4ebd43
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x434]
mov dword fs:[0], eax
mov eax, dword [esp + 0x448]
mov esi, dword [esp + 0x444]
mov ebp, dword [esp + 0x450]
xor ebx, ebx
push 0x1ff
lea ecx, [esp + 0x235]
push ebx
mov dword [esp + 0x1c], ebx
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], eax
mov byte [esp + 0x23c], bl
call sub.MSVCR90.dll_memset
push 0x1ff
lea edx, [esp + 0x41]
push ebx
push edx
mov byte [esp + 0x48], bl
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
add esp, 0x18
push ebx
push 1
push 0x50b904
push ebx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], 4
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x46674c
push 8
push 1
push 0x50b904
push ebx
lea ecx, [esp + 0x28]
push ecx
call edi
test eax, eax
jne 0x46674c
push 0x5116d8
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
jmp 0x466842
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x466771
push 0x5116d8
jmp 0x46683a
mov ecx, dword [esp + 0x44c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x466767
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateHash]
test eax, eax
je 0x466767
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push ebx
lea eax, [esp + 0x2c]
push eax
push ebp
push 4
push ecx
call edi
test eax, eax
je 0x466767
mov eax, dword [esp + 0x1c]
push ebx
push ebp
lea edx, [esp + 0x238]
push edx
push 2
push eax
call edi
test eax, eax
je 0x466767
mov ecx, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ecx
call edi
mov edx, dword [esp + 0x20]
push edx
call edi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4667f9
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor edi, edi
mov byte [esp + 0x30], bl
cmp dword [ebp], ebx
jbe 0x466835
jmp 0x466810
movzx eax, byte [esp + edi + 0x230]
push eax
lea ecx, [esp + 0x34]
push ecx
mov edx, ecx
push str._s_02x
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
inc edi
add esp, 0x10
cmp edi, dword [ebp]
jb 0x466810
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x43c], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.004e0148
add esp, 0x42c
ret
Function at 0x466880
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4ebd8c
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x204], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x224], 0
push 0x1ff
lea eax, [esp + 0x1d]
push 0
push eax
mov byte [esp + 0x24], 0
call sub.MSVCR90.dll_memset
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0xc
push 0
push 0x26
lea ecx, [esp + 0x20]
push ecx
push 0
call ebx
mov edi, dword [sym.imp.mfc90.dll_Ordinal_2539]
mov ebp, dword [sym.imp.MSVCR90.dll__access]
mov esi, 0xa
lea ecx, [ecx]
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push str._sMicrosoft_OfficeOffice_dMso.dll
push eax
call edi
mov ecx, dword [esp + 0x24]
push 0
push ecx
call ebp
add esp, 0x18
test eax, eax
je 0x4669b7
inc esi
cmp esi, 0x10
jl 0x466910
push 0
push 0x2b
lea edx, [esp + 0x20]
push edx
push 0
call ebx
mov esi, 0xa
mov edi, edi
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push str._sMicrosoft_SharedOffice_dMso.dll
push ecx
call edi
mov edx, dword [esp + 0x24]
push 0
push edx
call ebp
add esp, 0x18
test eax, eax
je 0x4669b7
inc esi
cmp esi, 0x10
jl 0x466950
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x204]
xor ecx, esp
call fcn.004e0148
add esp, 0x214
ret
mov dword [esp + 0x224], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x46698f
Function at 0x467000
Capabilities:
List groups for user account

Disassembly:
sub esp, 0x210
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push ebx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push 1
push ebx
push eax
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.NETAPI32.dll_NetUserGetLocalGroups
test eax, eax
je 0x467062
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e0148
add esp, 0x210
ret
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], ebx
jbe 0x4670c4
cmp eax, ebx
je 0x4670c4
mov esi, dword [eax + edi*4]
cmp esi, ebx
je 0x4670bd
push 0x1ff
lea edx, [esp + 0x1d]
push ebx
push edx
mov byte [esp + 0x24], bl
call sub.MSVCR90.dll_memset
push ebx
push ebx
push 0x200
lea eax, [esp + 0x30]
push eax
push 0xffffffffffffffff
push esi
push ebx
push ebx
call fcn.004dece0
lea ecx, [esp + 0x44]
push ecx
push str._tNetUserGetLocalGroups_:__s
push 8
call fcn.0043d500
mov eax, dword [esp + 0x44]
add esp, 0x38
inc edi
cmp edi, dword [esp + 0x10]
jb 0x467070
push eax
call sub.NETAPI32.dll_NetApiBufferFree
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004e0148
add esp, 0x210
ret

Function at 0x4670f0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x130
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x134]
push edi
push 0x128
lea ecx, [esp + 0xc]
push 0
push ecx
mov dword [esp + 0x10], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x46714f
mov eax, 1
pop edi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.004e0148
add esp, 0x130
ret
push ebx
lea edx, [esp + 0xc]
push edx
push edi
mov dword [esp + 0x14], 0x128
xor ebx, ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4671ba
push esi
xor esi, esi
lea esp, [esp]
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x467185
inc ebx
push 0x128
lea edx, [esp + 0x14]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x128
cmp esi, 0x3e8
ja 0x4671b9
lea eax, [esp + 0x10]
push eax
push edi
inc esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x467170
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
mov eax, ebx
pop ebx
pop edi
xor ecx, esp
call fcn.004e0148
add esp, 0x130
ret
Function at 0x467200
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push esi
push str.TC_BackupInited_setting_is_Remove_All_registry_for_Backup
push 8
call fcn.0043d500
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
add esp, 8
push str.SoftWareTrojanCut_tc_FileB
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.SoftWareWow6432NodeTrojanCut_tc_FileB
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push str.tc_Drived
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.tc_Scanned
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.tc_ScanTime
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.tc_ScannedCnt
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push str.tc_BK_PASS
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call esi
pop esi
ret
Function at 0x467e10
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi
Initialize hashing via wincrypt

Disassembly:
sub esp, 0x90
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x8c], eax
push edi
mov edi, dword [esp + 0x98]
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x20], 0x40
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x467e73
push str.CryptAcquireContext_failed.
push 8
call fcn.0043d500
add esp, 8
pop edi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x467eba
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push str.CryptGenRandom_failed.
push 8
call fcn.0043d500
add esp, 8
pop edi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x800e
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x467f09
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push str.CryptCreateHash_failed.
push 8
call fcn.0043d500
add esp, 8
pop edi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x467f5c
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push str.CryptSetHashParam_failed.
push 8
call fcn.0043d500
add esp, 8
pop edi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
mov ecx, dword [esp + 8]
push 0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x467fb6
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push str.CryptGetHashParam_failed.
push 8
call fcn.0043d500
add esp, 8
pop edi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
push esi
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x467fec
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_sprintf]
jmp 0x467fd0
movzx ecx, byte [esp + esi + 0x58]
push ecx
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [esp + 0x14]
jb 0x467fd0
pop ebx
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [esp + 0x94]
pop esi
pop edi
xor ecx, esp
call fcn.004e0148
add esp, 0x90
ret
Function at 0x4683f0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x410
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x40c], eax
mov eax, dword [esp + 0x418]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea ecx, [esp + 8]
push ecx
push 0xf003f
xor esi, esi
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0x400
call ebx
test eax, eax
je 0x468455
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004e0148
add esp, 0x410
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x41c]
push edi
push edx
push eax
call fcn.00468020
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 8
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push eax
call edi
test eax, eax
jne 0x4684fb
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x24]
push edx
push eax
inc esi
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x4684ca
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x420]
push ecx
push edx
call fcn.00468020
add esp, 8
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push eax
mov dword [esp + 0x34], 0x400
call edi
test eax, eax
je 0x468490
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x418]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.004e0148
add esp, 0x410
ret
Function at 0x4689a0
Capabilities:
Get user security identifier

Disassembly:
push 0xffffffffffffffff
push 0x4ebfcd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.ADVAPI32.dll_GetFileSecurityA]
lea eax, [esp + 0x14]
push eax
xor edi, edi
push edi
push edi
push 1
push ebx
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x468b5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x468b5d
mov ecx, dword [esp + 0x14]
add ecx, 0x3e8
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, edi
jne 0x468a59
lea edx, [esp + 0x20]
push edx
call fcn.00491540
add esp, 4
mov dword [esp + 0x30], edi
push edi
push edi
mov eax, dword [eax]
push eax
call sub.mfc90.dll_Ordinal_1183
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
push 1
push ebx
call ebp
test eax, eax
jne 0x468a84
lea edx, [esp + 0x20]
push edx
call fcn.00491540
add esp, 4
mov dword [esp + 0x30], 1
jmp 0x468a24
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x468aab
lea eax, [esp + 0x20]
push eax
call fcn.00491540
add esp, 4
mov dword [esp + 0x30], 2
jmp 0x468a24
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
lea eax, [esp + 0x28]
push eax
push edi
push ebx
push edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call ebp
mov ecx, dword [esp + 0x1c]
push ecx
call sub.mfc90.dll_Ordinal_265
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call sub.mfc90.dll_Ordinal_265
add esp, 8
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x28]
push eax
push edi
push ebx
push 0
call ebp
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
test eax, eax
jne 0x468b2d
lea ecx, [esp + 0x20]
push ecx
call fcn.00491540
add esp, 4
mov dword [esp + 0x30], 3
push 0
push 0
jmp 0x468a26
mov edx, dword [esp + 0x38]
push esi
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
jne 0x468b5d
lea eax, [esp + 0x20]
push eax
call fcn.00491540
add esp, 4
mov dword [esp + 0x30], 4
push 0
push 0
jmp 0x468a26
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x468ce0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x18
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x38], ebx
xor esi, esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x468d4d
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x468d55
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x468d68
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 8], ebx
cmp esi, ebx
je 0x468d7f
push 0x52eb84
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], esi
call sub.MSVCR90.dll__CxxThrowException
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.004e0148
add esp, 0x18
ret

Function at 0x469580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec15c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.explorer.exe
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x24], 1
mov byte [esp + 0x24], bl
call fcn.00465450
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x469608
mov esi, dword [esp + 0x28]
push str.error_get_PID_of_explorer.exe
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
push eax
push esi
mov esi, dword [esp + 0x30]
push esi
call fcn.00469450
add esp, 0xc
mov dword [esp + 0xc], 1
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x469660
Capabilities:
Create process on windows

Disassembly:
push 0
push 0
push str._c_arp__d
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x46af50
Capabilities:
Create process on windows
Delete directory
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec404
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [ebp - 4], 2
push 0x5027e0
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402a60
add esp, 0xc
mov bl, 4
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x4ff418
push 0x502d68
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_5924]
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0xa
jle 0x46b035
push eax
push str._c_del__s__q___s_
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [ebp - 0x14]
push eax
push str.DeleteMyFiles_start_cmd__s
push 8
call fcn.0043d500
add esp, 0x18
push esi
push esi
mov ecx, dword [ebp - 0x14]
push ecx
push 0x50c710
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [ebp - 0x14]
push eax
push str.DeleteMyFiles_end_cmd__s
push 8
call fcn.0043d500
add esp, 0xc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret