joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3c20
call fcn.100d1260
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c20], ecx
mov dword [ebp - 0xc], 0x43297
mov dword [ebp - 0x3c1c], 0x3c00
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x3c20]
movzx ecx, byte [eax + 0x324]
test ecx, ecx
je 0x10061c5c
cmp dword [ebp + 8], 0xffffffff
jne 0x10061c7b
mov edx, dword [0x1012a1fc]
push edx
push 0x800432b1
mov ecx, dword [ebp - 0x3c20]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
jmp 0x10061db1
mov eax, dword [ebp - 0x3c20]
movzx ecx, byte [eax + 0x325]
test ecx, ecx
jne 0x10061c96
mov eax, 0x800432c5
jmp 0x10061db1
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x3c1c]
push eax
lea ecx, [ebp - 0x3c18]
push ecx
push 0
mov ecx, dword [ebp - 0x3c20]
add ecx, 0xc
call dword [sym.imp.DbEngine.dll_public:_int___thiscall_CSecureDbEngine::GetDatabaseBytes_enum_DBE_READ_START_CURSOR__void___unsigned_long_int__unsigned_long_int__]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10061ce7
cmp dword [ebp - 4], 0x25
je 0x10061ce7
mov edx, dword [0x1012abd8]
push edx
push 0x800432c3
mov ecx, dword [ebp - 0x3c20]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
jmp 0x10061db1
mov eax, 1
test eax, eax
je 0x10061dae
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x3c18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10061d27
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x10]
je 0x10061d42
mov eax, dword [0x1012a848]
push eax
push 0x800432a5
mov ecx, dword [ebp - 0x3c20]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
jmp 0x10061db1
cmp dword [ebp - 4], 0x25
jne 0x10061d51
mov dword [ebp - 0xc], 0x43297
jmp 0x10061dae
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x3c1c]
push edx
lea eax, [ebp - 0x3c18]
push eax
push 1
mov ecx, dword [ebp - 0x3c20]
add ecx, 0xc
call dword [sym.imp.DbEngine.dll_public:_int___thiscall_CSecureDbEngine::GetDatabaseBytes_enum_DBE_READ_START_CURSOR__void___unsigned_long_int__unsigned_long_int__]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10061da9
cmp dword [ebp - 4], 0x25
je 0x10061da9
mov ecx, dword [0x1012abd8]
push ecx
push 0x800432c3
mov ecx, dword [ebp - 0x3c20]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
mov dword [ebp - 0xc], eax
jmp 0x10061dae
jmp 0x10061ce7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4
Function at 0x10061ec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fff79
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x43297
cmp dword [ebp + 8], 0
jne 0x10061f17
mov eax, dword [0x1012a89c]
push eax
push 0x800432b1
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
jmp 0x10061fcf
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10061f4e
mov edx, dword [0x1012a8d0]
push edx
push 0x8004329e
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x10061fcf
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbController::CacheImportedProfile_char_const__
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x43297
je 0x10061f71
mov eax, dword [ebp - 0x14]
jmp 0x10061fcf
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0xe58], 0
jne 0x10061f9c
mov eax, dword [0x1012a900]
push eax
push 0x800432a7
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], ecx
jmp 0x10061fc5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100621e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fffba
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0x43297
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1006224d
mov ecx, dword [0x1012a8d0]
push ecx
push 0x8004329e
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
jmp 0x100622e2
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbController::CacheImportedProfile_char_const__
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x43297
je 0x10062270
mov eax, dword [ebp - 0x14]
jmp 0x100622e2
mov ecx, dword [ebp - 0x18]
add ecx, 0xdf4
push ecx
call fcn.100cb090
add esp, 4
test eax, eax
jbe 0x100622a8
mov edx, dword [0x1012a9c4]
push edx
push 0x800432a6
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sym.PfMgrApi.dll_protected:_long_int___thiscall_CProfileDbControllerBase::LogEvTrace_unsigned_long_int__char__const
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x100622af
mov dword [ebp - 0x14], 0x43297
jmp 0x100622d8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10062360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fffd5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x438
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x434], 0xffffffff
mov dword [ebp - 0x18], 0x400
mov dword [ebp - 0x14], 0x400
cmp dword [ebp + 8], 0
jne 0x100623eb
push 0xd52
push 0x1012c2f4
push 0x1012c328
call fcn.100cb557
add esp, 0xc
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x434], eax
cmp dword [ebp - 0x434], 0xffffffff
jne 0x10062438
mov dword [ebp - 0x440], 0xffffffff
push 0x1015198c
lea edx, [ebp - 0x440]
push edx
call fcn.100cb4c0
mov dword [ebp - 0x428], 0
mov eax, 1
test eax, eax
je 0x100624fb
mov dword [ebp - 0x42c], 0
push 0
lea ecx, [ebp - 0x42c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x434]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
jne 0x100624a4
mov dword [ebp - 0x444], 0xffffffff
push 0x1015198c
lea edx, [ebp - 0x444]
push edx
call fcn.100cb4c0
mov dword [ebp - 0x424], 0
jmp 0x100624bf
mov eax, dword [ebp - 0x424]
add eax, 1
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0x424]
cmp ecx, dword [ebp - 0x42c]
jae 0x100624e9
mov edx, dword [ebp - 0x424]
movzx eax, byte [ebp + edx - 0x420]
add eax, dword [ebp - 0x428]
mov dword [ebp - 0x428], eax
jmp 0x100624b0
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x42c]
je 0x100624f6
jmp 0x100624fb
jmp 0x10062442
mov edx, dword [ebp - 0x434]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x434], 0xffffffff
jmp 0x10062542
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x428]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4
Function at 0x10064cd0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x114], str.test_file.xml
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x11c], 0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
jne 0x10064d98
mov dword [ebp - 0x128], 0x80043298
push 0x1014f068
lea edx, [ebp - 0x128]
push edx
call fcn.100cb4c0
push 0
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x10064dd0
mov ecx, dword [ebp - 0x11c]
cmp ecx, dword [ebp + 0xc]
je 0x10064dda
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x118], 0xffffffff
je 0x10064df0
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8

Function at 0x10065660
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 1
cmp dword [ebp + 8], 0
jne 0x1006568d
push 0x11d5
push 0x1012d024
push str.NULL___pszDesiredPath
call fcn.100cb557
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100656aa
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x100656c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x114], 1
cmp dword [ebp + 8], 0
jne 0x100656f0
xor eax, eax
jmp 0x10065856
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10065708
mov eax, 1
jmp 0x10065856
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x10065851
push 0x104
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.100cac20
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.100cac20
add esp, 0xc
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0x104
lea edx, [ebp - 0x110]
push edx
call fcn.10003fa0
add esp, 0x10
lea eax, [ebp - 0x224]
push eax
push 0x1012d088
lea ecx, [ebp - 0x110]
push ecx
call fcn.10003fe0
add esp, 0xc
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x1006579e
xor eax, eax
jmp 0x10065856
push 0xffffffffffffffff
mov edx, dword [ebp - 0x118]
push edx
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.10003fa0
add esp, 0x10
mov ecx, 1
test ecx, ecx
je 0x10065851
lea edx, [ebp - 0x224]
push edx
push 0x1012d08c
push 0
call fcn.10003fe0
add esp, 0xc
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x100657ef
jmp 0x10065851
push 0x1012d090
push 0x104
lea eax, [ebp - 0x220]
push eax
call fcn.100cb017
add esp, 0xc
mov ecx, dword [ebp - 0x118]
push ecx
push 0x104
lea edx, [ebp - 0x220]
push edx
call fcn.100cb017
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x228]
call sym.PfMgrApi.dll_protected:_int___thiscall_CProfileDbController::CheckCreateSubFolder_char_const__
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x1006584c
mov eax, dword [ebp - 0x114]
jmp 0x10065856
jmp 0x100657bb
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 4
Function at 0x10065d40
Capabilities:
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x10065dae
xor eax, eax
jmp 0x10065e54
mov edx, dword [str.IntelWirelessWLANProfiles]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10065e4e
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10003fa0
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x120]
call sym.PfMgrApi.dll_protected:_int___thiscall_CProfileDbController::VerifyAndCreateFolder_char_const__
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
or ecx, 2
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
add eax, 0xd4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x1012d098
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100cb017
add esp, 0xc
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8
Function at 0x10066410
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x164], ecx
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x54], 0x101
mov ecx, dword [ebp - 0x164]
cmp dword [ecx + 0x1190], 0
jne 0x100664ab
mov edx, dword [ebp - 0x164]
cmp dword [edx + 0x1194], 0
jne 0x100664ab
push 0x101
push 0
lea eax, [ebp - 0x160]
push eax
call fcn.100cac20
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x160]
push edx
push 2
call sub.Secur32.dll_GetUserNameExA
movzx eax, al
test eax, eax
jne 0x100664a9
push 0xffffffffffffffff
mov ecx, dword [str.C9CE18E85F36]
push ecx
mov edx, dword [ebp - 0x54]
push edx
lea eax, [ebp - 0x160]
push eax
call fcn.10003fa0
add esp, 0x10
jmp 0x100664e2
mov ecx, dword [ebp - 0x164]
cmp dword [ecx + 0x1190], 0
je 0x100664e2
mov edx, dword [ebp - 0x164]
mov eax, dword [edx + 0x1190]
push eax
push 0x1012d114
push 0xffffffffffffffff
push 0x100
lea ecx, [ebp - 0x160]
push ecx
call fcn.100cd2e1
add esp, 0x14
push 0
push 1
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10067e40
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret 8
Function at 0x10068f60
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101004bf
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 2
call sub.Secur32.dll_GetUserNameExA
cmp dword [ebp - 0x10], 0
jbe 0x100690bf
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x100690bf
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100cac20
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 2
call sub.Secur32.dll_GetUserNameExA
movzx ecx, al
test ecx, ecx
je 0x100690ad
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10012160
mov dword [ebp - 4], 0
push 0
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.10012560
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x1006909e
lea ecx, [ebp - 0x1c]
call fcn.10012840
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10012760
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100121e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10008b60
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x18]
sub ecx, 1
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.100126e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100121e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10008b60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10008b60
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.100aaaba
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006a6c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x108], 0
je 0x1006a6e8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.100cb090
add esp, 4
test eax, eax
jbe 0x1006a708
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esp, ebp
pop ebp
ret

Function at 0x10073080
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10100f10
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x11c
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
mov dword [eax], 0
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x128]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x128]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x128]
mov dword [edx + 0x18], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea eax, [ebp - 0x11f]
push eax
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x14], 0x103
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x120]
push eax
call fcn.100cb090
add esp, 4
add eax, 1
push eax
call fcn.100aaab5
add esp, 4
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 0x128]
cmp dword [ecx + 0xc], 0
je 0x100731b5
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x120]
push eax
call fcn.100cb090
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx + 0xc]
push edx
call fcn.100cad54
add esp, 0xc
mov ecx, dword [ebp - 0x128]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::Initialize_void_
jmp 0x100731cf
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret
Function at 0x1007da80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010188b
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1f8
mov eax, dword [0x10172eb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x200], ecx
lea ecx, [ebp - 0xb0]
call fcn.10096120
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0
push 0x124
push 0
lea eax, [ebp - 0x1dc]
push eax
call fcn.100cac20
add esp, 0xc
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x1ec], 0x10135b7c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x200]
mov dword [ecx + 0x14], 0
push 0x200
lea ecx, [ebp - 0xb0]
call fcn.10096160
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 0
je 0x1007dca2
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e0], 0x128
lea edx, [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x1e4]
push eax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1007dbb9
mov ecx, dword [ebp - 0x1ec]
push ecx
lea edx, [ebp - 0x1bc]
push edx
call fcn.100579b0
add esp, 4
push eax
call fcn.10053530
add esp, 8
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 0
jne 0x1007dbb9
lea ecx, [ebp - 0x1e0]
push ecx
mov edx, dword [ebp - 0x1e4]
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1007db68
cmp dword [ebp - 0x1e8], 0
je 0x1007dc8c
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1f0], 0
mov ecx, dword [ebp - 0x1f4]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0
je 0x1007dca2
lea edx, [ebp - 0x1fc]
push edx
push 0xa
mov eax, dword [ebp - 0x1f8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
jne 0x1007dc37
mov ecx, dword [ebp - 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007dc8c
lea edx, [ebp - 0xb4]
push edx
push 2
mov eax, dword [ebp - 0x1fc]
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x1007dc72
mov ecx, dword [ebp - 0xb4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edx, dword [ebp - 0x200]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x1f8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1fc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1007dc9b
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ca7f5
mov esp, ebp
pop ebp
ret