Function at 0x42c5e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4a1dba
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
call fcn.00461729
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x42c623
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea esi, [esp + 0x30]
mov dword [esp + 0x84], ebp
call fcn.00445180
mov byte [esp + 0x84], 1
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x28]
push str._sdataHistroy.xml
push edx
call fcn.00402a20
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or ebx, 0xffffffff
add esp, 0xc
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c68a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esi, 0xfffffff0
test eax, eax
je 0x42ca53
push ecx
mov dword [esp + 0x38], esp
mov edi, esp
push esi
mov dword [esp + 0x3c], esi
call fcn.00402840
lea ecx, [esp + 0x28]
add esp, 4
add eax, 0x10
push ecx
mov dword [edi], eax
call fcn.00444b60
add esp, 8
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x88], 2
call fcn.00406970
mov byte [esp + 0x84], 3
mov eax, dword [esp + 0x20]
push ebp
push eax
lea ecx, [esp + 0x50]
call fcn.0043e690
test eax, eax
je 0x42ca1a
mov edx, dword [esp + 0x58]
cmp edx, ebp
mov eax, dword [esp + 0x5c]
jne 0x42c709
mov dword [esp + 0x1c], ebp
jmp 0x42c714
mov ecx, eax
sub ecx, edx
sar ecx, 2
mov dword [esp + 0x1c], ecx
xor edi, edi
cmp dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
jle 0x42ca1a
jmp 0x42c73c
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x18]
test edi, edi
jl 0x42c752
test edx, edx
je 0x42c752
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x42c752
mov esi, dword [edx + edi*4]
jmp 0x42c754
xor esi, esi
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c619
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x84], 4
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c619
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x84], 5
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c619
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x84], 6
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c619
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov byte [esp + 0x84], 7
mov eax, dword [esi]
push str.PlayName
push eax
call fcn.00480806
add esp, 8
test eax, eax
jne 0x42c969
push 0x4adbcc
mov ecx, esi
call fcn.0043f650
test eax, eax
jne 0x42c830
xor ecx, ecx
jmp 0x42c840
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42c835
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.00401c60
push str.name
mov ecx, esi
call fcn.0043f650
test eax, eax
jne 0x42c85f
xor ecx, ecx
jmp 0x42c86f
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42c864
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401c60
push str.ReplayUrl
mov ecx, esi
call fcn.0043f650
test eax, eax
jne 0x42c88e
xor ecx, ecx
jmp 0x42c89e
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42c893
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.00401c60
push str.DownLoadJpgUrl
mov ecx, esi
call fcn.0043f650
test eax, eax
jne 0x42c8bd
xor ecx, ecx
jmp 0x42c8cd
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x42c8c2
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00401c60
mov edi, dword [esp + 0x28]
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x8c], 8
mov ebp, dword [esp + 0x34]
lea eax, [ebp - 0x10]
mov dword [esp + 0x44], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x90], 9
mov ebx, dword [esp + 0x3c]
lea eax, [ebx - 0x10]
mov dword [esp + 0x4c], esp
mov esi, esp
push eax
call fcn.00402840
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x94], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x54], esp
mov esi, esp
push eax
call fcn.00402840
mov ecx, dword [esp + 0xa0]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [esp + 0x98], 7
call fcn.004142a0
add edi, 0xfffffff0
mov byte [esp + 0x84], 6
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42c98d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x84], 5
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c9b2
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x84], 4
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42c9d6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x84], 3
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 0x42c9fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x42c730
mov esi, dword [esp + 0x34]
or ebx, 0xffffffff
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x88], 2
call fcn.0043d8f0
mov byte [esp + 0x84], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov ecx, ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42ca53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x84], ebx
lea ecx, [esi + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x42ca70
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 4