joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d4b0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov ecx, 0x51719f
call fcn.004bd4ad
mov dword [ebp - 0x18], 0xffffffff
mov byte [ebp - 1], 1
cmp dword [ebp + 8], 0
jne 0x40d4db
xor al, al
jmp 0x40d5dd
mov dword [ebp - 0x2c], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x258], 0x22c
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40d5c6
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x234]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dx, word [ecx]
mov word [ebp - 0xe], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax]
jne 0x40d569
cmp word [ebp - 0xe], 0
je 0x40d560
mov ecx, dword [ebp - 8]
mov dx, word [ecx + 2]
mov word [ebp - 0x10], dx
mov eax, dword [ebp - 0xc]
cmp dx, word [eax + 2]
jne 0x40d569
add dword [ebp - 8], 4
add dword [ebp - 0xc], 4
cmp word [ebp - 0x10], 0
jne 0x40d524
mov dword [ebp - 0x1c], 0
jmp 0x40d571
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x40d5ae
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x28], eax
push 1
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp eax, 1
je 0x40d5ae
mov byte [ebp - 1], 0
jmp 0x40d5c6
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0x20], eax
jmp 0x40d50b
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40d5da
xor al, al
jmp 0x40d5dd
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x40d720
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e12dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [ebp - 4], 0
mov ecx, 0x51719f
call fcn.004bd4ad
call fcn.00409e00
movzx eax, al
test eax, eax
je 0x40d79f
push 0
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x10], esp
lea ecx, [ebp + 8]
call fcn.00407560
push eax
mov ecx, esi
call fcn.00404890
call fcn.00411b70
add esp, 0x1c
push 1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x14], esp
lea ecx, [ebp + 8]
call fcn.00407560
push eax
mov ecx, esi
call fcn.00404890
call fcn.00411b70
add esp, 0x1c
jmp 0x40d7d7
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407560
push eax
push 0x4e7c4c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0
lea ecx, [ebp + 8]
call fcn.00407560
push eax
push str.taskbarpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e0f0
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ecx, 0x51719f
call fcn.004bd4ad
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e122
lea ecx, [ebp + 8]
call fcn.00407110
jmp 0x40e18d
push 0xf01ff
lea ecx, [ebp + 8]
call fcn.00407560
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e157
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp + 8]
call fcn.00407110
jmp 0x40e18d
lea edx, [ebp - 0x24]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea ecx, [ebp + 8]
call fcn.00407110
mov esp, ebp
pop ebp
ret

Function at 0x40e1a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, 0x51719f
call fcn.004bd4ad
lea ecx, [ebp - 0x28]
call fcn.00403250
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea ecx, [ebp + 8]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40e1f2
jmp 0x40e237
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404380
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404280
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40e231
mov ecx, dword [ebp + 0xc]
call fcn.00404380
cmp dword [ebp - 8], eax
je 0x40e233
jmp 0x40e237
xor edx, edx
jne 0x40e1c6
cmp dword [ebp - 4], 0xffffffff
je 0x40e247
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00403480
lea ecx, [ebp + 8]
call fcn.00407110
mov esp, ebp
pop ebp
ret
Function at 0x40e290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0efe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x51719f
call fcn.004bd4ad
mov ecx, dword [ebp + 8]
call fcn.00406750
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c0800
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c0800
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e340
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407480
push 0x4e804c
mov ecx, dword [ebp + 8]
call fcn.004078c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40e360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0efe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x51719f
call fcn.004bd4ad
mov ecx, dword [ebp + 8]
call fcn.00406750
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c0800
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c0800
add esp, 0xc
push 0
push 0x19
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e410
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407480
push 0x4e8048
mov ecx, dword [ebp + 8]
call fcn.004078c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40e460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0efe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov ecx, 0x51719f
call fcn.004bd4ad
mov ecx, dword [ebp + 8]
call fcn.00406750
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0x800
push 0
lea ecx, [ebp - 0x814]
push ecx
call fcn.004c0800
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c0800
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e510
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00407480
push 0x4e8044
mov ecx, dword [ebp + 8]
call fcn.004078c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40e530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e10cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov dword [ebp - 0x10], 0
mov ecx, 0x51719f
call fcn.004bd4ad
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x40e586
mov eax, dword [ebp + 8]
push eax
call fcn.0040e360
add esp, 4
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
jmp 0x40e61b
lea ecx, [ebp - 0x14]
call fcn.00406750
mov dword [ebp - 4], 0
push 0x800
push 0
lea edx, [ebp - 0x814]
push edx
call fcn.004c0800
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x814]
push eax
call fcn.004c0800
add esp, 0xc
push 0
push 0x10
lea ecx, [ebp - 0x814]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40e5f4
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407480
push 0x4e7c18
lea ecx, [ebp - 0x14]
call fcn.004078c0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406780
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407110
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40e630
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x51719f
call fcn.004bd4ad
mov byte [ebp - 1], 0
mov dword [ebp - 0x14], 0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp + 8]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40e691
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.00407110
lea ecx, [ebp + 0x10]
call fcn.00407110
mov al, byte [ebp - 2]
jmp 0x40e721
lea ecx, [ebp + 0x10]
call fcn.00407560
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40e6b2
jmp 0x40e6fe
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40e6c9
jmp 0x40e6fe
mov edx, dword [ebp - 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40e6f6
jmp 0x40e6fe
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x40e691
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
lea ecx, [ebp + 8]
call fcn.00407110
lea ecx, [ebp + 0x10]
call fcn.00407110
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x40e770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov ecx, 0x51726b
call fcn.004bd4ad
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40e79e
xor eax, eax
jmp 0x40e81e
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e7b5
xor eax, eax
jmp 0x40e81e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x40e801
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x40e801
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x40e7d8
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x40e80d
xor eax, eax
jmp 0x40e81e
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x40e81b
xor eax, eax
jmp 0x40e81e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4111b0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov ecx, 0x51736f
call fcn.004bd4ad
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411379
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x411228
mov dword [ebp - 0x10], 0x64
mov dword [ebp - 8], 0
jmp 0x41123a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x10]
jae 0x411379
mov dword [ebp - 4], 0
push 0x104
push 0
lea edx, [ebp - 0x228]
push edx
call fcn.004c0800
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0x104
push 0x104
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.004c0800
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push str._04u
push 0x104
lea edx, [ebp - 0x124]
push edx
call fcn.00410040
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4112d0
jmp 0x411231
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x228]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.NetCfgInstanceId
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x411303
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411231
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404280
push eax
call fcn.004c7931
add esp, 8
test eax, eax
je 0x41132e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411231
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push str.Characteristics
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41136a
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411379
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x411231
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret
Function at 0x4125e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e157d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov ecx, 0x5175dc
call fcn.004bd4ad
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00412a30
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411ff0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00412f80
mov dword [ebp - 0x20], 0x4124e0
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.004183e0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.004c830b
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x412676
lea ecx, [ebp - 0x14]
call fcn.004184b0
jmp 0x412687
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.004bec6a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00412f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4126b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e157d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov dword [ebp - 0x10], ecx
mov ecx, 0x5175dc
call fcn.004bd4ad
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00412a30
add esp, 8
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.00411ff0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00412f80
mov dword [ebp - 0x20], 0x412560
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.004183e0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push 0
call fcn.004c830b
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x412746
lea ecx, [ebp - 0x14]
call fcn.004184b0
jmp 0x412757
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
push 6
call fcn.004bec6a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00412f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x413820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov ecx, 0x5174fd
call fcn.004bd4ad
xor eax, eax
jne 0x413833
cmp dword [ebp + 0xc], 0
je 0x413846
mov dword [ebp - 0xc], 1
jmp 0x41384d
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x413860
mov eax, 0xd
jmp 0x4138b5
xor edx, edx
jne 0x413837
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov ax, word [edx]
mov word [ebp - 2], ax
add dword [ebp - 8], 2
cmp word [ebp - 2], 0
jne 0x413873
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x14]
sar ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
lea eax, [edx + edx + 2]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413bd0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e182d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
mov ecx, 0x5175eb
call fcn.004bd4ad
lea eax, [ebp - 0x24]
push eax
call fcn.0040e290
add esp, 4
mov dword [ebp - 4], 0
push 0x4e9990
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20]
push eax
call fcn.0040e360
add esp, 4
mov byte [ebp - 4], 2
push 0x4e99b0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00407620
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.004073c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00407110
lea ecx, [ebp - 0x1c]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x18]
push edx
call fcn.0040e460
add esp, 4
mov byte [ebp - 4], 4
push 0x4e99d0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00407620
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [ebp - 0x3c]
push edx
call fcn.00417470
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004073c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00407110
push 0x4e99f0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00407620
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x14]
call fcn.004073c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00407110
lea ecx, [ebp - 0x14]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x10]
push eax
call fcn.0040c500
add esp, 4
mov byte [ebp - 4], 8
push 0x4e9a10
lea ecx, [ebp - 0x10]
call fcn.004078c0
lea ecx, [ebp - 0x10]
call fcn.00407560
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413d7d
lea ecx, [ebp - 0x10]
call fcn.00407560
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10]
call fcn.00407110
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00407110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00407110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00407110
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00407110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x414770
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov ecx, 0x5175eb
call fcn.004bd4ad
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4147a9
mov al, 1
jmp 0x4148d4
push 0x208
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.004c0800
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0x104
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x58], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.004c0800
add esp, 0xc
mov dword [ebp - 0x4c], str.runas
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x14]
call fcn.00406750
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x414832
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00407480
jmp 0x41483f
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00407480
lea ecx, [ebp - 0x14]
call fcn.00407560
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4148be
push 0x4e9d54
lea ecx, [ebp - 0x18]
call fcn.00406860
mov byte [ebp - 4], 1
push 0x4e9d6c
lea ecx, [ebp - 0x18]
call fcn.004078c0
push 4
push 0x4e9d90
lea ecx, [ebp - 0x18]
call fcn.00407560
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x41489a
push 0
call fcn.004c815d
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407110
mov al, byte [ebp - 0xd]
jmp 0x4148d4
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00407110
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret