Function at 0x472720
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6215a7
mov eax, dword fs:[0]
push eax
sub esp, 0x908
mov eax, dword [0x6e4770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x90c], ebx
push str.BOOL_CRunSoftUpd::DoDownSoftUpdExe_void_...........start
call fcn.0049ad90
add esp, 4
mov dword [ebp - 0x234], 7
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push 3
push 0x642478
call fcn.00470470
mov ecx, dword [ebx + 0x4c8]
lea edx, [ebp - 0x248]
push edx
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp - 0x234], 8
mov edi, eax
mov dword [ebp - 4], 0xffffffff
jb 0x4727cb
push dword [ebp - 0x248]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
test edi, edi
je 0x4732a4
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2d8]
xor eax, eax
mov dword [ebp - 0x2c4], 7
push eax
push 0x642138
mov word [ebp - 0x2d8], ax
call fcn.00470470
xor eax, eax
mov dword [ebp - 4], 1
push eax
push 0x642138
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x294], 7
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
call fcn.00470470
push 6
xor eax, eax
mov byte [ebp - 4], 2
push str.RunExe
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00470470
mov ecx, dword [ebx + 0x4c8]
lea edx, [ebp - 0x230]
push edx
mov byte [ebp - 4], 3
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp - 0x21c], 8
mov esi, eax
mov byte [ebp - 4], 2
jb 0x4728b5
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
test esi, esi
je 0x47290c
cmp dword [esi + 0x14], 8
jb 0x4728de
mov esi, dword [esi]
cmp word [esi], ax
jne 0x4728e7
xor ecx, ecx
jmp 0x4728ff
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4728f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2d8]
call fcn.00470470
push 8
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.RunParam
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00470470
mov ecx, dword [ebx + 0x4c8]
lea edx, [ebp - 0x230]
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp dword [ebp - 0x21c], 8
mov esi, eax
mov byte [ebp - 4], 2
jb 0x47296e
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
test esi, esi
je 0x4729c1
cmp dword [esi + 0x14], 8
jb 0x472997
mov esi, dword [esi]
cmp word [esi], ax
jne 0x4729a0
xor ecx, ecx
jmp 0x4729b4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4729a5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2a8]
call fcn.00470470
mov eax, dword [0x6ee73c]
test eax, eax
jne 0x4729f9
push 0x920
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4729ee
mov ecx, eax
call fcn.00476e80
jmp 0x4729f0
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x6ee73c], eax
mov ecx, eax
call fcn.00477cc0
xor eax, eax
mov dword [ebp - 0x264], 7
push eax
push 0x642138
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
call fcn.00470470
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 6
jb 0x472a3a
mov edi, dword [edi]
cmp word [edi], 0
jne 0x472a44
xor ecx, ecx
jmp 0x472a5f
mov ecx, edi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472a50
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x278]
call fcn.00470470
mov eax, dword [0x6ee73c]
test eax, eax
jne 0x472aa4
push 0x920
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x472a99
mov ecx, eax
call fcn.00476e80
jmp 0x472a9b
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x6ee73c], eax
push 0
push 0
push 0x468
mov ecx, eax
call dword [0x693a60]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052f1e0
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x218]
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push ecx
push eax
call fcn.0049a170
xor eax, eax
mov dword [ebp - 0x2ac], 7
add esp, 0x14
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
cmp word [ebp - 0x218], ax
jne 0x472b25
xor ecx, ecx
jmp 0x472b3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x472b30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00470470
lea eax, [ebp - 0x2c0]
mov byte [ebp - 4], 8
push eax
add ebx, 0x344
lea eax, [ebp - 0x260]
push ebx
push eax
call fcn.00471490
add esp, 0xc
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x472bb3
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00499fb0
add esp, 4
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0049afe0
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x472bd3
mov ecx, dword [ecx]
lea edx, [ebp - 0x908]
lea esp, [esp]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x472be0
cmp dword [ebp - 0x27c], 0x10
jb 0x472c05
push dword [ebp - 0x290]
call fcn.0052d900
add esp, 4
cmp dword [ebx + 0x14], 8
jb 0x472c0f
mov eax, dword [ebx]
jmp 0x472c11
mov eax, ebx
push eax
lea ecx, [ebp - 0x290]
call fcn.0046e770
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.0049afe0
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 0x10
jb 0x472c41
mov ecx, dword [ecx]
lea edx, [ebp - 0x708]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x472c47
cmp dword [ebp - 0x21c], 0x10
jb 0x472c6c
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
cmp dword [ebp - 0x27c], 8
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 9
jb 0x472ca2
push dword [ebp - 0x290]
call fcn.0052d900
add esp, 4
push 0x25e30
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x472cc8
mov ecx, eax
call fcn.004706d0
mov ebx, eax
jmp 0x472cca
xor ebx, ebx
sub esp, 0x300
mov byte [ebp - 4], 9
mov edi, esp
lea esi, [ebp - 0x908]
mov ecx, 0xc0
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00470830
mov ecx, ebx
call fcn.00471350
push 0x200
lea eax, [ebp - 0x608]
push 0
push eax
call fcn.0052f1e0
push 0x100
lea eax, [ebp - 0x408]
push 0
push eax
call fcn.0052f1e0
xorps xmm0, xmm0
mov dword [ebp - 0x308], 0
add esp, 0x18
movupd xmmword [ebp - 0x300], xmm0
nop
mov ecx, ebx
call fcn.00471020
test eax, eax
je 0x472dd8
lea eax, [ebp - 0x608]
mov ecx, ebx
push eax
call fcn.00470d70
movsd xmm0, qword [ebp - 0x2f8]
divsd xmm0, qword [ebp - 0x300]
mov eax, dword [ebp - 0x90c]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x4d0], xmm0
mulss xmm0, dword [0x642a20]
mov eax, dword [0x6ee73c]
cvttss2si esi, xmm0
test eax, eax
jne 0x472db3
push 0x920
call fcn.0052d905
add esp, 4
mov dword [ebp - 0x910], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x472da8
mov ecx, eax
call fcn.00476e80
jmp 0x472daa
xor eax, eax
mov byte [ebp - 4], 9
mov dword [0x6ee73c], eax
push esi
mov esi, dword [method.UiLib::CListLabelElementUI.virtual_0]
mov ecx, eax
push 0
push 0x465
call esi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
push eax
call edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x472de4
mov esi, dword [method.UiLib::CListLabelElementUI.virtual_0]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, ebx
call fcn.00471030
test eax, eax
je 0x472d30
lea eax, [ebp - 0x608]
mov ecx, ebx
push eax
call fcn.00470d70
movsd xmm0, qword [ebp - 0x2f8]
movsd qword [ebp - 0x914], xmm0
divsd xmm0, qword [ebp - 0x300]
mov eax, dword [ebp - 0x90c]
cvtpd2ps xmm0, xmm0
movss dword [eax + 0x4d0], xmm0
mulss xmm0, dword [0x642a20]
cvttss2si eax, xmm0
push eax
push 0
push 0x465
call fcn.00476440
mov ecx, eax
call esi
push eax
call edi
test ebx, ebx
je 0x472e5f
mov ecx, ebx
call fcn.00470790
push ebx
call fcn.0052d900
add esp, 4
movsd xmm0, qword [ebp - 0x914]
ucomisd xmm0, qword [ebp - 0x300]
lahf
test ah, 0x44
jp 0x473194
ucomisd xmm0, qword [0x641ff8]
lahf
test ah, 0x44
jnp 0x473194
push 0x64
push 0
push 0x465
call fcn.00476440
mov ecx, eax
call esi
push eax
call edi
push 0x642138
lea ecx, [ebp - 0x248]
call fcn.0046e770
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x910]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x910], 0x2e
call fcn.00476c80
push eax
push 0
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.00476d40
push str..exe
push eax
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xe
push eax
call fcn.00471440
add esp, 0xc
cmp dword [ebp - 0x27c], 8
mov byte [ebp - 4], 0x10
jb 0x472f1d
push dword [ebp - 0x290]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
lea eax, [ebp - 0x2d8]
push 0x642138
push eax
mov dword [ebp - 0x280], 0
call fcn.00471400
add esp, 8
test al, al
je 0x472f68
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00470350
lea eax, [ebp - 0x2f0]
push eax
mov eax, dword [ebp - 0x90c]
add eax, 0x344
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00471490
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
call fcn.004721f0
cmp dword [ebp - 0x21c], 8
jb 0x472fad
push dword [ebp - 0x230]
call fcn.0052d900
add esp, 4
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea eax, [ebp - 0x260]
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x24c], 8
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.0049a9e0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call ebx
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4730fa
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.0049a820
add esp, 4
test eax, eax
je 0x4730fa
lea eax, [ebp - 0x2a8]
push 0x642138
push eax
call fcn.004713c0
add esp, 8
test al, al
je 0x47306e
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00499e90
add esp, 4
jmp 0x4730fa
push 0x642138
lea ecx, [ebp - 0x230]
call fcn.0046e770
push 0x6429a4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x11
call fcn.0046e870
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.004701a0
push 0x6429a8
lea ecx, [ebp - 0x230]
call fcn.0046e870
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.004701a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00499e90
add esp, 4
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x230]
call fcn.004a88e0
push 0
push 0
push 0x466
call fcn.00476440
mov ecx, eax
call esi
push eax
call edi
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x3e8
call ebx
cmp dword [ebp - 0x2dc], 8
jb 0x473148
push dword [ebp - 0x2f0]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x2dc], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x2e0], 0
mov word [ebp - 0x2f0], ax
mov byte [ebp - 4], 9
jb 0x473180
push dword [ebp - 0x248]
call fcn.0052d900
add esp, 4
push str.BOOL_CRunSoftUpd::DoDownSoftUpdExe_void_...........end
call fcn.0049ad90
add esp, 4
mov esi, 1
jmp 0x4731bb
mov eax, dword [ebp - 0x90c]
push 0x64
push 0
push 0x467
mov dword [eax + 0x4d0], 0x3f800000
call fcn.00476440
mov ecx, eax
call esi
push eax
call edi
xor esi, esi
cmp dword [ebp - 0x24c], 8
jb 0x4731d2
push dword [ebp - 0x260]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x2ac], 8
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
jb 0x473206
push dword [ebp - 0x2c0]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x2ac], 7
cmp dword [ebp - 0x264], 8
mov dword [ebp - 0x2b0], 0
mov word [ebp - 0x2c0], ax
jb 0x47323a
push dword [ebp - 0x278]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x264], 7
cmp dword [ebp - 0x294], 8
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
jb 0x47326e
push dword [ebp - 0x2a8]
call fcn.0052d900
add esp, 4
xor eax, eax
mov dword [ebp - 0x294], 7
cmp dword [ebp - 0x2c4], 8
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
jb 0x4732a2
push dword [ebp - 0x2d8]
call fcn.0052d900
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052dfa4
mov esp, ebp
pop ebp
ret