joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4359ee
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x143c
call fcn.0046a6f0
mov eax, dword [0x512554]
xor eax, esp
mov dword [esp + 0x1438], eax
push ebx
push esi
push edi
mov eax, ecx
mov ebx, edx
push 0x4ceda8
xor esi, esi
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
call fcn.004833c4
pop ecx
pop ecx
push ebx
neg eax
push esi
sbb edi, edi
push 0x410
neg edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x435b32
mov ecx, ebx
call fcn.0043596e
test al, al
jne 0x435a83
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, esp
push dword [esp + 0x18]
call fcn.00402829
mov edx, edi
mov ecx, ebx
call fcn.004340ca
pop ecx
pop ecx
test eax, eax
jne 0x435b32
mov esi, dword [esp + 0xc]
jmp 0x435b79
test edi, edi
je 0x435b00
lea eax, [esp + 0xc]
push eax
push 0x1000
lea eax, [esp + 0x448]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x435afd
xor edi, edi
mov eax, dword [esp + 0xc]
shr eax, 2
cmp edi, eax
jae 0x435afd
push 0x208
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00482cf0
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
push dword [esp + edi*4 + 0x448]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x435af8
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0048b8f2
mov esi, eax
neg esi
pop ecx
sbb esi, esi
pop ecx
inc esi
inc edi
test esi, esi
je 0x435aa6
push ebx
jmp 0x435b73
push dword [esp + 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x435b32
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x428
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x435b49
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x1444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00469f6a
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
call fcn.0048b8f2
neg eax
pop ecx
sbb esi, esi
lea eax, [esp + 0x1c]
pop ecx
push eax
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
je 0x435b72
test esi, esi
je 0x435b49
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x435b34

Function at 0x4379fa
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
test ecx, ecx
je 0x437a35
mov edx, dword [0x517d04]
lea eax, [ebp - 8]
and dword [ebp - 4], 0
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
push eax
push str.iLogLevel
call fcn.0044057f
add esp, 0xc
test eax, eax
jne 0x437a35
cmp dword [ebp - 4], 1
jae 0x437a6c
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [0x517d04]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437a6c
push str.CollectData
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret
Function at 0x440448
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 8]
xor ebx, ebx
call fcn.00402829
mov eax, dword [ebp - 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4404ae
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push dword [ebp + 0xc]
push 1
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
neg eax
sbb ebx, ebx
inc ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00402e64
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x4404c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 1
push esi
cmp dword [eax], ebx
lea eax, [ebp - 4]
push edi
mov edi, ebx
mov dword [ebp - 8], 0x104
push eax
je 0x4404ed
push 0x20119
jmp 0x4404f2
push 0x20019
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x440568
push 0x208
call fcn.0048b178
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp esi, 0xea
jne 0x44055b
push edi
call fcn.0048b15d
mov eax, dword [ebp - 8]
add eax, eax
push eax
call fcn.0048b178
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x440568
mov ecx, dword [ebp + 0xc]
push edi
call fcn.0040286d
push edi
call fcn.0048b15d
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x44057f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0xc
push esi
push edi
xor edi, edi
cmp dword [eax], edi
lea eax, [ebp - 4]
push eax
je 0x44059b
push 0x20119
jmp 0x4405a0
push 0x20019
push edi
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4405db
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4405e1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov esi, edx
push eax
mov edi, ecx
xor ebx, ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x440641
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
cmove ebx, eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x440648
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push 0x4cc248
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4406a3
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xb
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 8
push eax
push esi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x4406a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x4cc248
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x440701
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push edi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
pop esi
cmove edi, eax
mov eax, edi
pop edi
leave
ret

Function at 0x440706
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44072d
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push dword [ebp - 4]
xor ebx, ebx
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret
Function at 0x4445ac
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x4b3498
call fcn.0046a57c
push 4
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x444602
push str.OpenSCManager_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x38]
call fcn.00402829
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x38]
pop ecx
call fcn.00414112
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.004446c0
jmp 0x4446ba
push 4
push str.MSIServer
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x444651
push str.OpenService_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x38]
call fcn.00402829
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
lea edx, [ebp - 0x38]
pop ecx
call fcn.00414112
pop ecx
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x4445f8
lea eax, [ebp - 0x40]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x4446a0
push str.QueryServiceStatusEx_failed_in_IsMsiBusy:
lea ecx, [ebp - 0x3c]
call fcn.00402829
push 2
pop esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x3c]
mov ecx, esi
call fcn.00414112
pop ecx
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x444648
xor eax, eax
inc eax
cmp dword [ebp - 0x2c], 4
push ebx
cmove esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
call fcn.0046a526
ret

