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

Disassembly:
push 0x2a4
mov eax, 0x599929
call fcn.00591d11
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424489
call fcn.0042c390
test al, al
je 0x423d98
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 0x423dd3
call fcn.0042c642
test al, al
je 0x424489
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 0x424489
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0043c880
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 0x617ad8
call fcn.004029e0
mov dword [ebp - 4], ebx
call fcn.0042c0de
test al, al
je 0x423e3f
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.0042c099
test al, al
je 0x423e66
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.0042c642
test al, al
je 0x423e8a
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.0042b9a0
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0042c573
test al, al
je 0x423edd
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.0042c825
test al, al
je 0x423f03
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.0042c1ad
test al, al
je 0x423f25
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.0042c306
test al, al
je 0x423f43
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.0042bd16
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.0042c573
test al, al
je 0x423f77
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.0042c099
test al, al
je 0x423f9e
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.0042c573
test al, al
je 0x423fb9
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.0042bd16
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.0042058d
add esp, 0xc
call fcn.0042c390
test al, al
je 0x423ffa
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.0042c27c
test al, al
je 0x424016
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.0042058d
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.00404db0
test eax, eax
jne 0x4240b2
call fcn.0042c79b
test al, al
je 0x424062
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.0042c1f2
test al, al
je 0x424082
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 0x424090
xor eax, eax
jmp 0x42409d
lea eax, [ebp - 0x218]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004029e0
jmp 0x42411d
call fcn.0042c756
test al, al
je 0x4240d4
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.0042c0de
test al, al
je 0x4240ee
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.0042bc1f
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00402640
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00402920
and dword [ebp - 0x2b0], 0
call fcn.0042c573
test al, al
je 0x424148
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.0042c1f2
test al, al
je 0x424161
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 0x617ad8
mov word [ebp - 0x230], ax
call fcn.004029e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00402ae0
call fcn.0042c237
test al, al
je 0x4241cd
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.0042c099
test al, al
je 0x4241fb
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.00407490
mov edi, 0x59e6b0
push edi
call fcn.0044c04b
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00407360
test ebx, ebx
jle 0x424268
mov eax, ebx
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0042b55a
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00407490
push esi
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.00402920
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 0x424388
call fcn.0042c6cc
test al, al
je 0x4242a9
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.0042c34b
test al, al
je 0x4242cf
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.0042c45f
test al, al
je 0x4242f3
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 0x424388
call fcn.0042c52e
test al, al
je 0x424338
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.0042c1f2
test al, al
je 0x42435a
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 0x424443
push 0
inc ebx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], ebx
call fcn.00402920
jmp 0x424167
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.0044bcc0
pop ecx
pop ecx
call fcn.0042c306
test al, al
je 0x4243d9
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 0x42441b
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 0x424443
call fcn.0042c6cc
test al, al
je 0x42443c
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.00402920
push ebx
push esi
lea ecx, [ebp - 0x260]
call fcn.00402920
push ebx
push esi
lea ecx, [ebp - 0x278]
call fcn.00402920
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00402920
push ebx
push esi
lea ecx, [ebp - 0x248]
call fcn.00402920
call fcn.00591ccc
ret