Function at 0x46d890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476ca0
push eax
mov dword fs:[0], esp
sub esp, 0x820
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46d8ca
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, 0x4a97f8
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d8e6
push ebx
push esi
sub ecx, edx
push edi
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x18]
call fcn.00402570
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.fmfmfafafdhehcgfgbgnfmfmfafafdhehcgfgbgncogfhigf
lea eax, [ebp - 0x82c]
push eax
call ebx
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d934
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402570
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46d96f
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 1
lea edx, [ecx + 2]
jmp 0x46d990
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d990
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x20]
call fcn.00402570
push str.fmfmeehfgpengjfmfmeehfgpengjcogfhigf
lea eax, [ebp - 0x82c]
push eax
call ebx
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d9d5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00402570
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46da10
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 2
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46da30
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x1c]
call fcn.00402570
push str.fmfmhfhfhdgfgffmfmfffffdgfgffagmgbhjgfhccogfhigf
lea eax, [ebp - 0x82c]
push eax
call ebx
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46da75
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402570
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46dab0
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 3
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46dadd
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46daf6
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x28]
call fcn.00402570
push str.fmfmfafaemgjhggffmfmfafafefgfmfmfafaemgjhggfcogfhigf
lea eax, [ebp - 0x82c]
push eax
call ebx
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
jmp 0x46db40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46db40
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402570
mov ecx, 0x4a97f8
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46db67
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x24]
call fcn.00402570
push str.fmfmeghfgohdgigjgpgocaepgogmgjgogffmfmeghfgohdgigjgpgofmfmeghfgohdgigjgpgocogfhigf
lea eax, [ebp - 0x82c]
push eax
call ebx
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dbb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402570
mov ebx, dword [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call esi
mov edi, dword [ebp - 0x24]
push edi
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call esi
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [eax + esi]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
mov dword [0x4aca0c], ecx
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46dc22
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 5
lea edx, [ecx + 2]
jmp 0x46dc40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dc40
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x14]
call fcn.00402570
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.fmfmelgjgoghhdgpgghefmfmfhfafdcaepgggggjgdgfcafagfhchdgpgogbgmfmfmgpgggggjgdgfdgfmfmhhhahdcogfhigf
lea eax, [ebp - 0x82c]
push eax
call esi
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
jmp 0x46dc90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dc90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402570
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46dccb
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 6
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dce4
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x10]
call fcn.00402570
push str.fmfmelgjgoghhdgpgghefmfmglgjgoghhdgpgghecagbgohegjhggjhchfhdfmfmglgjhdgngbgjgocogfhigf
lea eax, [ebp - 0x82c]
push eax
call esi
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dd30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00402570
call fcn.00429930
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x46dd6b
push 0x80004005
call fcn.00402670
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, 0x4a97f8
mov byte [ebp - 4], 7
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46dd84
sub ecx, edx
sar ecx, 1
push ecx
push 0x4a97f8
lea ecx, [ebp - 0x2c]
call fcn.00402570
push str.fmfmdcdddedfefhihagmgphcgfhc
lea eax, [ebp - 0x82c]
push eax
call esi
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.004681b0
lea ecx, [ebp - 0x82c]
add esp, 8
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ddd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402570
cmp dword [0x4aca08], 0
jne 0x46de07
push 0
push 0x479cd0
call fcn.004651e0
add esp, 8
mov esi, dword [ebp - 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [0x4aca00], eax
mov dword [0x4aca10], 0
mov dword [0x4aca18], 0
mov dword [0x4aca1c], 0
call fcn.0046e5a0
cmp dword [0x4aca04], 0x3e8
mov dword [0x4aca14], eax
je 0x46de5c
push 0x4a81f0
call fcn.004653d0
add esp, 4
mov dword [0x4aca04], eax
mov ecx, dword [ebp + 0x14]
push 2
push 0x48efac
call fcn.00408f60
call fcn.004691e0
test eax, eax
jne 0x46de83
mov ecx, dword [ebp + 0x14]
push 4
push str.Win7
call fcn.00408f60
cmp dword [0x4a81dc], 0
je 0x46deaa
cmp dword [0x4aca04], 0
mov ecx, dword [ebp + 8]
jne 0x46dea1
push 0xc
push str.canthomepage
jmp 0x46defa
push 0xb
push str.gethomepage
jmp 0x46defa
mov eax, dword [0x4aca04]
test eax, eax
je 0x46def0
cmp eax, 1
jne 0x46dec7
mov ecx, dword [ebp + 8]
push str.voluntary
call fcn.00401f00
jmp 0x46deff
cmp eax, 0x3e8
jne 0x46dedd
mov ecx, dword [ebp + 8]
push str.voluntarynoad
call fcn.00401f00
jmp 0x46deff
push eax
push str.voluntary:_d
push dword [ebp + 8]
call fcn.00405230
add esp, 0xc
jmp 0x46deff
mov ecx, dword [ebp + 8]
push 6
push str.giveup
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0xc]
je 0x46df26
cmp dword [0x4aca0c], 0
je 0x46df1d
push 6
push str.getpps
jmp 0x46df3f
push 7
push str.cantpps
jmp 0x46df3f
cmp dword [0x4aca0c], 0
je 0x46df38
push 0xa
push str.alreadypps
jmp 0x46df3f
push 9
push str.notyetpps
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0x1c]
je 0x46df6b
cmp dword [0x4aca10], 0
je 0x46df62
push 6
push str.getwps
jmp 0x46df84
push 7
push str.cantwps
jmp 0x46df84
cmp dword [0x4aca10], 0
je 0x46df7d
push 0xa
push str.alreadywps
jmp 0x46df84
push 9
push str.notyetwps
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0x18]
je 0x46dfb0
cmp dword [0x4aca10], 0
je 0x46dfa7
push 9
push str.getwiseie
jmp 0x46dfc9
push 0xa
push str.cantwiseie
jmp 0x46dfc9
cmp dword [0x4aca10], 0
je 0x46dfc2
push 0xd
push str.alreadywiseie
jmp 0x46dfc9
push 0xc
push str.notyetwiseie
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0x24]
je 0x46dff5
cmp dword [0x4aca18], 0
je 0x46dfec
push 7
push str.getduba
jmp 0x46e00e
push 8
push str.cantduba
jmp 0x46e00e
cmp dword [0x4aca18], 0
je 0x46e007
push 0xb
push str.alreadyduba
jmp 0x46e00e
push 0xa
push str.notyetduba
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0x20]
je 0x46e03a
cmp dword [0x4aca14], 0
je 0x46e031
push 8
push str.getbaidu
jmp 0x46e053
push 9
push str.cantbaidu
jmp 0x46e053
cmp dword [0x4aca14], 0
je 0x46e04c
push 0xc
push str.alreadybaidu
jmp 0x46e053
push 0xb
push str.notyetbaidu
call fcn.00408f60
cmp dword [0x4aca08], 0
mov ecx, dword [ebp + 0x10]
je 0x46e07f
cmp dword [0x4aca00], 0
je 0x46e076
push 9
push str.getyoudao
jmp 0x46e098
push 0xa
push str.cantyoudao
jmp 0x46e098
cmp dword [0x4aca00], 0
je 0x46e091
push 0xd
push str.alreadyyoudao
jmp 0x46e098
push 0xc
push str.notyetyoudao
call fcn.00408f60
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46e0be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e0df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e100
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e120
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e13d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e15d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46e17a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
pop edi
pop esi
pop ebx
jg 0x46e19e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret