Function at 0x464845
Capabilities:
Check if file exists

Disassembly:
push 0x8a8
mov eax, 0x5cc35f
call fcn.00506dfb
mov ebx, ecx
mov dword [ebp - 0x894], ebx
mov ecx, 0x6833d0
call fcn.00493154
mov esi, eax
lea edi, [ebp - 0x870]
lea eax, [ebp - 0x868]
mov ecx, 0x218
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0057600b
pop ecx
push str.userinfo.avatar.btn
test eax, eax
je 0x464ba0
lea eax, [ebx + 0x20]
mov ecx, eax
mov dword [ebp - 0x898], eax
call fcn.00530748
xor ebx, ebx
mov dword [ebp - 0x890], eax
test eax, eax
je 0x464b69
lea ecx, [ebp - 0x8b4]
call fcn.0042ca82
mov dword [ebp - 4], ebx
call fcn.0041279d
push eax
lea ecx, [ebp - 0x874]
call fcn.00411d94
mov byte [ebp - 4], 1
call fcn.0041279d
push eax
lea ecx, [ebp - 0x88c]
call fcn.00411d94
lea eax, [ebp - 0x868]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x888]
call fcn.00413f09
push eax
mov esi, str.users_
mov byte [ebp - 4], 3
lea eax, [ebp - 0x884]
push esi
push eax
call fcn.0042e01c
add esp, 8
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x89c], esp
push str.config_avatar.jpg
push eax
push ecx
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8b4]
push esp
call fcn.0043944c
lea eax, [ebp - 0x880]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8b4]
call fcn.00434114
push eax
lea ecx, [ebp - 0x88c]
mov byte [ebp - 4], 6
call fcn.00411f3a
mov ecx, dword [ebp - 0x880]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x884]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x888]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea eax, [ebp - 0x868]
push eax
lea ecx, [ebp - 0x884]
call fcn.00413f09
push eax
lea eax, [ebp - 0x888]
mov byte [ebp - 4], 7
push esi
push eax
call fcn.0042e01c
add esp, 8
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x87c], esp
push str.config_avatar_80.jpg
push eax
push ecx
call fcn.0042dfbd
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8b4]
push esp
call fcn.0043944c
lea eax, [ebp - 0x878]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x8b4]
call fcn.00434114
mov ecx, dword [ebp - 0x888]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x884]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.00412ac4
mov edi, dword [ebp - 0x88c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464b28
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x874]
push str.useravatar._s_80
push eax
call fcn.00412690
mov esi, dword [ebp - 0x874]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x464a6a
push dword [esi - 0xc]
lea ecx, [ebp - 0x874]
call fcn.00412624
mov esi, dword [ebp - 0x874]
push ebx
push ebx
push ebx
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [0x686d48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052b6af
test eax, eax
jne 0x464b02
mov eax, dword [ebp - 0x878]
cmp dword [eax - 4], 1
jle 0x464aa8
push dword [eax - 0xc]
lea ecx, [ebp - 0x878]
call fcn.00412624
mov eax, dword [ebp - 0x878]
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [0x686d48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052c68e
cmp dword [esi - 4], 1
mov dword [ebp - 0x880], eax
jle 0x464ae8
push dword [esi - 0xc]
lea ecx, [ebp - 0x874]
call fcn.00412624
mov esi, dword [ebp - 0x874]
mov eax, dword [ebp - 0x880]
push 1
push eax
push ecx
mov eax, esp
mov dword [eax], esi
mov ecx, dword [0x686d48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0052ae81
mov ecx, dword [ebp - 0x890]
push esi
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [ebp - 0x890]
lea edx, [ebp - 0x668]
push edx
mov eax, dword [ecx]
call dword [eax + 0x150]
jmp 0x464b2e
mov esi, dword [ebp - 0x874]
mov ecx, dword [ebp - 0x878]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
lea ecx, [edi - 0x10]
call fcn.00412ac4
lea ecx, [esi - 0x10]
call fcn.00412ac4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8b4]
call fcn.0042e60b
mov ecx, dword [ebp - 0x8a4]
lea ecx, [ecx - 0x10]
call fcn.00412ac4
mov ecx, dword [ebp - 0x894]
call fcn.004ca342
mov ecx, dword [ebp - 0x898]
push str.main_tablayout
call fcn.00530748
test eax, eax
je 0x464b8b
lea ebx, [eax - 8]
test ebx, ebx
je 0x464b9b
mov edx, dword [ebx]
mov ecx, ebx
push 1
call dword [edx + 0x138]
xor eax, eax
inc eax
jmp 0x464bce
lea ecx, [ebx + 0x20]
call fcn.00530748
mov esi, eax
test esi, esi
je 0x464bcc
mov edx, dword [esi]
mov ecx, esi
push str.IDB_BIG_AVATAR_DEFAULT
call dword [edx + 0x84]
mov edx, dword [esi]
mov ecx, esi
push 0x61ab94
call dword [edx + 0x150]
xor eax, eax
call fcn.00506da5
ret