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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x477d80
push eax
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x74]
push eax
call fcn.00406c47
mov eax, dword [ebp - 0x70]
add esp, 0xc
cmp dword [ebp - 0x5c], 8
jae 0x409675
lea eax, [ebp - 0x70]
push ebx
push edi
lea ecx, [ebp - 0x2c4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
je 0x4097a8
push esi
mov esi, 0x477d7c
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406c25
push 0x477d78
lea ecx, [ebp - 0x20]
call fcn.0040634a
test eax, eax
je 0x409776
push 0x477d70
lea ecx, [ebp - 0x20]
call fcn.0040634a
test eax, eax
je 0x409776
test byte [ebp - 0x2c4], 0x10
lea eax, [ebp - 0x20]
push eax
push esi
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2e8]
push eax
je 0x409737
call fcn.00406c47
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c7c
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x2e8]
call fcn.004064d9
lea eax, [ebp - 0x3c]
push eax
call fcn.0040963b
cmp dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x38]
pop ecx
jae 0x40972b
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x3c]
jmp 0x40976f
call fcn.00406c47
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00406c7c
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x2e8]
call fcn.004064d9
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x409765
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x58]
push ebx
push edi
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.004064d9
lea eax, [ebp - 0x2c4]
push eax
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40969f
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004064d9
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044fa41
leave
ret
Function at 0x4097c0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x21]
push ecx
push 3
xor esi, esi
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.00406a3d
xor eax, eax
cmp dword [ebp - 8], 8
lea edi, [ebp - 0x38]
mov dword [ebp - 0x3c], esi
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
jae 0x4097fc
lea eax, [ebp - 0x1c]
push esi
push esi
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x40982e
fldz
push esi
fstp qword [ebp - 0x2c]
push 1
lea ecx, [ebp - 0x20]
call fcn.004064d9
fld qword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fa41
leave
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
and eax, 0x7fffffff
and dword [ebp - 0x30], 0x80000000
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
mov dword [ebp - 0x34], esi
fild qword [ebp - 0x34]
fchs
faddp st(1)
fmul qword [0x477d90]
jmp 0x40980f
Function at 0x409bb2
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa0
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x409bd5
mov eax, dword [eax + 4]
jmp 0x409bd8
add eax, 4
push ebx
push esi
push edi
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.004098e3
lea eax, [ebp + 0x38]
push eax
call fcn.00408cb5
add esp, 0xc
lea eax, [ebp - 1]
push eax
push 3
xor ebx, ebx
push ebx
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00406a3d
xor eax, eax
cmp dword [ebp + 0x34], 8
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x20]
jae 0x409c1b
lea eax, [ebp + 0x20]
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
xor edi, edi
inc edi
cmp eax, edi
je 0x409c5b
mov byte [ebp - 1], bl
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004064d9
mov ecx, dword [ebp + 0x70]
mov al, byte [ebp - 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fa41
add ebp, 0x74
leave
ret
cmp dword [ebp + 0x4c], 3
ja 0x409c67
mov byte [ebp - 1], 1
jmp 0x409c32
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
push 3
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x54]
call fcn.00406a3d
lea eax, [ebp + 0x54]
push eax
call fcn.00408cb5
lea eax, [ebp + 0x54]
push eax
call fcn.00408bb1
pop ecx
pop ecx
test al, al
je 0x409c9f
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.004064d9
jmp 0x409c2f
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.00408664
mov esi, eax
jmp 0x409d27
lea eax, [ebp - 1]
push eax
push esi
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.00406a3d
lea eax, [ebp]
push eax
call fcn.00408cb5
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x409d3b
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00406a3d
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x54]
call fcn.004067b7
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004064d9
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.00408664
push ebx
push edi
lea ecx, [ebp]
mov esi, eax
call fcn.004064d9
cmp esi, 0xffffffff
jne 0x409cb8
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.004064d9
jmp 0x409c61
push ebx
push edi
lea ecx, [ebp]
call fcn.004064d9
jmp 0x409c93
Function at 0x40baf7
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x488058
push dword [esi]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00406c47
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x40bb2c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40bb85
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40bb85
push str..old
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c47
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x40bb63
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40bb6f
lea eax, [ebp - 0x1c]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064d9
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004064d9
add esi, 4
cmp esi, 0x488294
jl 0x40bb11
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fa41
leave
ret

