Function at 0x433c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], edi
call fcn.00408110
lea ecx, [ebp - 0x4c]
call fcn.00408110
push str.SoftwareRuanMeiMyTime
lea ecx, [ebp - 0x10]
call fcn.00403710
mov eax, dword [ebp - 0x10]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], SysReAllocString
mov esi, esp
push eax
call fcn.00403380
add esp, 4
lea ecx, [ebp - 0x34]
add eax, 0x10
mov dword [esi], eax
call fcn.00430ea0
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433cb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esp
push str.mytime.exe
call fcn.00403710
push ecx
mov esi, esp
push ecx
mov ecx, esp
push 0x4a1628
call fcn.00403710
push ecx
mov ecx, esp
push str.Install_Dir
call fcn.00403710
push esi
lea ecx, [ebp - 0x34]
call fcn.0042c9f0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x50]
call fcn.0042b620
mov eax, dword [edi + 0x5a0]
push ecx
sub eax, 0x10
mov esi, esp
push eax
call fcn.00403380
add eax, 0x10
mov ecx, esp
mov dword [esi], eax
lea eax, [edi + 0x594]
push str.upgrade
push eax
push ecx
call fcn.0040a190
add esp, 0xc
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x50]
push eax
call fcn.0042b620
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 4]
test eax, eax
je 0x433ff3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x433ff3
push ecx
mov ecx, esp
push 0x4a1628
call fcn.00403710
push ecx
mov ecx, esp
push str.updateversion
call fcn.00403710
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.0042c9f0
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.0041d210
mov esi, dword [ebp - 0xc]
add esp, 8
cmp dword [esi - 0xc], 0
je 0x433fbf
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0041d210
add esp, 4
lea eax, [esi - 0x10]
mov ebx, esp
push eax
call fcn.00403380
add eax, 0x10
mov dword [ebx], eax
mov ebx, esp
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x18], eax
call fcn.00403380
add esp, 4
add eax, 0x10
mov dword [ebx], eax
call fcn.0040ebe0
add esp, 8
push ecx
test al, al
je 0x433f67
lea eax, [edi - 0x10]
mov ebx, esp
push eax
call fcn.00403380
add eax, 0x10
mov ecx, esp
push str.updatepath
mov dword [ebx], eax
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00434110
mov eax, dword [ebp - 0x14]
push ecx
mov ebx, esp
mov eax, dword [eax + 0x5a4]
sub eax, 0x10
push eax
call fcn.00403380
add eax, 0x10
mov ecx, esp
push str.updateversion
mov dword [ebx], eax
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00434110
push 0x4a1628
lea ecx, [ebp - 0x14]
call fcn.00403710
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 8], ecx
mov ecx, dword [0x4c10b0]
sub ecx, dword [0x4c10ac]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x433eac
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [0x4c10a4]
test eax, eax
je 0x4340e8
push eax
mov eax, dword [0x4c10ac]
push dword [ebx + eax]
call fcn.0046b1da
add esp, 8
test eax, eax
je 0x433ed2
mov ecx, dword [0x4c10b0]
mov eax, 0x2aaaaaab
sub ecx, dword [0x4c10ac]
add ebx, 0x18
inc dword [ebp - 8]
imul ecx
mov ecx, dword [ebp - 8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jb 0x433e60
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433fa8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x433fa8
mov eax, dword [ebp - 8]
lea edi, [eax + eax*2]
mov eax, dword [0x4c10ac]
mov eax, dword [eax + edi*8 + 4]
sub eax, 0x10
push eax
call fcn.00403380
mov esi, eax
mov eax, dword [0x4c10ac]
mov eax, dword [eax + edi*8 + 0xc]
sub eax, 0x10
push eax
call fcn.00403380
add esp, 8
mov edi, eax
cmp dword [esi + 4], 0
je 0x433f31
cmp dword [edi + 4], 0
je 0x433f31
push ecx
mov ebx, esp
push esi
call fcn.00403380
add eax, 0x10
mov ecx, esp
push str.updatehistory
mov dword [ebx], eax
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00434110
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x433f48
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433f5c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
jmp 0x433eaf
mov ecx, esp
push str.updatepath
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00410dd0
push ecx
mov ecx, esp
push str.updateversion
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00410dd0
push ecx
mov ecx, esp
push str.updatehistory
call fcn.00403710
lea ecx, [ebp - 0x34]
call fcn.00410dd0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433fbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433fd6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x433ff0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43400a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x434021
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x43406d
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x434050
cmp dword [eax - 8], 0
jl 0x4340f2
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x43406d
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x434063
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434084
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov esi, dword [edx]
je 0x4340cc
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x4340af
cmp dword [eax - 8], 0
jl 0x4340fc
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x4340cc
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4340c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4340e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402080
push 0x80070057
call fcn.00402080
push 0x80070057
call fcn.00402080
int3