Function at 0x46e970
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x598814
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x14], ebx
cmp dword [esi], edi
jne 0x46ea44
call fcn.0047f920
cmp eax, edi
mov dword [esp + 0x150], edi
je 0x46ea06
mov eax, dword [eax + 0x24]
cmp eax, 4
jg 0x46ea06
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x113
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea eax, [esp + 0x54]
push eax
call fcn.0047f220
push 0x5b05a4
mov byte [esp + 0x154], 1
mov ebx, 1
push eax
mov dword [esp + 0x1c], ebx
call fcn.0047f6e0
add esp, 8
test bl, 1
mov dword [esp + 0x150], edi
je 0x46ea1c
lea ecx, [esp + 0x44]
push ecx
call fcn.0047eb40
mov eax, dword [0x5f9180]
cmp eax, edi
je 0x46ea2c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x14]
push edx
mov ecx, str.DOYO.Show
call fcn.00481430
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 0x70]
push ecx
add esi, 4
mov edi, 2
push esi
mov dword [esp + 0x15c], edi
call fcn.004790d0
mov esi, eax
mov dword [esp + 0x150], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46ea9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 1
je 0x46eb39
call fcn.0047f920
test eax, eax
mov esi, 3
mov dword [esp + 0x150], esi
je 0x46eaf7
cmp dword [eax + 0x24], edi
jg 0x46eaf7
push edi
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x11b
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea ecx, [esp + 0x54]
push ecx
call fcn.0047f220
push 0x5b064c
mov byte [esp + 0x154], 4
mov ebx, edi
push eax
mov dword [esp + 0x1c], ebx
call fcn.0047f6e0
add esp, 8
test bl, 2
mov dword [esp + 0x150], esi
je 0x46eb0d
lea edx, [esp + 0x44]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x46ea2c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
push eax
call fcn.0046f320
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x154], 5
call fcn.0046fd80
test eax, eax
jne 0x46ec08
call fcn.0047f920
test eax, eax
mov byte [esp + 0x150], 6
je 0x46ebb1
cmp dword [eax + 0x24], 4
jg 0x46ebb1
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x122
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea edx, [esp + 0x54]
push edx
call fcn.0047f220
push str.g_vN
mov byte [esp + 0x154], 7
mov ebx, 4
push eax
mov dword [esp + 0x1c], ebx
call fcn.0047f6e0
add esp, 8
test bl, 4
mov dword [esp + 0x150], 6
je 0x46ebcb
lea eax, [esp + 0x44]
push eax
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x46ebdb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x154], 0xffffffff
call fcn.0046fa20
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x14]
push edx
mov ecx, str.btkernel.dll
call fcn.00481430
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 8
call fcn.00473ba0
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 4
push eax
call edi
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x13]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ec62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x150], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ec8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x46ed4e
call fcn.0047f920
test eax, eax
mov byte [esp + 0x150], 9
je 0x46ecf7
mov eax, dword [eax + 0x24]
cmp eax, 4
jg 0x46ecf7
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x128
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea ecx, [esp + 0x54]
push ecx
call fcn.0047f220
push str.btkernel.dll
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0xa
mov ebx, 8
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test bl, 8
mov dword [esp + 0x150], 9
je 0x46ed11
lea edx, [esp + 0x44]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x46ed21
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x154], 0xffffffff
call fcn.0046fa20
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.ksgamebox.dll
call fcn.00481430
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0xb
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46ee5a
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0xc
call fcn.0047fed0
test al, al
je 0x46ee0e
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x12e
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea eax, [esp + 0x54]
push eax
call fcn.0047f220
push str.ksgamebox.dll
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0xd
mov ebx, 0x10
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test bl, 0x10
mov dword [esp + 0x150], 0xc
je 0x46ee28
lea ecx, [esp + 0x44]
push ecx
call fcn.0047eb40
call fcn.0047f900
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x154], 0xffffffff
call fcn.0046fa20
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
mov ecx, str.ksgamedown.exe
call fcn.00481430
lea ecx, [esp + 0x14]
push ecx
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0xe
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46ef3e
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0xf
call fcn.0047fed0
test al, al
je 0x46ef1a
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x134
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea edx, [esp + 0x54]
push edx
call fcn.0047f220
push str.ksgamedown.exe
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0x10
mov ebx, 0x20
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test bl, 0x20
mov dword [esp + 0x150], 0xf
je 0x46ef34
lea eax, [esp + 0x44]
push eax
call fcn.0047eb40
call fcn.0047f900
jmp 0x46ebdb
lea edx, [esp + 0x14]
push edx
mov ecx, str.unrar.dll
call fcn.00481430
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0x11
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46f027
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0x12
call fcn.0047fed0
test al, al
je 0x46effe
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x13a
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea ecx, [esp + 0x54]
push ecx
call fcn.0047f220
push str.unrar.dll
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0x13
mov ebx, 0x40
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test bl, 0x40
mov dword [esp + 0x150], 0x12
je 0x46f018
lea edx, [esp + 0x44]
push edx
call fcn.0047eb40
call fcn.0047f900
lea eax, [esp + 0x1c]
push eax
jmp 0x46ebe0
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.wpsgameatl.dll
call fcn.00481430
lea edx, [esp + 0x14]
push edx
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0x14
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46f10f
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0x15
call fcn.0047fed0
test al, al
je 0x46f0e7
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x140
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea eax, [esp + 0x54]
push eax
call fcn.0047f220
push str.wpsgameatl.dll
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0x16
mov ebx, 0x80
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test bl, bl
mov dword [esp + 0x150], 0x15
jns 0x46f100
lea ecx, [esp + 0x44]
push ecx
call fcn.0047eb40
call fcn.0047f900
lea edx, [esp + 0x1c]
push edx
jmp 0x46ebe0
lea eax, [esp + 0x14]
push eax
mov ecx, str.ksboxdata_skin0consolepanel_btn_close.png
call fcn.00481430
lea ecx, [esp + 0x14]
push ecx
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0x17
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46f1f6
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0x18
call fcn.0047fed0
test al, al
je 0x46f1cf
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x146
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea edx, [esp + 0x54]
push edx
call fcn.0047f220
push str.ksboxdata_skin0consolepanel_btn_close.png.png
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0x19
mov ebx, 0x100
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test ebx, 0x100
mov dword [esp + 0x150], 0x18
je 0x46f1ec
lea eax, [esp + 0x44]
push eax
call fcn.0047eb40
call fcn.0047f900
jmp 0x46ebdb
lea edx, [esp + 0x14]
push edx
mov ecx, str.ksboxdata_skin0updatetipwnd_close_btn.png
call fcn.00481430
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x154], 0x1a
call fcn.00473ba0
mov eax, dword [eax]
add esp, 4
push eax
call edi
test eax, eax
mov ecx, esi
sete byte [esp + 0x13]
call fcn.004818c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 5
call fcn.004818c0
cmp byte [esp + 0x13], 0
je 0x46f2ec
call fcn.0047f920
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
mov byte [esp + 0x154], 0x1b
call fcn.0047fed0
test al, al
je 0x46f2b9
push 4
push str.kybox::parameters::doyo_existance::_CheckDoyoExist
push 0x14c
push str.e:kingsoft_duba_build_build_srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxglobal.h
lea ecx, [esp + 0xd4]
push ecx
call fcn.0047f220
push str.ksboxdata_skin0updatetipwnd_close_btn.png
push ecx
push 0x5b0690
mov byte [esp + 0x15c], 0x1c
mov ebx, 0x200
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 0xc
push eax
call fcn.0047f6e0
add esp, 8
test ebx, 0x200
mov dword [esp + 0x150], 0x1b
je 0x46f018
lea edx, [esp + 0xc4]
push edx
call fcn.0047eb40
call fcn.0047f900
lea eax, [esp + 0x1c]
push eax
jmp 0x46ebe0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x154], 0xffffffff
call fcn.0046fa20
mov eax, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret