Function at 0x452d20
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb016
mov eax, dword fs:[0]
push eax
sub esp, 0x788
mov eax, dword [0x4f4320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x774], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x45c], 0
push 0
push str.http:__downsrf.eastday.com_
lea ecx, [ebp + 8]
call fcn.0040f0d0
cmp eax, 0xffffffff
jne 0x452d91
push 0
push str.http:__down.znyshurufa.com_
lea ecx, [ebp + 8]
call fcn.0040f0d0
cmp eax, 0xffffffff
je 0x452d9b
mov dword [ebp - 0x45c], 1
push 0
push str.https:__downsrf.eastday.com_
lea ecx, [ebp + 8]
call fcn.0040f0d0
cmp eax, 0xffffffff
jne 0x452dc3
push 0
push str.https:__down.znyshurufa.com_
lea ecx, [ebp + 8]
call fcn.0040f0d0
cmp eax, 0xffffffff
je 0x452dcd
mov dword [ebp - 0x45c], 1
cmp dword [ebp - 0x45c], 0
jne 0x452dfa
mov dword [ebp - 0x730], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015d0
mov eax, dword [ebp - 0x730]
jmp 0x453582
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00479a10
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x29c]
push edx
call fcn.00419c40
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.00401670
push eax
call fcn.00418850
add esp, 8
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x434]
call fcn.00423690
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x434]
call fcn.00424ad0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x3c0]
push ecx
call fcn.00419c40
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c0]
call fcn.00401670
push eax
push str.DownLoadFile
lea edx, [ebp - 0x264]
push edx
call fcn.00405740
mov ecx, eax
call fcn.00413260
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x452f02
call fcn.00405740
mov ecx, eax
call fcn.00412b20
push eax
lea ecx, [ebp - 0x264]
call fcn.00403660
push str.Config_
lea ecx, [ebp - 0x264]
call fcn.00403690
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x264]
call fcn.00403690
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x734], esp
lea edx, [ebp - 0x264]
push edx
call fcn.00403610
mov dword [ebp - 0x778], eax
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x774]
call fcn.004537f0
mov dword [ebp - 0x77c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c0]
call fcn.00401670
push eax
push str.FileMD5
lea ecx, [ebp - 0x458]
push ecx
call fcn.00405740
mov ecx, eax
call fcn.00413260
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x458]
call fcn.00401670
push eax
lea ecx, [ebp - 0x248]
call fcn.00401670
push eax
call fcn.0047c3c3
add esp, 8
test eax, eax
jne 0x452fa6
push 0x4d458c
lea edx, [ebp - 0x248]
push edx
call fcn.004087b0
add esp, 8
movzx eax, al
test eax, eax
je 0x4530e5
push 0x98967f
push 0xf4240
call fcn.00415940
add esp, 8
mov dword [ebp - 0x58c], eax
mov byte [ebp - 0x56c], 0
push 0x103
push 0
lea ecx, [ebp - 0x56b]
push ecx
call fcn.00479a10
add esp, 0xc
mov edx, dword [ebp - 0x58c]
push edx
push 0x4d4590
lea eax, [ebp - 0x56c]
push eax
call fcn.0047cb56
add esp, 0xc
push 0x4d4594
lea ecx, [ebp + 8]
call fcn.00405530
lea ecx, [ebp - 0x56c]
push ecx
lea ecx, [ebp + 8]
call fcn.00405530
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x738], esp
lea edx, [ebp - 0x21c]
push edx
call fcn.00401600
mov dword [ebp - 0x780], eax
mov eax, dword [ebp - 0x780]
mov dword [ebp - 0x784], eax
mov byte [ebp - 4], 7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x73c], esp
lea edx, [ebp + 8]
push edx
push ecx
call fcn.00419c40
add esp, 8
mov dword [ebp - 0x788], eax
lea eax, [ebp - 0x588]
push eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x774]
call fcn.004535a0
mov dword [ebp - 0x78c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
lea ecx, [ebp - 0x588]
call fcn.00401670
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
lea ecx, [ebp - 0x3c0]
call fcn.00401670
push eax
push 0x4d4598
call fcn.00405740
mov ecx, eax
call fcn.00413310
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x588]
call fcn.00401640
mov dword [ebp - 0x43c], 0
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x453141
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x740], esp
lea edx, [ebp + 8]
push edx
call fcn.004035c0
mov dword [ebp - 0x790], eax
mov ecx, dword [ebp - 0x774]
call fcn.00452a50
mov dword [ebp - 0x794], eax
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x43c], eax
jmp 0x453208
push 1
push 0x40
push 0x25
lea ecx, [ebp - 0x264]
call fcn.00401670
push eax
lea ecx, [ebp - 0x61c]
call fcn.00453bd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x75c]
push ecx
lea ecx, [ebp - 0x61c]
call fcn.00453b70
mov ecx, eax
call fcn.0043d8b0
mov dword [ebp - 0x43c], eax
mov edx, dword [ebp - 0x43c]
add edx, 0xa
push edx
call fcn.00459a30
add esp, 4
mov dword [ebp - 0x760], eax
mov eax, dword [ebp - 0x774]
mov ecx, dword [ebp - 0x760]
mov dword [eax], ecx
mov edx, dword [ebp - 0x43c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x774]
mov ecx, dword [eax]
push ecx
call fcn.00479a10
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x61c]
call fcn.00453af0
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x774]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x61c]
call fcn.00424b60
lea ecx, [ebp - 0x61c]
call fcn.00424b80
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x61c]
call fcn.00453ac0
cmp dword [ebp - 0x43c], 0
jne 0x45328f
mov dword [ebp - 0x764], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x458]
call fcn.00401640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00401640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c0]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.004015d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015d0
mov eax, dword [ebp - 0x764]
jmp 0x453582
mov edx, dword [0x4d45b4]
mov dword [ebp - 0x22c], edx
mov eax, dword [0x4d45b8]
mov dword [ebp - 0x228], eax
mov cl, byte [0x4d45bc]
mov byte [ebp - 0x224], cl
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x3a4]
push eax
call fcn.00451460
add esp, 8
push 8
push 0
lea ecx, [ebp - 0x2a4]
push ecx
call fcn.00479a10
add esp, 0xc
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x774]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x774]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x3a4]
push ecx
call fcn.00452940
add esp, 0x10
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x43c]
sub eax, 0xc
push eax
mov ecx, dword [ebp - 0x774]
mov edx, dword [ecx]
add edx, 0xc
push edx
call fcn.004c5680
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
je 0x453355
mov eax, dword [ebp - 0x460]
movsx ecx, byte [eax]
cmp ecx, 0x4d
je 0x4533d3
mov edx, dword [ebp - 0x460]
movsx eax, byte [edx + 1]
cmp eax, 0x5a
je 0x4533d3
mov dword [ebp - 0x768], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x458]
call fcn.00401640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00401640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c0]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.004015d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015d0
mov eax, dword [ebp - 0x768]
jmp 0x453582
mov ecx, dword [ebp - 0x460]
push ecx
call fcn.004551c0
add esp, 4
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x453509
push str.run_lib
mov edx, dword [ebp - 0x220]
push edx
call fcn.00455880
add esp, 8
mov dword [ebp - 0x620], eax
cmp dword [ebp - 0x620], 0
jne 0x453432
push 0x4d45c8
mov eax, dword [ebp - 0x220]
push eax
call fcn.00455880
add esp, 8
mov dword [ebp - 0x620], eax
cmp dword [ebp - 0x620], 0
je 0x453509
mov byte [ebp - 0x72c], 0
push 0x103
push 0
lea ecx, [ebp - 0x72b]
push ecx
call fcn.00479a10
add esp, 0xc
lea edx, [ebp - 0x72c]
push edx
mov eax, dword [ebp + 0x24]
push eax
call fcn.004146d0
add esp, 8
lea ecx, [ebp - 0x72c]
push ecx
call dword [ebp - 0x620]
add esp, 4
mov dword [ebp - 0x624], eax
cmp dword [ebp - 0x624], 0
je 0x453509
mov dword [ebp - 0x76c], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x458]
call fcn.00401640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00401640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c0]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.004015d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015d0
mov eax, dword [ebp - 0x76c]
jmp 0x453582
mov dword [ebp - 0x770], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x458]
call fcn.00401640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
call fcn.00401640
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x264]
call fcn.00401640
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c0]
call fcn.00401640
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.004015d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call fcn.00401640
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004015d0
mov eax, dword [ebp - 0x770]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047a020
mov esp, ebp
pop ebp
ret 0x20