Function at 0x49dbb0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5120ea
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x3548
call fcn.004d35a0
mov eax, dword [0x565040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], ecx
mov eax, dword [ebx + 0x14]
lea ecx, [ebp - 0x3558]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x124], esi
mov dword [eax], 1
mov dword [ebp - 0x120], edi
call fcn.00420f40
call fcn.0041c8c0
lea eax, [ebp - 0x3558]
push eax
push edi
push esi
call fcn.00421250
test al, al
je 0x49e12a
cmp dword [ebp - 0x3550], 0x64
jl 0x49e12a
mov eax, dword [ebp - 0x942]
cmp eax, 2
jne 0x49e08f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push edi
push esi
call fcn.00485600
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49dcac
xor esi, esi
jmp 0x49e04e
mov edx, esi
lea ecx, [ebp - 0x11c]
call fcn.004157a0
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00433c50
lea ecx, [ebp - 0x104]
lea edx, [eax + 0xc4]
call fcn.00416570
mov edi, eax
mov byte [ebp - 4], 3
call fcn.00433c50
lea ecx, [ebp - 0xec]
lea edx, [eax + 4]
call fcn.00416570
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 4
mov eax, 0x7ffffffe
mov ecx, dword [0x570cc0]
sub eax, ecx
cmp eax, 1
jb 0x49e14c
cmp dword [0x570cc4], 7
mov eax, 0x570cb0
push ecx
cmova eax, dword [0x570cb0]
push eax
push 1
push 0x521b64
push ecx
push dword [ebp - 0x128]
lea ecx, [ebp - 0xbc]
call fcn.0041b880
push 2
push 0x532ca8
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x74], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x64], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x74]
push dword [ebp - 0x124]
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0x128]
call fcn.0041b6d0
push 1
push 0x521b60
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0x8c]
call fcn.0041b6d0
push 1
push 0x521b60
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x128]
lea ecx, [ebp - 0xd4]
call fcn.0041b6d0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x49de7b
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49de71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e151
push ecx
push edx
call fcn.004d2c11
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.00415000
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x49dec4
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49deba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e151
push ecx
push edx
call fcn.004d2c11
add esp, 8
lea ecx, [ebp - 0xa4]
call fcn.00415000
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x49df0d
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49df03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e151
push ecx
push edx
call fcn.004d2c11
add esp, 8
lea ecx, [ebp - 0xbc]
call fcn.00415000
lea ecx, [ebp - 0xec]
call fcn.00415000
lea ecx, [ebp - 0x104]
call fcn.00415000
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x14
call fcn.00415000
sub esp, 0x18
lea eax, [ebp - 0xd4]
mov ecx, esp
mov dword [ebp - 0x134], esp
push eax
call fcn.004169a0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov esi, esp
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x18], 7
mov edi, dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
mov dword [ebp - 0x120], eax
cmp edi, 0x7ffffffe
ja 0x49e156
cmp edi, 7
ja 0x49dfa8
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x49dfff
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49dfbb
mov eax, 0x7ffffffe
jmp 0x49dfc5
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x124]
push eax
push esi
call fcn.00417130
mov ecx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x124]
mov dword [esi + 0x14], eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x120]
mov dword [esi], ecx
push ecx
call fcn.004d7310
add esp, 0x14
mov byte [ebp - 4], 0x14
call fcn.00418860
add esp, 0x30
mov dword [ebp - 0x120], eax
test eax, eax
je 0x49e03e
mov ecx, dword [ebp - 0x130]
add ecx, 0x440
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x49e031
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x49e03e
lea eax, [ebp - 0x120]
push eax
push edx
call fcn.0041bca0
lea ecx, [ebp - 0xd4]
mov esi, 1
call fcn.00415000
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x49e088
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49e07e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49e15b
push ecx
push edx
call fcn.004d2c11
add esp, 8
mov eax, esi
jmp 0x49e12c
cmp eax, 3
jne 0x49e123
call fcn.0047a790
mov esi, eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x49e0cd
push 0x7c
call fcn.004d2c4b
mov dword [ebp - 0x134], eax
mov ecx, eax
mov dword [ebp - 4], 0x16
call fcn.0047a180
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], ecx
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x130]
add eax, 0x248
push eax
push ecx
lea eax, [ebp - 0x12c]
push eax
call fcn.004a0c20
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x49e123
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x49e123
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x49e11d
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
mov eax, 1
jmp 0x49e12c
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, 1
jmp 0x49e12c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004d2bfe
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call fcn.00401610
call fcn.004e23ec
call fcn.00401610
call fcn.004e23ec
int3