Function at 0x53d7a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x59d6f3
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x144]
xor edi, edi
mov dword [esp + 0x1c], edi
call fcn.0046b3e0
lea ebx, [eax + 0x8c]
lea eax, [esp + 0x20]
push eax
mov ecx, str.XYX.PopShow
call fcn.00481430
lea ecx, [esp + 0x20]
push ecx
lea edx, [ebx + 0x70]
push edx
lea eax, [ebx + 4]
push eax
mov dword [esp + 0x148], edi
call fcn.004790d0
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d83a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, edi
jne 0x53d8bc
call fcn.0047f920
cmp eax, edi
mov ebx, 1
mov dword [esp + 0x13c], ebx
je 0x53d88c
cmp dword [eax + 0x24], ebx
jg 0x53d88c
push ebx
push str.KHotGameWnd::_LoadConfig
push 0x85
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxKHotGameWnd.h
lea ecx, [esp + 0x40]
push ecx
call fcn.0047f220
push 0x5bd388
mov byte [esp + 0x140], 2
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0x13c], ebx
test byte [esp + 0x1c], bl
je 0x53d8a3
lea edx, [esp + 0x30]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
cmp eax, edi
je 0x53dd14
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x53dd14
lea eax, [esp + 0x24]
push eax
mov ecx, 0x5adcfc
call fcn.00481430
lea ecx, [esp + 0x20]
push ecx
mov ecx, str.XYX.PopLuodiUrl
mov dword [esp + 0x140], 3
call fcn.00481430
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
lea esi, [esp + 0x2c]
mov edi, ebx
mov byte [esp + 0x140], 4
call fcn.00479090
lea edi, [ebp + 0x3f4]
mov byte [esp + 0x13c], 5
call fcn.00480f90
mov byte [esp + 0x13c], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d93c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x13c], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d964
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x13c], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53d98f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
jne 0x53da1e
call fcn.0047f920
test eax, eax
mov esi, 6
mov dword [esp + 0x13c], esi
lea ebx, [esi - 4]
je 0x53d9ee
cmp dword [eax + 0x24], 4
jg 0x53d9ee
push 4
push str.KHotGameWnd::_LoadConfig
push 0x8c
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxKHotGameWnd.h
lea edx, [esp + 0x40]
push edx
call fcn.0047f220
push 0x5bd3f0
mov byte [esp + 0x140], 7
push eax
mov dword [esp + 0x24], ebx
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0x13c], esi
test byte [esp + 0x1c], bl
je 0x53da05
lea eax, [esp + 0x30]
push eax
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x53dd14
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x53dd14
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x5adcfc
call fcn.00481430
lea edx, [esp + 0x24]
push edx
mov ecx, str.XYX.PopImage
mov dword [esp + 0x140], 8
call fcn.00481430
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
lea esi, [esp + 0x1c]
mov edi, ebx
mov byte [esp + 0x140], 9
call fcn.00479090
mov byte [esp + 0x13c], 0xb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53da8b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x13c], 0xc
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53dab3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.005460a0
add esp, 4
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ebx, eax
mov byte [esp + 0x144], 0xd
call fcn.00478fd0
add esp, 8
lea edi, [esp + 0x18]
mov byte [esp + 0x13c], 0xe
call fcn.00480f90
mov byte [esp + 0x13c], 0xd
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53db15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x13c], 0xc
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53db3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
je 0x53dc5d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x53dc5d
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x53db73
mov ecx, dword [esp + 0x18]
push ecx
mov esi, eax
call fcn.00478fa0
jmp 0x53db75
xor eax, eax
lea edi, [ebp + 0x3f8]
call fcn.0050a860
mov eax, dword [edi]
test eax, eax
je 0x53dbc2
mov ecx, dword [eax + 8]
test ecx, ecx
mov dword [eax + 8], 0
jne 0x53dbc2
mov ebx, 1
lea esi, [ebp + 0x24]
push ebx
lea ecx, [ebx + 0x64]
mov eax, esi
call fcn.004f3420
mov edx, dword [edi]
push edx
push 0x65
push esi
call fcn.004f3370
lea ecx, [esp + 0x18]
call fcn.004818c0
mov eax, ebx
jmp 0x53dd16
call fcn.0047f920
test eax, eax
mov ebx, 0x11
mov byte [esp + 0x13c], bl
je 0x53dc24
cmp dword [eax + 0x24], 4
jg 0x53dc24
push 4
push str.KHotGameWnd::_LoadConfig
push 0xa0
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxKHotGameWnd.h
lea eax, [esp + 0xc0]
push eax
call fcn.0047f220
push 0x5bd43c
mov byte [esp + 0x140], 0x12
push eax
mov dword [esp + 0x24], 8
call fcn.0047f6e0
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.0047f6e0
add esp, 0x10
mov dword [esp + 0x13c], ebx
test byte [esp + 0x1c], 8
je 0x53dc3f
lea edx, [esp + 0xb0]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x53dc4f
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x18]
call fcn.004818c0
jmp 0x53dd14
call fcn.0047f920
test eax, eax
mov ebx, 0xf
mov byte [esp + 0x13c], bl
je 0x53dcbe
mov esi, 4
cmp dword [eax + 0x24], esi
jg 0x53dcbe
push esi
push str.KHotGameWnd::_LoadConfig
push 0x94
push str.e:KINGSOFT_DUBABuildBuild_Srckisenginekis_2016_released_sp5.5_1339_fbkis_srckvip_srckyboxKHotGameWnd.h
lea eax, [esp + 0xc0]
push eax
call fcn.0047f220
push 0x5bd424
mov byte [esp + 0x140], 0x10
push eax
mov dword [esp + 0x24], esi
call fcn.0047f6e0
mov ecx, dword [esp + 0x20]
push ecx
push eax
call fcn.0047f6e0
add esp, 0x10
mov dword [esp + 0x13c], ebx
test byte [esp + 0x1c], 4
je 0x53dcd9
lea edx, [esp + 0xb0]
push edx
call fcn.0047eb40
mov eax, dword [0x5f9180]
test eax, eax
je 0x53dce9
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [esp + 0x13c], 0xffffffff
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 0x53dd14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 4