Function at 0x46c260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5988d6
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x130], eax
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 edi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c341
call fcn.0047f920
cmp eax, ebx
mov dword [esp + 0x150], ebx
je 0x46c30f
mov eax, dword [eax + 0x24]
cmp eax, 4
jg 0x46c30f
push 4
push str.KCondReader::Load
push 0xe5
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbpublishkvip_condcheck_kcondreader.h
lea eax, [esp + 0x30]
push eax
call fcn.0047f220
push 0x5afe00
mov byte [esp + 0x154], 1
push eax
mov dword [esp + 0x1c], 1
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0x150], ebx
test byte [esp + 0x14], 1
je 0x46c327
lea ecx, [esp + 0x20]
push ecx
call fcn.0047eb40
mov eax, dword [0x5f9180]
cmp eax, ebx
je 0x46c337
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 1
jmp 0x46c660
mov esi, dword [edi + 4]
lea edx, [esp + 0xa4]
mov dword [esp + 0xa0], edx
call dword [section..data]
push eax
push esi
lea eax, [esp + 0xa8]
call fcn.00479fa0
mov dword [esp + 0x150], 2
mov edx, dword [esp + 0xa0]
mov eax, edx
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], ebx
mov byte [esp + 0x128], 0
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x46c397
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x12c]
call fcn.004381e0
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xa4]
cmp eax, ecx
je 0x46c3d3
push eax
call fcn.00566eaf
add esp, 4
cmp dword [esp + 0x13c], 0x10
mov eax, dword [esp + 0x128]
jae 0x46c3eb
lea eax, [esp + 0x128]
push eax
lea esi, [edi + 0x20]
push esi
call fcn.0048b730
test al, al
jne 0x46c49d
call fcn.0047f920
test eax, eax
mov ebx, 5
mov byte [esp + 0x150], bl
je 0x46c451
cmp dword [eax + 0x24], 4
jg 0x46c451
push 4
push str.KCondReader::Load
push 0xec
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbpublishkvip_condcheck_kcondreader.h
lea edx, [esp + 0x30]
push edx
call fcn.0047f220
push 0x5afe00
mov byte [esp + 0x154], 6
push eax
mov dword [esp + 0x1c], 2
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0x150], ebx
test byte [esp + 0x14], 2
je 0x46c469
lea eax, [esp + 0x20]
push eax
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x46c479
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x13c], 0x10
jb 0x46c493
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00563626
add esp, 4
mov eax, 2
jmp 0x46c660
mov eax, esi
call fcn.00477bc0
mov ebx, eax
lea edi, [ebx + 0x2c]
mov esi, 0x5aff18
call fcn.0048c500
test eax, eax
je 0x46c4bf
mov ecx, dword [eax + 0x18]
add ecx, 8
jmp 0x46c4c1
xor ecx, ecx
lea edx, [esp + 0x18]
push edx
call fcn.00481970
mov byte [esp + 0x150], 7
mov eax, dword [esp + 0x18]
push 0x5af9d0
push eax
call fcn.00566ca9
add esp, 8
test eax, eax
setne al
test al, al
je 0x46c5b9
call fcn.0047f920
test eax, eax
mov byte [esp + 0x150], 8
je 0x46c541
mov esi, 4
cmp dword [eax + 0x24], esi
jg 0x46c541
push esi
push str.KCondReader::Load
push 0xf4
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbpublishkvip_condcheck_kcondreader.h
lea ecx, [esp + 0x30]
push ecx
call fcn.0047f220
push str.Version
mov byte [esp + 0x154], 9
push eax
mov dword [esp + 0x1c], esi
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0x150], 8
test byte [esp + 0x14], 4
je 0x46c55d
lea edx, [esp + 0x20]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x46c56d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x13c], 0x10
jb 0x46c5af
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00563626
add esp, 4
mov eax, 3
jmp 0x46c660
mov eax, ebx
call fcn.00477bc0
mov edi, eax
test edi, edi
je 0x46c61c
mov ebx, dword [edi + 0x20]
add ebx, 8
call fcn.0046c690
test eax, eax
mov dword [esp + 0x14], eax
je 0x46c5f3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
mov esi, dword [esp + 0x1c]
add esi, 0x10
lea ebx, [esp + 0x14]
call fcn.0046dcc0
mov esi, dword [edi + 0x28]
test esi, esi
je 0x46c614
lea ebx, [ebx]
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x46c684
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x46c600
xor eax, eax
test eax, eax
mov edi, eax
jne 0x46c5c6
mov byte [esp + 0x150], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c644
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x13c], 0x10
jb 0x46c65e
mov ecx, dword [esp + 0x128]
push ecx
call fcn.00563626
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00564207
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x46c616