joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e40
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov dword [ebp - 0x424], ecx
push 0x42d
mov ecx, 0x428d78
call fcn.004191f0
push eax
call fcn.00404530
add esp, 4
mov eax, dword [ebp - 0x424]
mov dword [eax + 0x100], 1
lea ecx, [ebp - 0x318]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x4235b8
lea edx, [ebp - 0x318]
push edx
call fcn.0041aa35
add esp, 8
push eax
lea eax, [ebp - 0x318]
push eax
call fcn.0041a280
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041a9bf
add esp, 4
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [0x428d70]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041a280
add esp, 8
push str._setup.exe
lea eax, [ebp - 0x108]
push eax
call fcn.0041a290
add esp, 8
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0041a280
add esp, 8
push 0x4235c8
lea eax, [ebp - 0x210]
push eax
call fcn.0041a290
add esp, 8
push 0x4235cc
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041a290
add esp, 8
push str..cab
lea edx, [ebp - 0x210]
push edx
call fcn.0041a290
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x424]
call fcn.00402150
test eax, eax
jne 0x402f9e
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x104], 0
jne 0x402f92
push str.FileSplit_error
push 0
call fcn.0040c8c0
add esp, 8
call fcn.004046a0
xor eax, eax
jmp 0x403031
lea ecx, [ebp - 0x318]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004041c0
add esp, 8
test eax, eax
jne 0x402fdf
mov eax, dword [ebp - 0x424]
cmp dword [eax + 0x104], 0
jne 0x402fd6
push str.DecompressFolder_error
push 0
call fcn.0040c8c0
add esp, 8
call fcn.004046a0
xor eax, eax
jmp 0x403031
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.004046a0
push 1
lea edx, [ebp - 0x318]
push edx
push str.setup.exe__install
mov ecx, dword [ebp - 0x424]
call fcn.00403040
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x424]
call fcn.00402d70
mov ecx, dword [ebp - 0x424]
mov dword [ecx + 0x100], 0
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov dword [ebp - 0x368], ecx
push 0x44
push 0
lea eax, [ebp - 0x360]
push eax
call fcn.0041abc0
add esp, 0xc
mov dword [ebp - 0x360], 0x44
mov dword [ebp - 0x334], 1
mov word [ebp - 0x330], 1
push 0x10
push 0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041abc0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x118]
push edx
call fcn.0041ae81
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4030f1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041a280
add esp, 8
push 0x423618
lea edx, [ebp - 0x318]
push edx
call fcn.0041a290
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041a290
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041ac20
add esp, 4
jmp 0x403104
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x318]
push ecx
call fcn.0041a280
add esp, 8
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x360]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x318]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40319d
cmp dword [ebp + 0x10], 0
je 0x40319d
mov dword [ebp - 0x364], 0
push 0x1f4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40315b
call fcn.0040cc30
jmp 0x40313e
lea eax, [ebp - 0x364]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x403189
cmp dword [ebp - 0x364], 0xffffffff
jne 0x403189
mov edx, dword [ebp - 0x368]
mov dword [edx + 0x108], 1
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4031b2
lea edx, [ebp - 0x118]
push edx
call fcn.0041ac20
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404530
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4293d8], 0
je 0x40453f
jmp 0x4045a0
mov eax, dword [ebp + 8]
push eax
push 0x4292d8
call fcn.0041a280
add esp, 8
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push 0x4045b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x4293d8], eax
cmp dword [0x4293d8], 0
je 0x404582
mov edx, dword [0x4293d8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [0x4293d8], 0
je 0x4045a0
cmp dword [0x4293dc], 0
je 0x404596
jmp 0x4045a0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x404582
mov esp, ebp
pop ebp
ret
Function at 0x405950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x130], ecx
lea eax, [ebp - 0x10c]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 4]
add edx, 0x7c
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041a280
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], edx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x124], eax
push 0
push str.folder_to_install
mov ecx, 0x428d78
call fcn.00419220
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], 0x60
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x405a4a
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx + 4]
add edx, 0x7c
push edx
call fcn.0041a280
add esp, 8
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 4]
add ecx, 0x7c
push ecx
push 0x3fa
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, 1
jmp 0x405a4c
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x408cf0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov dword [ebp - 0x348], ecx
lea eax, [ebp - 0x22c]
push eax
push 2
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x408d2a
xor eax, eax
jmp 0x408ea2
lea edx, [ebp - 0x11c]
push edx
push 0
push str.Manufacturer
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupGetLineByIndexA]
test eax, eax
je 0x408e90
push 0
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupGetLineTextA]
test eax, eax
je 0x408e90
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetLineCountA]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], 0
jmp 0x408dab
mov edx, dword [ebp - 0x234]
add edx, 1
mov dword [ebp - 0x234], edx
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x230]
jge 0x408e90
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x234]
push edx
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetLineByIndexA]
test eax, eax
je 0x408e8b
push 0
push 0x104
lea edx, [ebp - 0x228]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupGetLineTextA]
test eax, eax
je 0x408e8b
push 0x2c
lea ecx, [ebp - 0x228]
push ecx
call fcn.0041c070
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x408e8b
mov edx, dword [ebp - 0x238]
add edx, 1
mov dword [ebp - 0x344], edx
push str.Enum_
lea eax, [ebp - 0x340]
push eax
call fcn.0041a280
add esp, 8
mov ecx, dword [ebp - 0x344]
push ecx
lea edx, [ebp - 0x340]
push edx
call fcn.0041a290
add esp, 8
push str.SUBSYS_00000000REV_11
lea eax, [ebp - 0x340]
push eax
call fcn.0041a290
add esp, 8
lea ecx, [ebp - 0x340]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x408d9c
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x408f40
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp - 8]
push ecx
push 0x408eb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x188], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x188], 0
je 0x408fa2
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18c], 1
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
jmp 0x408fa4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x409640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
cmp dword [ebp + 8], 0
jne 0x40965f
mov eax, 1
jmp 0x409756
push 0
push 0
push str.create_group
mov ecx, 0x428d78
call fcn.00419220
push eax
mov ecx, dword [ebp - 0x21c]
call fcn.0040a7d0
lea eax, [ebp - 4]
push eax
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x4244b8
lea eax, [ebp - 0x110]
push eax
call fcn.0041a290
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.0041a290
add esp, 8
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0041a97b
add esp, 8
cmp eax, 0xffffffff
jne 0x40972f
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.0041a280
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.0041a8f0
add esp, 4
movsx ecx, byte [ebp + eax - 0x219]
cmp ecx, 0x5c
je 0x409720
push 0x4244bc
lea edx, [ebp - 0x218]
push edx
call fcn.0041a290
add esp, 8
lea eax, [ebp - 0x218]
push eax
call fcn.00403e80
add esp, 4
mov ecx, dword [ebp - 0x21c]
add ecx, 0x7c
push ecx
lea edx, [ebp - 0x110]
push edx
push str.group
mov eax, dword [str.Uninstall_Info]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x409760
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov dword [ebp - 0x454], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x425290
push 1
push 0
push 0x4252a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x40991f
push 0x104
lea ecx, [ebp - 0x120]
push ecx
call fcn.0041ae81
add esp, 8
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x228]
push eax
call fcn.0041ac20
add esp, 4
lea ecx, [ebp - 0x340]
push ecx
push 0x4244c8
call fcn.0041a740
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x409904
lea edx, [ebp - 0x344]
push edx
push 0x4252b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x4098dd
push 0
lea eax, [ebp - 0x32c]
push eax
mov ecx, 0x428d78
call fcn.004192b0
push eax
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x344]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x4098cb
push 1
push 0
push 0x104
lea ecx, [ebp - 0x450]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [eax + 0xc]
lea edx, [ebp - 0x450]
push edx
call fcn.0040cbd0
add esp, 4
mov dword [ebp - 0x348], eax
cmp dword [ebp - 0x348], 0
je 0x4098cb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x348]
push ecx
call fcn.00422a76
add esp, 8
test eax, eax
jne 0x4098cb
push 0
push 0
push str.delete_old_shortcuts
mov ecx, 0x428d78
call fcn.00419220
push eax
mov ecx, dword [ebp - 0x454]
call fcn.0040a7d0
lea edx, [ebp - 0x32c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x344]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x344]
push edx
call dword [ecx + 8]
lea eax, [ebp - 0x340]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041a81a
add esp, 8
test eax, eax
je 0x409800
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041a6bd
add esp, 4
lea eax, [ebp - 0x120]
push eax
call fcn.0041ac20
add esp, 4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
call dword [edx + 8]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x40a8a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 8], 0
jle 0x40a8b5
cmp dword [ebp + 0xc], 0
jne 0x40a8bf
mov eax, 1
jmp 0x40aa22
push 0
push 0x4245e0
mov ecx, 0x428d78
call fcn.00419220
push eax
push 0
mov ecx, dword [ebp - 0x68]
call fcn.0040a7d0
mov dword [ebp - 4], 0
jmp 0x40a8ed
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x40aa1d
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.0040a7d0
mov ecx, dword [ebp - 0x68]
call fcn.0040a780
mov ecx, dword [ebp - 0x68]
call fcn.0040b2d0
test eax, eax
je 0x40a922
xor eax, eax
jmp 0x40aa22
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x1a8], 0
jne 0x40a95b
push str.appsdfm.exe
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00422a76
add esp, 8
test eax, eax
jne 0x40a95b
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041a8f0
add esp, 4
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 1]
mov dword [ebp + 0xc], edx
jmp 0x40a8e4
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.0041abc0
add esp, 0xc
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 1
mov word [ebp - 0x30], 5
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041abc0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40a9e6
push 0x1f4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40a9d0
call fcn.0040cc30
jmp 0x40a9b3
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40aa02
push 0
push 0x4245fc
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a8f0
add esp, 4
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 1]
mov dword [ebp + 0xc], edx
jmp 0x40a8e4
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40aa30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov dword [ebp - 0x170], ecx
cmp dword [ebp + 8], 0
jle 0x40aa4b
cmp dword [ebp + 0xc], 0
jne 0x40aa55
mov eax, 1
jmp 0x40abde
push 0
push str.running_ext
mov ecx, 0x428d78
call fcn.00419220
push eax
push 0
mov ecx, dword [ebp - 0x170]
call fcn.0040a7d0
mov dword [ebp - 4], 0
jmp 0x40aa86
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jge 0x40abd9
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x170]
call fcn.0040a7d0
mov ecx, dword [ebp - 0x170]
call fcn.0040a780
mov ecx, dword [ebp - 0x170]
call fcn.0040b2d0
test eax, eax
je 0x40aac4
xor eax, eax
jmp 0x40abde
push 0x44
push 0
lea eax, [ebp - 0x168]
push eax
call fcn.0041abc0
add esp, 0xc
mov dword [ebp - 0x168], 0x44
mov dword [ebp - 0x13c], 1
mov word [ebp - 0x138], 5
push 0x10
push 0
lea ecx, [ebp - 0x14]
push ecx
call fcn.0041abc0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x188]
push edx
push str.RUNDLL32.EXE_SETUPAPI.DLL_InstallHinfSection_DefaultInstall_132__s_s
lea eax, [ebp - 0x120]
push eax
call fcn.0041bae1
add esp, 0x10
mov ecx, dword [ebp - 0x170]
call fcn.00408f40
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x168]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40ab94
push 0x1f4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40ab7e
call fcn.0040cc30
jmp 0x40ab61
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40abb3
push 0
push str.CreateProcess___Failed
mov ecx, dword [ebp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x170]
call fcn.00408fb0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0041a8f0
add esp, 4
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 1]
mov dword [ebp + 0xc], edx
jmp 0x40aa7d
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40b040
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x12c], ecx
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.0041abc0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041a280
add esp, 8
push 0x4247a8
lea eax, [ebp - 0x108]
push eax
call fcn.0041a290
add esp, 8
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.0041a290
add esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], 2
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x11c], edx
mov word [ebp - 0x118], 0x210
mov dword [ebp - 0x116], 0
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x10e], 0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp dword [ebp - 0x116], 0
je 0x40b108
xor eax, eax
jmp 0x40b10d
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40b200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x12c], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0041a97b
add esp, 8
cmp eax, 0xffffffff
jne 0x40b22c
mov eax, 1
jmp 0x40b2c4
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.0041abc0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.0041a280
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], 3
lea edx, [ebp - 0x108]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], 0
mov word [ebp - 0x118], 0x14
mov dword [ebp - 0x116], 0
mov dword [ebp - 0x112], 0
mov dword [ebp - 0x10e], 0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
cmp dword [ebp - 0x116], 0
je 0x40b2bf
xor eax, eax
jmp 0x40b2c4
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x40b320
Capabilities:
Delete file
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
push str.RT_FILE
push 0x83
mov eax, dword [0x428d70]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40b422
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x428d70]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x428d70]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40b422
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b422
cmp dword [ebp - 8], 0
jbe 0x40b422
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0041a97b
add esp, 8
cmp eax, 0xffffffff
je 0x40b3c4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40b3c4
xor eax, eax
jmp 0x40b424
push 0x4247bc
mov edx, dword [ebp + 8]
push edx
call fcn.0041a676
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40b422
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041a378
add esp, 0x10
cmp dword [ebp - 8], eax
jne 0x40b40c
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041a568
add esp, 4
mov eax, 1
jmp 0x40b424
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0041a568
add esp, 4
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40bcf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 0
jne 0x40bd09
xor eax, eax
jmp 0x40be5c
push 0x65
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
push 0x28
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.0041abc0
add esp, 0xc
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x40c330
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x14], eax
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [str.setup_dvr]
mov dword [ebp - 8], ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0040c420
mov word [ebp - 4], ax
movzx eax, word [ebp - 4]
test eax, eax
jne 0x40bd95
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [str.setup_dvr]
push ecx
push 0
call fcn.0040c510
mov edx, dword [ebp - 0x34]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 4], 0
jne 0x40bdfe
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x34]
mov dword [eax + 0xc], 0
xor eax, eax
jmp 0x40be5c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
and eax, 1
je 0x40be1c
push 3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40be49
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
and edx, 0x10
je 0x40be3a
push 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40be49
push 1
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret