Function at 0x4261a6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b5167
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x631350]
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 0xb50
push eax
mov edi, str.srcAppManager.cpp
call fcn.0047f667
pop ecx
pop ecx
lea esi, [esp + 0x14]
mov eax, ebx
call fcn.00457cc6
and dword [esp + 0x100], 0
lea eax, [esp + 0xb8]
call fcn.004219b0
mov byte [esp + 0x100], 1
push dword [esp + 0x18]
call fcn.00483530
push 1
xor edi, edi
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 0
call fcn.00404589
lea eax, [esp + 0xb8]
call fcn.00421b46
mov byte [esp + 0x100], 2
push dword [esp + 0x18]
call fcn.00483530
push 1
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 0
call fcn.00404589
push ebx
call fcn.0040db1b
pop ecx
lea ebx, [esp + 0xd4]
call fcn.00421f78
mov eax, ebx
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x108], 3
call fcn.00482763
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x104], 4
call fcn.004828d0
pop ecx
push 1
lea esi, [esp + 0xbc]
mov bl, al
mov byte [esp + 0x104], 3
call fcn.00404589
test bl, bl
je 0x4263aa
cmp dword [esp + 0xe8], 8
mov eax, dword [esp + 0xd4]
jae 0x4262f6
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4263aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403aba
mov esi, eax
push str.Cannot_delete_
push esi
mov byte [esp + 0x108], 5
call fcn.0040635f
push esi
lea ecx, [esp + 0xe0]
call fcn.00411d36
add esp, 0xc
push 0x5ca510
push esi
call fcn.0040635f
pop ecx
pop ecx
push edi
push esi
call fcn.004109e7
lea eax, [esp + 0xb8]
push eax
mov eax, esi
call fcn.00403b24
mov byte [esp + 0x100], 6
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x42637f
lea eax, [esp + 0xb8]
push eax
push 2
pop ecx
call fcn.0047feaf
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xbc]
call fcn.00404589
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 3
call fcn.004027ed
lea ebx, [esp + 0xb8]
call fcn.00421f36
mov ebx, eax
lea eax, [esp + 0xd4]
mov byte [esp + 0x100], 7
call fcn.0040447e
push 1
xor edi, edi
lea esi, [esp + 0xbc]
mov byte [esp + 0x104], 3
call fcn.00404589
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00482763
lea eax, [esp + 0xb8]
push eax
mov byte [esp + 0x104], 8
call fcn.004828d0
pop ecx
push 1
lea esi, [esp + 0xbc]
mov bl, al
mov byte [esp + 0x104], 3
call fcn.00404589
test bl, bl
je 0x4264fb
cmp dword [esp + 0xe8], 8
mov eax, dword [esp + 0xd4]
jae 0x426447
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4264fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403aba
mov esi, eax
push str.Cannot_delete_
push esi
mov byte [esp + 0x108], 9
call fcn.0040635f
push esi
lea ecx, [esp + 0xe0]
call fcn.00411d36
add esp, 0xc
push 0x5ca510
push esi
call fcn.0040635f
pop ecx
pop ecx
push edi
push esi
call fcn.004109e7
lea eax, [esp + 0xb8]
push eax
mov eax, esi
call fcn.00403b24
mov byte [esp + 0x100], 0xa
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x4264d0
lea eax, [esp + 0xb8]
push eax
push 2
pop ecx
call fcn.0047feaf
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0xbc]
call fcn.00404589
lea eax, [esp + 0x1c]
mov byte [esp + 0x100], 3
call fcn.004027ed
push 1
xor edi, edi
lea esi, [esp + 0xd8]
call fcn.00404589
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42651b
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.0055c9d4
mov esp, ebp
pop ebp
ret