Function at 0x40ae30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x41c]
push ebx
sub esp, 0x468
mov ebx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.nonexistent.manifest
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
xor edx, edx
xor eax, eax
sub esp, 0x18
mov dword [ebp + eax - 0x458], edx
add eax, 4
cmp eax, 0x1c
jb 0x40ae7c
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x454], esi
mov esi, dword [sym.imp.kernel32.dll_CreateActCtxW]
mov dword [ebp - 0x45c], 0x20
mov dword [esp], eax
call esi
sub esp, 4
mov edi, eax
mov eax, 0x483
call fcn.004012e0
xor eax, eax
cmp edi, 0xffffffff
mov dword [esp + 4], str.handle___INVALID_HANDLE_VALUE_n
sete al
lea edi, [ebp - 0x214]
mov dword [esp], eax
call fcn.00401dd0
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x484
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov dword [esp + 4], str.GetLastError___lu_n
mov dword [esp + 8], edx
cmp dword [eax + 0x34], 2
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x486
mov dword [esp], str.wrong_manifest1_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x488
mov dword [esp], str.wrong_manifest2_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x48a
mov dword [esp], str.wrong_manifest3_n
call fcn.00401870
mov dword [esp], 0
xor edx, edx
mov ecx, 1
mov eax, str._assembly_test_test__xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x48c
mov dword [esp], str.wrong_manifest4_n
call fcn.00401870
mov dword [esp], 0
xor edx, edx
mov ecx, 1
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity__test___test___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x48e
mov dword [esp], str.wrong_manifest5_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly__test___test_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x490
mov dword [esp], str.wrong_manifest6_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v5__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x492
mov dword [esp], str.wrong_manifest7_n
call fcn.00401870
mov dword [esp], 0
mov ecx, 1
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_type_win32__name_testdep__version_6.5.4.3__processorArchitecture_x86_____file_name_testlib.dll__hash_63c978c2b53d6cf72b42fb7308f9af12ab19ec5__hashalg_SHA1______assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x494
mov dword [esp], str.wrong_manifest8_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.2.3.4___name_Wine.Test__type_win32____assemblyIdentity__file___file___assembly_
call fcn.00403410
mov eax, 0x496
call fcn.004012e0
mov dword [esp], str.wrong_manifest9_n
call fcn.00401870
mov dword [esp], 1
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity__trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2_______security__________requestedPrivileges______________requestedExecutionLevel_level_requireAdministrator________________requestedExecutionLevel_uiAccess_true_____________requestedPrivileges_______security___trustInfo___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x498
mov dword [esp], str.wrong_manifest10_n
call fcn.00401870
mov dword [esp], 1
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0___name_Wine.Test__type_win32____assemblyIdentity__trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2_______security__________requestedPrivileges______________requestedExecutionLevel_level_requireAdministrator_____________requestedPrivileges_______security___trustInfo__trustInfo_xmlns_urn:schemas_microsoft_com:asm.v2_______security__________requestedPrivileges______________requestedExecutionLevel_uiAccess_true_____________requestedPrivileges_______security___trustInfo___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x49a
mov dword [esp], str.wrong_manifest11_n
call fcn.00401870
mov dword [esp], 1
xor edx, edx
mov ecx, 1
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.0.0.0__name_Wine.Test__type_win32_____file_name_testlib.dll_______activatableClass_name_Wine.Test.Class1__threadingModel_both______file___assembly_
call fcn.00403410
mov eax, 0x49c
call fcn.004012e0
mov dword [esp], str.UTF_16_manifest1_without_BOM_n
call fcn.00401870
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.bad.manifest
mov dword [esp + 4], 0
mov dword [esp], 0
call ebx
xor edx, edx
xor eax, eax
sub esp, 0x18
mov dword [ebp + eax - 0x438], edx
add eax, 4
cmp eax, 0x1c
jb 0x40b191
xor edx, edx
xor ecx, ecx
mov eax, str.bad.manifest
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x43c], 0x20
call fcn.00402890
lea eax, [ebp - 0x43c]
mov dword [esp], eax
call esi
sub esp, 4
mov ebx, eax
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x470
xor eax, eax
cmp ebx, 0xffffffff
sete al
mov dword [esp + 4], str.handle___INVALID_HANDLE_VALUE_n
mov dword [esp], eax
call fcn.00401dd0
mov eax, 0x471
call fcn.004012e0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
mov dword [esp + 4], str.GetLastError___lu_n
mov dword [esp + 8], edx
cmp dword [eax + 0x34], 0x36b1
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00401dd0
cmp ebx, 0xffffffff
je 0x40b23d
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_ReleaseActCtx]
sub esp, 4
mov dword [esp], str.bad.manifest
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x49e
mov dword [esp], str.manifest2_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
xor edx, edx
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.2.3.4__name_Wine.Test__type_win32____assemblyIdentity__dependency__dependentAssembly__assemblyIdentity_type_win32__name_testdep__version_6.5.4.3__processorArchitecture_x86____assemblyIdentity___dependentAssembly___dependency___assembly_
call fcn.00403410
call fcn.0057d110
mov dword [eax], 0x58109f
mov dword [eax + 4], 0x4a0
mov dword [esp], str.manifest2depmanifest1_n
call fcn.00401870
mov dword [esp], 0
xor ecx, ecx
mov edx, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_type_win32__name_testdep__version_6.5.4.4__processorArchitecture_x86______assembly_
mov eax, str._assembly_xmlns_urn:schemas_microsoft_com:asm.v1__manifestVersion_1.0___assemblyIdentity_version_1.2.3.4__name_Wine.Test__type_win32____assemblyIdentity__dependency__dependentAssembly__assemblyIdentity_type_win32__name_testdep__version_6.5.4.3__processorArchitecture_x86____assemblyIdentity___dependentAssembly___dependency___assembly_
call fcn.00403410
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret