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

Disassembly:
push 0x2a4
mov eax, 0x597613
call fcn.004103bb
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0x2ac], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bb8b
call fcn.004113ce
test al, al
je 0x41b49a
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 0x41b4d5
call fcn.00411680
test al, al
je 0x41bb8b
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 0x41bb8b
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00430680
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 0x59a528
call fcn.00401c7b
mov dword [ebp - 4], ebx
call fcn.0041111c
test al, al
je 0x41b541
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.004110d7
test al, al
je 0x41b568
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.00411680
test al, al
je 0x41b58c
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.00415901
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.004115b1
test al, al
je 0x41b5df
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.00411863
test al, al
je 0x41b605
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.004111eb
test al, al
je 0x41b627
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.00411344
test al, al
je 0x41b645
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.00415c77
pop ecx
pop ecx
mov byte [ebp - 4], 2
call fcn.004115b1
test al, al
je 0x41b679
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.004110d7
test al, al
je 0x41b6a0
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.004115b1
test al, al
je 0x41b6bb
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.00415c77
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 3
push eax
call fcn.00418499
add esp, 0xc
call fcn.004113ce
test al, al
je 0x41b6fc
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.004112ba
test al, al
je 0x41b718
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.00418499
pop ecx
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x260]
call fcn.00401cf4
test eax, eax
jne 0x41b7b4
call fcn.004117d9
test al, al
je 0x41b764
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.00411230
test al, al
je 0x41b784
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 0x41b792
xor eax, eax
jmp 0x41b79f
lea eax, [ebp - 0x218]
push eax
call fcn.00433f51
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401c7b
jmp 0x41b81f
call fcn.00411794
test al, al
je 0x41b7d6
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.0041111c
test al, al
je 0x41b7f0
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.00415b80
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004038c3
push 0
push 1
lea ecx, [ebp - 0x290]
call fcn.00401b31
and dword [ebp - 0x2b0], 0
call fcn.004115b1
test al, al
je 0x41b84a
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.00411230
test al, al
je 0x41b863
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 0x59a528
mov word [ebp - 0x230], ax
call fcn.00401c7b
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.00401bbf
call fcn.00411275
test al, al
je 0x41b8cf
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.004110d7
test al, al
je 0x41b8fd
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.004024f6
mov edi, str..eda
push edi
call fcn.00433f51
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00402595
test ebx, ebx
jle 0x41b96a
mov eax, ebx
cdq
push edx
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00421005
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.004024f6
push esi
push 1
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 4
call fcn.00401b31
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 0x41ba8a
call fcn.0041170a
test al, al
je 0x41b9ab
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.00411389
test al, al
je 0x41b9d1
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.0041149d
test al, al
je 0x41b9f5
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 0x41ba8a
call fcn.0041156c
test al, al
je 0x41ba3a
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.00411230
test al, al
je 0x41ba5c
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 0x41bb45
push 0
inc ebx
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2b0], ebx
call fcn.00401b31
jmp 0x41b869
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.00433f9d
pop ecx
pop ecx
call fcn.00411344
test al, al
je 0x41badb
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 0x41bb1d
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 0x41bb45
call fcn.0041170a
test al, al
je 0x41bb3e
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.00401b31
push ebx
push esi
lea ecx, [ebp - 0x260]
call fcn.00401b31
push ebx
push esi
lea ecx, [ebp - 0x278]
call fcn.00401b31
push ebx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00401b31
push ebx
push esi
lea ecx, [ebp - 0x248]
call fcn.00401b31
call fcn.00410376
ret