Function at 0x49e910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512de8
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x566040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - method.GamePicDownloadInfo.virtual_0], vtable.GamePicDownloadInfo.0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0x10]
push esi
call fcn.00485b90
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49ecf3
mov edx, esi
lea ecx, [ebp - 0x118]
call fcn.004157a0
mov esi, eax
mov byte [ebp - 4], 2
call fcn.004341c0
lea ecx, [ebp - 0x100]
lea edx, [eax + 0xc4]
call fcn.00416570
mov edi, eax
mov byte [ebp - 4], 3
call fcn.004341c0
lea ecx, [ebp - 0xe8]
lea edx, [eax + 4]
call fcn.00416570
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 4
mov ecx, 0x7ffffffe
mov edx, dword [0x571cb8]
sub ecx, edx
cmp ecx, 1
jb 0x49ed46
cmp dword [0x571cbc], 7
mov eax, 0x571ca8
push edx
cmova eax, dword [0x571ca8]
push eax
push 1
push 0x521ab4
push ecx
push dword [ebp - 0x120]
lea ecx, [ebp - 0xb8]
call fcn.0041bdf0
push 2
push 0x532c94
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 5
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
push dword [ebp - 0x11c]
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0x120]
call fcn.0041bc40
push 1
push 0x521c98
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
push dword [ebp - 0x120]
lea ecx, [ebp - 0x88]
call fcn.0041bc40
push 1
push 0x521c98
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.00416c00
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push esi
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x120]
lea ecx, [ebp - 0xd0]
call fcn.0041bc40
lea ecx, [ebp - 0x70]
call fcn.00415000
lea ecx, [ebp - 0x88]
call fcn.00415000
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x49eb84
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49eb7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed4b
push ecx
push edx
call fcn.004d37a1
add esp, 8
lea ecx, [ebp - 0xa0]
call fcn.00415000
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x49ebcd
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ebc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed4b
push ecx
push edx
call fcn.004d37a1
add esp, 8
lea ecx, [ebp - 0xb8]
call fcn.00415000
lea ecx, [ebp - 0xe8]
call fcn.00415000
lea ecx, [ebp - 0x100]
call fcn.00415000
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x14
call fcn.00415000
sub esp, 0x18
lea eax, [ebp - 0xd0]
mov ecx, esp
mov dword [ebp - 0x130], esp
push eax
call fcn.004169a0
sub esp, 0x18
mov byte [ebp - 4], 0x15
mov esi, esp
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x14], 7
mov edi, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x124], eax
cmp edi, 0x7ffffffe
ja 0x49ed50
cmp edi, 7
ja 0x49ec68
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
jmp 0x49ecbd
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x49ec7b
mov eax, 0x7ffffffe
jmp 0x49ec85
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.00417130
mov ecx, dword [ebp - 0x11c]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push dword [ebp - 0x124]
mov dword [esi], eax
push eax
mov dword [esi + 0x10], edi
call fcn.004d7e90
add esp, 0x14
xor edx, edx
mov byte [ebp - 4], 0x14
lea ecx, [edx + 1]
call fcn.004189b0
add esp, 0x30
push dword [ebp + 0x10]
push dword [ebp - 0x128]
push 0x8b5
push dword [ebp - 0x12c]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0xd0]
call fcn.00415000
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x49ed29
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x49ed1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ed55
push ecx
push edx
call fcn.004d37a1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d378e
mov esp, ebp
pop ebp
ret 0xc
call fcn.00401610
call fcn.004e2f6c
call fcn.00401610
call fcn.004e2f6c
int3