Function at 0x4119d0
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46fdd6
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4926cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x18], 0
call fcn.004200d0
push ecx
lea eax, [ebx + 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.00404040
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x411a87
cmp word [edi], 0
je 0x411a79
mov esi, edi
lea ecx, [esi + 2]
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x411a40
mov eax, dword [ebp - 0x20]
sub esi, ecx
sar esi, 1
add eax, esi
push eax
lea ecx, [ebp - 0x24]
call fcn.004045c0
mov ebx, dword [ebp - 0x24]
push edi
push eax
push ebx
call fcn.004544c5
add dword [ebp - 0x20], esi
add esp, 0xc
push edi
call fcn.004547da
add esp, 4
jmp 0x411a8a
mov ebx, dword [ebp - 0x24]
push edi
call fcn.004547da
add esp, 4
jmp 0x411a8a
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x411a9a
push eax
call fcn.004547da
add esp, 4
push str..zip
push ebx
call fcn.00455005
add esp, 8
test eax, eax
jne 0x411ab1
or eax, 0xffffffff
jmp 0x411ab5
sub eax, ebx
sar eax, 1
push eax
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00404460
mov edi, dword [eax]
test edi, edi
je 0x411ad0
cmp word [edi], 0
jne 0x411ad5
mov edi, 0x481274
mov esi, dword [eax + 4]
test edi, edi
je 0x411b22
cmp word [edi], 0
je 0x411b22
test esi, esi
jns 0x411aff
mov esi, edi
lea ecx, [esi + 2]
jmp 0x411af0
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x411af0
sub esi, ecx
sar esi, 1
push esi
lea ecx, [ebp - 0x24]
call fcn.004045c0
mov ebx, dword [ebp - 0x24]
push esi
push edi
push eax
push ebx
call fcn.00454b08
add esp, 0x10
xor eax, eax
mov word [ebx + esi*2], ax
mov dword [ebp - 0x20], esi
jmp 0x411b31
test ebx, ebx
je 0x411b31
xor eax, eax
mov word [ebx], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x411b48
push eax
call fcn.004547da
add esp, 4
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
test eax, eax
je 0x411b66
push eax
call fcn.004547da
add esp, 4
test ebx, ebx
je 0x411b72
cmp word [ebx], 0
mov eax, ebx
jne 0x411b77
mov eax, 0x481274
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x411bb6
sub esp, 0x14
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00403fa0
call fcn.00421890
add esp, 0x14
test ebx, ebx
je 0x411baa
cmp word [ebx], 0
mov eax, ebx
jne 0x411baf
mov eax, 0x481274
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x84], 0
je 0x411d11
lea edi, [eax + 0x80]
mov dword [ebp - 0x28], edi
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x411d0a
jmp 0x411be0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x411bed
cmp word [eax], 0
jne 0x411bf2
mov eax, 0x481274
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
je 0x411cbe
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x411c29
cmp word [ecx], 0
je 0x411c29
sub esp, 8
lea edx, [esi + 0x30]
call fcn.0041ac50
mov edi, dword [esi + 0x30]
add esp, 8
test edi, edi
je 0x411c29
cmp byte [edi], 0
jne 0x411c2e
mov edi, 0x479eb0
mov eax, dword [0x4969d0]
test al, 1
jne 0x411c7a
or eax, 1
mov dword [0x4969d0], eax
mov byte [ebp - 4], 1
sub esp, 8
mov dword [0x4969ac], 0
mov dword [0x4969b0], 0
mov dword [0x4969b4], 0
call fcn.00401b40
push 0x471ef0
call fcn.00453882
add esp, 4
mov byte [ebp - 4], 0
push edi
push str.delete_tmp_file_error__file___s
push str.UpdateMgr
push 0xe0
push str.managerUpdateMgr.cpp
push 2
push 0x496990
call fcn.00402130
mov eax, dword [esi + 0x24]
add esp, 0x1c
test eax, eax
je 0x411cab
cmp word [eax], 0
jne 0x411cb0
mov eax, 0x481274
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0xd], 0
jne 0x411d02
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x411ce3
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x411d02
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x411cd7
jmp 0x411d02
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x411d00
lea esp, [esp]
cmp esi, dword [eax + 8]
jne 0x411d00
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x411cf0
mov esi, eax
cmp esi, dword [edi]
jne 0x411be0
mov ecx, edi
call fcn.00414540
test ebx, ebx
je 0x411d1e
push ebx
call fcn.004547da
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x411d2e
push eax
call fcn.004547da
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00452ca6
mov esp, ebp
pop ebp
ret