Function at 0x419b91
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0x2a4
mov eax, 0x5903be
call fcn.005892d1
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a312
call fcn.0041d009
test al, al
je 0x419bdc
push ebp
push eax
push esi
pop ecx
pop esp
pop ebp
push ecx
push ebp
pop edi
pop ecx
pop edx
push ebp
pop edi
push ebx
push esp
pop edi
push ebp
push ebp
pop ebp
pop ecx
pop edi
push ebx
pop esi
pop ebp
pop edi
push ebx
pop esp
call fcn.0041ce6b
test al, al
je 0x419c03
push edi
pop ebp
push ebx
pop ecx
push esp
push ecx
push edi
pop edi
pop ebx
push ebx
pop edx
pop esp
pop ecx
pop esi
pop ebp
push esp
pop esp
push ebp
push ebx
pop ecx
pop esi
pop edi
pop esi
push esi
push ebx
pop ebp
push ebp
pop eax
push esi
pop ebx
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x419c7c
call fcn.0041cd12
test al, al
je 0x419c31
push ebx
pop ebp
pop esi
push esi
push esi
pop edx
push ecx
pop edi
pop edi
pop ebp
pop esp
push ebx
pop ebp
pop edi
pop ebp
push esi
push ecx
push edi
push esi
pop ebp
pop ecx
call fcn.0041ca60
test al, al
je 0x419c50
push eax
pop eax
push eax
pop ebp
pop esp
pop ebx
push ecx
push ebx
pop esi
push edi
pop ebp
pop ebp
push ebp
push ebp
push edx
push ebp
push esp
pop ebp
push ebx
pop ecx
push edx
push ebp
call fcn.0041cf3a
test al, al
je 0x41a312
push edx
push edx
pop ebx
push esp
pop esp
pop esp
push edx
pop esi
push esi
pop ecx
pop esp
push esp
pop ebp
pop ecx
pop ebx
push esp
pop ebx
push eax
pop edi
push esi
push ebp
pop edi
push ecx
push ebp
push ebp
push ecx
jmp 0x41a312
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00434140
add esp, 0xc
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], ebx
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push ebx
push 0x60dbc0
call fcn.00403020
mov dword [ebp - 4], ebx
call fcn.0041d0d8
test al, al
je 0x419cdf
pop ebx
push eax
pop ecx
pop esi
push ebx
pop edx
pop eax
pop eax
push ebp
push edi
push ebx
pop ebp
push esi
push ecx
push ecx
push eax
pop edx
push edi
pop ecx
push esp
push ebx
push ecx
call fcn.0041cfc4
test al, al
je 0x419d08
push ecx
pop ecx
push esi
push esp
pop ebp
push ebp
push ecx
pop eax
pop esp
pop ecx
pop eax
push ebx
pop eax
push eax
pop edx
pop ebp
push ecx
push edx
pop ebp
push edi
pop ecx
pop eax
push esi
push edx
pop edi
push esp
push esi
pop edx
pop edx
pop edi
push ebp
push ecx
call fcn.0041d093
test al, al
je 0x419d28
pop eax
push ebx
push esp
pop ebx
push edi
pop ecx
pop edx
push esi
pop eax
pop edx
pop ecx
push esi
push ebx
push esi
push esp
pop esp
pop eax
push esi
pop edi
pop ecx
push esp
push ebx
pop eax
call fcn.0041cf3a
test al, al
je 0x419d47
pop ebx
pop ecx
push eax
pop eax
pop esi
pop edi
push edx
pop ebp
push esi
pop esi
push ecx
push ecx
pop esi
push ebp
pop ecx
push edi
pop ebx
pop ebx
pop ebp
pop eax
pop eax
push edi
call fcn.0041cf3a
test al, al
je 0x419d61
pop ebx
pop eax
push esi
pop ebx
pop eax
pop ebx
pop ebx
push ecx
pop ecx
push edx
push edx
pop edi
pop esp
pop ebp
pop eax
pop esi
pop ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
push esi
push eax
call fcn.0041c335
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0041cd9c
test al, al
je 0x419db2
push eax
push esp
push ebp
push esi
pop ebp
push ecx
push edi
pop edx
pop edi
pop edi
push ebp
pop eax
push esp
pop ebx
pop esi
push ebx
push edi
pop esp
pop edi
pop ebp
push esi
pop edi
pop esi
mov esi, dword [ebp - 0x2ac]
call fcn.0041cef5
test al, al
je 0x419ddb
pop edx
pop eax
pop edi
pop ebx
push ebx
pop eax
pop esp
pop esp
push ebx
push eax
pop esp
pop ebx
push esi
push ebp
push esp
push ebx
push edx
pop esp
pop esp
pop esp
push eax
pop eax
push edx
pop esp
push ebx
pop ebx
pop edi
push ebx
pop edx
push esp
pop ecx
pop eax
lea eax, [ebp - 0x278]
push esi
push eax
call fcn.0041c713
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.0041ca60
test al, al
je 0x419e15
push esi
pop edi
pop edx
push edi
push esi
pop ecx
push ebx
push ebx
push edi
pop eax
push ebx
pop esi
pop ebx
push esi
pop edi
pop edx
push edx
push edi
pop ecx
push esp
pop esp
pop esp
push esp
pop edi
push eax
pop ecx
pop ebx
pop esp
push edx
pop ebp
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0041c713
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.0042c134
add esp, 0xc
call fcn.0041ce6b
test al, al
je 0x419e56
pop edx
pop eax
pop esi
pop esp
pop ebx
pop esi
push esi
pop edx
push ebp
push ebx
push ebx
push eax
pop eax
pop esp
pop edi
push esp
pop esp
pop eax
call fcn.0041cf3a
test al, al
je 0x419e75
push esi
pop esi
push ebp
push edi
push esi
push edx
push edx
pop ecx
push edx
push ebp
pop ebp
pop edi
push ebx
pop eax
push ebp
pop eax
pop ebx
push eax
push edi
pop eax
pop ebp
push esp
lea eax, [ebp - 0x260]
push eax
call fcn.0042c134
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.00403a40
test eax, eax
jne 0x419f30
call fcn.0041d11d
test al, al
je 0x419eb7
pop edi
push esp
push esi
pop ecx
pop edx
push esp
pop esi
pop ecx
push edx
pop edx
pop esp
pop esi
push esi
pop ebx
push edi
push eax
push esi
push ecx
call fcn.0041ceb0
test al, al
je 0x419ed6
pop ebp
pop ecx
push ecx
pop edi
push eax
pop ebp
pop ebp
push ebx
pop esi
push ecx
pop ebx
push edx
pop esi
push ebp
pop esp
pop esp
push esi
push edi
push ebp
pop ebx
pop esi
push esp
call fcn.0041ce6b
test al, al
je 0x419efd
push esi
pop ebp
push edx
pop esp
push edi
pop ebp
pop esi
pop ebx
pop eax
push ecx
push ebx
push esp
push ebx
push ecx
push edi
pop edx
pop edi
pop ebx
push eax
push eax
pop ecx
push ebx
push esp
pop edx
push ecx
pop esp
pop ebx
push ebp
pop ebp
push ebx
cmp word [ebp - 0x218], 0
jne 0x419f0b
xor eax, eax
jmp 0x419f18
lea eax, [ebp - 0x218]
push eax
call fcn.00443739
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00403020
jmp 0x419fb5
call fcn.0041caea
test al, al
je 0x419f51
push esi
pop edx
push ecx
pop eax
push edi
push eax
pop ebp
push ecx
push ebx
push esp
pop eax
push ebx
push esi
push edx
pop eax
pop ebx
push esi
pop ecx
push ecx
push eax
pop ebp
push edx
push esp
push esi
call fcn.0041d093
test al, al
je 0x419f6c
pop edx
pop ecx
pop ebp
pop edx
push ebp
push edi
pop esp
push eax
pop esi
pop ebp
push eax
push esp
pop ecx
pop ebp
pop edx
push esi
pop edx
pop ecx
call fcn.0041cef5
test al, al
je 0x419f86
push esi
pop edi
push eax
pop edi
push esi
push eax
push edx
pop esi
pop ebx
pop esi
push esp
pop ebx
pop esp
pop esi
push edi
push edi
push eax
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x290]
push eax
call fcn.0041c5c5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00402d30
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00402ec0
and dword [ebp - 0x2b0], 0
call fcn.0041cf7f
test al, al
je 0x419fdb
pop esp
push ebx
pop edx
pop esp
pop edi
push edi
pop ecx
pop esp
pop ecx
push eax
push edx
push edx
pop esp
push esi
push ebx
push ebx
pop eax
push edi
pop ebp
push esp
push esp
push esi
call fcn.0041ceb0
test al, al
je 0x41a000
push ebp
push edx
pop ebx
pop ebx
push esp
push eax
push edx
pop edx
push ebp
pop ecx
push edx
pop edx
pop esp
push edx
push ebx
pop ebx
push eax
push ecx
pop edx
push ebp
pop edi
pop esi
push esi
pop ecx
push edi
push eax
pop esi
push ebp
call fcn.0041cc43
test al, al
je 0x41a027
pop edi
pop edx
pop ebx
push ecx
push edx
pop esi
push edx
push esi
push esp
push edx
pop eax
pop eax
push edx
pop edi
pop ebp
pop esi
push edi
pop edi
push esp
pop esi
push esp
push esp
pop ecx
pop eax
push edi
push ebp
push edi
pop ebp
pop ebp
push esp
mov esi, dword [ebp - 0x2b0]
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x60dbc0
mov word [ebp - 0x230], ax
call fcn.00403020
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00403120
call fcn.0041ceb0
test al, al
je 0x41a09b
push edx
push edi
pop esp
push edx
push esp
pop ebx
pop ecx
pop edi
push esp
push esi
pop edi
push eax
pop ebp
push eax
push edi
push ebx
pop ecx
push esi
pop ebx
pop ebx
push esi
pop ecx
push esi
pop esp
push edx
push ecx
push eax
pop ebp
pop edi
push ebx
push ecx
pop ecx
call fcn.0041d093
test al, al
je 0x41a0c0
push eax
push ecx
pop eax
pop edi
pop esi
pop esp
pop ecx
pop ebx
push ebp
push edi
pop esi
pop edx
pop ebx
pop ebx
pop ebx
push eax
push ebp
push edx
push esi
push esi
pop esp
pop ebx
mov esi, dword [ebp - 0x2b0]
push 0xffffffffffffffff
xor ebx, ebx
lea eax, [ebp - 0x2a8]
push ebx
push eax
lea ecx, [ebp - 0x230]
call fcn.00403600
mov edi, 0x595198
push edi
call fcn.00443739
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.004034d0
test esi, esi
jle 0x41a12d
mov eax, esi
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004192aa
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00403600
push ebx
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.00402ec0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a1dd
call fcn.0041cccd
test al, al
je 0x41a177
push esi
push eax
push ecx
push ebp
push esp
push esp
push ebx
pop ebx
push ebp
pop esi
push edi
pop esp
push edx
push esp
pop edi
pop esi
pop ecx
push ebp
pop esi
pop esi
pop ebx
pop esp
pop edx
pop edi
mov esi, dword [ebp - 0x2b0]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41a1dd
call fcn.0041ca60
test al, al
je 0x41a1b5
push eax
pop ebp
push ebx
push ecx
pop esp
push edi
pop ebx
pop edx
push edx
push edx
pop esi
pop edi
push ebp
pop edi
pop edi
push edi
mov esi, dword [ebp - 0x2b0]
cmp esi, 0xa
jge 0x41a2c9
push 0
inc esi
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], esi
call fcn.00402ec0
jmp 0x41a02d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x2ac]
call fcn.004433ae
pop ecx
pop ecx
call fcn.0041ce26
test al, al
je 0x41a21f
pop ebx
push ebp
push ebx
pop esi
push ecx
push edx
pop ecx
pop esi
pop esp
pop ecx
pop edx
push eax
pop edx
pop esi
pop ecx
push ecx
push esi
pop edi
push esi
push edi
push ebp
push edi
pop ecx
call fcn.0041ce6b
test al, al
je 0x41a247
push ecx
pop ecx
pop ebp
push esp
pop edi
pop ebx
pop esi
pop esi
pop ebp
pop ebp
pop edx
push ebx
pop esi
push esi
push ecx
pop ebp
pop eax
push esp
push edi
pop esi
pop edi
pop edx
push ebx
push edx
pop eax
pop esp
push ebp
push edi
pop esi
push eax
push esp
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x230]
push eax
call ebx
test eax, eax
je 0x41a287
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x2ac]
call ebx
test eax, eax
je 0x41a2c9
call fcn.0041cd9c
test al, al
je 0x41a2b9
pop ebp
pop ecx
push esi
push ebp
pop eax
pop esi
pop edx
push ebx
push edx
pop esi
pop edi
push ecx
pop esp
push eax
pop ebp
push eax
push ebx
push ecx
pop edi
push ebx
pop ecx
pop edx
pop ebp
push eax
push esp
pop ebx
push esi
pop esi
push edi
push 5
push 0
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
lea ecx, [ebp - 0x230]
push 0
inc ebx
push ebx
call fcn.00402ec0
push 0
push ebx
lea ecx, [ebp - 0x260]
call fcn.00402ec0
push 0
push ebx
lea ecx, [ebp - 0x278]
call fcn.00402ec0
push 0
push ebx
lea ecx, [ebp - 0x2a8]
call fcn.00402ec0
push 0
push ebx
lea ecx, [ebp - 0x248]
call fcn.00402ec0
call fcn.0058928c
ret