Function at 0x4129a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a09e3
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4c9860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0xa4], esi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
lea ecx, [ebp - 0x98]
call fcn.00466810
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x98]
call fcn.004677a0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
je 0x412a97
push str.update.exe
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.00421050
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x10], ebx
jne 0x412a33
mov byte [ebp - 0x99], bl
jmp 0x412a4c
cmp dword [eax + 0x14], 8
jb 0x412a3b
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete byte [ebp - 0x99]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x30], 8
jb 0x412a61
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
cmp byte [ebp - 0x99], al
je 0x412a97
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040c2a0
mov dword [ebp - 0xa0], 1
jmp 0x412fcc
lea ecx, [ebp - 0x5c]
call fcn.004300e0
mov byte [ebp - 4], 4
push 0x4b3f78
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00420fb0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x412af0
cmp dword [ebp - 0x18], 8
jb 0x412ad3
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 4
cmp dword [ebp - 0x30], 8
jb 0x412b05
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x412b2e
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.0042d370
mov edi, eax
mov byte [ebp - 4], 7
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x412b8c
cmp dword [ebp - 0x18], 8
jb 0x412b6f
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 6
cmp dword [ebp - 0x48], 8
jb 0x412ba1
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
push 0x15
push eax
push str._fanqianbao2.0.1.16_
lea ecx, [ebp - 0x2c]
call fcn.004036e0
cmp eax, 0xffffffff
jne 0x412bec
push 0x10
push 0
push str._fanqianbao_app_
lea ecx, [ebp - 0x2c]
call fcn.004036e0
cmp eax, 0xffffffff
jne 0x412bec
mov dword [ebp - 4], 2
jmp 0x412ce4
lea ecx, [ebp - 0x44]
call fcn.0040c840
mov byte [ebp - 4], 8
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 8
jb 0x412c03
mov eax, dword [eax]
push ecx
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.004036e0
mov edi, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x30], 8
jb 0x412c26
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
cmp edi, 0xffffffff
je 0x412cb1
push edi
push eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ce70
mov edi, eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x412c88
cmp dword [ebp - 0x18], 8
jb 0x412c6b
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 6
cmp dword [ebp - 0x60], 8
jb 0x412c9d
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040c2a0
mov dword [ebp - 0xa0], 1
jmp 0x412fcc
lea eax, [ebp - 0x5c]
push eax
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov byte [ebp - 4], 0xb
push str._fanqianbao2.0.1.16_
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00420fb0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x412d45
cmp dword [ebp - 0x18], 8
jb 0x412d28
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040c240
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 8
jb 0x412d5a
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x412d83
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
push str.update.exe
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.00421050
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x10], 0
jne 0x412db8
xor al, al
jmp 0x412dcd
cmp dword [eax + 0x14], 8
jb 0x412dc0
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete al
mov byte [ebp - 0x99], al
mov byte [ebp - 4], 2
cmp dword [ebp - 0x60], 8
jb 0x412df3
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov al, byte [ebp - 0x99]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor ecx, ecx
mov word [ebp - 0x74], cx
test al, al
je 0x412e94
lea eax, [ebp - 0x5c]
push eax
call fcn.0041e610
mov ecx, eax
call fcn.0044e4e0
mov byte [ebp - 4], 0xe
push str._fanqianbao_app_
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.00420fb0
add esp, 4
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402a20
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x60], 8
jb 0x412e57
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x412e80
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
push str.update.exe
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
call fcn.00421050
add esp, 4
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x10], 0
je 0x412f07
cmp dword [eax + 0x14], 8
jb 0x412eb9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x412f07
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040bd60
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x11
or ebx, 2
jmp 0x412f1e
push 0x4b33dc
lea ecx, [ebp - 0x74]
call fcn.0040c1d0
mov dword [ebp - 4], 0x12
or ebx, 4
push eax
mov ecx, esi
call fcn.0040c2a0
or ebx, 1
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], 0x11
test bl, 4
je 0x412f69
and ebx, 0xfffffffb
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x60], 8
jb 0x412f55
push dword [ebp - 0x74]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
xor eax, eax
mov word [ebp - 0x74], ax
mov dword [ebp - 4], 0x10
test bl, 2
je 0x412fa3
and ebx, 0xfffffffd
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x30], 8
jb 0x412f8f
push dword [ebp - 0x44]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x48], 8
jb 0x412fb8
push dword [ebp - 0x5c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
xor eax, eax
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
jb 0x412fe1
push dword [ebp - 0x2c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x98]
call fcn.004669a0
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 - 0x14]
xor ecx, ebp
call fcn.0047cf45
mov esp, ebp
pop ebp
ret