Function at 0x474350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571fa6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5d7c7c]
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 dword [ebp - 0x220], ecx
push str.TryInstBizhiIfBuychannel
call fcn.00477d50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00512920
add esp, 0x10
lea eax, [ebp - 0x218]
push 0x104
push eax
mov eax, dword [0x5deea0]
push 0x5deea0
call dword [eax + 0x4c]
push str.UtilsInstExt.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00444d10
mov ecx, eax
call fcn.0043ffd0
test eax, eax
je 0x4745b0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4745b0
lea eax, [ebp - 0x218]
push eax
call fcn.004a6910
add esp, 4
test eax, eax
jne 0x474424
lea eax, [ebp - 0x218]
push eax
push str.file__s__check_sign_fail.
call fcn.00477d50
add esp, 8
jmp 0x4745b0
call fcn.00444da0
test eax, eax
je 0x4745b0
cmp dword [eax + 0x24], 0
je 0x47445a
mov ebx, dword [eax + 0x20]
mov edi, dword [eax + 0x1c]
mov esi, dword [eax + 0x18]
push ebx
push edi
push esi
push str.bundle_line___d__d__d
call fcn.00477d50
add esp, 0x10
test esi, esi
je 0x4745b0
jmp 0x47447b
cmp dword [eax + 0x40], 0
jne 0x4745b0
mov ebx, dword [eax + 0x3c]
mov edi, dword [eax + 0x38]
push ebx
push edi
push 1
push str.bundle_default___d__d__d
call fcn.00477d50
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4745b0
push 0x59636c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4745b0
lea ecx, [ebp - 0x21c]
call fcn.0040abd0
mov dword [ebp - 4], 0
call fcn.00444d10
mov ecx, eax
call fcn.0043e420
mov edx, 0x586a74
test ebx, ebx
mov ecx, str._OPTIMIZEWP
cmove ecx, edx
push ecx
push dword [eax]
push dword [eax]
lea eax, [ebp - 0x21c]
push str._s___pidludashi__s__SUBPID_s__s
push eax
call fcn.0040b130
mov esi, dword [ebp - 0x21c]
push esi
push str.bundle:start_inst_bizhi__param:_s
call fcn.00477d50
add esp, 0x1c
cmp dword [esi - 4], 1
jle 0x47451b
push dword [esi - 0xc]
lea ecx, [ebp - 0x21c]
call fcn.0040b070
mov esi, dword [ebp - 0x21c]
push esi
call dword [ebp - 0x224]
add esp, 4
lea ecx, [ebp - 0x21c]
mov esi, eax
push 0xffffffffffffffff
call fcn.0043b420
push esi
push str.bundle_end_inst_bizhi__ret_d
call fcn.00477d50
add esp, 8
test esi, esi
jne 0x4745a5
push esi
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x224], esp
mov dword [eax + 0x24], esi
push 1
push esi
push str.inst_bizhi_succ
mov byte [ebp - 4], 1
call fcn.00434a60
mov ecx, eax
mov byte [ebp - 4], 0
call fcn.00430c10
mov esi, dword [ebp - 0x220]
add esi, 0x230
mov ecx, esi
push 0xd
test edi, edi
je 0x47458c
push str.__instbizhi1
jmp 0x474591
push str.__instbizhi0
call fcn.0040d900
push dword [esi]
push str.bundle_bizhi_param:_s
call fcn.00477d50
add esp, 8
lea ecx, [ebp - 0x21c]
call fcn.0040acb0
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.004acb88
mov esp, ebp
pop ebp
ret