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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00430ac0
movzx eax, al
test eax, eax
je 0x445160
jmp 0x445865
mov dword [ebp - 0x10], 0xc800000
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 8]
add ecx, 0x10
call fcn.004459e0
lea ecx, [ebp - 0x14]
call fcn.0042d0a0
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.004586e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401860
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x220]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x10
call fcn.00445880
test eax, eax
je 0x44520b
lea eax, [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 8]
call fcn.00445c40
push eax
lea ecx, [ebp - 0x14]
call fcn.004301a0
lea ecx, [ebp - 0x4a8]
call fcn.00401910
jmp 0x4452af
lea ecx, [ebp - 0x224]
call fcn.0042d0a0
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x10
call fcn.00445940
test eax, eax
je 0x445255
push str.360DownLoad
lea ecx, [ebp - 0x224]
call fcn.00430250
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x14]
call fcn.004301a0
jmp 0x4452a4
push 0
push 0
push 0x7e8
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 1
push 0x7e9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x224]
call fcn.00401910
lea ecx, [ebp - 0x220]
call fcn.00401910
lea ecx, [ebp - 0x14]
call fcn.00401910
jmp 0x445865
lea ecx, [ebp - 0x224]
call fcn.00401910
lea ecx, [ebp - 0x14]
call fcn.00401930
push eax
call fcn.0042f9f0
add esp, 4
lea ecx, [ebp - 0x14]
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4452e4
lea ecx, [ebp - 0x14]
call fcn.00401930
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea ecx, [ebp - 0x228]
call fcn.0042d0a0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x22c]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 0x14]
push edx
call fcn.0042d0d0
call fcn.0042f6c0
add esp, 8
test eax, eax
jne 0x44540e
mov dword [ebp - 0x230], 1
jmp 0x445337
mov eax, dword [ebp - 0x230]
add eax, 1
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0x64
jge 0x44540e
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push str._s_d
lea edx, [ebp - 0x228]
push edx
call fcn.00434f60
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4453ac
lea eax, [ebp - 0x22c]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 0x228]
push edx
call fcn.0042d0d0
call fcn.0042f6c0
add esp, 8
test eax, eax
je 0x4453ac
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x14]
call fcn.004301a0
jmp 0x44540e
lea ecx, [ebp - 0x228]
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x445409
lea ecx, [ebp - 0x228]
call fcn.00401930
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x22c]
push eax
push ecx
mov ecx, esp
lea edx, [ebp - 0x228]
push edx
call fcn.0042d0d0
call fcn.0042f6c0
add esp, 8
test eax, eax
je 0x445409
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x14]
call fcn.004301a0
jmp 0x44540e
jmp 0x445328
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401860
push 0x4ce200
push 0x4bf80c
lea ecx, [ebp - 0x234]
call fcn.00430300
push 0x4bf81c
lea ecx, [ebp - 0x234]
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44550d
push 0
push 0x4bf934
lea ecx, [ebp - 0x234]
call fcn.00430670
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x4454a2
push 0x4bf934
call fcn.0045865f
add esp, 4
add eax, dword [ebp - 0x238]
push eax
push 0
lea ecx, [ebp - 0x234]
call fcn.00446320
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 8]
call fcn.00445cc0
test eax, eax
je 0x4454de
mov eax, dword [ebp - 0x234]
push eax
push 0x4c0698
lea ecx, [ebp - 0x14]
push ecx
call fcn.00449310
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.004301a0
jmp 0x44550b
call fcn.0044a410
mov ecx, eax
call fcn.004432b0
push eax
push str._s.exe
lea eax, [ebp - 0x14]
push eax
call fcn.00449310
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.004301a0
jmp 0x44553a
call fcn.0044a410
mov ecx, eax
call fcn.004432b0
push eax
push str._s.exe
lea eax, [ebp - 0x14]
push eax
call fcn.00449310
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.004301a0
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445709
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.00401930
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x445709
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00401860
mov dword [ebp - 0x240], 1
jmp 0x4455a7
mov eax, dword [ebp - 0x240]
add eax, 1
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0x64
jg 0x4456fe
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x244]
call fcn.0042d0d0
lea ecx, [ebp - 0x244]
call fcn.00446440
lea ecx, [ebp - 0x248]
call fcn.0042d0a0
mov eax, dword [ebp - 0x240]
push eax
push str.__d_.exe
lea ecx, [ebp - 0x248]
push ecx
call fcn.00434f60
add esp, 0xc
lea ecx, [ebp - 0x248]
call fcn.00401930
push eax
push 0x4c0668
lea ecx, [ebp - 0x244]
call fcn.00430300
lea ecx, [ebp - 0x24c]
call fcn.0042d0a0
mov eax, dword [ebp - 0x244]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
push 0x4c065c
lea edx, [ebp - 0x24c]
push edx
call fcn.00434f60
add esp, 0x10
lea ecx, [ebp - 0x24c]
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44568d
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.004301a0
lea ecx, [ebp - 0x24c]
call fcn.00401910
lea ecx, [ebp - 0x248]
call fcn.00401910
lea ecx, [ebp - 0x244]
call fcn.00401910
jmp 0x4456fe
lea ecx, [ebp - 0x24c]
call fcn.00401930
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4456d8
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.004301a0
lea ecx, [ebp - 0x24c]
call fcn.00401910
lea ecx, [ebp - 0x248]
call fcn.00401910
lea ecx, [ebp - 0x244]
call fcn.00401910
jmp 0x4456fe
lea ecx, [ebp - 0x24c]
call fcn.00401910
lea ecx, [ebp - 0x248]
call fcn.00401910
lea ecx, [ebp - 0x244]
call fcn.00401910
jmp 0x445598
lea ecx, [ebp - 0x23c]
call fcn.00401910
mov eax, dword [ebp - 8]
add eax, 4
push eax
lea ecx, [ebp - 0x250]
call fcn.0042d0d0
push 0x4c0654
push 0x4bf80c
lea ecx, [ebp - 0x250]
call fcn.00430300
call fcn.0042d340
test eax, eax
jne 0x4457f0
push str.https:__
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00401930
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4457f0
mov eax, dword [str.http:__]
mov dword [ebp - 0x458], eax
mov ecx, dword [0x4c0634]
mov dword [ebp - 0x454], ecx
mov edx, dword [0x4c0638]
mov dword [ebp - 0x450], edx
mov eax, dword [0x4c063c]
mov dword [ebp - 0x44c], eax
push 0x1f8
push 0
lea eax, [ebp - 0x448]
push eax
call fcn.004586e0
add esp, 0xc
push 0x104
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.00401c80
mov esi, eax
push str.https:__
call fcn.0045865f
add esp, 4
lea eax, [esi + eax*2]
push eax
push str.http:__
call fcn.0045865f
add esp, 4
lea ecx, [ebp + eax*2 - 0x458]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x250]
call fcn.004019a0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x70
call fcn.00437b30
push 0x927c0
mov ecx, dword [ebp - 8]
add ecx, 0x68
call fcn.00401930
push eax
lea ecx, [ebp - 0x250]
call fcn.00401930
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x70
call fcn.00437b50
mov eax, dword [ebp - 8]
mov dword [eax + 8], 0
lea ecx, [ebp - 0x250]
call fcn.00401910
lea ecx, [ebp - 0x234]
call fcn.00401910
lea ecx, [ebp - 0x228]
call fcn.00401910
lea ecx, [ebp - 0x220]
call fcn.00401910
lea ecx, [ebp - 0x14]
call fcn.00401910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045875a
mov esp, ebp
pop ebp
ret