Function at 0x411d40
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x41adb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x34], 0
call sub.MFC70U.DLL_Ordinal_972
mov eax, dword [esi + 0x25c]
mov ebp, dword [sym.imp.MSVCR70.dll__wcsicmp]
push 0x41d7e0
push eax
call ebp
add esp, 8
test eax, eax
jne 0x411dd6
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x48], esp
mov ebx, esp
push edi
call fcn.004012c0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [ebx], eax
call fcn.00410a90
mov dword [esp + 0x34], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41209c
mov ecx, dword [edi]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
jmp 0x41209c
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esi + 0xe8]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00403d00
add esp, 0xc
mov edx, dword [esi + 0xf8]
mov eax, dword [edx - 0xc]
lea ecx, [esi + 0xf8]
add eax, 0xfffffffd
push eax
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x3c], 1
call fcn.00401e40
push 0x4224dc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x40], 2
call fcn.00403db0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.00401510
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x108]
mov eax, dword [eax - 0xc]
lea ecx, [esi + 0x108]
add eax, 0xfffffffc
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00401e40
mov edi, dword [esp + 0x3c]
add edi, 0xfffffff0
push edi
mov byte [esp + 0x38], 4
mov dword [esp + 0x28], edi
call fcn.004012c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov bl, 5
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.0040efd0
lea edx, [esp + 0x10]
push edx
lea eax, [esi + 0x10c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403d00
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 6
call fcn.00401510
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x34], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x40], 1
jne 0x411f3e
mov eax, dword [esi + 0x25c]
push 0x41d824
push eax
call ebp
add esp, 8
test eax, eax
jne 0x411f2e
mov eax, dword [esi + 0x284]
test eax, eax
jne 0x411f2e
lea eax, [esi + 0x104]
push eax
jmp 0x411f33
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x114]
call fcn.00401510
mov eax, dword [esi + 0x288]
test eax, eax
mov ebp, dword [esp + 0x10]
jne 0x411f8e
mov eax, dword [esi + 0x28c]
test eax, eax
jne 0x411f8e
mov eax, dword [esi + 0x25c]
push 0x41d824
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x411f79
mov eax, dword [esi + 0x284]
test eax, eax
je 0x411ff5
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x18]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x411ff5
mov eax, dword [esi + 0x25c]
push 0x41d824
push eax
call dword [sym.imp.MSVCR70.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x411fb1
mov eax, dword [esi + 0x284]
test eax, eax
je 0x411ff5
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x44], esp
mov edi, esp
push eax
call fcn.004012c0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
push eax
mov byte [esp + 0x40], 7
call fcn.004012c0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
mov byte [esp + 0x3c], bl
call fcn.0040e970
mov edi, dword [esp + 0x24]
lea eax, [ebp - 0x10]
mov byte [esp + 0x34], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412014
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412037
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x34], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41205a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41207d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esp + 0x34], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41209c
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 8