joyce8/EMBER2024-capa huggingface dataset:
Function at 0x482f40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63439b
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x87c], esi
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x880], esi
push 0
push eax
call fcn.005feb40
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x87c]
mov dword [ebp - 0x87c], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov edi, eax
call fcn.00484a70
test eax, eax
je 0x483001
test edi, edi
je 0x482fc8
mov eax, dword [ebp - 0x87c]
test eax, eax
jne 0x482fdd
lea ecx, [ebp - 0x87c]
call fcn.00481030
mov eax, dword [ebp - 0x87c]
test eax, eax
je 0x48301c
lea ecx, [ebp - 0x810]
push ecx
push 0
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x87c]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x483018
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x483067
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.GSoSoftGSoInput_
lea ecx, [ebp - 0x878]
call fcn.004133d0
lea ecx, [ebp - 0x828]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
cmp dword [eax + 0x14], 8
jb 0x48304e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x828]
call fcn.00402f20
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x4830db
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00417800
test al, al
jne 0x4830be
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4830a0
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401e40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3
Function at 0x4830f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6343db
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x814], esi
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], esi
push 0
push eax
call fcn.005feb40
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x814]
mov dword [ebp - 0x814], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov edi, eax
call fcn.00484a70
test eax, eax
je 0x4831b1
test edi, edi
je 0x483178
mov eax, dword [ebp - 0x814]
test eax, eax
jne 0x48318d
lea ecx, [ebp - 0x814]
call fcn.00481030
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x4831cc
lea ecx, [ebp - 0x810]
push ecx
push 0
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x814]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4831c8
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x4831d9
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x48324b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00417800
test al, al
jne 0x48322e
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x483210
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401e40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3
Function at 0x4848c0
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634668
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x484907
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x484a4c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x6a08a0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00417800
test al, al
jne 0x484948
push 1
push 0x6a08a0
lea ecx, [ebp - 0x10]
call fcn.00401e40
mov dword [ebp - 4], 1
test esi, esi
jne 0x484957
xor ecx, ecx
jmp 0x48496f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x484960
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00417970
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x10]
test al, 0x10
je 0x484990
push 0x15
push str.___T__E__G_Everyone:F
jmp 0x484997
push 0x12
push str.___E__G_Everyone:F
call fcn.00417970
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push str.Cacls.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or ebx, 0xffffffff
cmp eax, 0x20
jg 0x484a19
call fcn.004021b0
mov ecx, eax
test ecx, ecx
je 0x484a56
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str.ShellExecute_failed:_d
push eax
call fcn.00402970
mov esi, dword [ebp - 0x14]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x484a19
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x484a35
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
push 0x80004005
call fcn.00401f90
int3
Function at 0x484dc0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 0x2000000
push 3
push esi
push 5
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x484e16
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x484e0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63476a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [esi], 0x6acb24
mov dword [esi + 0x10], 0x6acb1c
mov dword [esi + 0x68], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebp - 0x1c], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov edi, dword [eax + 4]
add edi, esi
mov ecx, edi
call fcn.00471290
lea eax, [esi + 0x18]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 4], 3
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
call dword [eax + 4]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 4
push eax
call fcn.00487450
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx eax, ax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test ebx, ebx
je 0x485841
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x48583e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp dword [edi + 0x38], 0
mov word [edi + 0x40], ax
jne 0x48585f
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.00471210
lea edx, [esi + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + esi - 4], eax
mov dword [ebp - 4], 8
mov eax, dword [esi]
push ecx
push dword [ebp + 8]
lea ecx, [esi + 0x18]
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [esi]
mov edx, dword [eax + 4]
lea eax, [edx - 0x68]
mov dword [edx + esi - 4], eax
call fcn.004869e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4869e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6347e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.005c3873
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.005c16b4
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov dword [edi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x486aab
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
xor ecx, ecx
cmp eax, 0x7fffffff
ja 0x486b63
test eax, eax
je 0x486b47
lea ebx, [eax + eax]
cmp ebx, 0x1000
jb 0x486af2
lea eax, [ebx + 0x23]
or ecx, 0xffffffff
cmp eax, ebx
cmovbe eax, ecx
push eax
call fcn.005c3873
add esp, 4
test eax, eax
je 0x486b68
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x486b05
test ebx, ebx
je 0x486b03
push ebx
call fcn.005c3873
add esp, 4
mov esi, eax
jmp 0x486b05
xor esi, esi
push ebx
push dword [ebp + 8]
push esi
call fcn.005fe040
mov ecx, dword [ebp - 0x10]
lea eax, [ebx + esi]
mov dword [edi + 0x38], eax
add esp, 0xc
mov eax, dword [edi + 0xc]
mov dword [eax], esi
mov eax, dword [edi + 0x1c]
mov dword [eax], esi
mov eax, dword [edi + 0x2c]
mov dword [eax], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x38]
sub ecx, esi
sar ecx, 1
mov dword [eax], esi
mov eax, dword [edi + 0x20]
mov dword [eax], esi
mov eax, dword [edi + 0x30]
mov dword [eax], ecx
mov ecx, 1
jmp 0x486b4a
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.005c07ef
call fcn.00606fc9
int3

Function at 0x486c60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
xorps xmm0, xmm0
xor eax, eax
mov dword [esi], vtable.estrimp_char__13_.0
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov dword [esi + 0x14], 0x1e451a06
mov edx, dword [esi + 0x14]
mov ecx, eax
and ecx, 3
sar edx, cl
xor dl, byte [eax + str.SerialNumber]
mov byte [esi + eax + 4], dl
inc eax
cmp eax, 0xd
jb 0x486c85
mov eax, esi
pop esi
ret 4
Function at 0x486cb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, 1
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
mov dword [esi], vtable.estrimp_char__16_.0
lea ebx, [eax + 3]
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0x1e451a06
mov edx, dword [esi + 0x14]
lea ecx, [eax - 1]
and ecx, 3
sar edx, cl
mov ecx, eax
xor dl, byte [edi + eax - 1]
and ecx, 3
mov byte [esi + eax + 3], dl
mov edx, dword [esi + 0x14]
sar edx, cl
lea ecx, [eax + 1]
xor dl, byte [eax + edi]
and ecx, 3
mov byte [eax + esi + 4], dl
mov edx, dword [esi + 0x14]
sar edx, cl
lea ecx, [eax - 2]
xor dl, byte [eax + edi + 1]
and ecx, 3
mov byte [eax + esi + 5], dl
mov edx, dword [esi + 0x14]
sar edx, cl
xor dl, byte [eax + edi + 2]
mov byte [eax + esi + 6], dl
add eax, 4
sub ebx, 1
jne 0x486cd7
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x48e430
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634cb3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [esi], vtable.TiXmlElement.0
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 0xc], 0
mov dword [eax], vtable.TiXmlAttribute.0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0xf
mov byte [eax + 0x14], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0xf
mov byte [eax + 0x2c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x48], eax
mov dword [eax + 0x44], eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
push esi
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.0048eab0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48ec40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634dd3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x6a2f3c
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.00417150
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x492b30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635080
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.0049c090
add esp, 4
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x492b9f
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x492bb0
push 0x48
push esi
call fcn.005c385c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x492bd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6350a0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x6ce488]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edx, [esi + 0x48]
mov dword [esi], vtable.CryptoPP::StreamTransformationFilter.0
mov dword [esi + 4], vtable.CryptoPP::StreamTransformationFilter.1.0
mov dword [edx], vtable.CryptoPP::FilterPutSpaceHelper.0
mov dword [ebp - 4], 0
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
add ecx, 0xc
add ecx, edx
mov edx, dword [edx + 0x10]
mov edi, edx
push edx
mov ecx, dword [ecx]
rep stosb byte es:[edi], al
call fcn.0049c090
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.0049c090
add esp, 8
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x492c7d
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x495660
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x804]
mov ebx, ecx
push 0
push eax
call fcn.005feb40
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea ecx, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
mov esi, eax
call fcn.00484a70
test eax, eax
je 0x49579d
test esi, esi
je 0x4956c9
mov eax, dword [ebp - 0x808]
test eax, eax
jne 0x4956e2
lea ecx, [ebp - 0x808]
call fcn.00481030
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x49584c
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x804]
push ecx
push 0
push eax
push 0
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x804]
push eax
call edi
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495710
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00401e40
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005feb40
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0
push dword [ebp - 0x808]
push 0x17
push 0
call esi
lea eax, [ebp - 0x804]
push eax
call edi
lea edx, [ebp - 0x804]
lea ecx, [ebx + 4]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x495770
sub edx, esi
lea eax, [ebp - 0x804]
sar edx, 1
push edx
push eax
call fcn.00401e40
push dword [ebp - 0x808]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x49584c
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push 0
push 0
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x804]
push eax
call edi
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4957d0
sub ecx, edx
lea eax, [ebp - 0x804]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00401e40
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.005feb40
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push 0x17
push 0
call esi
lea eax, [ebp - 0x804]
push eax
call edi
lea edx, [ebp - 0x804]
lea ecx, [ebx + 4]
lea esi, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x495830
sub edx, esi
lea eax, [ebp - 0x804]
sar edx, 1
push edx
push eax
call fcn.00401e40
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c358e
mov esp, ebp
pop ebp
ret