joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4264a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46f1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
push str.lpjejejacegpedoejijbmkljeacjnnef
lea ecx, [esp + 0x10]
call fcn.0040258f
mov dword [esp + 0x38], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.ipbgnefajhcinjdihhidjmobopgpkmob
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.hpmcdiephomdkjdpgbbjhnlebeofkdcd
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
push 0x20
push str.bcehonhjgjaldgfkipcjocnlfgegajol
lea ecx, [esp + 0x14]
call fcn.00403e19
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042cbb0
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004025cc
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x428980
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f163
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x48b370]
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 edi, ecx
mov esi, edx
mov dword [ebp - 4], 0
push esi
call fcn.0040d3a0
add esp, 4
test al, al
je 0x4289d6
mov ecx, esi
mov edx, edi
call fcn.00409e40
test al, al
jne 0x4289f3
mov eax, 8
cmp dword [esi + 0x14], eax
jb 0x4289e2
mov esi, dword [esi]
cmp dword [edi + 0x14], eax
jb 0x4289e9
mov edi, dword [edi]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x428ad5
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.0044cdc7
mov esp, ebp
pop ebp
ret
Function at 0x428b90
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c304
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x48b370]
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 edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x308]
push eax
call fcn.00402ec2
mov ebx, 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x308]
push ecx
mov ecx, edi
call fcn.0040632c
add esp, 4
push str.installer::create_dir
lea ecx, [ebp - 0x234]
call fcn.0040258f
mov byte [ebp - 4], 2
push str.Installer.cpp
lea ecx, [ebp - 0x250]
call fcn.0040258f
mov byte [ebp - 4], 3
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x308]
call fcn.00402f86
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x234]
push eax
push 0x11e
lea ecx, [ebp - 0x250]
push ecx
push ebx
push ecx
call fcn.00439dc3
add esp, 4
push eax
call fcn.0043a160
mov byte [ebp - 4], 3
lea esi, [ebp - 0x26c]
call fcn.004026c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
call fcn.004025cc
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
call fcn.004025cc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
call fcn.00402f43
lea ecx, [ebp - 0x2b8]
call fcn.004029cc
push edi
call fcn.0040d3a0
add esp, 4
test al, al
jne 0x428e0a
mov ebx, 8
cmp dword [edi + 0x14], ebx
jb 0x428cb6
mov eax, dword [edi]
jmp 0x428cb8
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x428e03
xor edx, edx
mov word [ebp - 0x218], dx
push 0x1fe
push edx
lea eax, [ebp - 0x216]
push eax
call fcn.004556a0
add esp, 0xc
cmp dword [edi + 0x14], ebx
jb 0x428cee
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
push edi
push str.create_dir_failed_and_the_dir:_s_the_last_error_is:_d
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
call esi
mov esi, eax
lea edx, [ebp - 0x308]
push edx
call fcn.00403575
mov byte [ebp - 4], 5
push esi
push ecx
push 0x4768dc
lea eax, [ebp - 0x308]
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push str.installer::create_dir
lea ecx, [ebp - 0x250]
call fcn.0040258f
mov byte [ebp - 4], 6
push str.Installer.cpp
lea ecx, [ebp - 0x234]
call fcn.0040258f
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x308]
call fcn.00403624
mov byte [ebp - 4], bl
push eax
lea edx, [ebp - 0x250]
push edx
push 0x125
push 2
call fcn.00439dc3
lea ecx, [ebp - 0x234]
mov ebx, eax
call fcn.00439e02
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x26c]
call fcn.004025cc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x234]
call fcn.004025cc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x250]
call fcn.004025cc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
call fcn.004035e1
lea ecx, [ebp - 0x2b8]
call fcn.00402925
mov eax, 1
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.0044cdc7
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x428de7
Function at 0x429e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bfe3
mov eax, dword fs:[0]
push eax
sub esp, 0x334
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x228
lea ecx, [ebp - 0x298]
push 0
push ecx
mov dword [ebp - 0x2a0], eax
call fcn.004556a0
add esp, 0xc
push 0
mov esi, 0x22c
push 2
mov dword [ebp - 0x29c], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea edx, [ebp - 0x29c]
mov ebx, eax
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x429f7a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x33c]
push eax
call fcn.00403575
push esi
push ecx
lea ecx, [ebp - 0x33c]
push 0x4768dc
push ecx
mov dword [ebp - 4], 0
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push str.installer::get_process_ids
lea ecx, [ebp - 0x30]
call fcn.0040258f
push str.Installer.cpp
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0040258f
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 2
call fcn.00403624
push eax
lea eax, [ebp - 0x30]
push eax
push 0x1d0
push 2
mov byte [ebp - 4], 3
call fcn.00439dc3
lea ecx, [ebp - 0x4c]
mov ebx, eax
call fcn.00439e02
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004025cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004025cc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.004025cc
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 4], 0xffffffff
call fcn.004035e1
lea ecx, [ebp - 0x2ec]
call fcn.00402925
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret 4
push esi
lea ecx, [ebp - 0x29c]
push 0
push ecx
call fcn.004556a0
add esp, 0xc
lea edx, [ebp - 0x29c]
push edx
push ebx
mov dword [ebp - 0x29c], esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x42a03c
jmp 0x429fb0
mov eax, dword [ebp - 0x2a0]
call fcn.00402758
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0044eb71
add esp, 8
test eax, eax
jne 0x42a00e
mov esi, dword [edi]
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x294]
lea edx, [ebp - 0x2a4]
push edx
push eax
push esi
mov dword [ebp - 0x2a4], ecx
call fcn.00414f50
mov ecx, dword [edi + 4]
mov edx, 0x3ffffffe
sub edx, ecx
cmp edx, 1
jb 0x42a04a
inc ecx
mov dword [edi + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov esi, 0x22c
push esi
lea edx, [ebp - 0x29c]
push 0
push edx
call fcn.004556a0
add esp, 0xc
lea eax, [ebp - 0x29c]
push eax
push ebx
mov dword [ebp - 0x29c], esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x429fb0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x429f5d
push str.list_T__too_long
call fcn.00462317
int3
Function at 0x42b820
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b4d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
lea esi, [edi + 0x10]
lea ecx, [edi + 0x70]
mov dword [edi], 0x479bf8
mov dword [esi], 0x476ed8
call fcn.004042e9
mov dword [ebp - 4], ebx
lea ebx, [edi + 0x18]
push ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00408570
mov dword [ebp - 4], 2
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], esi
mov dword [esi + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 4
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov dword [edi + eax], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 5
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
mov esi, ebx
mov ecx, esi
mov dword [edi + edx], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x14], esi
call fcn.00405242
mov byte [ebp - 4], 6
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x48f150]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x4311a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b34a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x14], edi
lea ecx, [ebx + 0x60]
mov dword [ebx], 0x476ed8
call fcn.004042e9
push edi
push edi
lea esi, [ebx + 4]
mov dword [ebp - 4], edi
push esi
mov ecx, ebx
mov dword [ebp - 0x14], 1
call fcn.0040427e
mov dword [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.00405242
mov byte [ebp - 4], 2
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x48f150]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
or eax, 2
push eax
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00417a40
test eax, eax
jne 0x43133d
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx + 0xc]
add eax, ebx
or ecx, 2
cmp dword [eax + 0x38], 0
jne 0x4312a8
or ecx, 4
and ecx, 0x17
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 0x10]
and eax, ecx
je 0x43133d
mov dword [ebp - 0x1c], 1
test al, 4
je 0x4312eb
call fcn.0046219e
lea ecx, [ebp - 0x1c]
push ecx
push str.ios_base::badbit_set
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], eax
call fcn.00401a53
push 0x47fd74
lea edx, [ebp - 0x30]
push edx
call fcn.00451e4c
test al, 2
je 0x431316
call fcn.0046219e
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push str.ios_base::failbit_set
lea ecx, [ebp - 0x30]
call fcn.00401a53
push 0x47fd74
lea ecx, [ebp - 0x30]
push ecx
call fcn.00451e4c
call fcn.0046219e
lea edx, [ebp - 0x1c]
push edx
push str.ios_base::eofbit_set
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], eax
call fcn.00401a53
push 0x47fd74
lea eax, [ebp - 0x30]
push eax
call fcn.00451e4c
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x431360
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b2ea
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], esi
lea ecx, [ebx + 0x68]
mov dword [ebx], 0x4770f4
call fcn.004042e9
mov dword [ebp - 4], esi
lea esi, [ebx + 0x10]
push esi
mov edi, 1
push ebx
mov dword [ebp - 0x10], edi
call fcn.00408570
mov dword [ebp - 4], edi
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.00405242
mov byte [ebp - 4], 2
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x48f150]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp + 0xc]
push 0x21
mov edi, esi
mov byte [ebp - 4], 3
call fcn.00417a40
test eax, eax
jne 0x4314f2
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx + 0xc]
add eax, ebx
or ecx, 2
cmp dword [eax + 0x38], 0
jne 0x43145d
or ecx, 4
and ecx, 0x17
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 0x10]
and eax, ecx
je 0x4314f2
mov dword [ebp - 0x18], 1
test al, 4
je 0x4314a0
call fcn.0046219e
lea ecx, [ebp - 0x18]
push ecx
push str.ios_base::badbit_set
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00401a53
push 0x47fd74
lea edx, [ebp - 0x2c]
push edx
call fcn.00451e4c
test al, 2
je 0x4314cb
call fcn.0046219e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push str.ios_base::failbit_set
lea ecx, [ebp - 0x2c]
call fcn.00401a53
push 0x47fd74
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00451e4c
call fcn.0046219e
lea edx, [ebp - 0x18]
push edx
push str.ios_base::eofbit_set
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00401a53
push 0x47fd74
lea eax, [ebp - 0x2c]
push eax
call fcn.00451e4c
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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
Function at 0x434380
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469358
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x48b370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0044d42e
add esp, 4
cmp eax, ebx
je 0x434450
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0044d42e
add esp, 4
cmp eax, ebx
je 0x434439
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
lea ecx, [esi + 0x30]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.0040255a
lea ecx, [esi + 0x60]
call fcn.0040255a
mov word [esi + 0x7c], 1
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 4
push ebx
lea ecx, [ebp - 0x18]
call fcn.00401000
push 0x47fde4
lea edx, [ebp - 0x18]
push edx
call fcn.00451e4c
push ebx
lea ecx, [ebp - 0x24]
call fcn.00401000
push 0x47fde4
lea eax, [ebp - 0x24]
push eax
call fcn.00451e4c
int3

Function at 0x4396c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [esi + 0x18], edi
ja 0x43975a
lea eax, [ebp - 0x210]
push eax
push edi
push dword [esi + 4]
mov dword [ebp - 0x210], edi
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
test eax, eax
js 0x43975a
cmp dword [ebp - 0x210], edi
je 0x43975a
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004556a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x43974e
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040b340
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_ILFree]
mov ecx, dword [ebp - 4]
xor ecx, ebp
lea eax, [esi + 8]
pop edi
call fcn.0044cdc7
leave
ret
Function at 0x43b8bf
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x48b370]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
mov dword [ebp - 0x210], esi
call fcn.004556a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push 0x1c
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
pop esi
test eax, eax
js 0x43b93b
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x210]
test eax, eax
js 0x43b935
call dword [sym.imp.SHELL32.dll_ILFree]
jmp 0x43b97f
call dword [sym.imp.SHELL32.dll_ILFree]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 2
push str.Local_AppData
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
mov dword [ebp - 0x218], 1
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x43b98b
push edi
lea ecx, [ebp - 0x20c]
call fcn.0040b340
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044cdc7
leave
ret
Function at 0x43dfa5
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d7b8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x48b370]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push esi
mov eax, dword [0x48b370]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 5
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.WTSAPI32.dll_WTSQuerySessionInformationW]
test eax, eax
jne 0x43e144
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.00403575
mov dword [esp + 0x110], ebx
push esi
push ecx
lea eax, [esp + 0x1c]
push 0x4768dc
push eax
call fcn.0040667a
add esp, 0xc
push eax
call fcn.004027f8
push 0xf
pop esi
push 0x23
push str.path_manager::get_current_user_name
lea ecx, [esp + 0xd0]
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
call fcn.00403e19
mov byte [esp + 0x110], 1
push 0x10
push str.path_manager.cpp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
call fcn.00403e19
mov byte [esp + 0x110], 2
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x18]
call fcn.00403624
mov byte [esp + 0x110], 3
push eax
lea eax, [esp + 0xcc]
push eax
push 0xbc
push 2
call fcn.00439dc3
lea ecx, [esp + 0xbc]
mov ebx, eax
call fcn.00439e02
mov byte [esp + 0x110], 2
xor ebx, ebx
push ebx
push 1
lea ecx, [esp + 0xec]
call fcn.00403eaf
mov byte [esp + 0x110], 1
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.00403eaf
mov byte [esp + 0x110], bl
push ebx
push 1
lea ecx, [esp + 0xd0]
call fcn.00403eaf
or dword [esp + 0x110], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.004035e1
lea ecx, [esp + 0x64]
call fcn.00402925
push 2
pop eax
jmp 0x43e15d
mov ecx, dword [esp + 0xc]
add esi, 0x54
push esi
call fcn.0040b340
push dword [esp + 0xc]
call dword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
xor eax, eax
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.0044cdc7
mov esp, ebp
pop ebp
ret