Function at 0x4263c7
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56fa0a
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
test ebx, ebx
setne al
movzx eax, al
push 0xb4b
push eax
mov edi, str.srcAppManager.cpp
call int.004922e6
pop ecx
pop ecx
lea esi, [esp + 0x14]
mov eax, ebx
call fcn.00461050
and dword [esp + 0x100], 0
lea eax, [esp + 0xb8]
call fcn.00420936
mov byte [esp + 0x100], 1
push dword [esp + 0x18]
call fcn.004957c1
push 1
xor edi, edi
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 0
call fcn.00404145
lea eax, [esp + 0xb8]
call fcn.00420acc
mov byte [esp + 0x100], 2
push dword [esp + 0x18]
call fcn.004957c1
push 1
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 0
call fcn.00404145
push ebx
call fcn.0040d7ed
pop ecx
lea ebx, [esp + 0xd4]
call fcn.00420efe
mov eax, ebx
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x108], 3
call fcn.00494aa3
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x104], 4
call fcn.00494c8e
pop ecx
push 1
lea esi, [esp + 0xbc]
mov bl, al
mov byte [esp + 0x104], 3
call fcn.00404145
test bl, bl
je 0x4265cb
cmp dword [esp + 0xe8], 8
mov eax, dword [esp + 0xd4]
jae 0x426517
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4265cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.004036c8
mov esi, eax
push str.Cannot_delete_
push esi
mov byte [esp + 0x108], 5
call fcn.00405d7d
push esi
lea ecx, [esp + 0xe0]
call fcn.0041193b
add esp, 0xc
push 0x586c18
push esi
call fcn.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [esp + 0xb8]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x100], 6
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x4265a0
lea eax, [esp + 0xb8]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xbc]
call fcn.00404145
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 3
call fcn.00402669
lea ebx, [esp + 0xb8]
call fcn.00420ebc
mov ebx, eax
lea eax, [esp + 0xd4]
mov byte [esp + 0x100], 7
call fcn.0040403a
push 1
xor edi, edi
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 3
call fcn.00404145
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00494aa3
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x104], 8
call fcn.00494c8e
pop ecx
push 1
lea esi, [esp + 0xbc]
mov bl, al
mov byte [esp + 0x104], 3
call fcn.00404145
test bl, bl
je 0x42671c
cmp dword [esp + 0xe8], 8
mov eax, dword [esp + 0xd4]
jae 0x426668
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42671c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.004036c8
mov esi, eax
push str.Cannot_delete_
push esi
mov byte [esp + 0x108], 9
call fcn.00405d7d
push esi
lea ecx, [esp + 0xe0]
call fcn.0041193b
add esp, 0xc
push 0x586c18
push esi
call fcn.00405d7d
pop ecx
pop ecx
push edi
push esi
call fcn.0041056c
lea eax, [esp + 0xb8]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x100], 0xa
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x4266f1
lea eax, [esp + 0xb8]
push eax
push 2
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xbc]
call fcn.00404145
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 3
call fcn.00402669
push 1
xor edi, edi
lea esi, [esp + 0xd8]
call fcn.00404145
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42673c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret