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

Disassembly:
push 0x2a4
mov eax, 0x5a0e19
call fcn.00598680
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428aed
call fcn.0042673b
test al, al
je 0x4283fc
pop eax
pop ebp
pop edi
push ebx
push esi
pop edx
pop esp
push edx
pop esi
pop edx
push esp
pop edx
push ebx
pop edi
push esp
push ebp
push edx
pop esp
push edx
push edi
push esp
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
push edi
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x428437
call fcn.004269ed
test al, al
je 0x428aed
pop esp
push eax
push esp
push ebx
pop edx
pop ebp
pop ebp
pop edx
pop ebp
pop esi
push edx
pop ebp
pop edx
push ebx
pop ebx
push ebx
push ecx
pop ecx
pop eax
pop edx
pop esp
pop ebp
pop eax
push ebx
push esp
jmp 0x428aed
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00442fd0
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 0x5a355c
call fcn.00402400
mov dword [ebp - 4], ebx
call fcn.00426489
test al, al
je 0x4284a3
pop ecx
push ebx
pop eax
push esp
push edx
push esp
pop eax
pop esp
pop ebp
push esi
pop edi
push eax
pop edi
push eax
pop esi
push ebp
push ebx
push eax
pop esi
push edx
pop ebx
pop ecx
push ebx
push esi
pop ebx
pop edx
push edx
push ebp
push eax
push ebx
push esp
call fcn.00426444
test al, al
je 0x4284ca
pop eax
push edi
pop ebx
push esp
pop edi
push esp
pop ebp
push ecx
pop ecx
push edi
push ecx
pop edi
push eax
pop esp
push edx
push ecx
pop esi
push eax
pop ecx
push ebx
pop edi
push ebp
push ecx
push ecx
push eax
pop esp
pop esp
pop esp
push eax
push ebx
call fcn.004269ed
test al, al
je 0x4284ee
push ebp
pop ebx
push esi
pop edx
pop eax
push esp
push edx
pop edx
push ebp
push eax
pop ecx
push edi
pop esp
pop edx
pop esp
pop edi
push ebx
pop edi
pop edx
pop ebx
push ebx
pop eax
push ebx
push edx
push edi
push esp
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
push eax
call fcn.0042a28c
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0042691e
test al, al
je 0x428541
push ebp
push edx
pop ecx
pop edi
push eax
push edi
push esp
pop ecx
pop edx
push eax
push edx
pop ecx
push eax
push ecx
push eax
pop edi
pop ecx
pop edx
push esi
pop esp
pop eax
push edx
pop ebp
pop ebx
push ecx
push ebx
push edx
pop edi
push edx
push ecx
pop ecx
push ebx
call fcn.00426bd0
test al, al
je 0x428567
pop ebp
pop esp
push edx
push ebx
push ebp
pop esp
push eax
push edx
push eax
pop ecx
push ebp
pop esp
pop edx
pop ebx
push ebx
pop edx
pop edi
push ebp
push edx
push edi
pop ebp
pop ebp
push ebx
push ecx
pop eax
pop eax
pop esi
push ebx
pop ebx
call fcn.00426558
test al, al
je 0x428589
pop eax
pop esp
pop ecx
pop edi
push ebp
pop ebp
push ecx
pop esp
push edi
pop edx
push ecx
push ebp
push ecx
push eax
pop esi
pop edi
pop eax
pop ebx
pop esi
push esi
push ebp
push esp
push edx
push edi
pop edi
call fcn.004266b1
test al, al
je 0x4285a7
push edx
pop eax
push ebx
pop ebx
push eax
pop ebx
push ebx
pop edx
pop edx
push esp
push ebx
push esi
pop edx
push ebx
push edx
push ecx
pop ebx
push ecx
push edi
push edx
pop ebx
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x278]
push eax
call fcn.0042a602
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.0042691e
test al, al
je 0x4285db
pop edi
pop ebx
push ecx
pop esi
pop eax
pop ecx
pop esi
pop esi
pop esi
push edx
push ebp
pop ecx
pop ebp
push edx
pop eax
push edx
pop esi
pop ebx
push ebx
call fcn.00426444
test al, al
je 0x428602
pop ebp
pop esi
pop esp
pop ebp
pop esi
push esp
pop esi
pop edi
pop edi
push esi
push edx
pop esi
push edi
push ebp
push ebx
push ebp
push ecx
push edi
push ecx
push esi
push ebx
push ecx
pop esi
pop eax
pop esi
pop esi
pop ebx
push ecx
push esp
push eax
call fcn.0042691e
test al, al
je 0x42861d
pop ecx
push edi
push esi
pop esp
push ebx
pop esi
push esp
pop ebp
pop edx
pop edi
push edx
push ecx
push ebp
pop ecx
push eax
pop edi
pop esi
pop esp
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.0042a602
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.0042bebc
add esp, 0xc
call fcn.0042673b
test al, al
je 0x42865e
push ebp
pop ebx
push eax
push eax
pop ecx
pop ebx
pop ebp
push ebp
push eax
push edx
push esp
pop edi
pop esp
push ebx
push ebx
pop ebp
push esp
push esp
call fcn.00426627
test al, al
je 0x42867a
push eax
push ebp
push ebx
push edi
pop eax
push ecx
push esp
push ecx
push ecx
push edx
pop ebx
pop esi
push eax
pop esp
push edx
pop edi
pop ebx
pop ebp
pop ebp
lea eax, [ebp - 0x260]
push eax
call fcn.0042bebc
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.004295fe
test eax, eax
jne 0x428716
call fcn.00426b46
test al, al
je 0x4286c6
push edi
pop edi
push esp
push edi
push edx
pop eax
push eax
pop edx
pop ebx
pop ecx
pop ebx
push edx
push ecx
pop eax
push esp
pop edi
push esp
pop esi
push edi
push ebx
pop ebp
pop edi
push eax
pop esi
pop esp
pop esp
push edx
push ebp
pop esp
push ebp
push edx
pop esi
call fcn.0042659d
test al, al
je 0x4286e6
push ebx
pop esi
push edx
pop edx
pop esi
pop ecx
push eax
pop esp
pop ecx
pop edi
push eax
push esi
push edi
push edx
push ebx
push esp
push eax
pop esp
push ecx
push eax
pop ebp
pop ebx
pop esi
cmp word [ebp - 0x218], 0
jne 0x4286f4
xor eax, eax
jmp 0x428701
lea eax, [ebp - 0x218]
push eax
call fcn.0045329b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402400
jmp 0x428781
call fcn.00426b01
test al, al
je 0x428738
push ebx
pop esi
push edx
push ecx
push ebp
pop esp
pop ebp
pop edx
pop ecx
pop edi
push esp
pop ebp
pop edi
push esi
pop ecx
pop esi
push ecx
pop ebp
pop eax
push eax
pop ebp
pop ecx
push ebx
push eax
push edi
call fcn.00426489
test al, al
je 0x428752
push edx
pop edx
push eax
pop edi
pop eax
pop esp
pop esi
push eax
push edi
pop edi
pop ebp
pop eax
pop ecx
push eax
push edi
push esp
push ebx
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x290]
push eax
call fcn.0042a50b
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00402d90
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00427631
and dword [ebp - 0x2b0], 0
call fcn.0042691e
test al, al
je 0x4287ac
pop ebx
push ebx
push ecx
pop ecx
push eax
pop edi
push edi
pop ebx
pop edx
push edx
pop ebp
pop edi
pop esp
push eax
push esp
pop esi
push esp
pop esp
push ecx
push esi
push ebx
pop ebx
push edi
pop esp
pop ebx
pop edi
pop esp
call fcn.0042659d
test al, al
je 0x4287c5
pop ebx
pop eax
push esp
push esi
push eax
pop esp
push ebx
push edx
push ebp
pop ebx
push edi
pop edi
push esi
pop ecx
pop edx
pop edi
mov ebx, dword [ebp - 0x2b0]
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x230]
xor eax, eax
mov dword [ebp - 0x21c], 7
push eax
push 0x5a355c
mov word [ebp - 0x230], ax
call fcn.00402400
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.004022e0
call fcn.004265e2
test al, al
je 0x428831
pop ecx
push eax
push esi
push edx
push esi
push ebx
push edi
pop ebp
push ecx
push edi
push esp
push edx
push ebp
pop ebp
push ecx
pop ecx
pop esi
push edx
pop edi
pop ebp
pop esi
pop esi
pop ebp
pop eax
call fcn.00426444
test al, al
je 0x42885f
pop eax
push esi
push eax
pop ebp
push ebx
pop esi
push ecx
push eax
push esi
push ebx
pop esi
pop esp
pop ebp
pop esi
push edi
pop esi
push eax
pop eax
push esp
push edx
pop esp
pop edx
push esp
pop edi
push eax
pop ebp
pop ebx
pop ebx
push eax
pop ebx
pop eax
mov ebx, dword [ebp - 0x2b0]
push 0xffffffffffffffff
xor esi, esi
lea eax, [ebp - 0x2a8]
push esi
push eax
lea ecx, [ebp - 0x230]
call fcn.00404800
mov edi, str..eda
push edi
call fcn.0045329b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00404910
test ebx, ebx
jle 0x4288cc
mov eax, ebx
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00429d7f
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00404800
push esi
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.00427631
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 0x4289ec
call fcn.00426a77
test al, al
je 0x42890d
push eax
pop ebp
pop edx
push edx
push esp
push ecx
pop ebx
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
pop ecx
push edx
pop ebp
pop eax
push edx
push ebx
pop eax
push edi
call fcn.004266f6
test al, al
je 0x428933
push eax
push esi
pop esp
push ecx
push ebx
pop ebp
pop ebx
pop esi
pop eax
pop ebp
pop ebp
push ebx
pop esp
pop edx
pop esi
push eax
pop edi
pop esp
pop esp
push edi
push ebp
pop edx
pop ecx
push esp
push ebx
push edi
pop esp
push esi
push eax
call fcn.0042680a
test al, al
je 0x428957
pop ebx
push ebp
push edx
push eax
pop esp
pop edx
pop edx
push eax
pop esp
push eax
push ebx
pop eax
pop edx
pop eax
push esi
push eax
push ebx
push esp
push ebp
pop ebp
push esi
pop ecx
push ebx
push esp
push ecx
pop ebp
pop ebp
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 0x4289ec
call fcn.004268d9
test al, al
je 0x42899c
push esp
pop edi
pop ebp
push ebp
pop edx
pop edx
pop ecx
push esi
push eax
push ebx
pop ecx
pop ebp
pop ecx
push edx
push ebp
push ebp
pop ebx
push edi
push esp
push ebp
pop esi
pop esi
pop ebp
pop edx
push eax
pop edi
pop ebp
pop edi
push esi
call fcn.0042659d
test al, al
je 0x4289be
push ecx
push esp
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop esp
pop esp
push eax
pop ecx
pop ebx
pop edx
push esp
push ecx
pop ecx
pop edx
pop edi
pop ebp
pop edx
pop esi
push esi
pop ebp
push ecx
pop edi
mov ebx, dword [ebp - 0x2b0]
cmp ebx, 0xa
jge 0x428aa7
push 0
inc ebx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], ebx
call fcn.00427631
jmp 0x4287cb
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov ebx, dword [ebp - 0x2ac]
cmovae eax, dword [ebp - 0x230]
push eax
push ebx
call fcn.00453736
pop ecx
pop ecx
call fcn.004266b1
test al, al
je 0x428a3d
pop ebp
push esi
push esp
pop esp
push ecx
pop esp
push ecx
push eax
pop eax
pop esp
push edx
push esp
pop edx
push esp
push edi
push ebx
pop edi
pop esp
pop ecx
pop ebx
push ebx
push edx
push ebx
pop esp
push edx
push esi
pop esi
push edi
push edx
push esp
pop esi
mov ebx, dword [ebp - 0x2ac]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x230]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x428a7f
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push 0
push eax
call edi
push ebx
call esi
test eax, eax
je 0x428aa7
call fcn.00426a77
test al, al
je 0x428aa0
push edx
push edi
push edx
pop eax
pop esi
push ebx
pop edx
push ebx
push eax
push esi
pop ebp
pop edx
pop eax
push esi
push ebx
pop ebp
push ebp
push 5
push 0
push ebx
call edi
xor ebx, ebx
lea ecx, [ebp - 0x230]
xor esi, esi
push ebx
inc esi
push esi
call fcn.00427631
push ebx
push esi
lea ecx, [ebp - 0x260]
call fcn.00427631
push ebx
push esi
lea ecx, [ebp - 0x278]
call fcn.00427631
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00427631
push ebx
push esi
lea ecx, [ebp - 0x248]
call fcn.00427631
call fcn.0059863b
ret