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

Disassembly:
sub esp, 0x798
push ebx
push ebp
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
mov ebp, edx
cmp byte [edi], 0
je 0x417c06
lea eax, [esp + 0x320]
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x417c06
lea eax, [esp + 0x118]
xor ebx, ebx
push eax
push ebx
push 0x727a84
lea eax, [esp + 0x32c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
test eax, eax
je 0x417c06
push ebx
push ebx
push 0x104
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x12c]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea eax, [esp + 0x10]
push eax
push edi
push str.cygpath
push str._s__m___s_____s__2_nul
lea eax, [esp + 0x540]
push 0x273
push eax
call fcn.004148a9
mov ebx, dword [0x737b5c]
add esp, 0x18
mov dword [0x737b5c], 0x3e8
xor edi, edi
lea ecx, [esp + 0x530]
call fcn.00419040
cmp eax, 2
jne 0x417ba4
inc edi
cmp edi, 0xa
jb 0x417b8d
mov dword [0x737b5c], ebx
test eax, eax
jne 0x417bf8
lea eax, [esp + 0x118]
push 0x727aa4
push eax
call fcn.0044df70
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x417bf8
xor esi, esi
cmp dword [esp + 0x7ac], esi
jbe 0x417bf1
push edi
call fcn.0044e0e7
pop ecx
cmp eax, 0xffffffff
je 0x417bf1
cmp eax, 0xa
je 0x417bf1
mov byte [esi + ebp], al
inc esi
cmp esi, dword [esp + 0x7ac]
jb 0x417bd3
push edi
call fcn.0043f12a
pop ecx
lea eax, [esp + 0x118]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x798
ret

Function at 0x41825c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
push ebx
push esi
push edi
push 0
push 2
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32First]
jmp 0x4182aa
cmp dword [esp + 0x18], ebx
je 0x4182b0
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32Next]
test eax, eax
jne 0x418298
jmp 0x4182b4
mov edi, dword [esp + 0x28]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4183f5
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push ecx
lea ecx, [esp + 0x1c]
mov ebp, edx
call fcn.0041776c
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ebx, ebp
xor edi, edi
or ebx, 0x8000
push 0
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x2c]
push 0x40
push ebx
push dword [esp + 0x2c]
call fcn.0044f3b2
mov esi, dword [esp + 0x2c]
add esp, 0x18
test eax, eax
push 0xffffffffffffffff
pop eax
cmovne esi, eax
test esi, esi
jns 0x4184a6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
je 0x418468
cmp eax, 0x20
je 0x41847f
cmp eax, 0x4c8
je 0x41847f
mov edx, dword [esp + 0x1c]
mov ecx, eax
call fcn.00417e3a
jmp 0x4184a6
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test ebp, 0x100
je 0x418492
cmp eax, 0x20
jne 0x418492
push 0xc8
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc edi
cmp edi, 5
jb 0x41841a
jmp 0x4184a6
cmp eax, 0xffffffff
je 0x4184a6
test al, 0x10
je 0x4184a6
call fcn.0043e220
mov dword [eax], 0x15
push dword [esp + 0x18]
call fcn.00430166
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4186a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041776c
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.00430166
mov eax, dword [ebp - 4]
or esi, 0xffffffff
pop ecx
cmp eax, esi
je 0x41872e
test al, 4
je 0x41872e
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x40
push ebx
push edi
call fcn.0044f339
mov edi, dword [ebp - 4]
add esp, 0x18
test eax, eax
cmovne edi, esi
test edi, edi
js 0x418786
push 0xa
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0044fbe3
push edi
mov esi, eax
call fcn.00450118
add esp, 0x10
cmp esi, 0xa
jne 0x418786
push esi
lea eax, [ebp - 0x10]
push eax
push str.__symlink_
call fcn.0043a888
add esp, 0xc
test eax, eax
jne 0x418786
jmp 0x418784
push edi
call fcn.004446f0
add eax, 5
push eax
call fcn.0043016b
mov esi, eax
push edi
push esi
call fcn.0044b510
push str..lnk
push esi
call fcn.0044b520
add esp, 0x18
lea ecx, [ebp - 0x10]
push esi
call fcn.0041776c
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.00430166
push esi
call fcn.00430166
mov eax, dword [ebp - 4]
pop ecx
pop ecx
cmp eax, 0xffffffff
je 0x418786
test al, 1
je 0x418786
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
Function at 0x41889f
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push ecx
lea ecx, [ebp - 0xc]
xor ebx, ebx
call fcn.0041776c
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4188e2
push dword [ebp - 0xc]
test al, 0x10
je 0x4188d8
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
setne bl
dec ebx
test eax, eax
jne 0x4188ed
jmp 0x4188e5
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4188ed
or ebx, 0xffffffff
mov ecx, dword [ebp - 8]
call fcn.00417e4b
push dword [ebp - 0xc]
call fcn.00430166
pop ecx
mov eax, ebx
pop ebx
leave
ret

Function at 0x4188fb
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
xor edi, edi
call fcn.004189fc
test al, al
jne 0x4189e7
mov ecx, esi
call fcn.004189fc
test al, al
jne 0x4189e7
push ebx
lea ecx, [ebp - 8]
call fcn.0041776c
push esi
lea ecx, [ebp - 0x10]
call fcn.0041776c
mov ecx, dword [ebp - 8]
call fcn.00418a38
mov ebx, dword [ebp - 0x10]
mov esi, eax
mov ecx, ebx
call fcn.00418a38
cmp esi, 1
jne 0x41897d
cmp eax, 2
jne 0x418966
or edi, 0xffffffff
call fcn.0043e220
mov dword [eax], 0x14
jmp 0x4189d5
cmp eax, 1
jne 0x4189a5
push ebx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x4189a5
or edi, 0xffffffff
xor ecx, ecx
jmp 0x4189d0
cmp esi, 2
jne 0x4189a5
cmp eax, 1
jne 0x418997
or edi, 0xffffffff
call fcn.0043e220
mov dword [eax], 0x15
jmp 0x4189d5
cmp eax, 2
jne 0x4189a5
push ebx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x418972
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
jne 0x4189d5
push dword [ebp - 8]
or edi, 0xffffffff
call fcn.0043e370
push ebx
mov esi, eax
call fcn.0043e370
cmp esi, eax
pop ecx
pop ecx
cmova eax, esi
mov ecx, eax
call fcn.00417e4b
push ebx
call fcn.00430166
push dword [ebp - 8]
call fcn.00430166
pop ecx
pop ecx
jmp 0x4189f5
or edi, 0xffffffff
call fcn.0043e220
mov dword [eax], 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418a38
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418a4d
test al, 0x10
sete bl
inc ebx
mov eax, ebx
pop ebx
ret
Function at 0x418f6f
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x4674a3
call fcn.00464890
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
or esi, 0xffffffff
mov ebx, edx
cmp byte [edi], 0
jne 0x418f9b
call fcn.0043e220
mov dword [eax], 2
jmp 0x41902f
push edi
lea ecx, [ebp - 0x24]
call fcn.004199db
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ebx
call fcn.0041776c
xor ebx, ebx
lea ecx, [ebp - 0x2c]
inc ebx
push edi
mov byte [ebp - 4], bl
call fcn.0041776c
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.00430166
mov eax, dword [ebp - 0x14]
pop ecx
cmp eax, esi
je 0x418fdf
test al, 0x10
jne 0x418fe1
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.DLL_CreateSymbolicLinkW]
mov eax, ebx
or eax, 2
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call edi
test al, al
jne 0x41901b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x419011
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call edi
test al, al
jne 0x41901b
mov ecx, dword [ebp - 0x18]
call fcn.00417e4b
jmp 0x41901d
xor esi, esi
push dword [ebp - 0x1c]
call fcn.00430166
push dword [ebp - 0x24]
call fcn.00430166
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4190d4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x73c0b0]
sub esp, 0x24
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
push edi
mov edi, edx
test al, 1
jne 0x41910e
or eax, esi
push str.kernel32.dll
mov dword [0x73c0b0], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ecx, eax
mov eax, dword [0x73c0b0]
mov dword [0x73c0b4], ecx
jmp 0x419114
mov ecx, dword [0x73c0b4]
test al, 2
jne 0x419133
push str.IsWow64Process2
or eax, 2
push ecx
mov dword [0x73c0b0], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x73c0b8], eax
jmp 0x419138
mov eax, dword [0x73c0b8]
test eax, eax
jne 0x419167
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
movzx eax, word [ebp - 0x24]
test eax, eax
je 0x41915a
cmp eax, 9
jne 0x419170
mov ecx, 0x8664
jmp 0x41915f
mov ecx, 0x14c
mov eax, dword [ebp + 8]
mov word [eax], cx
jmp 0x419170
push dword [ebp + 8]
push edi
push ebx
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x419179
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov edi, edx
lea eax, [ebp + 0xc]
push eax
push 0x20119
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4191c3
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4191c8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea edx, [ebp - 8]
mov ecx, eax
call fcn.004190d4
movzx ecx, word [ebp - 4]
lea eax, [esi + 0x1e0]
cmp ecx, 0x14c
je 0x419230
cmp ecx, 0x8664
je 0x419229
cmp ecx, 0xaa64
je 0x419222
push ecx
push str.arch0x_x
push 0xc
push eax
call fcn.004148a9
add esp, 0x10
jmp 0x41923d
push str.arm64
jmp 0x419235
push 0x473608
jmp 0x419235
push 0x727b0c
push eax
call fcn.0044b510
pop ecx
pop ecx
push ebx
mov ebx, 0x100
lea edi, [esi + 0xb]
push ebx
push edi
mov edx, str.Hostname
mov ecx, str.SystemCurrentControlSet_servicesTcpipParameters
call fcn.00419179
cmp byte [edi], 0
pop ecx
pop ecx
jne 0x41926c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
push str.Windows_NT
push esi
call fcn.0044b510
push 0x110
lea eax, [ebp - 0x18c]
push 0
push eax
call fcn.0043a570
add esp, 0x14
mov dword [ebp - 0x190], 0x114
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
push dword [ebp - 0x184]
lea eax, [esi + 0x10b]
push dword [ebp - 0x188]
push dword [ebp - 0x18c]
push str._lu._lu._lu
push 0xd
push eax
call fcn.004148a9
add esp, 0x18
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x184], 0x55f0
mov edi, str.SoftwareMicrosoftWindows_NTCurrentVersion
pop ebx
jae 0x4192f2
push 0x63
push eax
mov edx, 0x727bac
mov ecx, edi
call fcn.00419179
jmp 0x4192fd
push str.Windows_11
push eax
call fcn.0044b510
pop ecx
pop ecx
lea eax, [ebp - 0x18]
mov edx, str.DisplayVersion
push 9
push eax
mov ecx, edi
call fcn.00419179
lea eax, [ebp - 0x18]
xor ecx, ecx
cmp byte [ebp - 0x18], cl
push eax
push 0x20
pop eax
cmove eax, ecx
push eax
lea eax, [ebp - 0x7c]
push eax
push str._s_c_s
lea eax, [esi + 0x118]
push 0xc8
push eax
call fcn.004148a9
add esp, 0x20
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x419344
Capabilities:
Resolve function by parsing pe exports
Timestomp file

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push edx
lea ecx, [esp + 0x28]
xor ebx, ebx
call fcn.0041776c
push ebx
push 0x80
push 3
push ebx
push 3
push 0x100
push dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
or ebp, 0xffffffff
mov dword [esp + 0x20], eax
cmp eax, ebp
je 0x41947f
xor eax, eax
mov dword [esp + 0x18], 2
push 8
pop ecx
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2c]
stosd dword es:[edi], eax
lea esi, [esp + 0x2c]
mov dword [esp + 0x14], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x88]
lea edi, [esp + 0x42]
mov ecx, edi
sub eax, ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x88], 0
jne 0x4193cc
lea eax, [edi - 6]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
jmp 0x41942d
lea esi, [eax + edi]
lea eax, [esp + 0x5c]
push esi
push eax
call fcn.0044e73f
test eax, eax
mov eax, dword [esp + 0x78]
pop ecx
pop ecx
mov cx, word [esp + 0x68]
cmovne ebx, ebp
add eax, 0x76c
mov word [edi], cx
mov cx, word [esp + 0x64]
mov word [edi - 6], ax
mov eax, dword [esp + 0x6c]
mov word [edi + 2], cx
inc eax
mov cx, word [esp + 0x60]
mov word [edi - 4], ax
mov eax, dword [esi + 8]
mov word [edi + 4], cx
mov cx, word [esp + 0x5c]
mov word [edi + 6], cx
mov ecx, 0xf4240
cdq
idiv ecx
mov esi, dword [esp + 0x14]
mov word [edi + 8], ax
push esi
lea eax, [edi - 6]
push eax
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
test eax, eax
mov eax, dword [esp + 0x1c]
cmove ebx, ebp
add esi, 8
add edi, 0x10
mov dword [esp + 0x14], esi
sub dword [esp + 0x18], 1
jne 0x4193b6
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
test eax, eax
push esi
cmove ebx, ebp
mov ebp, ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test ebp, ebp
je 0x419488
mov ecx, dword [esp + 0x28]
call fcn.00417e4b
push dword [esp + 0x24]
call fcn.00430166
pop ecx
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x41949c
Capabilities:
Terminate process

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [0x737c80]
push ebp
push esi
push edi
or edi, 0xffffffff
mov dword [esp + 0x10], ecx
mov ebp, edx
test ebx, ebx
je 0x419575
test ecx, ecx
jle 0x419503
lea eax, [esp + 0x10]
push eax
call fcn.004196a2
mov esi, eax
test esi, esi
js 0x419575
push esi
call fcn.004196d4
push dword [0x737b5c]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x419522
cmp eax, 0x102
jne 0x419556
push 2
push esi
call fcn.004196d4
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
jmp 0x419522
push 0x40
pop eax
cmp ebx, eax
push 0xffffffffffffffff
push 0
cmova ebx, eax
call fcn.0041969c
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov esi, eax
cmp esi, ebx
jae 0x419575
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004196d4
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x41954c
test ebp, ebp
je 0x419544
mov eax, dword [esp + 0x14]
mov dword [ebp], eax
push esi
call fcn.00419745
mov edi, dword [eax]
mov eax, edi
test esi, esi
js 0x419570
test eax, eax
je 0x419581
push esi
call fcn.004196d4
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call fcn.004196e3
push esi
call fcn.00419714
cmp edi, 0xffffffff
jne 0x419581
xor edx, edx
mov ecx, 0x80
call fcn.00417e3a
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x41aacb
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4676d8
call fcn.00464890
sub esp, 0x80
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00413bab
push eax
lea ecx, [ebp - 0x30]
call fcn.00415ba3
mov edi, 0x472a1c
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00415c2c
lea eax, [esi + 0xd0]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040eaeb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x50]
call fcn.004119b6
mov esi, eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x30]
call fcn.0040fd55
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00401e1e
push eax
lea ecx, [ebp - 0x20]
call fcn.00415ba3
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x40]
call fcn.00415c2c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00415c2c
push 0x10
call fcn.00430174
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
lea ecx, [ebp - 0x8c]
push eax
mov dword [eax], 0x475090
mov dword [eax + 8], edx
inc dword [edx + 4]
push ebx
call fcn.00416cb3
push str._restart
lea ecx, [ebp - 0x8c]
call fcn.004134a3
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.004100da
push eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.004134e5
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
call fcn.00415c2c
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040ffdc
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040ed94
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00415cf7
xor dl, dl
mov ecx, eax
call fcn.00417826
mov ebx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x60]
shr ebx, 0x1f
call fcn.00415c2c
test bl, bl
jne 0x41aca9
lea ecx, [ebp - 0x20]
call fcn.00415cf7
push eax
lea ecx, [ebp - 0x10]
call fcn.0040173a
push 4
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_MoveFileExW]
test eax, eax
jne 0x41ac56
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
je 0x41ac56
xor ebx, ebx
inc ebx
jmp 0x41ac58
xor bl, bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004016a5
test bl, bl
je 0x41ac7f
lea eax, [ebp - 0x20]
mov edx, str.error_on_delayed_remove_of
push eax
lea ecx, [ebp - 0x60]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 0xa
jmp 0x41acbf
lea ecx, [ebp - 0x20]
call fcn.00415c2c
lea ecx, [ebp - 0x8c]
call fcn.0040eb3c
lea ecx, [ebp - 0x30]
call fcn.00415c2c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp - 0x20]
mov edx, str.cannot_spawn
push eax
lea ecx, [ebp - 0x60]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x74]
call fcn.00415063
push 0x733e20
lea eax, [ebp - 0x74]
push eax
call fcn.0043c83d
int3
Function at 0x41ae54
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x46775a
call fcn.00464890
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 0
push 0x41b336
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [0x739229], 0
je 0x41aec3
mov ecx, esi
call fcn.0041b046
lea ecx, [ebp - 0x11]
call fcn.0041c470
and dword [ebp - 4], 0
cmp byte [0x739226], 0
jne 0x41aea7
call fcn.0041c03b
mov ecx, eax
call fcn.0040882e
call fcn.0041c03b
push 1
mov ecx, eax
call fcn.004085be
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11]
call fcn.0041c383
jmp 0x41aee3
call fcn.0041c03b
mov ecx, eax
call fcn.00408860
mov ecx, 0x472afc
call fcn.00417a0e
mov ecx, 0x73b8f0
call fcn.004114bb
push 0
push 0x1c
pop edx
lea ecx, [ebp - 0x34]
call fcn.00413c3c
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [esp], 0x72824c
call fcn.004160b9
push eax
lea ecx, [ebp - 0x24]
call fcn.00415ba3
mov esi, 0x472a1c
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 2
call fcn.004114bb
lea ecx, [ebp - 0x24]
call fcn.00415c2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00415c2c
lea ecx, [ebp - 0x34]
call fcn.004119b6
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
call fcn.00411f39
lea ecx, [ebp - 0x34]
call fcn.00415c2c
lea ecx, [ebp - 0x24]
call fcn.00401d56
mov dword [ebp - 0x24], esi
push 6
pop ebx
mov byte [ebp - 4], bl
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x58]
call fcn.00411fea
test al, al
je 0x41afc6
lea ecx, [ebp - 0x24]
call fcn.00415cf7
push 2
mov edx, eax
mov ecx, str.BullseyeCoverage_.dll
call fcn.004181be
pop ecx
test eax, eax
jne 0x41af64
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x58]
call fcn.00411428
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.004114bb
lea ecx, [ebp - 0x44]
call fcn.00415c2c
jmp 0x41afc1
mov dword [ebp - 4], ebx
jmp 0x41af64
call fcn.0041b703
mov byte [ebp - 4], 0xa
call fcn.0041b9e6
call fcn.0041bcd6
mov dword [ebp - 4], ebx
jmp 0x41afeb
call fcn.0041b3c2
cmp byte [0x739229], 0
je 0x41b00a
mov edx, 0x73b8f0
mov ecx, str.installDir
call fcn.0040d7f2
jmp 0x41b00f
call fcn.0040d6ce
push 0
push 0
push 0
push SysReAllocString
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea ecx, [ebp - 0x24]
mov byte [0x73922c], 1
call fcn.00415c2c
lea ecx, [ebp - 0x58]
call fcn.00411fd7
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41b81d
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x4678e3
call fcn.00464890
mov eax, 0x1074
call fcn.00464120
push ebx
push esi
push edi
xor ebx, ebx
mov edi, edx
push ebx
mov esi, ecx
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x41b9ae
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x46ba74
push 1
push ebx
push 0x46bad4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41b890
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.004135b6
push eax
mov edx, str.CoCreateInstance:
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 3
jmp 0x41b9ce
push esi
lea ecx, [ebp - 0x14]
call fcn.0040173a
push ecx
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 4
call fcn.0041c079
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x14]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
jns 0x41b8e0
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.004135b6
push eax
mov edx, str.SetPath:
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 6
jmp 0x41b9ce
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0x46bb14
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x41b91b
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.004135b6
push eax
mov edx, str.QueryInterface:
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 8
jmp 0x41b9ce
push 0x800
lea eax, [ebp - 0x1080]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x1080]
push 1
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jns 0x41b97c
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.004135b6
push eax
mov edx, str.Save:
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x80]
call fcn.004168ec
pop ecx
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xa
call fcn.00415063
push 0x733e20
lea eax, [ebp - 0x60]
jmp 0x41b9df
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004016a5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.004135b6
push eax
mov edx, str.OleInitialize:
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x4c]
call fcn.004168ec
pop ecx
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00415063
push 0x733e20
lea eax, [ebp - 0x2c]
push eax
call fcn.0043c83d
int3