Function at 0x4446c0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global_MSIExecute
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x4446e1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4446dd
xor eax, eax
ret
Function at 0x44675e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x512554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x20a
lea eax, [ebp - 0x41c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00482cf0
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00482cf0
add esp, 0x18
mov dword [ebp - 0x420], esi
mov ecx, 0x105
mov dword [ebp - 0x428], esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], esi
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x4d0240
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x446817
mov ecx, dword [ebp - 0x420]
cmp esi, 0x103
je 0x446811
mov eax, ecx
xor edx, edx
push 0xa
pop ecx
div ecx
mov ecx, eax
mov ax, word [edx*2 + str.0123456789]
mov word [edi + esi*2], ax
inc esi
test ecx, ecx
jne 0x4467ed
xor eax, eax
mov word [edi + esi*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x446834
push str.thsnYaVieBoda
mov edx, 0x104
mov ecx, edi
call fcn.0040d3cf
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469f6a
leave
ret
Function at 0x446843
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x4b39f0
call fcn.0046a57c
mov eax, edx
mov dword [ebp - 0x38], eax
mov esi, ecx
mov ecx, eax
xor ebx, ebx
call fcn.00402a6b
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00482cf0
add esp, 0xc
lea eax, [ebp - 0x30]
push 8
push ebx
push eax
call fcn.00482cf0
add esp, 0xc
lea eax, [ebp - 0x40]
push 8
push ebx
push eax
call fcn.00482cf0
mov eax, dword [esi]
add esp, 0xc
sub eax, 0x10
push eax
call fcn.00402d9f
add eax, 0x10
pop ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ebx
cmp dword [eax - 4], 1
jle 0x4468b5
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
call fcn.00402aac
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x48], eax
mov eax, dword [0x517cf4]
cmp dword [eax - 4], 1
jle 0x4468e2
push dword [eax - 0xc]
mov ecx, 0x517cf4
call fcn.00402aac
mov eax, dword [0x517cf4]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push str.Encrypted_by_Adobe.
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x44696c
cmp dword [ebp - 0x30], 0
lea edi, [ebp - 0x24]
mov esi, str.0123456789ABCDEF
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jbe 0x44695e
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
shr eax, 4
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call fcn.004241cb
mov eax, dword [ebp - 0x2c]
mov ecx, esi
movzx eax, byte [eax + ebx]
and eax, 0xf
movsx ax, byte [ebp + eax - 0x24]
movzx eax, ax
push eax
call fcn.004241cb
inc ebx
cmp ebx, dword [ebp - 0x30]
jb 0x446922
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x446998
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.00402829
xor ecx, ecx
mov byte [ebp - 4], 1
push ebx
lea edx, [ebp - 0x34]
inc ecx
call fcn.00414061
pop ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00402e64
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a0b9
push 0xffffffffffffffff
mov ecx, 0x517cf4
call fcn.0040a0b9
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402e64
mov eax, ebx
call fcn.0046a526
ret
Function at 0x447271
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x4b3bdc
call fcn.0046a57c
mov dword [ebp - 0x430], edx
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x518354
mov ecx, dword [eax]
mov eax, dword [0x518350]
cmp eax, dword [ecx + 4]
jle 0x4472d6
mov esi, 0x518350
push esi
call fcn.0046a326
cmp dword [0x518350], 0xffffffff
pop ecx
jne 0x4472d6
call fcn.00450721
push eax
mov ecx, edi
call fcn.00402899
push 0x4b77a0
call fcn.0046a1ed
pop ecx
push esi
call fcn.0046a2dc
pop ecx
mov eax, dword [0x518354]
cmp dword [eax - 0xc], 0
jne 0x4473e4
call fcn.00450721
push eax
lea ecx, [ebp - 0x428]
call fcn.00402899
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00482cf0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
jne 0x447436
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x428]
call fcn.0040286d
push str.AdobeARM1.0_armsvc.exe
lea ecx, [ebp - 0x428]
call fcn.0040259d
push 0x208
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00482cf0
add esp, 0xc
mov dword [ebp - 0x42c], 0x104
lea eax, [ebp - 0x42c]
push esi
push esi
mov esi, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.msi.dll_MsiMessageBoxW]
mov edi, eax
test edi, edi
jne 0x447402
lea eax, [ebp - 0x420]
mov edi, 0x518354
push eax
mov ecx, edi
call fcn.0040286d
push str.found_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push 0
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 2
pop ecx
call fcn.00413930
pop ecx
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00402e64
mov edx, ebx
mov ecx, edi
call fcn.00441fb5
mov ecx, dword [ebp - 0x430]
test eax, eax
setne al
mov byte [ecx], al
xor eax, eax
call fcn.0046a526
ret
push str.unable_to_determine_service_version:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 3
pop ecx
call fcn.00414112
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
jmp 0x44746e
push str.SHGetFolderPath_failed:
lea ecx, [ebp - 0x424]
call fcn.00402829
push edi
push 2
lea edx, [ebp - 0x424]
mov byte [ebp - 4], 1
pop ecx
call fcn.00414112
pop ecx
mov ecx, dword [ebp - 0x424]
lea ecx, [ecx - 0x10]
call fcn.00402e64
mov esi, dword [ebp - 0x428]
lea ecx, [esi - 0x10]
call fcn.00402e64
mov eax, edi
jmp 0x4473fc
Function at 0x44824a
Capabilities:
Set registry value

Disassembly:
push 0x220
mov eax, 0x4b3e9c
call fcn.0046a57c
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x22c], esi
push ebx
push eax
call fcn.00482cf0
push 0xa
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00489bfe
add esp, 0x1c
lea eax, [ebp - 0x218]
lea ecx, [ebp - 0x220]
push eax
call fcn.00402829
push str.Server_to_set_iNotify_value_in_HKEY_CURRENT_USER:
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], ebx
call fcn.00402829
push ebx
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 2
lea edx, [ebp - 0x224]
pop ecx
call fcn.00413930
pop ecx
pop ecx
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00402e64
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00402e64
lea eax, [ebp - 0x21c]
mov edi, 0x4cc248
push eax
push edi
mov esi, SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44839b
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push ebx
push str.iNotify
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x21c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4483d0
push str.Server__RegSetValueEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x220]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x220]
mov dword [ebp - 4], 2
pop ecx
call fcn.00414061
pop ecx
mov ecx, dword [ebp - 0x220]
jmp 0x4483c8
push str.Server__RegOpenKeyEx__failed_to_set_iNotify_value_in_HKEY_CURRENT_USER
lea ecx, [ebp - 0x228]
call fcn.00402829
push ebx
push 2
lea edx, [ebp - 0x228]
mov dword [ebp - 4], 3
pop ecx
call fcn.00414061
pop ecx
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.0046a526
ret

Function at 0x4548f0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x454943
push esi
push dword [ebp + 8]
call fcn.00454ae4
mov edi, eax
test edi, edi
je 0x45493e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45493e
mov eax, dword [ebp - 8]
jmp 0x454955
mov eax, dword [ebp + 0x10]
jmp 0x454955
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x454960
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b579b
mov eax, dword fs:[0]
push eax
mov eax, 0x2018
call fcn.0046a6f0
mov eax, dword [0x512554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x58], 0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
je 0x454a97
push 0
push edx
call fcn.00454ae4
mov ebx, eax
test ebx, ebx
jne 0x4549c8
push esi
jmp 0x454abf
call fcn.00450721
push eax
lea ecx, [ebp - 0x2014]
call fcn.00402899
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x454a56
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.00402bd2
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.0040a0b9
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x454a84
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.00402d9f
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00402e64
jmp 0x454ac6
push esi
mov ecx, edi
call fcn.00402829
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x454a7d
test esi, esi
jne 0x454aa0
mov esi, 0x4cedac
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.00402829
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00469f6a
leave
ret 0x10

Function at 0x4562f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x45631b
cmp dword [edi + 0x80], 0
jne 0x45631b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0045eb23
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00456556
pop edi
pop esi
pop ebx
pop ebp
ret 8