Function at 0x41c5e0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x475e96
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x48b2b0]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b2b0]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x25c]
xor esi, esi
push str.Delete_product_files_...
mov ecx, 0x48fcd8
mov dword [esp + 0x3c], esi
call fcn.00427400
lea eax, [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
add esp, 4
cmp dword [eax - 0xc], esi
je 0x41c8d7
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x78]
mov ebx, dword [ebp + 0x44]
add ecx, eax
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov edi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov esi, dword [ebp + 0x58]
mov eax, dword [ebp + 0x44]
test ebx, ebx
je 0x41c680
cmp ebx, eax
je 0x41c685
call fcn.0045a9dd
cmp edi, esi
je 0x41c7cd
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc eax
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.00428e30
test ebx, ebx
jne 0x41c7c2
call fcn.0045a9dd
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41c6ba
call fcn.0045a9dd
mov eax, dword [edi + 8]
mov ebx, dword [esp + 0x24]
push eax
lea edx, [esp + 0x34]
push edx
call fcn.00417e90
add esp, 8
xor ebx, ebx
mov dword [esp + 0x254], ebx
mov esi, dword [esp + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x41c76d
mov eax, dword [0x48eacc]
mov edx, dword [eax + 0xc]
mov ecx, 0x48eacc
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x254], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push str._s_d__x
lea edi, [esp + 0x2c]
call fcn.0040a040
mov edi, dword [esp + 0x2c]
add esp, 0xc
push edi
push esi
call fcn.0045b2c8
add esp, 8
cmp eax, ebx
jne 0x41c742
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp eax, ebx
jne 0x41c746
inc dword [esp + 0x18]
lea eax, [edi - 0x10]
mov byte [esp + 0x254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x41c7c9
call fcn.0045a9dd
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41c7b1
call fcn.0045a9dd
mov ecx, dword [edi]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov edi, ecx
jmp 0x41c672
mov eax, dword [ebx]
jmp 0x41c6b0
mov eax, dword [eax]
jmp 0x41c7a7
mov edx, dword [ebp + 0x74]
mov edi, dword [edx]
mov esi, dword [ebp + 0x60]
mov ebx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
test esi, esi
je 0x41c7e3
cmp esi, eax
je 0x41c7e8
call fcn.0045a9dd
cmp edi, ebx
je 0x41c8b9
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
inc eax
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.00428e30
test esi, esi
jne 0x41c8ae
call fcn.0045a9dd
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41c81d
call fcn.0045a9dd
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x46]
push eax
mov word [esp + 0x48], dx
call fcn.0045e0a0
mov ecx, dword [edi + 8]
mov ebx, dword [esp + 0x30]
add esp, 0xc
add ecx, 4
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00417e90
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x48]
push 0x104
push ecx
call fcn.0045a5b2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c881
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
call fcn.0040d280
test eax, eax
jne 0x41c892
inc dword [esp + 0x18]
test esi, esi
jne 0x41c8b5
call fcn.0045a9dd
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x41c8a7
call fcn.0045a9dd
mov edi, dword [edi]
jmp 0x41c7d5
mov eax, dword [esi]
jmp 0x41c813
mov eax, dword [esi]
jmp 0x41c89d
cmp dword [esp + 0x18], 0
jne 0x41c8c8
mov dword [esp + 0x38], 1
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx]
call fcn.0040d560
mov esi, dword [esp + 0x38]
push esi
push str.Delete_product_files_return:_d
mov ecx, 0x48fcd8
call fcn.00427400
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004599ac
add esp, 0x244
ret 4