Function at 0x469400
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4db2c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
push str.____________________Entrance____________________
lea ecx, [esp + 0x28]
lea eax, [edi + 0x1fc]
push ecx
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], str.MergeParts
call fcn.00471a00
add esp, 0xc
mov dword [esp + 0x38], 0
cmp dword [edi + 0x1e8], 0
jne 0x469498
push str.______________________Exit______________________
lea edx, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.00471a00
add esp, 0xc
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x1e0]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4694b3
push 0x80004005
call fcn.00405ef0
mov eax, dword [eax + 8]
lea esi, [esp + 0x18]
call fcn.004685b0
mov byte [esp + 0x38], 1
mov esi, dword [esp + 0x18]
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x20], esp
mov ebx, esp
call fcn.00408230
lea ecx, [esp + 0x18]
push ecx
add eax, 0x10
push edi
mov dword [ebx], eax
call fcn.00469900
lea edx, [esp + 0x10]
push edx
push edi
mov byte [esp + 0x40], 2
call fcn.00469710
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
call fcn.00408230
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x3c], 4
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.00408230
add eax, 0x10
mov dword [ebx], eax
mov ecx, edi
mov byte [esp + 0x40], 3
call fcn.0046a110
lea ecx, [edi + 0x254]
call fcn.00473500
push ecx
mov eax, esi
mov dword [esp + 0x24], esp
mov ebx, esp
call fcn.00408230
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x3c], 5
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call fcn.00408230
add eax, 0x10
mov dword [ebx], eax
push edi
mov byte [esp + 0x44], 3
call fcn.00469ae0
mov eax, edi
call fcn.00469a10
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4695aa
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
test al, al
jne 0x4695c4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4695c4
mov eax, dword [esp + 0x10]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
call fcn.00469670
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4695ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469631
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
push str.______________________Exit______________________
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00471a00
add esp, 0xc
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret