joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4082f6
Capabilities:
Copy file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3cc]
push ebx
mov ebx, dword [ebp + 0x3c8]
push esi
push edi
mov dword [ebp - 0x60], eax
xor eax, eax
mov esi, 0x20a
push esi
push eax
mov word [ebp + 0x1b0], ax
lea eax, [ebp + 0x1b2]
push eax
call fcn.0044f760
xor eax, eax
push esi
push eax
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x5a]
push eax
call fcn.0044f760
mov edi, 0x102
push edi
push ebx
lea esi, [edi + 2]
lea eax, [ebp + 0x1b0]
push esi
push eax
call fcn.00450f7e
push edi
push dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.00450f7e
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.0044f760
and dword [ebp - 0x80], 0
lea eax, [ebp + 0x1b0]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x44
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x7c], 4
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4083d1
push dword [ebp - 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4083d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4083d3
inc eax
jmp 0x4083d3
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x3c0
leave
ret

Function at 0x409575
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.0044f760
add esp, 0xc
push edi
push 0x1a
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x476d48
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
call fcn.00406bde
push eax
push esi
call fcn.00406c00
add esp, 0xc
push edi
push 1
lea ecx, [ebp - 0x228]
call fcn.00406492
cmp dword [esi + 0x18], 8
jb 0x4095f8
mov eax, dword [esi + 4]
jmp 0x4095fb
lea eax, [esi + 4]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0044f17f
leave
ret
Function at 0x409798
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4fc448]
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.004069f6
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 0x4097d4
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 0x409806
fldz
push esi
fstp qword [ebp - 0x2c]
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
fld qword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f17f
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 [0x476d80]
jmp 0x4097e7
Function at 0x409b8a
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa0
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x7c]
cmp dword [eax + 0x18], 8
jb 0x409bad
mov eax, dword [eax + 4]
jmp 0x409bb0
add eax, 4
push ebx
push esi
push edi
push eax
lea eax, [ebp + 0x38]
push eax
call fcn.004098bb
lea eax, [ebp + 0x38]
push eax
call fcn.00408c8d
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.004069f6
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 0x409bf3
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 0x409c33
mov byte [ebp - 1], bl
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00406492
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00406492
mov ecx, dword [ebp + 0x70]
mov al, byte [ebp - 1]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x74
leave
ret
cmp dword [ebp + 0x4c], 3
ja 0x409c3f
mov byte [ebp - 1], 1
jmp 0x409c0a
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
push 3
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x54]
call fcn.004069f6
lea eax, [ebp + 0x54]
push eax
call fcn.00408c8d
lea eax, [ebp + 0x54]
push eax
call fcn.00408b89
pop ecx
pop ecx
test al, al
je 0x409c77
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.00406492
jmp 0x409c07
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.0040863c
mov esi, eax
jmp 0x409cff
lea eax, [ebp - 1]
push eax
push esi
push ebx
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp]
call fcn.004069f6
lea eax, [ebp]
push eax
call fcn.00408c8d
pop ecx
cmp dword [ebp + 0x14], ebx
je 0x409d13
lea eax, [ebp - 1]
push eax
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp + 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004069f6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x54]
call fcn.00406770
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00406492
push edi
push ebx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 0x54]
mov dword [ebp - 8], 0x5c
call fcn.0040863c
push ebx
push edi
lea ecx, [ebp]
mov esi, eax
call fcn.00406492
cmp esi, 0xffffffff
jne 0x409c90
push ebx
push edi
lea ecx, [ebp + 0x54]
call fcn.00406492
jmp 0x409c39
push ebx
push edi
lea ecx, [ebp]
call fcn.00406492
jmp 0x409c6b
Function at 0x40bc5e
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x487058
push dword [esi]
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00406c00
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x40bc93
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x40bcec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40bcec
push str..old
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
mov ecx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x40bcca
lea ecx, [ebp - 0x38]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40bcd6
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.00406492
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
add esi, 4
cmp esi, 0x4871f4
jl 0x40bc78
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f17f
leave
ret

Function at 0x40c291
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4fc448]
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.00406578
test al, al
je 0x40c349
push str.yyPath
push dword [esi + 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.0040755e
lea eax, [ebp - 0x3c]
push eax
push 0x476d6c
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c35
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00406492
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40c315
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c32c
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push eax
call fcn.0040c237
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406492
jmp 0x40c2af
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.0044f17f
leave
ret

Function at 0x4135ae
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 0x4135dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4135dc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x4139b4
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 [0x4fc448]
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 0x413b49
lea eax, [ebp + 0x7e0]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x413b56
lea eax, [ebp - 0x40]
push eax
push str.Softwareduowanyy
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x413a5a
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x64]
call fcn.00406bde
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [edi + 0x10]
call fcn.00406770
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406492
lea ecx, [ebp - 0x64]
jmp 0x413b3f
xor eax, eax
push 0x7fe
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x1e]
push esi
push eax
call fcn.0044f760
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 0x413acf
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406bde
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [edi + 0x10]
call fcn.00406770
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00406492
jmp 0x413b3c
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406bde
cmp dword [ebp - 0x28], 3
ja 0x413b2d
push str.duowanyy
lea eax, [ebp + 0x7e0]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406bde
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x3c]
call fcn.00406770
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x80]
call fcn.00406492
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 0x10]
call fcn.00406770
lea ecx, [ebp - 0x3c]
push esi
push 1
call fcn.00406492
jmp 0x413b56
push str.C:Program_Filesduowanyy
lea ecx, [edi + 0x10]
call fcn.00406a20
cmp dword [edi + 0x28], 8
jb 0x413b61
mov edi, dword [edi + 0x14]
jmp 0x413b64
add edi, 0x14
push edi
push 0x478a60
call fcn.0044ea3e
pop ecx
pop ecx
mov ecx, dword [ebp + 0x9e8]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f17f
add ebp, 0x9ec
leave
ret
Function at 0x413b88
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.00417cbe
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004369fc
lea ecx, [ebp - 8]
call fcn.00417ff8
mov edi, str._silence
push edi
lea ecx, [ebp - 8]
call fcn.00417cbe
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004369aa
lea ecx, [ebp - 8]
mov bl, al
call fcn.00417ff8
test bl, bl
je 0x413c44
push 0x476d44
lea ecx, [ebp - 0xc]
call fcn.00417cf0
push edi
lea ecx, [ebp - 8]
call fcn.00417cbe
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
call fcn.004369c0
mov eax, dword [eax]
push dword [eax + 0xc]
lea ecx, [esi + 0x10]
call fcn.00406a20
lea ecx, [ebp - 8]
call fcn.00417ff8
lea ecx, [ebp - 0xc]
call fcn.00417ff8
cmp dword [esi + 0x24], 0
jne 0x413c2e
mov ecx, esi
call fcn.004139b4
mov byte [esi + 0x2c], 1
xor esi, esi
inc esi
lea ecx, [ebp - 4]
call fcn.004237ce
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
xor esi, esi
jmp 0x413c35

Function at 0x414033
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 0x414084
cmp dword [esi + 0x20], 8
mov eax, dword [esi + 0x1c]
jb 0x414060
mov esi, dword [esi + 0xc]
jmp 0x414063
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 0x41408f
push str.YYSetupCore::_writeRegedit__RegCreateKey_STR_YY_REG_LOCATION_fail.
call fcn.0044ea3e
pop ecx
pop esi
leave
ret
Function at 0x414142
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 0x414245
lea eax, [ebp - 4]
push eax
push 0x47eeb8
push 1
push esi
push 0x47eed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x414185
push str.YYSetupCore::_createShortcut__CoCreateInstance_fail.
call fcn.0044ea3e
pop ecx
jmp 0x414236
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], esi
je 0x4141a6
cmp dword [eax + 0x18], 8
jb 0x414198
mov eax, dword [eax + 4]
jmp 0x41419b
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 0x4141b4
mov eax, dword [eax + 4]
jmp 0x4141b7
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.00409575
cmp dword [eax + 0x18], 8
pop ecx
jb 0x4141d6
mov eax, dword [eax + 4]
jmp 0x4141d9
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.00406492
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x47eec8
push eax
call dword [ecx]
test eax, eax
jge 0x414210
push str.YYSetupCore::_createShortcut__QueryInterface_fail.
call fcn.0044ea3e
pop ecx
jmp 0x41422d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x41421e
mov eax, dword [eax + 4]
jmp 0x414221
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 0x414af1
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x1fc]
sub esp, 0x27c
mov eax, dword [0x4fc448]
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 0x414b3c
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x414b81
push esi
lea eax, [ebp - 0x20]
push eax
push 0x47eeb8
xor esi, esi
inc esi
push esi
push ebx
push 0x47eed8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x414b78
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push 0x47eec8
push eax
call dword [ecx]
test eax, eax
jge 0x414b9a
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.0044f17f
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.0044f760
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.00406bde
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], esi
call fcn.00413eb1
test al, al
je 0x414c26
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x64]
call fcn.00406bde
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x80]
call fcn.00406bde
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov dword [ebp - 0x1c], 7
call fcn.00413f57
mov byte [ebp - 0x15], bl
test al, al
jne 0x414c2a
mov byte [ebp - 0x15], 1
test byte [ebp - 0x1c], 4
je 0x414c3e
and dword [ebp - 0x1c], 0xfffffffb
push ebx
push esi
lea ecx, [ebp - 0x80]
call fcn.00406492
test byte [ebp - 0x1c], 2
je 0x414c52
and dword [ebp - 0x1c], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x64]
call fcn.00406492
test byte [ebp - 0x1c], 1
je 0x414c62
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.00406492
cmp byte [ebp - 0x15], bl
je 0x414c7d
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 0x414b80
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.00409575
cmp dword [eax + 0x18], 8
pop ecx
jb 0x414c9e
mov ecx, dword [eax + 4]
jmp 0x414ca1
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.00406492
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 0x414c67
Function at 0x414cc6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.YYSetupCore::_do3XUpdate_begin.
mov esi, ecx
call fcn.0044ea3e
mov dword [esp], str.yywizard.exe
add esi, 8
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c00
push 0x40
xor esi, esi
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0044f760
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 0x414d27
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 0x414d67
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.YYSetupCore::_do3XUpdate__wait_finish.
call fcn.0044ea3e
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.0044ea3e
pop ecx
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f17f
leave
ret
Function at 0x4151e5
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x86c]
sub esp, 0x8ec
mov eax, dword [0x4fc448]
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.0044f760
add esp, 0xc
cmp esi, ebx
je 0x415310
mov esi, 0x4769b0
push esi
push edi
push esi
lea ecx, [ebp - 4]
call fcn.00406bde
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c35
add esp, 0xc
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00406c00
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp + 0x18]
call fcn.00406492
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.00406492
push esi
push dword [ebp + 0x44]
lea ecx, [ebp - 0x20]
call fcn.00406bde
push eax
push 0x479628
lea ecx, [ebp - 0x3c]
call fcn.00406bde
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00406c35
add esp, 0xc
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x4c]
call fcn.00406679
push ebx
push edi
lea ecx, [ebp - 4]
call fcn.00406492
push ebx
push edi
lea ecx, [ebp + 0x18]
call fcn.00406492
push ebx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00406492
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.00406492
cmp dword [ebp + 0x64], 8
mov eax, dword [ebp + 0x50]
jae 0x4152f2
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.00451051
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x4c]
call fcn.00406492
jmp 0x415330
cmp dword [edi + 0x18], 8
jb 0x41531b
mov edi, dword [edi + 4]
jmp 0x41531e
add edi, 4
push edi
lea eax, [ebp + 0x68]
push 0x3ff
push eax
call fcn.00451051
add esp, 0xc
push 0x40
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.0044f760
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 0x415393
cmp byte [ebp + 0x880], bl
je 0x415383
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.0044f17f
add ebp, 0x86c
leave
ret 0x10