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

Disassembly:
push 0x2a4
mov eax, 0x57fcdb
call fcn.0042c498
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43af18
call fcn.004313bd
test al, al
je 0x43a7ca
push ebx
push ebp
pop ebp
pop ebp
push esi
pop edi
pop esi
pop edx
pop edx
push ebp
push ebp
pop esp
push ebp
push ebp
push esi
push edx
push esp
pop ebp
pop ebx
push edi
pop esp
pop edx
push ecx
pop edi
pop eax
pop edi
call fcn.004314d1
test al, al
je 0x43a7ec
push esi
pop esp
push esp
pop ebx
push edi
pop ecx
push ebx
push esi
pop ebx
pop esi
push ecx
push eax
pop edi
pop eax
pop esi
push esi
pop esi
pop ecx
push ebx
pop edi
pop ebp
push edi
pop eax
pop ebx
pop eax
call fcn.00431402
test al, al
je 0x43a811
pop eax
push esi
pop ebp
pop edx
push edi
pop eax
push ecx
push edx
pop esp
pop edi
pop ebx
push esi
push ebx
pop eax
push ebx
pop eax
push esi
pop ebp
pop ebp
push edx
push edi
pop ebx
pop edi
pop esi
push ebp
pop ebp
pop ebp
push ebx
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43a886
call fcn.004313bd
test al, al
je 0x43a83f
pop ebp
pop edi
push esi
push ebp
push esi
push esp
push esi
pop ebp
pop ebp
push eax
pop ebx
push esp
pop ebx
push esp
pop eax
push ebx
pop esi
pop ebp
push esp
pop eax
push ecx
call fcn.0043110b
test al, al
je 0x43a85a
pop eax
pop edx
push edx
pop esi
pop ecx
push eax
push eax
pop edx
push esi
push edx
push esp
push edx
pop ebx
push esi
push ecx
push esi
pop ecx
pop edi
call fcn.004315a0
test al, al
je 0x43af18
pop ecx
push ecx
push edx
pop edx
push edi
push esi
pop ecx
pop esp
pop esp
push esp
push edx
push edx
push ecx
pop edx
push eax
pop edx
push esi
pop eax
push ebp
push edi
pop ecx
push eax
pop eax
pop eax
pop eax
push edx
jmp 0x43af18
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0044ea80
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 0x582524
call fcn.004202e4
mov dword [ebp - 4], ebx
call fcn.0043166f
test al, al
je 0x43a8e5
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.0043110b
test al, al
je 0x43a90a
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.00431150
test al, al
je 0x43a92f
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.004312ee
test al, al
je 0x43a952
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.00431195
test al, al
je 0x43a971
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
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.0043556c
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0043162a
test al, al
je 0x43a9bf
pop ecx
pop ecx
pop ebx
push esi
pop ebp
pop esp
pop esi
pop ebx
pop ecx
pop edi
pop esp
push ebp
pop esi
pop ebx
pop edi
pop ecx
push eax
push edx
push ebp
pop esp
push ebp
push esi
pop esi
push edx
pop eax
push eax
push ebx
call fcn.00431516
test al, al
je 0x43a9dd
push ebp
pop eax
push ebp
push ecx
pop esp
push ebp
push eax
push esp
pop ecx
pop edi
push ecx
push edi
push ecx
push ebp
pop ecx
push eax
pop esp
push edi
push esp
pop edx
push eax
call fcn.004310c6
test al, al
je 0x43a9fa
pop eax
push edi
push ebp
push ebx
push esp
push ebx
push ecx
pop edi
pop ebx
pop eax
pop esp
push esi
push ebp
pop ebp
push edi
pop ebp
push eax
push ebx
push edi
push edi
call fcn.004316b4
test al, al
je 0x43aa1e
push ecx
push edi
pop edx
pop ebp
pop esi
push edi
push ecx
pop eax
pop ebx
push ecx
push edx
pop ecx
push ebp
pop esp
push ebp
pop edi
push esp
pop edi
pop ebp
pop edi
pop esp
push esi
push esi
pop ebp
push esi
pop edx
push eax
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x278]
push eax
call fcn.004358b6
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.00431195
test al, al
je 0x43aa5b
pop esi
pop edx
push ebp
pop ebp
push eax
push esp
pop eax
push esi
push eax
push eax
push ebx
pop edi
pop esp
pop esp
push esi
pop esp
pop edi
push esp
push edx
pop ebx
pop edi
push eax
push ebp
push esp
pop ebp
pop ecx
pop ebp
push ebp
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004358b6
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.00437eeb
add esp, 0xc
call fcn.0043166f
test al, al
je 0x43aaa1
push edx
pop edx
pop esp
push edi
push edi
pop ecx
push esp
push esi
pop ebx
pop edi
pop esi
pop esi
push esp
push eax
pop esp
pop ecx
pop edi
push edi
pop ebx
pop edx
push edx
pop esi
push esp
call fcn.0043155b
test al, al
je 0x43aac4
pop ebp
pop ebp
pop edi
pop ebx
pop edi
push eax
pop edi
push esi
push ebp
pop esp
pop eax
push esp
push esi
push edx
push edx
push esi
push eax
pop esp
push esp
push edi
pop ebx
pop esi
pop ebp
push ebp
push edi
pop ebp
lea eax, [ebp - 0x260]
push eax
call fcn.00437eeb
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.004203ae
test eax, eax
jne 0x43ab5d
call fcn.004316b4
test al, al
je 0x43ab0b
pop esp
pop esi
pop esp
pop edx
push eax
pop edx
push edx
push eax
pop esp
pop edx
push esi
push ebp
pop esi
push esi
push esi
pop eax
pop edi
pop edx
pop edi
push edi
push esp
push esp
push ecx
pop edx
push esp
push edi
pop edi
call fcn.0043155b
test al, al
je 0x43ab2d
push ebx
push edx
push ebp
pop ebx
pop edi
pop edi
push esp
pop eax
pop eax
pop esp
push edi
push eax
pop ecx
pop ebp
push ecx
pop esi
push eax
pop esi
push esp
pop edx
push edx
push ebx
pop edx
push ecx
pop esi
cmp word [ebp - 0x218], 0
jne 0x43ab3b
xor eax, eax
jmp 0x43ab48
lea eax, [ebp - 0x218]
push eax
call fcn.004525b1
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.004202e4
jmp 0x43abac
call fcn.00431081
test al, al
je 0x43ab7d
push edx
pop esi
pop ebx
pop edx
pop edx
push eax
push esi
pop ebx
pop eax
push edi
pop edi
push edx
pop eax
push eax
push edx
pop eax
push ecx
push ebp
pop ebx
push edx
pop esi
pop ebp
pop ebx
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x290]
push eax
call fcn.004357b8
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00422101
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.0042019a
and dword [ebp - 0x2b0], 0
call fcn.0043173e
test al, al
je 0x43abcd
pop ebx
push ecx
push eax
push esi
pop ecx
pop eax
push ebx
pop ebx
pop ebp
push edi
pop edx
push edx
push eax
pop edx
push edx
pop ebp
pop eax
call fcn.00431402
test al, al
je 0x43abe9
pop eax
pop eax
push ebx
push eax
pop esi
push edi
pop ecx
push edi
push ebp
pop ebp
pop ecx
push esp
pop eax
pop eax
push ebx
pop edx
pop ebp
pop ebx
pop esp
call fcn.00431150
test al, al
je 0x43ac07
push eax
push edx
push edx
push ebp
pop ebx
push esi
push eax
push edx
pop esi
pop edx
push ecx
push edi
pop edi
push edx
pop esp
push edx
push ecx
pop eax
pop ecx
push ecx
pop ecx
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 0x582524
mov word [ebp - 0x230], ax
call fcn.004202e4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00420228
call fcn.00431081
test al, al
je 0x43ac7c
pop ebx
pop edi
pop eax
push esi
push ebx
pop ecx
pop ecx
push ecx
push ebx
push edx
push esi
pop esi
push esi
pop ebx
pop ebp
push esp
push edx
push ecx
push esi
push edi
push eax
push edi
push edx
push edi
pop ecx
pop ebp
push eax
mov ebx, dword [ebp - 0x2b0]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420dbf
push str..fcb
call fcn.004525b1
pop ecx
push eax
push str..fcb
lea ecx, [ebp - 0x230]
call fcn.00420e5e
test ebx, ebx
jle 0x43aced
mov eax, ebx
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004403e5
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00420dbf
push 0
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.0042019a
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 0x43aded
call fcn.004312a9
test al, al
je 0x43ad30
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
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 0x43aded
call fcn.00431516
test al, al
je 0x43ad7b
push eax
push ebx
pop esp
push edx
push edx
pop eax
push ecx
pop ebp
push esp
pop ebx
pop esi
push ebp
pop eax
pop ecx
push edx
push ebp
pop eax
pop eax
push ebx
push esp
push ecx
pop ecx
push esi
pop edx
push ecx
push edi
pop eax
push ebx
push ebp
pop edi
push esp
call fcn.0043121f
test al, al
je 0x43ad9a
pop esi
push ecx
pop ebp
push ebp
pop eax
pop esi
push ebx
push ebx
push ebx
pop eax
pop ebx
push edi
pop eax
push edi
pop esp
pop edx
push ebp
push eax
push eax
pop edi
push edi
push edx
call fcn.00431333
test al, al
je 0x43adbf
pop ebx
pop ebp
pop edx
push edx
push ebp
pop ebx
pop ebx
pop edx
push ebx
push edi
push ebx
pop edx
pop edi
push edx
push ebp
push esp
push ecx
pop eax
push ebx
pop eax
push ecx
pop eax
pop edx
pop edi
push edi
push ecx
push edi
pop ebp
mov ebx, dword [ebp - 0x2b0]
cmp ebx, 0xa
jge 0x43aed2
push 0
inc ebx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], ebx
call fcn.0042019a
jmp 0x43ac0d
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.004525fd
pop ecx
pop ecx
call fcn.00431378
test al, al
je 0x43ae3f
push eax
pop esp
pop ecx
push ebx
pop eax
pop ecx
push ecx
pop ebx
pop edx
push edi
push ebx
pop esp
push ebx
push ebx
push edi
pop esp
push edx
pop edi
pop ecx
pop ebx
push ebp
pop edx
pop edi
push edi
push edx
pop esp
push esi
push ebp
push esi
push edi
push ebx
push ebp
mov ebx, dword [ebp - 0x2ac]
call fcn.0043166f
test al, al
je 0x43ae61
push esp
push edx
push edi
push edx
pop eax
pop ecx
push esp
push edx
pop ecx
pop edx
pop ecx
push esp
pop eax
push esp
pop edx
push esi
pop esp
push ebx
push edx
push esp
pop esi
push esp
push esi
push edi
pop edi
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
test eax, eax
je 0x43aea1
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 ebx
call esi
test eax, eax
je 0x43aed2
call fcn.0043110b
test al, al
je 0x43aec7
push ebp
push ebp
pop esi
push ecx
pop edi
push edi
push eax
push edi
pop ebx
pop ebx
push esi
push ebp
push esi
push edx
push ebx
push esp
mov ebx, dword [ebp - 0x2ac]
push 5
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
lea ecx, [ebp - 0x230]
xor esi, esi
push ebx
inc esi
push esi
call fcn.0042019a
push ebx
push esi
lea ecx, [ebp - 0x260]
call fcn.0042019a
push ebx
push esi
lea ecx, [ebp - 0x278]
call fcn.0042019a
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0042019a
push ebx
push esi
lea ecx, [ebp - 0x248]
call fcn.0042019a
call fcn.0042c453
ret