Function at 0x40c0e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], str.VersionInfo
call fcn.004065bf
test al, al
je 0x40c198
push str.yyPath
push dword [esi + 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004075a5
lea eax, [ebp - 0x3c]
push eax
push 0x477d7c
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00406c47
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c7c
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004064d9
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40c164
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c17b
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c086
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004064d9
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064d9
jmp 0x40c0fe
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0044fa41
leave
ret

Function at 0x413771
Capabilities:
Check mutex on windows

Disassembly:
push esi
push str.0980E678_72D2_484b_B983_D4E17598D5B7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x41379f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41379f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x413ba9
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9ec]
sub esp, 0xa6c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x9e8], eax
push esi
push edi
lea eax, [ebp - 0x48]
push eax
push 0x26
xor esi, esi
push esi
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x413d3e
lea eax, [ebp + 0x7e0]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x413d4b
lea eax, [ebp - 0x40]
push eax
push str.Softwareduowanyy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x413c4f
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406c25
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c47
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [edi + 0x10]
call fcn.004067b7
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004064d9
lea ecx, [ebp - 0x64]
jmp 0x413d34
xor eax, eax
push 0x7fe
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1e]
push esi
push eax
call fcn.00450020
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push str.RootPath
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0x7fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x413cc4
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406c25
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c47
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [edi + 0x10]
call fcn.004067b7
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004064d9
jmp 0x413d31
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406c25
cmp dword [ebp - 0x28], 3
ja 0x413d22
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406c25
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c47
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.004067b7
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.004064d9
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.004064d9
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x10]
call fcn.004067b7
lea ecx, [ebp - 0x3c]
push esi
push 1
call fcn.004064d9
jmp 0x413d4b
push str.C:Program_Filesduowanyy
lea ecx, [edi + 0x10]
call fcn.00406a67
cmp dword [edi + 0x28], 8
jb 0x413d56
mov edi, dword [edi + 0x14]
jmp 0x413d59
add edi, 0x14
push edi
push 0x479f60
call fcn.0044f300
pop ecx
pop ecx
mov ecx, dword [ebp + 0x9e8]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fa41
add ebp, 0x9ec
leave
ret
Function at 0x413d7d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 8]
call fcn.004183c7
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00437686
lea ecx, [ebp - 8]
call fcn.00418710
mov edi, str._silence
push edi
lea ecx, [ebp - 8]
call fcn.004183c7
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.00437634
lea ecx, [ebp - 8]
mov bl, al
call fcn.00418710
test bl, bl
je 0x413e39
push 0x477d54
lea ecx, [ebp - 0xc]
call fcn.004183f9
push edi
lea ecx, [ebp - 8]
call fcn.004183c7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.0043764a
mov eax, dword [eax]
push dword [eax + 0xc]
lea ecx, [esi + 0x10]
call fcn.00406a67
lea ecx, [ebp - 8]
call fcn.00418710
lea ecx, [ebp - 0xc]
call fcn.00418710
cmp dword [esi + 0x24], 0
jne 0x413e23
mov ecx, esi
call fcn.00413ba9
mov byte [esi + 0x2c], 1
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.0043c188
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x413e2a

Function at 0x413f41
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push 0x7d0
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x413f64
push 0
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret

Function at 0x414235
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push str.Softwareduowanyy
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x414286
cmp dword [esi + 0x20], 8
mov eax, dword [esi + 0x1c]
jb 0x414262
mov esi, dword [esi + 0xc]
jmp 0x414265
add esi, 0xc
add eax, eax
push eax
push esi
push 1
push 0
push str.RootPath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x414291
push str.YYSetupCore::_writeRegedit__RegCreateKey_STR_YY_REG_LOCATION_fail.
call fcn.0044f300
pop ecx
pop esi
leave
ret
Function at 0x414369
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x41446c
lea eax, [ebp - 4]
push eax
push 0x480898
push 1
push esi
push 0x4808b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4143ac
push str.YYSetupCore::_createShortcut__CoCreateInstance_fail.
call fcn.0044f300
pop ecx
jmp 0x41445d
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], esi
je 0x4143cd
cmp dword [eax + 0x18], 8
jb 0x4143bf
mov eax, dword [eax + 4]
jmp 0x4143c2
add eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push esi
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x4143db
mov eax, dword [eax + 4]
jmp 0x4143de
add eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
lea eax, [ebp - 0x24]
push eax
call fcn.0040959d
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4143fd
mov eax, dword [eax + 4]
jmp 0x414400
add eax, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
push esi
push 1
lea ecx, [ebp - 0x24]
call fcn.004064d9
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x4808a8
push eax
call dword [ecx]
test eax, eax
jge 0x414437
push str.YYSetupCore::_createShortcut__QueryInterface_fail.
call fcn.0044f300
pop ecx
jmp 0x414454
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x414445
mov eax, dword [eax + 4]
jmp 0x414448
add eax, 4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push 2
push eax
push ecx
call dword [edx + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
leave
ret 0xc
Function at 0x414d18
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x1fc]
sub esp, 0x27c
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x1f8], eax
mov eax, dword [ebp + 0x204]
push ebx
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x208]
xor ebx, ebx
push ebx
mov edi, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x414d63
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x414da8
push esi
lea eax, [ebp - 0x20]
push eax
push 0x480898
xor esi, esi
inc esi
push esi
push ebx
push 0x4808b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x414d9f
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x4808a8
push eax
call dword [ecx]
test eax, eax
jge 0x414dc1
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
pop esi
mov ecx, dword [ebp + 0x1f8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0044fa41
add ebp, 0x1fc
leave
ret 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ebx
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x14]
xor eax, eax
push 0x208
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x12]
push ebx
push eax
call fcn.00450020
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
add esp, 0xc
push 2
push ebx
push 0x104
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0xc]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406c25
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.004140b3
test al, al
je 0x414e4d
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00406c25
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406c25
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], 7
call fcn.00414159
mov byte [ebp - 0x15], bl
test al, al
jne 0x414e51
mov byte [ebp - 0x15], 1
test byte [ebp - 0x1c], 4
je 0x414e65
and dword [ebp - 0x1c], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.004064d9
test byte [ebp - 0x1c], 2
je 0x414e79
and dword [ebp - 0x1c], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.004064d9
test byte [ebp - 0x1c], 1
je 0x414e89
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004064d9
cmp byte [ebp - 0x15], bl
je 0x414ea4
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
jmp 0x414da7
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
lea eax, [ebp - 0x48]
push eax
call fcn.0040959d
cmp dword [eax + 0x18], 8
pop ecx
jb 0x414ec5
mov ecx, dword [eax + 4]
jmp 0x414ec8
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.004064d9
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push esi
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x18]
mov bl, 1
jmp 0x414e8e
Function at 0x414eed
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.YYSetupCore::_do3XUpdate_begin.
mov esi, ecx
call fcn.0044f300
mov dword [esp], str.yywizard.exe
add esi, 8
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c47
push 0x40
xor esi, esi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00450020
xor eax, eax
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
cmp dword [ebp - 8], 8
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], 0x44
jae 0x414f4e
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x414f8e
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.YYSetupCore::_do3XUpdate__wait_finish.
call fcn.0044f300
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x2c]
call edi
push str.YYSetupCore::_do3XUpdate_finish.
call fcn.0044f300
pop ecx
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.004064d9
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044fa41
leave
ret
Function at 0x415368
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x86c]
sub esp, 0x8ec
mov eax, dword [0x501f8c]
xor eax, ebp
mov dword [ebp + 0x868], eax
mov eax, dword [ebp + 0x87c]
push ebx
push esi
mov esi, dword [ebp + 0x878]
push edi
mov edi, dword [ebp + 0x874]
mov dword [ebp + 0x48], eax
xor eax, eax
push 0x7fe
mov word [ebp + 0x68], ax
xor ebx, ebx
lea eax, [ebp + 0x6a]
push ebx
push eax
mov dword [ebp + 0x44], esi
call fcn.00450020
add esp, 0xc
cmp esi, ebx
je 0x415493
mov esi, 0x4779bc
push esi
push edi
push esi
lea ecx, [ebp - 4]
call fcn.00406c25
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c7c
add esp, 0xc
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00406c47
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x18]
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.004064d9
push esi
push dword [ebp + 0x44]
lea ecx, [ebp - 0x20]
call fcn.00406c25
push eax
push 0x47aa78
lea ecx, [ebp - 0x3c]
call fcn.00406c25
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c7c
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406c47
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x4c]
call fcn.004066c0
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp + 0x18]
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.004064d9
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.004064d9
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x415475
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.00451911
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.004064d9
jmp 0x4154b3
cmp dword [edi + 0x18], 8
jb 0x41549e
mov edi, dword [edi + 4]
jmp 0x4154a1
add edi, 4
push edi
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.00451911
add esp, 0xc
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.00450020
xor eax, eax
mov dword [ebp + 0x34], ebx
lea edi, [ebp + 0x38]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x48]
lea eax, [ebp + 0x68]
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x415516
cmp byte [ebp + 0x880], bl
je 0x415506
push 0xffffffffffffffff
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp + 0x38]
call esi
mov ecx, dword [ebp + 0x868]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044fa41
add ebp, 0x86c
leave
ret 0x10